Re: [Patch] testsuite/libgomp.c/usleep.h: Use sleep-loop also for GCN

2020-11-18 Thread Jakub Jelinek via Gcc-patches
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 repla

[Patch] testsuite/libgomp.c/usleep.h: Use sleep-loop also for GCN

2020-11-18 Thread Tobias Burnus
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? Tobias