Intel® oneAPI Data Parallel C++
Support for Intel® oneAPI DPC++ Compiler, Intel® oneAPI DPC++ Library, Intel ICX Compiler , Intel® DPC++ Compatibility Tool, and GDB*

OneAPI VS2019 static_assert error

itl-dag
Novice
406 Views

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?

 

0 Kudos
2 Replies
itl-dag
Novice
396 Views

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).

 

0 Kudos
VarshaS_Intel
Moderator
377 Views

Hi,


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,

Varsha


0 Kudos
Reply