diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2022-04-07 23:10:16 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2022-05-12 14:14:13 +0200 |
commit | cd644ce8be2d1ba8d759ce4c00a2ded5a040b70d (patch) | |
tree | adf56f4be183630db7aa855ab51ee71c7feacc12 /libgomp/config.h.in | |
parent | edbd2b1caaa79d68467418a4571c3b09f9602805 (diff) | |
download | gcc-cd644ce8be2d1ba8d759ce4c00a2ded5a040b70d.zip gcc-cd644ce8be2d1ba8d759ce4c00a2ded5a040b70d.tar.gz gcc-cd644ce8be2d1ba8d759ce4c00a2ded5a040b70d.tar.bz2 |
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.
Diffstat (limited to 'libgomp/config.h.in')
-rw-r--r-- | libgomp/config.h.in | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libgomp/config.h.in b/libgomp/config.h.in index 5611ed9..d971ea3 100644 --- a/libgomp/config.h.in +++ b/libgomp/config.h.in @@ -170,10 +170,6 @@ /* Define to the version of this package. */ #undef PACKAGE_VERSION -/* Define to 1 if the NVIDIA plugin should dlopen libcuda.so.1, 0 if it should - be linked against it. */ -#undef PLUGIN_NVPTX_DYNAMIC - /* Define if all infrastructure, needed for plugins, is supported. */ #undef PLUGIN_SUPPORT |