[clang] [NFC][clang-repl] Introduce OffloadType for CUDA/HIP device selection (PR #231391)
Vassil Vassilev via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 13 00:24:20 PDT 2026
================
@@ -515,14 +522,20 @@ Interpreter::createWithCUDA(std::unique_ptr<CompilerInstance> CI,
Interp->DeviceCI = std::move(DCI);
- auto DeviceParser = std::make_unique<IncrementalCUDADeviceParser>(
- *Interp->DeviceCI, *Interp->getCompilerInstance(),
- Interp->DeviceAct.get(), IMVFS, Err, Interp->PTUs);
+ if (Type == OffloadType::HIP) {
+ // FIXME: HIP device parsing is not supported yet; it should use an
----------------
vgvassilev wrote:
I think this should go with the device parsing infrastructure.
https://github.com/llvm/llvm-project/pull/231391
More information about the cfe-commits
mailing list