Closed vwcruzeiro closed 1 year ago
HIP-CPU is self-contained and does not require a HIP install (in fact, it will clash with it, so mixing them is unsupported). We export a CMake namespaced target that you should pass to target_link_libraries which'll take care of setting everything up correctly in what regards the build. Having said that, I'm afraid GCC 7.2.0 is too old, and won't quite work (it doesn't have C++ standard support). Is there any chance to move to GCC 10 or later @vwcruzeiro?
Hello! We are facing problems compiling HIP-CPU and I am wondering if someone could help us out. Maybe we are missing something...
Trying to compile in a machine with Intel CPUs and AMD GPUs. We have HIP 4.4.21401-bedc5f61 (the latest one we could install), TBB 2018, GCC 7.2.0 and CMake 3.16.4.
When we run the following commands:
This is what we get:
We also tried using
hipcc
instead of GCC:CXX=hipcc cmake .. -DCMAKE_CXX_FLAGS="$(hipconfig --cpp_config)"
. And this is what we get:Any ideas of what is wrong?
Thank you very much beforehand!
Vinicius Cruzeiro and Michael Miller