Intel® oneAPI DPC++/C++ Compiler
Talk to fellow users of Intel® oneAPI DPC++/C++ Compiler and companion tools like Intel® oneAPI DPC++ Library, Intel® DPC++ Compatibility Tool, and Intel® Distribution for GDB*
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
812 Discussions

commented out //#pragma seems to see #pragma

jimdempseyatthecove
Honored Contributor III
143 Views
//#pragma omp simd  
//#pragma noprefetch
...
1>icx-cl: : warning : using /MTd or /MDd with '#pragma omp simd' may lead to unexpected fails due to the debugging version of iterators that cannot be vectorized correctly [-Wdebug-option-simd]
//?pragma omp simd  
//?pragma noprefetch

still errors

//#FooBarpragma omp simd  
//#FooBarpragma noprefetch

errors

//#FooBarpragma FooBaromp FooBarsimd  
//#FooBarpragma noprefetch

fails

 

Am I to presume that this is a general warning in the event you elect to use #pragma omp simd?

 

Jim Dempsey

0 Kudos
1 Reply
jimdempseyatthecove
Honored Contributor III
138 Views

Note, adding -Wdebug-option-simd or /Wdebug-option-simd did not eliminate the message.

 

Debug and Release Build fails (ignore unused variable warnings):

 

See attached Solution/Project

Jim

 

0 Kudos
Reply