[OPENMP, NVPTX] Support several images in the executable.
authorAlexey Bataev <a.bataev@hotmail.com>
Mon, 9 Jul 2018 17:46:55 +0000 (17:46 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Mon, 9 Jul 2018 17:46:55 +0000 (17:46 +0000)
commit2622e9e5b3d658aacaf50aca44ecfdeeacbaf064
tree810cf3d4967596db3270945cf80fc882f342ead0
parent39ada85446d29ffe95a9c8dd558dbd68118f4525
[OPENMP, NVPTX] Support several images in the executable.

Summary:
Currently Cuda plugin supports loading of the single image, though we
may have the executable with the several images, if it has target
regions inside of the dynamically loaded library. Patch allows to load
multiple images.

Reviewers: grokos

Subscribers: guansong, openmp-commits, kkwli0

Differential Revision: https://reviews.llvm.org/D49036

llvm-svn: 336569
openmp/libomptarget/plugins/cuda/src/rtl.cpp