Intel® oneAPI Data Parallel C++
Support for Intel® oneAPI DPC++ Compiler, Intel® oneAPI DPC++ Library, Intel® DPC++ Compatibility Tool, and GDB*
Announcements
The Intel sign-in experience is changing in February to support enhanced security controls. If you sign in, click here for more information.

OneAPI VS2019 static_assert error

itl-dag
Beginner
223 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
Beginner
213 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).

 

VarshaS_Intel
Moderator
194 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


Reply