From 3deed76b7eade1397fd0f584f414f979df95fca8 Mon Sep 17 00:00:00 2001 From: Matthew Michel Date: Fri, 22 Nov 2024 15:54:08 -0600 Subject: [PATCH] Use binary_op[_non]_device_copyable where appropriate Signed-off-by: Matthew Michel --- .../device_copyable.pass.cpp | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/test/general/implementation_details/device_copyable.pass.cpp b/test/general/implementation_details/device_copyable.pass.cpp index 1ae8489e35e..474e4268b69 100644 --- a/test/general/implementation_details/device_copyable.pass.cpp +++ b/test/general/implementation_details/device_copyable.pass.cpp @@ -161,9 +161,9 @@ test_device_copyable() "__gen_red_by_seg_reduce_input is not device copyable with device copyable types"); //__gen_red_by_seg_scan_input - static_assert( - sycl::is_device_copyable_v>, - "__gen_red_by_seg_scan_input is not device copyable with device copyable types"); + static_assert(sycl::is_device_copyable_v< + oneapi::dpl::__par_backend_hetero::__gen_red_by_seg_scan_input>, + "__gen_red_by_seg_scan_input is not device copyable with device copyable types"); //__gen_mask static_assert(sycl::is_device_copyable_v>, @@ -196,7 +196,7 @@ test_device_copyable() //__write_red_by_seg static_assert( - sycl::is_device_copyable_v>, + sycl::is_device_copyable_v>, "__write_red_by_seg is not device copyable with device copyable types"); // __early_exit_find_or @@ -418,14 +418,14 @@ test_non_device_copyable() "__gen_transform_input is device copyable with non device copyable types"); //__gen_red_by_seg_reduce_input - static_assert( - !sycl::is_device_copyable_v>, - "__gen_red_by_seg_reduce_input is device copyable with non device copyable types"); + static_assert(!sycl::is_device_copyable_v< + oneapi::dpl::__par_backend_hetero::__gen_red_by_seg_reduce_input>, + "__gen_red_by_seg_reduce_input is device copyable with non device copyable types"); //__gen_red_by_seg_reduce_input - static_assert( - !sycl::is_device_copyable_v>, - "__gen_red_by_seg_scan_input is device copyable with non device copyable types"); + static_assert(!sycl::is_device_copyable_v< + oneapi::dpl::__par_backend_hetero::__gen_red_by_seg_scan_input>, + "__gen_red_by_seg_scan_input is device copyable with non device copyable types"); //__gen_mask static_assert(!sycl::is_device_copyable_v>, @@ -457,9 +457,9 @@ test_non_device_copyable() "__write_to_id_if_else is device copyable with non device copyable types"); //__write_red_by_seg - static_assert( - !sycl::is_device_copyable_v>, - "__write_red_by_seg is device copyable with non device copyable types"); + static_assert(!sycl::is_device_copyable_v< + oneapi::dpl::__par_backend_hetero::__write_red_by_seg>, + "__write_red_by_seg is device copyable with non device copyable types"); // __early_exit_find_or static_assert(