Skip to content

Commit 636150a

Browse files
authored
Merge pull request #808 from hdelan/add-more-known-adapters
[loader] Add more known adapters to list
2 parents 54005ef + ccfe1f6 commit 636150a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

source/loader/ur_adapter_registry.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,10 @@ class AdapterRegistry {
113113
// to load the adapter.
114114
std::vector<std::vector<fs::path>> adaptersLoadPaths;
115115

116-
static constexpr std::array<const char *, 2> knownAdapterNames{
116+
static constexpr std::array<const char *, 4> knownAdapterNames{
117117
MAKE_LIBRARY_NAME("ur_adapter_level_zero", "0"),
118+
MAKE_LIBRARY_NAME("ur_adapter_hip", "0"),
119+
MAKE_LIBRARY_NAME("ur_adapter_opencl", "0"),
118120
MAKE_LIBRARY_NAME("ur_adapter_cuda", "0")};
119121

120122
std::optional<std::vector<fs::path>> getEnvAdapterSearchPaths() {

0 commit comments

Comments
 (0)