[Patch] testsuite/libgomp.c/usleep.h: Use sleep-loop also for GCN
Jakub Jelinek
jakub@redhat.com
Wed Nov 18 13:07:35 GMT 2020
On Wed, Nov 18, 2020 at 01:58:58PM +0100, Tobias Burnus wrote:
> At least here newlib is build without HAVE_POSIX / 'posix' subdirectory
> and, hence, among others without 'usleep'.
>
> For nvptx, the same issue exists – and there 'omp declare variant' is used
> to call a burn-cycles loop as replacement.
> Affects target-32.c and thread-limit-2.c.
>
> OK?
Then please rename nvptx_usleep to fallback_usleep.
Ok with that change.
Jakub
More information about the Gcc-patches
mailing list