[Openmp-commits] [PATCH] D14254: [OpenMP] Initial implementation of OpenMP offloading library - libomptarget device RTLs.
Guansong Zhang via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Mon Dec 11 21:33:17 PST 2017
guansong added inline comments.
================
Comment at: libomptarget/deviceRTLs/nvptx/src/omptarget-nvptx.cu:20
+////////////////////////////////////////////////////////////////////////////////
+
+extern __device__
----------------
if you move the include "state-queue.h" line in this cu and omp_data.cu into omptarget-nvptx.h, in my local build, right after conter_group.h
you will be able to common the global data tables in one location, in omptarget-nvptx.h, instead of having two copies.
Repository:
rL LLVM
https://reviews.llvm.org/D14254
More information about the Openmp-commits
mailing list