================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits