oneAPI DPC++ Library (oneDPL) https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/dpc-library.html
715
stars
112
forks
source link
Remove local (in-group) atomic usage from __parallel_find_or (V1) #1668
Closed
SergeyKopienko closed 3 days ago
In this PR we remove local (in-group) atomic usage from
__parallel_find_or
implementation:__found_local
now is local variable (for each item);__found_local
within one group through__dpl_sycl::__reduce_over_group
operation :where
_LocalResultsReduceOp
is :__dpl_sycl::__minimum
(for the__parallel_find_forward_tag
);__dpl_sycl::__maximum
(for the__parallel_find_backward_tag
);__dpl_sycl::__bit_or
(for the__parallel_or_tag
).The new operation
__dpl_sycl::__bit_or
has been defined in the file sycl_defs.h :