From bd545406e762a46721ccf8cfd0a73f7ac4038c15 Mon Sep 17 00:00:00 2001 From: Vyas Ramasubramani Date: Tue, 24 Oct 2023 13:28:03 -0700 Subject: [PATCH] Canonicalize name for dlopen --- conda/recipes/rmm/meta.yaml | 1 - include/rmm/detail/dynamic_load_runtime.hpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/conda/recipes/rmm/meta.yaml b/conda/recipes/rmm/meta.yaml index 9a377a7d3..e13254d4c 100644 --- a/conda/recipes/rmm/meta.yaml +++ b/conda/recipes/rmm/meta.yaml @@ -10,7 +10,6 @@ package: name: rmm version: {{ version }} - source: git_url: ../../.. diff --git a/include/rmm/detail/dynamic_load_runtime.hpp b/include/rmm/detail/dynamic_load_runtime.hpp index b45dbae25..4501cc6e4 100644 --- a/include/rmm/detail/dynamic_load_runtime.hpp +++ b/include/rmm/detail/dynamic_load_runtime.hpp @@ -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);