SWDEV-425678 - Fix build failure in HIP samples
- Due to file reorg path changes cmake fails at find_package(hip) unless CMAKE_PREFIX_PATH is set explicitly - Update CMakeLists.txt to set CMAKE_PREFIX_PATH - Update Readme Change-Id: Ibdb4419efcdd6583b059a728e48dfdb8f927a48b
This commit is contained in:
committed by
Rahul Manocha
parent
d04b8bf458
commit
4dfa7ca7e6
+1
-1
@@ -20,7 +20,7 @@ mkdir -p build && cd build
|
||||
|
||||
rm -rf * (to clear up)
|
||||
|
||||
cmake -DCMAKE_PREFIX_PATH=<path/to/rocm> -DHIP_CXX_COMPILER=<path/to/clang> ..
|
||||
cmake ..
|
||||
|
||||
Then run,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user