Skip to content

Commit

Permalink
[mlir][Bazel] Also remove SerializeToCubin target.
Browse files Browse the repository at this point in the history
  • Loading branch information
akuegel committed Feb 22, 2024
1 parent 6676f67 commit bc1c86b
Showing 1 changed file with 1 addition and 29 deletions.
30 changes: 1 addition & 29 deletions utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -3231,9 +3231,7 @@ cc_library(
":Transforms",
":VectorToLLVM",
":VectorTransforms",
] + if_cuda_available([
":SerializeToCubin",
]),
],
)

##---------------------------------------------------------------------------##
Expand Down Expand Up @@ -5504,9 +5502,6 @@ cc_library(
"lib/Dialect/GPU/Transforms/*.cpp",
"lib/Dialect/GPU/Transforms/*.h",
],
exclude = [
"lib/Dialect/GPU/Transforms/SerializeToCubin.cpp",
],
),
hdrs = glob(["include/mlir/Dialect/GPU/Transforms/*.h"]),
includes = ["include"],
Expand Down Expand Up @@ -5556,28 +5551,6 @@ cc_library(
]),
)

cc_library(
name = "SerializeToCubin",
srcs = [
"lib/Dialect/GPU/Transforms/SerializeToCubin.cpp",
],
local_defines = if_cuda_available(["MLIR_GPU_TO_CUBIN_PASS_ENABLE"]),
deps = [
":GPUDialect",
":GPUPassIncGen",
":GPUTransforms",
":NVVMDialect",
":NVVMToLLVMIRTranslation",
":Pass",
":Support",
":ToLLVMIRTranslation",
"//llvm:Support",
] + if_cuda_available([
"@cuda//:cuda_headers",
"@cuda//:libcuda",
]),
)

td_library(
name = "GPUTransformOpsTdFiles",
srcs = [
Expand Down Expand Up @@ -9190,7 +9163,6 @@ cc_binary(
":Pass",
":QuantOps",
":SCFToGPU",
":SerializeToCubin",
":Support",
":Transforms",
"//llvm:AllTargetsCodeGens",
Expand Down

0 comments on commit bc1c86b

Please sign in to comment.