Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
13 Views

OpenMP 4 - testing offload directives in an emulated enviornment

I would like to ask whether using Intel Parallel Studio XE 2016 Beta for Linux it is possible to test OpenMP 4 offloading features in an emulated environment like the one GCC is providing by means of the offloadmic library. My goal is to develop an application that uses in an extensive way OpenMP 4 target directives, I would like to compile and debug such an application on a machine without real hardware acceleration and later on when the hardware will be available to me I will deploy the application to truly test its performances and to optimize it.

Thank you,

Marco

Tags (1)
0 Kudos
1 Reply
Highlighted
13 Views

It seems that the option I'm looking for is -openmp-offload=host however when I try to compile my code with that option I got the following:

bash-4.1$ icc -openmp -openmp-offload=host overlap.c -o overlap
/tmp/iccADTpx3.o: In function `__offload_entry_overlap_c_16mainicc0101065340339SvPtXC':
overlap.c:(.text+0x9f): undefined reference to `__offload_target_enter'
overlap.c:(.text+0x19f): undefined reference to `__offload_target_leave'

Any idea?

0 Kudos