On Wed, Sep 23, 2015 at 08:22:18PM +0300, Alexander Monakov wrote: > This is a minimal patch for NVPTX OpenMP offloading, using Jakub's initial > implementation. It allows to successfully run '#pragma omp target', without > any parallel execution: 1 team of 1 thread is spawned on the device, and > target regions with '#pragma omp parallel' will fail with a link error. > > * plugin/plugin-nvptx.c (nvptx_host2dev): Allow NULL 'nvthd'. > (nvptx_dev2host): Ditto. > (GOMP_OFFLOAD_get_caps): Add GOMP_OFFLOAD_CAP_OPENMP_400. > (GOMP_OFFLOAD_run): New.
Ok. Jakub