Forum Discussion
arnoecho
New Contributor
3 years ago#include <oneapi/dpl/algorithm> #include <oneapi/dpl/execution> #include <oneapi/dpl/iterator> #include <oneapi/dpl/async> #include <CL/sycl.hpp> #include <chrono> int main(int argc, char *argv[]) { using namespace oneapi; { auto policy = oneapi::dpl::execution::dpcpp_fpga; ... //dpl apis that use the variable <policy> ... } return 0; }
Something like this. And when I compile it with
dpcpp -fintelfpga <src> -DFPGA_EMULATOR=1
The compiler reports the following error
error: no member named 'dpcpp_fpga' in namespace 'oneapi::dpl::execution'