Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit 55795d3

Browse files
committed
fix copy paste error in sub
1 parent 9708521 commit 55795d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SYCL/AtomicRef/sub.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ void sub_test(queue q, size_t N) {
255255
if constexpr (do_ext_tests) {
256256
sub_fetch_test<::sycl::ext::oneapi::atomic_ref, space, T, Difference,
257257
order, scope>(q, N);
258-
sub_plus_equal_test<::sycl::ext::oneapi::atomic_ref, space, T, Difference,
258+
sub_minus_equal_test<::sycl::ext::oneapi::atomic_ref, space, T, Difference,
259259
order, scope>(q, N);
260260
if constexpr (!std::is_floating_point_v<T>) {
261261
sub_pre_dec_test<::sycl::ext::oneapi::atomic_ref, space, T, Difference,
@@ -266,7 +266,7 @@ void sub_test(queue q, size_t N) {
266266
}
267267
sub_fetch_test<::sycl::atomic_ref, space, T, Difference, order, scope>(q,
268268
N);
269-
sub_plus_equal_test<::sycl::atomic_ref, space, T, Difference, order, scope>(
269+
sub_minus_equal_test<::sycl::atomic_ref, space, T, Difference, order, scope>(
270270
q, N);
271271
if constexpr (!std::is_floating_point_v<T>) {
272272
sub_pre_dec_test<::sycl::atomic_ref, space, T, Difference, order, scope>(

0 commit comments

Comments
 (0)