Closed kroll-j closed 1 year ago
Trying the feature/build
branch now.
With the newer hip version, the build script also needs -DHIP_PLATFORM=amd \
CMAKE_HIP_ARCHITECTURES may be an issue for cmake-3.21. I find hip had turn off this param when cmake version greater than 3.21.
I will close this issue, if you still meet the problem, please reopen it.
Environment
What is the expected behavior
What actually happens
How to reproduce
I get build errors for multiple targets like the following:
Found this: https://cmake.org/cmake/help/latest/prop_tgt/HIP_ARCHITECTURES.html
Adding
-DCMAKE_HIP_ARCHITECTURES=$AMDGPU_TARGETS
to the cmake command line seems to fix the issue: