[clang] [NFC][clang-repl] Introduce OffloadType for CUDA/HIP device selection (PR #231391)
Aditya Sinha via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 13 02:19:43 PDT 2026
================
@@ -147,6 +151,9 @@ class Interpreter {
create(std::unique_ptr<CompilerInstance> CI,
std::unique_ptr<IncrementalExecutorBuilder> IEB = nullptr);
static llvm::Expected<std::unique_ptr<Interpreter>>
+ createWithDevice(std::unique_ptr<CompilerInstance> CI,
+ std::unique_ptr<CompilerInstance> DCI, OffloadType Type);
----------------
AdityaSinha149 wrote:
Added the default, thanks for the review.
https://github.com/llvm/llvm-project/pull/231391
More information about the cfe-commits
mailing list