aboutsummaryrefslogtreecommitdiff
path: root/libgomp/config.h.in
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2022-04-07 23:10:16 +0200
committerThomas Schwinge <thomas@codesourcery.com>2022-05-12 14:14:13 +0200
commitcd644ce8be2d1ba8d759ce4c00a2ded5a040b70d (patch)
treeadf56f4be183630db7aa855ab51ee71c7feacc12 /libgomp/config.h.in
parentedbd2b1caaa79d68467418a4571c3b09f9602805 (diff)
downloadgcc-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.in4
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