diff --git a/sycl/test-e2e/ESIMD/unified_memory_api/Inputs/atomic_update.hpp b/sycl/test-e2e/ESIMD/unified_memory_api/Inputs/atomic_update.hpp index cf2bccc166ac..e31f5e923dcf 100644 --- a/sycl/test-e2e/ESIMD/unified_memory_api/Inputs/atomic_update.hpp +++ b/sycl/test-e2e/ESIMD/unified_memory_api/Inputs/atomic_update.hpp @@ -118,7 +118,7 @@ bool verify(T *arr, const Config &cfg, size_t size) { template class ImplF, bool UseMask, bool UseProperties> -bool test_usm(queue q, const Config &cfg) { +bool test_usm(queue &q, const Config &cfg) { constexpr auto op = ImplF::atomic_op; using CurAtomicOpT = decltype(op); constexpr int n_args = ImplF::n_args; @@ -245,7 +245,7 @@ bool test_usm(queue q, const Config &cfg) { template class ImplF, bool UseMask, bool UseProperties> -bool test_acc(queue q, const Config &cfg) { +bool test_acc(queue &q, const Config &cfg) { constexpr auto op = ImplF::atomic_op; using CurAtomicOpT = decltype(op); constexpr int n_args = ImplF::n_args; @@ -615,7 +615,7 @@ struct ImplFcmpwr : ImplCmpxchgBase {}; template class ImplF, bool UseMask, bool UseLSCFeatures> -auto run_test(queue q, const Config &cfg) { +auto run_test(queue &q, const Config &cfg) { if constexpr (UseAcc) return test_acc(q, cfg); else @@ -624,7 +624,7 @@ auto run_test(queue q, const Config &cfg) { template class Op, bool UseMask, bool UseLSCFeatures, bool UseAcc, int SignMask = (Signed | Unsigned)> -bool test_int_types(queue q, const Config &cfg) { +bool test_int_types(queue &q, const Config &cfg) { bool passed = true; if constexpr (SignMask & Signed) { // Supported by LSC atomic: @@ -662,7 +662,7 @@ bool test_int_types(queue q, const Config &cfg) { template class Op, bool UseMask, bool UseLSCFeatures, bool UseAcc> -bool test_fp_types(queue q, const Config &cfg) { +bool test_fp_types(queue &q, const Config &cfg) { bool passed = true; // TODO: Enable FADD/FSUB on DG2/PVC when the error in GPU driver is resolved. if constexpr (UseLSCFeatures && @@ -685,7 +685,7 @@ bool test_fp_types(queue q, const Config &cfg) { template