KMPC Interface for OpenMP offloading

Hi,

I know there is an LLVM OpenMP runtime library interface document, that describe the interface provided to the compiler.
Looking at this document there are not functions related to OpenMP targets, is there another document that describes the interface for offloading, or is there a plan to extend it?

The OpenMP runtime in the git repository from IBM Yorktown that implements offloading into NVIDIA GPUs use runtime functions that start with the prefix __tgt_*, is that the official choice?

If any of you could clarify this, it would be awesome!

Thanks!
Simone

Hi,

I know there is an LLVM OpenMP runtime library interface document, that describe the interface provided to the compiler.
Looking at this document there are not functions related to OpenMP targets, is there another document that describes the interface for offloading, or is there a plan to extend it? '

There's a PDF you can find here: http://lists.llvm.org/pipermail/llvm-dev/2015-April/084273.html

We should probably make sure that the most up-to-date document is in the repository.

The OpenMP runtime in the git repository from IBM Yorktown that implements offloading into NVIDIA GPUs use runtime functions that start with the prefix __tgt_*, is that the official choice?

Yes.

  -Hal

Looking at this document there are not functions related to OpenMP
targets, is there another document that describes the interface for
offloading, or is there a plan to extend it? '

Note that the implementation of the target features is in a separate library (not libomp),
therefore they should be documented in a separate document; both because that library
can also be used without libomp (in which case a single document makes things hard to find
for people who want to do that), and because it becomes mechanistically hard to run
doxygen across the two libraries!

-- Jim

Jim Cownie <james.h.cownie@intel.com>
SSG/DPD/TCAR (Technical Computing, Analyzers, and Runtimes)
Tel: +44 117 9071438