From 310a96199554e5e10bdde3b91ae7be2c42f8935b Mon Sep 17 00:00:00 2001 From: amonakov Date: Thu, 21 Apr 2016 13:11:47 +0000 Subject: [PATCH] libgomp nvptx plugin: make cuMemFreeHost error non-fatal git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@235339 138bc75d-0d04-0410-961f-82ee72b054a4 --- libgomp/ChangeLog | 5 +++++ libgomp/plugin/plugin-nvptx.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 167374af7949..9dfc7f37f0d9 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,8 @@ +2016-04-21 Alexander Monakov + + * plugin/plugin-nvptx.c (map_fini): Make cuMemFreeHost error + non-fatal. + 2016-04-19 Jakub Jelinek PR middle-end/70680 diff --git a/libgomp/plugin/plugin-nvptx.c b/libgomp/plugin/plugin-nvptx.c index 3f1bb6d90e92..4b5783344fb2 100644 --- a/libgomp/plugin/plugin-nvptx.c +++ b/libgomp/plugin/plugin-nvptx.c @@ -134,7 +134,7 @@ map_fini (struct ptx_stream *s) r = cuMemFreeHost (s->h); if (r != CUDA_SUCCESS) - GOMP_PLUGIN_fatal ("cuMemFreeHost error: %s", cuda_error (r)); + GOMP_PLUGIN_error ("cuMemFreeHost error: %s", cuda_error (r)); } static void -- 2.47.3