Intel® Many Integrated Core Architecture (Intel MIC Architecture)

Strange compile time errors: "this kind of pragma may not be used here"

This code was working fine, till I changed something in some other file. Can someone please explain why am I getting this error and what does it mean?

error: this kind of pragma may not be used here
      #pragma offload_transfer target(mic:0) nocopy( A: length(dim) alloc_if(0) free_if(1) )
              ^

So, instead I tried:

#pragma offload target(mic:0) nocopy( A: length(dim) alloc_if(0) free_if(1) )

{}

Now the error is:

New white paper: static libraries and elemental functions for the MIC architecture

A new white paper, authored by Colfax's Vadim Karpusenko and myself, "How to Write Your Own Blazingly Fast Library of Special Functions for Intel Xeon Phi Coprocessors", describes

1) The process of building static libraries with offloadable functions,

2) The usage of elemental functions for automatic vectorization of loops with library functions, and

3) Optimization of arithmetic expressions in functions with scalar syntax.

Error mesage when running Intel® Optimized MP LINPACK Benchmark for Clusters on Intel Phi cards.

Hi

I refer to below instruction of Intel® Optimized MP LINPACK Benchmark for Clusters, I am trying offload computations to Intel Xeon Phi coprocessors by running runme_offload_intel64 script file.

 

(http://software.intel.com/sites/products/documentation/doclib/mkl_sa/11/mkl_userguide_lnx/GUID-10DFCB17-3953-47C6-9971-8C455A925BFE.htm)

 

My test environment :

Unregister data tables

Hello,

There is something wrong with my MIC. when I what to un the executable with offload pragmas, I get error message"cannot offload to MIC - device is not available" .And then I export OFFLOAD_RECORD=3, and I get "[Offload] [HOST]  [State]   Unregister data tables". Is there anything wrong when I install MPSS or icc/icpc ?Could anyone please help me understand what has happened? Thanks.

Using mkl/fftw in Cilk_shared functions

Apologies if this is already asked and answered; the forum search isn't great...

What's involved in calling the MKL fftw wrappers from a _Cilk_shared function?

src/math/fft_mkl.c(238): error: illegal to call a non-shared function in a _Cilk_shared context
      fftwf_execute(fftobject->plan);
      ^

I feel like I'm missing something rather fundamental...

页面

订阅 Intel® Many Integrated Core Architecture (Intel MIC Architecture)