-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hipErrorNoBinaryForGpu when built for HIP #11
Comments
Can you specify some exact test which is failing for you? And could you be able to test by building the rocm_sdk_builder for gfx90a enabled? It includes the latest version of magma and I have not seen that error on radeon devices I have tested. Build instructions:
After building, this is example how to try out the magma test apps:
|
It's because of this line: Line 290 in 2716e3f
Only a number of hard-coded GPU architectures are supported. If you pass other architectures when building, they will get ignored. It was added 3 years ago so probably a unnecessary check now. |
If you apply the patch from #15 (or even just |
I am trying to build MAGMA for HIP on gfx90a GPU (AMD MI210, it's ARCHER2 supercomputer).
I use the following cmake command:
cmake -DMAGMA_ENABLE_CUDA=OFF -DMAGMA_ENABLE_HIP=ON -DCMAKE_LIBRARY_PATH=${CRAY_LIBSCI_PREFIX_DIR}/lib -DCMAKE_CXX_COMPILER=hipcc -DGPU_TARGET=gfx90a -DBUILD_SHARED_LIBS=off -DUSE_FORTRAN=on -DLAPACK_LIBRARIES='-L/opt/cray/pe/libsci/22.12.1.1/AMD/4.0/x86_64/lib -lsci_amd -lsci_amd_mpi -ldl -lhipblas -lhipsparse -lamdhip64' ..
Build goes succesfully, but almost all tests fail with message
"hipErrorNoBinaryForGpu: Unable to find code object for all current devices!"
CMake and Make logs are attached:
cmake.log
make.log.gz
Here is also a log of
make
withVERBOSE=1
make_VERBOSE.log.gz
--offload-arch=gfx90a
but it had no effect.But it also didn't help
The text was updated successfully, but these errors were encountered: