Skip to content

Commit e57936b

Browse files
committed
GPU: Fix filename in hipifaction
1 parent cd8e576 commit e57936b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GPU/GPUTracking/Base/hip/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ if(NOT DEFINED GPUCA_HIP_HIPIFY_FROM_CUDA OR "${GPUCA_HIP_HIPIFY_FROM_CUDA}")
3636
if(CUDA_SOURCE_EXT STREQUAL ".cu" OR CUDA_SOURCE_EXT STREQUAL ".h")
3737
add_custom_command(
3838
OUTPUT ${GPUCA_HIP_SOURCE_DIR}/${HIP_SOURCE}
39-
COMMAND ${hip_HIPIFY_PERL_EXECUTABLE} --quiet-warnings ${ABS_CUDA_SORUCE} | sed -e 's/CUDA/HIP/g' -e 's/cuda/hip/g' > ${GPUCA_HIP_SOURCE_DIR}/${HIP_SOURCE}
39+
COMMAND ${hip_HIPIFY_PERL_EXECUTABLE} --quiet-warnings ${ABS_CUDA_SORUCE} | sed -e 's/CUDA/HIP/g' -e 's/cuda/hip/g' -e 's/\.cu/\.hip/g' > ${GPUCA_HIP_SOURCE_DIR}/${HIP_SOURCE}
4040
DEPENDS ${ABS_CUDA_SORUCE}
4141
COMMENT "Hippifying ${HIP_SOURCE}"
4242
)

0 commit comments

Comments
 (0)