File tree Expand file tree Collapse file tree 1 file changed +11
-16
lines changed
mlir/test/lib/Dialect/GPU Expand file tree Collapse file tree 1 file changed +11
-16
lines changed Original file line number Diff line number Diff line change 8
8
MLIRAnalysis
9
9
MLIRArithDialect
10
10
MLIRBuiltinToLLVMIRTranslation
11
+ MLIRExecutionEngine
11
12
MLIRFuncDialect
12
13
MLIRGPUDialect
13
14
MLIRGPUToGPURuntimeTransforms
@@ -34,22 +35,6 @@ set(LIBS
34
35
MLIRVectorToLLVM
35
36
)
36
37
37
- # This is how it is defined in mlir/lib/Dialect/GPU/CMakeLists.txt
38
- # We probably want something better project-wide
39
- if (MLIR_ENABLE_CUDA_RUNNER )
40
- # Enable gpu-to-cubin pass.
41
- target_compile_definitions (MLIRGPUTestPasses
42
- PRIVATE
43
- MLIR_GPU_TO_CUBIN_PASS_ENABLE=1
44
- )
45
-
46
- set (LIBS
47
- ${LIBS}
48
-
49
- MLIRExecutionEngine
50
- )
51
- endif ()
52
-
53
38
add_mlir_library (MLIRGPUTestPasses
54
39
TestConvertGPUKernelToCubin.cpp
55
40
TestConvertGPUKernelToHsaco.cpp
@@ -62,3 +47,13 @@ add_mlir_library(MLIRGPUTestPasses
62
47
LINK_LIBS PUBLIC
63
48
${LIBS}
64
49
)
50
+
51
+ # This is how it is defined in mlir/lib/Dialect/GPU/CMakeLists.txt
52
+ # We probably want something better project-wide
53
+ if (MLIR_ENABLE_CUDA_RUNNER )
54
+ # Enable gpu-to-cubin pass.
55
+ target_compile_definitions (MLIRGPUTestPasses
56
+ PRIVATE
57
+ MLIR_GPU_TO_CUBIN_PASS_ENABLE=1
58
+ )
59
+ endif ()
You can’t perform that action at this time.
0 commit comments