Move 'libgomp/plugin/cuda/cuda.h' to 'include/cuda/cuda.h'
authorThomas Schwinge <thomas@codesourcery.com>
Wed, 6 Apr 2022 12:12:29 +0000 (14:12 +0200)
committerThomas Schwinge <thomas@codesourcery.com>
Wed, 6 Apr 2022 20:30:14 +0000 (22:30 +0200)
commit5e431ae4ccc5fb0e077e598cb4efb1e12fc66c68
tree1e4a8ca3d571895cb30d293511407f51ce52c0e7
parent790e9814454662b6cd51d2fce1aa022ef73fedb8
Move 'libgomp/plugin/cuda/cuda.h' to 'include/cuda/cuda.h'

... so that it may be used by other projects that inherit GCC's 'include'
directory.

include/
* cuda/cuda.h: New file.
libgomp/
* plugin/cuda/cuda.h: Remove file.
* plugin/plugin-nvptx.c [PLUGIN_NVPTX_DYNAMIC]: Include
"cuda/cuda.h" instead of <cuda.h>.
* plugin/configfrag.ac <PLUGIN_NVPTX_DYNAMIC>: Don't set
'PLUGIN_NVPTX_CPPFLAGS'.
* configure: Regenerate.
include/cuda/cuda.h [moved from libgomp/plugin/cuda/cuda.h with 97% similarity]
libgomp/configure
libgomp/plugin/configfrag.ac
libgomp/plugin/plugin-nvptx.c