- In HIP, just as the regular device-only compilation, the device-only relocatable code compilation should not involve offload bundle.
- In addition, that device-only relocatable code compilation should have the similar 3 steps, namely preprocessor, compile, and backend, to the regular code generation with -emit-llvm.
- rG8b6821a5843b: [hip] Fix device-only relocatable code compilation.
LGTM in general, but I'll let Sam stamp it.
This is rather hard to understand.
|6 ↗||(On Diff #269339)|
We appear to test -fgpu-rdc only and the test case seems to be fairly specific to the way that option is handled by HIP.