]> git.ipfire.org Git - thirdparty/gcc.git/commit
libgomp nvptx plugin: Split 'PLUGIN_NVPTX_DYNAMIC' into 'PLUGIN_NVPTX_INCLUDE_SYSTEM_...
authorThomas Schwinge <thomas@codesourcery.com>
Thu, 7 Apr 2022 21:10:16 +0000 (23:10 +0200)
committerThomas Schwinge <thomas@codesourcery.com>
Thu, 12 May 2022 12:14:13 +0000 (14:14 +0200)
commitcd644ce8be2d1ba8d759ce4c00a2ded5a040b70d
treeadf56f4be183630db7aa855ab51ee71c7feacc12
parentedbd2b1caaa79d68467418a4571c3b09f9602805
libgomp nvptx plugin: Split 'PLUGIN_NVPTX_DYNAMIC' into 'PLUGIN_NVPTX_INCLUDE_SYSTEM_CUDA_H' and 'PLUGIN_NVPTX_LINK_LIBCUDA'

Including the GCC-shipped 'include/cuda/cuda.h' vs. system <cuda.h> and
'dlopen'ing the CUDA Driver library vs. linking it are separate concerns.

libgomp/
* plugin/Makefrag.am: Handle 'PLUGIN_NVPTX_DYNAMIC'.
* plugin/configfrag.ac (PLUGIN_NVPTX_DYNAMIC): Change
'AC_DEFINE_UNQUOTED' into 'AM_CONDITIONAL'.
* plugin/plugin-nvptx.c: Split 'PLUGIN_NVPTX_DYNAMIC' into
'PLUGIN_NVPTX_INCLUDE_SYSTEM_CUDA_H' and
'PLUGIN_NVPTX_LINK_LIBCUDA'.
* Makefile.in: Regenerate.
* config.h.in: Likewise.
* configure: Likewise.
libgomp/Makefile.in
libgomp/config.h.in
libgomp/configure
libgomp/plugin/Makefrag.am
libgomp/plugin/configfrag.ac
libgomp/plugin/plugin-nvptx.c