Skip to content

Commit

Permalink
Canonicalize name for dlopen
Browse files Browse the repository at this point in the history
  • Loading branch information
vyasr committed Oct 24, 2023
1 parent 8cc6b85 commit bd54540
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion conda/recipes/rmm/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ package:
name: rmm
version: {{ version }}


source:
git_url: ../../..

Expand Down
2 changes: 1 addition & 1 deletion include/rmm/detail/dynamic_load_runtime.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ struct dynamic_load_runtime {
auto open_cudart = []() {
::dlerror();
const int major = CUDART_VERSION / 1000;
const std::string libname_ver = "libcudart.so." + std::to_string(major) + ".0";
const std::string libname_ver = "libcudart.so." + std::to_string(major);
const std::string libname = "libcudart.so";

auto ptr = ::dlopen(libname_ver.c_str(), RTLD_LAZY);
Expand Down

0 comments on commit bd54540

Please sign in to comment.