From 39dc0090784aacd43cdbea1133551f2814930376 Mon Sep 17 00:00:00 2001 From: Matthias Knorr Date: Mon, 9 Dec 2024 17:05:22 +0100 Subject: [PATCH] Fix CMakeLists.txt for square sample --- samples/0_Intro/square/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/0_Intro/square/CMakeLists.txt b/samples/0_Intro/square/CMakeLists.txt index 71d01e41c..9695401f2 100644 --- a/samples/0_Intro/square/CMakeLists.txt +++ b/samples/0_Intro/square/CMakeLists.txt @@ -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