File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
library/src/amd_detail/rocblaslt/src/kernels Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 2222#
2323################################################################################
2424if (WIN32 )
25- SET (rocm_path C:\\opt\\rocm )
26- SET (clang_path ${rocm_path} \\bin\\clang++)
25+ SET (clang_path ${ROCM_PATH} \\bin\\clang++)
2726else ()
28- SET (rocm_path /opt/rocm)
29- SET (clang_path ${rocm_path} /bin/amdclang++)
27+ SET (clang_path ${ROCM_PATH} /bin/amdclang++)
3028endif ()
3129function (CompileSourceKernel source archs buildIdKind outputFolder )
3230 message ("Setup source kernel targets" )
@@ -38,6 +36,6 @@ function(CompileSourceKernel source archs buildIdKind outputFolder)
3836 DEPENDS ${outputFolder} /hipblasltTransform.hsaco
3937 VERBATIM )
4038 add_custom_command (OUTPUT ${outputFolder} /hipblasltTransform.hsaco
41- COMMAND bash ${CMAKE_CURRENT_SOURCE_DIR} /src/amd_detail/rocblaslt/src/kernels/compile_code_object.sh ${source} ${archs} ${CMAKE_BUILD_TYPE} ${buildIdKind} ${outputFolder} /hipblasltTransform.hsaco ${rocm_path } ${clang_path}
39+ COMMAND bash ${CMAKE_CURRENT_SOURCE_DIR} /src/amd_detail/rocblaslt/src/kernels/compile_code_object.sh ${source} ${archs} ${CMAKE_BUILD_TYPE} ${buildIdKind} ${outputFolder} /hipblasltTransform.hsaco ${ROCM_PATH } ${clang_path}
4240 COMMENT "Compiling source kernels" )
4341endfunction ()
You can’t perform that action at this time.
0 commit comments