We already expose -rdc control for CUDA codes and some users use -fgpu-rdc for their HIP code.
Example: https://github.com/WeiqunZhang/cxx17_inline
Let's add support for this in CMake (next year) 🌟