[clang] [clang-repl] Added -hip option (PR #231783)
Aditya Sinha via cfe-commits
cfe-commits at lists.llvm.org
Sun Oct 18 22:24:03 PDT 2026
================
@@ -69,28 +69,33 @@ class IncrementalCompilerBuilder {
// Offload options
void SetOffloadArch(llvm::StringRef Arch) { OffloadArch = Arch; };
- // CUDA specific
- void SetCudaSDK(llvm::StringRef path) { CudaSDKPath = path; };
+ // The SDK path (CUDA or ROCm) of the device language being offloaded to.
+ void SetDeviceSDK(llvm::StringRef Path) { DeviceSDKPath = Path; }
----------------
AdityaSinha149 wrote:
Planning to do this change in a future PR.
https://github.com/llvm/llvm-project/pull/231783
More information about the cfe-commits
mailing list