File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
tensorrt_llm/kernels/cutlass_kernels Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -385,7 +385,7 @@ if(BUILD_PYT)
385385print(os.path.dirname(torch.__file__),end='');"
386386 RESULT_VARIABLE _PYTHON_SUCCESS
387387 OUTPUT_VARIABLE TORCH_DIR)
388- if (NOT _PYTHON_SUCCESS MATCHES 0)
388+ if (NOT _PYTHON_SUCCESS EQUAL 0)
389389 message (FATAL_ERROR "Torch config Error." )
390390 endif ()
391391 list (APPEND CMAKE_PREFIX_PATH ${TORCH_DIR} )
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ execute_process(
2929 COMMAND ${Python3_EXECUTABLE} setup_library.py develop --user
3030 RESULT_VARIABLE _CUTLASS_LIBRARY_SUCCESS)
3131
32- if (NOT _CUTLASS_LIBRARY_SUCCESS MATCHES 0)
32+ if (NOT _CUTLASS_LIBRARY_SUCCESS EQUAL 0)
3333 message (
3434 FATAL_ERROR
3535 "Failed to set up the CUTLASS library due to ${_CUTLASS_LIBRARY_SUCCESS} ."
@@ -53,7 +53,7 @@ execute_process(
5353 OUTPUT_VARIABLE _KERNEL_GEN_OUTPUT
5454 RESULT_VARIABLE _KERNEL_GEN_SUCCESS)
5555
56- if (NOT _KERNEL_GEN_SUCCESS MATCHES 0)
56+ if (NOT _KERNEL_GEN_SUCCESS EQUAL 0)
5757 message (
5858 FATAL_ERROR
5959 "Failed to generate internal CUTLASS kernel instantiations due to ${_KERNEL_GEN_SUCCESS} ."
You can’t perform that action at this time.
0 commit comments