Intel® Moderncode for Parallel Architectures
Support for developing parallel programming applications on Intel® Architecture.
1696 Discussions

OpenMP 4 - testing offload directives in an emulated enviornment

Marco_Jacopo_F_
Beginner
483 Views

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

0 Kudos
1 Reply
Marco_Jacopo_F_
Beginner
483 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
Reply