File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
utils/bazel/llvm-project-overlay/mlir Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -9023,6 +9023,7 @@ td_library(
9023
9023
srcs = [
9024
9024
"include/mlir/Dialect/Linalg/IR/LinalgBase.td" ,
9025
9025
"include/mlir/Dialect/Linalg/IR/LinalgEnums.td" ,
9026
+ "include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td" ,
9026
9027
"include/mlir/Dialect/Linalg/IR/LinalgOps.td" ,
9027
9028
],
9028
9029
includes = ["include" ],
Original file line number Diff line number Diff line change 3
3
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
4
4
5
5
load ("@bazel_skylib//rules:expand_template.bzl" , "expand_template" )
6
+ load ("//mlir:build_defs.bzl" , "if_cuda_available" )
6
7
load ("//mlir:tblgen.bzl" , "gentbl_cc_library" , "td_library" )
7
8
load ("//llvm:lit_test.bzl" , "package_path" )
8
9
@@ -593,7 +594,9 @@ cc_library(
593
594
cc_library (
594
595
name = "TestGPU" ,
595
596
srcs = glob (["lib/Dialect/GPU/*.cpp" ]),
596
- defines = ["MLIR_CUDA_CONVERSIONS_ENABLED" ],
597
+ defines = ["MLIR_CUDA_CONVERSIONS_ENABLED" ] + if_cuda_available ([
598
+ "MLIR_GPU_TO_CUBIN_PASS_ENABLE" ,
599
+ ]),
597
600
includes = ["lib/Dialect/Test" ],
598
601
deps = [
599
602
"//llvm:NVPTXCodeGen" ,
You can’t perform that action at this time.
0 commit comments