Skip to content

Commit d37b43e

Browse files
authored
[bazel] export Runtimes.h from GpuToROCDLTransforms (#172607)
Otherwise users of mlir::populateGpuToROCDLConversionPatterns cannot call it, because they can't access the definition of the mlir::gpu::amd::Runtime enum, which is in Runtimes.h.
1 parent d502ff0 commit d37b43e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6055,10 +6055,12 @@ gentbl_cc_library(
60556055
cc_library(
60566056
name = "GPUToROCDLTransforms",
60576057
srcs = [
6058-
"include/mlir/Conversion/GPUToROCDL/Runtimes.h",
60596058
"lib/Conversion/GPUToROCDL/LowerGpuOpsToROCDLOps.cpp",
60606059
],
6061-
hdrs = ["include/mlir/Conversion/GPUToROCDL/GPUToROCDLPass.h"],
6060+
hdrs = [
6061+
"include/mlir/Conversion/GPUToROCDL/GPUToROCDLPass.h",
6062+
"include/mlir/Conversion/GPUToROCDL/Runtimes.h",
6063+
],
60626064
includes = ["include"],
60636065
deps = [
60646066
":AMDGPUDialect",

0 commit comments

Comments
 (0)