#include #include #ifdef _OPENMP #include #endif #define REAL float ///////////////////axpy /*#pragma offload_attribute(push, target(mic)) static REAL x[SIZE]; static REAL y[SIZE]; #pragma offload_attribute(pop)*/ //__attribute__((target(mic))) REAL *x; //__attribute__((target(mic))) REAL *y; REAL *x; REAL *y; // static void init(REAL *A, long n); void f(REAL *x, REAL *y, int nn, int s, int a){ int n,i; #pragma offload target(mic:0) nocopy (x: length(s) alloc_if(0) free_if(0)) \ nocopy (y: length(s) alloc_if(0) free_if(0)) #pragma omp parallel for for(n=0; n