diff options
author | amonakov <amonakov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-04-21 13:11:47 +0000 |
---|---|---|
committer | amonakov <amonakov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-04-21 13:11:47 +0000 |
commit | 310a96199554e5e10bdde3b91ae7be2c42f8935b (patch) | |
tree | 3b97c624f0dad5de699096030e938f93bf2c4824 /libgomp | |
parent | fb96547d150781cadf9b2a928fc3d3aaca733d1c (diff) | |
download | gcc-310a96199554e5e10bdde3b91ae7be2c42f8935b.tar.gz |
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
Diffstat (limited to 'libgomp')
-rw-r--r-- | libgomp/ChangeLog | 5 | ||||
-rw-r--r-- | libgomp/plugin/plugin-nvptx.c | 2 |
2 files changed, 6 insertions, 1 deletions
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 <amonakov@ispras.ru> + + * plugin/plugin-nvptx.c (map_fini): Make cuMemFreeHost error + non-fatal. + 2016-04-19 Jakub Jelinek <jakub@redhat.com> 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 |