Skip to content

Commit 585538e

Browse files
committed
fix
1 parent 4d004da commit 585538e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

taichi/runtime/llvm/llvm_runtime_executor.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ void LlvmRuntimeExecutor::materialize_runtime(MemoryPool *memory_pool,
613613
(void *)&KernelProfilerBase::profiler_stop);
614614
}
615615
#if defined(TI_WITH_CUDA)
616-
if (config_.arch == Arch::CUDA) {
616+
if (config_->arch == Arch::cuda) {
617617
CUDADriver::get_instance().context_pop_current(nullptr);
618618
}
619619
#endif

0 commit comments

Comments
 (0)