Unable to build for HIP
I was looking into a problem reported for the magma spack package here: https://github.com/spack/spack/issues/25856
I found that I am now unable to get hip magma to build in any circumstance. This includes version 2.6.0 and the master branch. This is very odd to me because 2.6.0 was previously working within spack and stand-alone. It appears that it is not getting some CUDA-provided things such at threadIdx. I’ve attached the log files.
Comments (4)
-
reporter -
Yes indeed - looking at the make.log, the first hip file that is encountered is compiled with clang instead of hipcc.
There is this fix for spack:
https://github.com/spack/spack/pull/25948/files/05605ab8590bc1cc7e343827f8875cdfac875fdf
-
reporter I am going to submit the fix for the spack magma package.
-
reporter - changed status to resolved
Submitted PR to spack https://github.com/spack/spack/pull/25989
- Log in to comment
Apparently caused by a problem with cmake@3.21 https://github.com/ROCmSoftwarePlatform/rocFFT/issues/322