Search

Search Results for:

Search Results: 181,000

  1. Avoiding Potential Problems - the __MIC__ macro and offload code ...

    https://software.intel.com/en-us/blogs/2013/03/27/painful-potential-problems-the-mic-macro-and-offload-code-blocks

    Mar 27, 2013 ... The __declspec(target(mic)) declaration tells the Intel® C++ compiler to generate two versions of the object code for this routine. In one, the ...

  2. __MIC__ macro does not work

    https://software.intel.com/en-us/forums/intel-many-integrated-core/topic/540140

    Feb 1, 2015 ... Hello everyone,. To solve problems like this: undefined reference to `_ mm512_xxx_xxx(), I have added __MIC__ macro into my code.

  3. How to compile a program with Intrinsic on MIC

    https://software.intel.com/en-us/forums/intel-many-integrated-core/topic/373453

    Feb 28, 2013 ... #ifdef __MIC__. <Phi intrinsic code here>. #else. <Host side equivalent code here>. #endif. If you have not already, look at the C sample under:.

  4. New Compiler Bug was introduced for MIC offload

    https://software.intel.com/en-us/forums/intel-many-integrated-core/topic/486650

    Oct 27, 2013 ... #ifdef __MIC__ .... C++ intrinsics code. #endif. However, when doing this in a . cpp file so that the host code contains nothing, also the MIC code ...

  5. Compiler error with some MIC intrinsics

    https://software.intel.com/en-us/forums/intel-many-integrated-core/topic/538762

    Jan 15, 2015 ... These intrinsics require using the __MIC__ predefine so they only participate in the target-side compilation for the offloaded code. Without this ...

  6. Effective Use of the Intel Compiler's Offload Features | Intel® Software

    https://software.intel.com/en-us/articles/effective-use-of-the-intel-compilers-offload-features

    #pragma offload target(mic) inout(a[0:1024]) { __assume_aligned(&a[0], 64); for (i =0; i<size; i++) { // Function call in loop is not inlined // Had it been inlined, loop ...

  7. Offload one function with two versions (1 CPU, 1 MIC)

    https://software.intel.com/en-us/forums/intel-many-integrated-core/topic/472206

    Sep 5, 2013 ... In order to do so I tried to use "__attribute__ ((target(mic))) function" so that : - when offloading, the function is compiled for MIC - when not ...

  8. Avoiding Potential Problems - Intel(r) Xeon Phi(tm) coprocessor ...

    https://software.intel.com/en-us/blogs/2013/07/01/avoiding-potential-problems-intelr-xeon-phitm-coprocessor-predefined-macros-and

    Jul 1, 2013 ... The code is passed to the fpp preprocessor with __MIC__ undefined. Because __MIC__ is not defined and is not used in a preprocessor ...

  9. Problem using locks with MIC and OpenMP

    https://software.intel.com/en-us/forums/intel-many-integrated-core/topic/602091

    Dec 2, 2015 ... #include <stdio.h> #include <omp.h> __attribute__((target(mic))) int chk_target() { int retval; #ifdef __MIC__ retval = 1; #else retval = 0; #endif ...

  10. MKL BLAS function only run 1 thread on MIC

    https://software.intel.com/en-us/forums/intel-many-integrated-core/topic/610949

    Feb 26, 2016 ... __attribute__(( target (mic) )) void offload_check(void) { #ifdef __MIC__ printf(" Check Func: Run on MIC!\n"); #else printf("Check Func: Run on ...

  11. *MIC* unknown attribute "__leaf__"

    https://software.intel.com/en-us/forums/intel-many-integrated-core/topic/496088

    Dec 12, 2013 ... The following simple program [cpp]#include #define ACCURACY 1e-9 #define MAX_ITER 50 #ifndef M_PI #define M_PI ...

  12. How to dllexport with MIC offload?

    https://software.intel.com/en-us/forums/intel-many-integrated-core/topic/538504

    Jan 11, 2015 ... __declspec(dllexport) void foo(void);". Could someone please advise - how do I correctly structure the code to export a method from dll which ...

  13. error:"Opcode unsupported on target architecture: movaps"

    https://software.intel.com/en-us/forums/intel-many-integrated-core/topic/518061

    Jul 13, 2014 ... 1, __declspec (aligned(128)) float farray[] = {0.0, 2.0, 4.0, 6.0, 8.0, 10.0, ... In offload mode it need the annotation "__MIC__" to tell the compiler ...

  14. Bug/Limitation: Cannot compile thread_local dynamic non-POD ...

    https://software.intel.com/en-us/forums/intel-c-compiler/topic/593648

    Sep 16, 2015 ... While for the host architecture the code compiles, for mic (e.g. .... c++11 code on the MIC (using mpss 3.4 and adding #ifdef __MIC__ here and ...

  15. Intrinsic function on MIC (512)

    https://software.intel.com/en-us/forums/intel-many-integrated-core/topic/538657

    Jan 13, 2015 ... To compile for MIC + intrinsic: icpc prog.cpp -O3 -openmp - ... 010, __declspec( target(mic:0)) void testVctr( double *a, double *b, double *c ) ...

  16. Error #165 in C++ library header (stl_uninitialized.h(576)) while ...

    https://software.intel.com/en-us/forums/intel-many-integrated-core/topic/475660

    Oct 3, 2013 ... When I try to compile it for mic I get the problem in C++ header file which ... use # ifdef __MIC__ else at the point of invocation of the constructor.

  17. Additional Predefined Macros | Intel® Software

    https://software.intel.com/en-us/node/524490

    This macro is similar to __MIC__, but it is defined by the compiler while building ... of the Intel® MIC Architecture known as the Intel® Xeon Phi™ coprocessor.

  18. cast __m256i to int

    https://software.intel.com/en-us/forums/intel-many-integrated-core/topic/549775

    Apr 14, 2015 ... I can't find a way to cast a __m256i variable to integer! ...... My #21 response clearly indicated targeting MIC, __mm512, however this is actually ...

  19. MIC* namespace "std::this_thread" has no member "sleep_for"

    https://software.intel.com/en-us/forums/intel-many-integrated-core/topic/531584

    Sep 16, 2014 ... *MIC* namespace "std::this_thread" has no member "sleep_for" .... Try using a # ifndef __MIC__ to exclude the specific problematic source line ...

  20. MIC Fortran Error : could not find 'k1om-mpss-linux-ld.exe'

    https://software.intel.com/en-us/forums/intel-many-integrated-core/topic/549580

    Apr 9, 2015 ... MIC Fortran Error : could not find 'k1om-mpss-linux-ld.exe' ... 03, #ifdef __MIC__ ... 23 ! code to test whether or not running in MIC ...

For more complete information about compiler optimizations, see our Optimization Notice.