@@ -3231,9 +3231,7 @@ cc_library(
3231
3231
":Transforms" ,
3232
3232
":VectorToLLVM" ,
3233
3233
":VectorTransforms" ,
3234
- ] + if_cuda_available ([
3235
- ":SerializeToCubin" ,
3236
- ]),
3234
+ ],
3237
3235
)
3238
3236
3239
3237
##---------------------------------------------------------------------------##
@@ -5504,9 +5502,6 @@ cc_library(
5504
5502
"lib/Dialect/GPU/Transforms/*.cpp" ,
5505
5503
"lib/Dialect/GPU/Transforms/*.h" ,
5506
5504
],
5507
- exclude = [
5508
- "lib/Dialect/GPU/Transforms/SerializeToCubin.cpp" ,
5509
- ],
5510
5505
),
5511
5506
hdrs = glob (["include/mlir/Dialect/GPU/Transforms/*.h" ]),
5512
5507
includes = ["include" ],
@@ -5556,28 +5551,6 @@ cc_library(
5556
5551
]),
5557
5552
)
5558
5553
5559
- cc_library (
5560
- name = "SerializeToCubin" ,
5561
- srcs = [
5562
- "lib/Dialect/GPU/Transforms/SerializeToCubin.cpp" ,
5563
- ],
5564
- local_defines = if_cuda_available (["MLIR_GPU_TO_CUBIN_PASS_ENABLE" ]),
5565
- deps = [
5566
- ":GPUDialect" ,
5567
- ":GPUPassIncGen" ,
5568
- ":GPUTransforms" ,
5569
- ":NVVMDialect" ,
5570
- ":NVVMToLLVMIRTranslation" ,
5571
- ":Pass" ,
5572
- ":Support" ,
5573
- ":ToLLVMIRTranslation" ,
5574
- "//llvm:Support" ,
5575
- ] + if_cuda_available ([
5576
- "@cuda//:cuda_headers" ,
5577
- "@cuda//:libcuda" ,
5578
- ]),
5579
- )
5580
-
5581
5554
td_library (
5582
5555
name = "GPUTransformOpsTdFiles" ,
5583
5556
srcs = [
@@ -9190,7 +9163,6 @@ cc_binary(
9190
9163
":Pass" ,
9191
9164
":QuantOps" ,
9192
9165
":SCFToGPU" ,
9193
- ":SerializeToCubin" ,
9194
9166
":Support" ,
9195
9167
":Transforms" ,
9196
9168
"//llvm:AllTargetsCodeGens" ,
0 commit comments