Skip to content

Commit

Permalink
fix test bug
Browse files Browse the repository at this point in the history
  • Loading branch information
FantasyVR committed Jun 16, 2022
1 parent 9ae6722 commit 73ebb92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion taichi/backends/cuda/cuda_driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ bool CUDADriver::detected() {
}

CUDADriver::CUDADriver() {
load_lib("libcuda.so", "nvcuda.dll");
if (!load_lib("libcuda.so", "nvcuda.dll")) return;

loader_->load_function("cuGetErrorName", get_error_name);
loader_->load_function("cuGetErrorString", get_error_string);
Expand Down

0 comments on commit 73ebb92

Please sign in to comment.