From db52d38d4be7d3232c6115ae81cc8579b87913b0 Mon Sep 17 00:00:00 2001 From: Aaron Greig Date: Mon, 24 Mar 2025 13:35:56 +0000 Subject: [PATCH] [UR] Fix usage of old backend enum. --- unified-runtime/source/loader/ur_adapter_registry.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unified-runtime/source/loader/ur_adapter_registry.hpp b/unified-runtime/source/loader/ur_adapter_registry.hpp index 906ad2860b77f..a3e16c51e778d 100644 --- a/unified-runtime/source/loader/ur_adapter_registry.hpp +++ b/unified-runtime/source/loader/ur_adapter_registry.hpp @@ -25,7 +25,7 @@ namespace fs = filesystem; namespace ur_loader { struct ur_device_tuple { - ur_adapter_backend_t backend; + ur_backend_t backend; ur_device_type_t device; }; @@ -42,7 +42,7 @@ struct FilterTerm { {"native_cpu", UR_BACKEND_NATIVE_CPU}, }; - bool matchesBackend(const ur_adapter_backend_t &match_backend) const { + bool matchesBackend(const ur_backend_t &match_backend) const { if (backend.front() == '*') { return true; }