#include <unistd.h>
int
-nvptx_usleep (useconds_t d)
+fallback_usleep (useconds_t d)
{
/* This function serves as a replacement for usleep in
this test case. It does not even attempt to be functionally
return 0;
}
-#pragma omp declare variant (nvptx_usleep) match(construct={target},device={arch(nvptx)})
+#pragma omp declare variant (fallback_usleep) match(construct={target},device={arch(nvptx)})
+#pragma omp declare variant (fallback_usleep) match(construct={target},device={arch(gcn)})
#pragma omp declare variant (usleep) match(user={condition(1)})
int
tgt_usleep (useconds_t d)
return 0;
}
-#pragma omp declare target to (nvptx_usleep, tgt_usleep)
+#pragma omp declare target to (fallback_usleep, tgt_usleep)