https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93260

Thomas Schwinge <tschwinge at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2020-01-14
     Ever confirmed|0                           |1

--- Comment #2 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #1)
> Yeah.  Just note that even the testing could be done when libcuda.so can't
> be dlopened, and in that case the test that need it should be UNSUPPORTED.

Such test cases are for CUDA/nvptx offloading only by definition (they're
testing CUDA internals), so already must be UNSUPPORTED for anything else.  If
nvptx offloading works by means of 'dlopen'ing CUDA, then the same must work
for the test cases, too.

If GCC is built with nvptx offloading configured but there is no CUDA
installation on the testing system, or there is no Nvidia GPU
(present/accessible), then you'll get globally for the '*.exp' file a suitable
UNTESTED status ("[...] offloading: supported, but hardware not accessible").

Reply via email to