We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1f8644c + c42f4a7 commit 1825764Copy full SHA for 1825764
CMakeLists.txt
@@ -221,7 +221,6 @@ if(TRITON_BUILD_PYTHON_MODULE)
221
set(TRITON_LIBRARIES
222
${triton_libs}
223
${triton_plugins}
224
- TritonSPIRV
225
226
# mlir
227
MLIRAMDGPUDialect
lib/Target/SPIRV/CMakeLists.txt
@@ -15,3 +15,6 @@ add_mlir_translation_library(TritonSPIRV
15
16
# Add SPIRV-LLVM-Translator include directory.
17
target_include_directories(TritonSPIRV PRIVATE ${SPIRVToLLVMTranslator_INCLUDE_DIR})
18
+
19
+set_property(GLOBAL APPEND PROPERTY TRITON_LIBS TritonSPIRV)
20
+llvm_update_compile_flags(TritonSPIRV)
0 commit comments