diff --git a/source/loader/ur_adapter_registry.hpp b/source/loader/ur_adapter_registry.hpp index 33cf4e130e..744d988336 100644 --- a/source/loader/ur_adapter_registry.hpp +++ b/source/loader/ur_adapter_registry.hpp @@ -106,8 +106,9 @@ class AdapterRegistry { // to load the adapter. std::vector> adaptersLoadPaths; - static constexpr std::array knownAdapterNames{ - MAKE_LIBRARY_NAME("ur_adapter_level_zero", "0")}; + static constexpr std::array knownAdapterNames{ + MAKE_LIBRARY_NAME("ur_adapter_level_zero", "0"), + MAKE_LIBRARY_NAME("ur_adapter_cuda", "0")}; std::optional> getEnvAdapterSearchPaths() { std::optional> pathStringsOpt;