Is it possible to use SIMD instructions in offload mode?

Is it possible to use SIMD instructions in offload mode?

Hi there:

I tried to vectorized a program with SIMD instructions. The intrinsics such as "_mm512_add_ps()" can only be used when the program  is compiled with  the option -mmic, which lead to that the program can run only on MIC.

But now we need to use MIC work with CPU, the best way is to offload to MIC. How can I use the SIMD intructions in the offload mode?

Thanks.

Learning every day
5 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Have a look at sampleC06.c (under /opt/intel/composer_xe_2013/Samples/en_US/C++/mic_samples/intro_sampleC) and how to use the __MIC__ define.

Got it, Thank you very much. I came to know about how to use this macro.

Learning every day

Quote:

Kevin Davis (Intel) wrote:

Have a look at sampleC06.c (under /opt/intel/composer_xe_2013/Samples/en_US/C++/mic_samples/intro_sampleC) and how to use the __MIC__ define.

Got it. Thank you. I came to know about how to use this macro.

Learning every day

You're welcome. Glad to hear that.

Leave a Comment

Please sign in to add a comment. Not a member? Join today