Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cext/cuda_loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ void* do_get_proc_address(cuGetProcAddress_v2_t getter,
if (res != CUDA_SUCCESS) {
raise(PyExc_RuntimeError,
"Failed to load '%s' from the CUDA library: cuGetProcAddress_v2 returned %d",
static_cast<int>(res));
name, static_cast<int>(res));
return nullptr;
}

if (!ret) {
raise(PyExc_RuntimeError,
"Function '%s' is not available in the CUDA library",
static_cast<int>(res));
name);
return nullptr;
}

Expand Down