diff options
author | Tom de Vries <tdevries@suse.de> | 2018-08-08 14:26:10 +0000 |
---|---|---|
committer | Tom de Vries <vries@gcc.gnu.org> | 2018-08-08 14:26:10 +0000 |
commit | 94767dacea8098464a6b23c74bb5768449c6443c (patch) | |
tree | 08001ab3d4eb5b438c67754e0a818efcbe871115 /libcpp/include/line-map.h | |
parent | dc878fea7ad912f528df2e5bb6be50f49fa2f393 (diff) | |
download | gcc-94767dacea8098464a6b23c74bb5768449c6443c.zip gcc-94767dacea8098464a6b23c74bb5768449c6443c.tar.gz gcc-94767dacea8098464a6b23c74bb5768449c6443c.tar.bz2 |
[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.
From-SVN: r263405
Diffstat (limited to 'libcpp/include/line-map.h')
0 files changed, 0 insertions, 0 deletions