//==---- algorithm.h ------------------------------*- C++ -*----------------==// // // Copyright (C) Intel Corporation // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // See https://llvm.org/LICENSE.txt for license information. // //===----------------------------------------------------------------------===// #ifndef __DPCT_ALGORITHM_H__ #define __DPCT_ALGORITHM_H__ #include #include #include #include "functional.h" #include "iterators.h" #include "vector.h" namespace dpct { namespace internal { // This function is ported from oneDPL with the check for an FPGA policy // removed. This function should be used to wrap a provided policy when multiple // oneDPL calls are made to ensure unique kernel names. template