r263405 - in /trunk/libgomp: ChangeLog plugin/p...

vries@gcc.gnu.org vries@gcc.gnu.org
Wed Aug 8 14:26:00 GMT 2018


Author: vries
Date: Wed Aug  8 14:26:10 2018
New Revision: 263405

URL: https://gcc.gnu.org/viewcvs?rev=263405&root=gcc&view=rev
Log:
[libgomp, nvptx] Note that cuGetErrorString is in CUDA_VERSION >= 6000

Cuda driver api function cuGetErrorString is available in version 6.0 and
higher.

This patch:
- removes a comment saying the declaration is not available in cuda.h 6.0
- fixes the presence test to use CUDA_VERSION < 6000
- moves the declaration to toplevel

Build on x86_64 with nvptx accelerator and reg-tested libgomp.

2018-08-08  Tom de Vries  <tdevries@suse.de>

	* plugin/plugin-nvptx.c (cuda_error): Move declaration of cuGetErrorString ...
	(cuGetErrorString): ... here.  Guard with CUDA_VERSION < 6000.

Modified:
    trunk/libgomp/ChangeLog
    trunk/libgomp/plugin/plugin-nvptx.c



More information about the Gcc-cvs mailing list