Skip to content

Commit

Permalink
[bazel build] pull in cubin only when needed
Browse files Browse the repository at this point in the history
Reviewed By: Peiming

Differential Revision: https://reviews.llvm.org/D147826
  • Loading branch information
aartbik committed Apr 8, 2023
1 parent f733b4f commit 7fff3bf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -2386,14 +2386,15 @@ cc_library(
":MemRefTransforms",
":NVVMDialect",
":Pass",
":SerializeToCubin",
":SparseTensorDialect",
":SparseTensorTransforms",
":TensorTransforms",
":Transforms",
":VectorToLLVM",
":VectorTransforms",
],
] + if_cuda_available([
":SerializeToCubin",
]),
)

##---------------------------------------------------------------------------##
Expand Down

0 comments on commit 7fff3bf

Please sign in to comment.