Skip to content

Commit

Permalink
Merge pull request #808 from hdelan/add-more-known-adapters
Browse files Browse the repository at this point in the history
[loader] Add more known adapters to list
  • Loading branch information
kbenzie authored Aug 25, 2023
2 parents 54005ef + ccfe1f6 commit 636150a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source/loader/ur_adapter_registry.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,10 @@ class AdapterRegistry {
// to load the adapter.
std::vector<std::vector<fs::path>> adaptersLoadPaths;

static constexpr std::array<const char *, 2> knownAdapterNames{
static constexpr std::array<const char *, 4> knownAdapterNames{
MAKE_LIBRARY_NAME("ur_adapter_level_zero", "0"),
MAKE_LIBRARY_NAME("ur_adapter_hip", "0"),
MAKE_LIBRARY_NAME("ur_adapter_opencl", "0"),
MAKE_LIBRARY_NAME("ur_adapter_cuda", "0")};

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

0 comments on commit 636150a

Please sign in to comment.