Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chang-l committed Nov 18, 2024
1 parent e22cec1 commit 5116780
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/nvml_wrap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ template <typename T>
T LoadNvmlSymbol(const char* name) {
void* symbol = dlsym(nvml_handle, name);
if (!symbol) {
fprintf(stderr, "Failed to load NVML symbol %s: %s\n", name, dlerror());
return nullptr;
}
return reinterpret_cast<T>(symbol);
}
Expand Down

0 comments on commit 5116780

Please sign in to comment.