Build: search for hipcc in HIP_ROOT_DIR/bin

This commit is contained in:
Brecht Van Lommel 2021-10-06 16:13:21 +02:00
parent 8a6f224e26
commit 0fd0b0643a
1 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,8 @@ find_program(HIP_HIPCC_EXECUTABLE
hipcc
HINTS
${_hip_SEARCH_DIRS}
PATH_SUFFIXES
bin
)
if(HIP_HIPCC_EXECUTABLE AND NOT EXISTS ${HIP_HIPCC_EXECUTABLE})