Draft: Fix HIP backend with ROCm 6

I have added patches to get the libstdgpu-hip-dev and libstdgpu-hip0d components of the stdgpu package working with rocm-hipamd 6.4.3-3 and rocthrust 6.4.4-1. Unfortunately, I was not able to get the libstdgpu-openmp-dev and libstdgpu-openmp0t64 components working as rocthrust will #include <cuda/ccl_config> when not building as HIP:

/usr/include/thrust/detail/config/config.h:25:10: fatal error: cuda/__cccl_config: No such file or directory

I also wrote a patch that fixes the CMake configuration step when building with libthrust-dev, which might also be useful for some people. I didn't fix all the compiler errors when building with libthrust-dev.

The remaining problems with stdgpu are beyond my ability to fix, but I hope that these changes provide some useful guidance.

Merge request reports

Loading