================
@@ -479,6 +479,18 @@ llvm::Expected<std::unique_ptr<Interpreter>>
Interpreter::create(
llvm::Expected<std::unique_ptr<Interpreter>>
Interpreter::createWithCUDA(std::unique_ptr<CompilerInstance> CI,
std::unique_ptr<CompilerInstance> DCI) {
+ return createWithDevice(std::move(CI), std::move(DCI), OffloadType::CUDA);
+}
+
+llvm::Expected<std::unique_ptr<Interpreter>>
+Interpreter::createWithDevice(std::unique_ptr<CompilerInstance> CI,
----------------
AdityaSinha149 wrote:
Currently because `-hip` option isn't available, a lit test won't be possible
for this PR. Should i make a unittest or put the lit test in the next PR adding
the `-hip` option.
https://github.com/llvm/llvm-project/pull/231391
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits