I have installed oneAPI and integrated the Intel DPC++ compiler and tools into VS2019.
I created a new project, which fails assert_error in kernel.hpp line 42 when building.
I have tried all options for Allow unnamed SYCL lambda kernels in DPC++ property page - default, Yes, No with the same result.
How can I cure this issue?
Apologies, Newbie still getting to know the ins and outs of sycl/DPC++/IDE integration. Cured issue after a bit more exploration by changing Enable SYCL offload property in DPC++ tab from No to Yes (/fsycl).
Thanks for reaching out to us.
Glad to know that your issue is resolved. Thanks for sharing the solution with us. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.
Thanks & Regards,