arnoecho
New Contributor
3 years agodevice policy "dpcpp_fpga" not found in namespace
I was trying to write a program which intends to utilize FPGA board. According to this page<https://www.intel.com/content/www/us/en/develop/documentation/oneapi-dpcpp-library-guide/top/parallel-api/execution-policies.html>, dpcpp_fpga should be an available policy within namespace <oneapi::dpl::execution>. However, when I compiled the code, I received the following error.
src/api.cpp:31:87: error: no member named 'dpcpp_fpga' in namespace 'oneapi::dpl::execution'
auto fut1 = dpl::experimental::fill_async(oneapi::dpl::execution::dpcpp_fpga,dpl::begin(a),dpl::end(a),(1<<31));
I am wondering how to resolve this error.