mpicbg-scicomp / gearshifft

Benchmark Suite for Heterogenuous FFT Implementations
Apache License 2.0
34 stars 9 forks source link

cmake fails to detect rocFFT support #150

Open paklui opened 3 years ago

paklui commented 3 years ago

Hi, I am trying to run gearshifft on Ubuntu 18.04 and ROCm 3.7. When I try to build rocFFT support, there are a couple of cmake checks for gearshifft that fails. I comment out the check to bypass for the moment, /root/driver/gearshifft/CMakeLists.txt(259):

if(hip_FOUND AND hcc_DIR )

Also with the recent ROCm version that changes from hcc to hip-clang (hipcc), the hip_hcc library has changed to amdhip64. /root/driver/gearshifft/CMakeLists.txt(279):

hip::hip_hcc

to

hip::amdhip64

I added the --trace-source=CMakeLists.txt to cmake, but not sure how hip_FOUND or hcc_DIR are determined rocfft-issue.txt

zyzzyxdonta commented 3 years ago

Hi @paklui, I'm trying to get gearshifft with rocFFT to work inside a CI machine. I'll let you know when I have results. In the log you attached, I can see you specified -DDGEARSHIFFT_USE_SUPERBUILD=ON which has one too many Ds in the beginning. Removing it should get rid of some error messages.

zyzzyxdonta commented 3 years ago

OK, I'm stuck, unfortunately. See this issue: https://github.com/RadeonOpenCompute/rocminfo/issues/38