omp_target_* API functions

Hi all,

I was looking at the libomp code and some OpenMP 4.5 API functions have not been implemented yet - they are only stubs. These are:

omp_target_alloc
omp_target_free
omp_target_is_present
omp_target_memcpy
omp_target_memcpy_rect
omp_target_associate_ptr
omp_target_disassociate_ptr
omp_get_initial_device
omp_set_default_device
omp_get_default_device
omp_get_num_devices

We (IBM) need those functions for our deliverable at the end of August. Is any development in progress? If yes, do we have any estimated time for completion? Otherwise, let me know so that I start the implementation.

Regards
George

Hi,

the target related things are implemented in liboffload, at least for the Intel Xeon Phi.

I think you can find the latest version at https://www.openmprtl.org/ which is unfortunately not put into the LLVM SVN.

Cheers,

Jonas