Supported C++ Standard Library APIs and Algorithms¶
oneDPL defines a subset of the C++ standard library APIs for use in DPC++ kernels. These APIs can be employed in the kernels similarly to how they are employed in code for a typical CPU-based platform.
For all C++ algorithms accepting execution policies (as defined by C++ Standard), oneDPL provides
an implementation for oneAPI devices via oneapi::dpl::execution::device_policy
. These algorithms
must be capable of processing data in SYCL buffers (passed via oneapi::dpl::begin/end
)
and in unified shared memory (USM). (See Extensions to Parallel STL.)