https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81690
--- Comment #5 from Tobias Burnus <burnus at gcc dot gnu.org> --- One other thing I was thinking of would be the do_sleep function with: #pragma omp declare target device_type(host) (using usleep) AND (using busy wait or similar) #pragma omp declare target device_type(host) However, that's an unimplemented OpenMP 5 feature.