File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed
utils/bazel/llvm-project-overlay/mlir Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -5505,7 +5505,6 @@ cc_library(
5505
5505
),
5506
5506
hdrs = glob (["include/mlir/Dialect/GPU/Transforms/*.h" ]),
5507
5507
includes = ["include" ],
5508
- local_defines = if_cuda_available (["MLIR_GPU_TO_CUBIN_PASS_ENABLE" ]),
5509
5508
deps = [
5510
5509
":AffineDialect" ,
5511
5510
":AffineUtils" ,
Original file line number Diff line number Diff line change 4
4
5
5
load ("@bazel_skylib//rules:expand_template.bzl" , "expand_template" )
6
6
load ("//llvm:lit_test.bzl" , "package_path" )
7
- load ("//mlir:build_defs.bzl" , "if_cuda_available" )
8
7
load ("//mlir:tblgen.bzl" , "gentbl_cc_library" , "td_library" )
9
8
10
9
package (
@@ -667,9 +666,7 @@ cc_library(
667
666
cc_library (
668
667
name = "TestGPU" ,
669
668
srcs = glob (["lib/Dialect/GPU/*.cpp" ]),
670
- defines = ["MLIR_CUDA_CONVERSIONS_ENABLED" ] + if_cuda_available ([
671
- "MLIR_GPU_TO_CUBIN_PASS_ENABLE" ,
672
- ]),
669
+ defines = ["MLIR_CUDA_CONVERSIONS_ENABLED" ],
673
670
includes = ["lib/Dialect/Test" ],
674
671
deps = [
675
672
"//llvm:NVPTXCodeGen" ,
You can’t perform that action at this time.
0 commit comments