Fix CMakeLists.txt for square sample (#61)

Co-authored-by: Matthias Knorr <MKKnorr@web.de>
Tá an tiomantas seo le fáil i:
Guan, ZichuanagusMatthias Knorr údaraithe agus GitHub tiomanta 2025-04-29 09:59:53 -04:00
1 tuismitheoir a423c20690
tiomantas 184142b4b6
1 comhad athraithe
+1 -1
+1 -1
Féach ar an gComhad
@@ -33,7 +33,7 @@ if(UNIX)
endif()
# create square.cpp
execute_process(COMMAND sh -c "${CMAKE_PREFIX_PATH}/bin/hipify-perl \
execute_process(COMMAND sh -c "${ROCM_PATH}/bin/hipify-perl \
${CMAKE_CURRENT_SOURCE_DIR}/square.cu > ${CMAKE_CURRENT_BINARY_DIR}/square.cpp")
# Find hip