[clang] [clang-repl] Added -hip option (PR #231783)

Vassil Vassilev via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 19 01:13:48 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; }
----------------
vgvassilev wrote:

Then probably we should add a FIXME note.

https://github.com/llvm/llvm-project/pull/231783


More information about the cfe-commits mailing list