Skip to content

Commit

Permalink
Skip IncrementalExecutor for CUDADevice
Browse files Browse the repository at this point in the history
We don't need it, and with the upgrade to LLVM 16 the NVPTX target
(correctly) errors that there is no (direct) JIT execution support.
  • Loading branch information
hahnjo authored and jenkins committed Aug 18, 2023
1 parent 345d51a commit dfee355
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Interpreter/Interpreter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ namespace cling {
if (!m_LookupHelper)
return;

if (!isInSyntaxOnlyMode()) {
if (!isInSyntaxOnlyMode() && !m_Opts.CompilerOpts.CUDADevice) {
m_Executor.reset(new IncrementalExecutor(SemaRef.Diags, *getCI(),
extraLibHandle, m_Opts.Verbose()));

Expand Down

0 comments on commit dfee355

Please sign in to comment.