From c2bd3b691151c9776db7e7370c2e8b1c72bf8752 Mon Sep 17 00:00:00 2001 From: Alexander Monakov Date: Thu, 21 Apr 2016 16:11:47 +0300 Subject: [PATCH] libgomp nvptx plugin: make cuMemFreeHost error non-fatal From-SVN: r235339 --- 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 167374af794..9dfc7f37f0d 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 3f1bb6d90e9..4b5783344fb 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.30.2