plugin-nvptx.c (nvptx_get_num_devices): Return zero on cuInit failure.
authorJulian Brown <julian@codesourcery.com>
Tue, 19 May 2015 11:06:31 +0000 (11:06 +0000)
committerJulian Brown <jules@gcc.gnu.org>
Tue, 19 May 2015 11:06:31 +0000 (11:06 +0000)
commitc83198264705c6a36d0f20470af67f62928278bb
treebd62cf7b3e9199169506a253a878c6cb1a4cbb84
parent9626d143b96c1d860b478cd4196373b6c9428f6d
plugin-nvptx.c (nvptx_get_num_devices): Return zero on cuInit failure.

* plugin/plugin-nvptx.c (nvptx_get_num_devices): Return zero
on cuInit failure.

From-SVN: r223352
libgomp/ChangeLog
libgomp/plugin/plugin-nvptx.c