[PATCH 8/8] nvptx: handle OpenMP "omp target entrypoint"

2016-10-14 Thread Alexander Monakov
This patch implements emission of OpenMP target region entrypoints: the compiler emits the target function with '$impl' appended to the name, and under the original name it emits a short entry sequence that sets up shared memory arrays and calls the target function via 'gomp_nvptx_main' (which is

[PATCH 8/8] nvptx: handle OpenMP "omp target entrypoint"

2016-06-09 Thread Alexander Monakov
This patch implements emission of OpenMP target region entrypoints: the compiler emits the target function with '$impl' appended to the name, and under the original name it emits a short entry sequence that sets up shared memory arrays and calls the target function via 'gomp_nvptx_main' (which is