[patch, libgomp] Add tests for print from offload target

Andrew Stubbs ams@codesourcery.com
Thu Nov 14 16:52:00 GMT 2019


This patch adds new libgomp tests to ensure that C "printf" and Fortran 
"write" work correctly within offload kernels. Both should work for 
amdgcn, but nvptx uses the libgfortran "minimal" mode which lacks 
"write" support.

Obviously, printing from offload kernels is not recommended in 
production, but can be useful in development.

OK to commit?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 191114-add-offload-print-tests.patch
Type: text/x-patch
Size: 2403 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20191114/a64df01c/attachment.bin>

More information about the Gcc-patches mailing list