Skip to content

Commit addb1a3

Browse files
Add path hint for cmake to find hiprtc
1 parent 3a6dc80 commit addb1a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ set(GPU_TARGETS "${AMDGPU_TARGETS}" CACHE STRING "GPU architectures to build for
195195

196196
# HIP is required - library and clients use HIP to access the device
197197
find_package( hip REQUIRED CONFIG PATHS /opt/rocm/lib/cmake/hip/ )
198-
find_package( hiprtc REQUIRED CONFIG )
198+
find_package( hiprtc REQUIRED CONFIG PATHS /opt/rocm/lib/cmake/hiprtc/ )
199199

200200
# The nvidia backend can be used to compile for CUDA devices.
201201
# Specify the CUDA prefix in the CUDA_PREFIX variable.

0 commit comments

Comments
 (0)