Commit e70ab10d by Thomas Schwinge Committed by Thomas Schwinge

libgomp, nvptx plugin: Make "nvptx_exec" static

	libgomp/
	* plugin/plugin-nvptx.c (nvptx_exec): Make it static.

From-SVN: r245127
parent 345a8c17
2017-02-02 Thomas Schwinge <thomas@codesourcery.com>
* plugin/plugin-nvptx.c (nvptx_exec): Make it static.
* libgomp-plugin.h (GOMP_OFFLOAD_openacc_parallel): Rename to
GOMP_OFFLOAD_openacc_exec. Adjust all users.
(GOMP_OFFLOAD_openacc_get_current_cuda_device): Rename to
......
......@@ -1041,7 +1041,7 @@ event_add (enum ptx_event_type type, CUevent *e, void *h, int val)
pthread_mutex_unlock (&ptx_event_lock);
}
void
static void
nvptx_exec (void (*fn), size_t mapnum, void **hostaddrs, void **devaddrs,
int async, unsigned *dims, void *targ_mem_desc)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment