10 #ifndef __CLANG_OPENMP_TIME_H__
11 #define __CLANG_OPENMP_TIME_H__
14 #error "This file is for OpenMP compilation only."
17 #if defined(__cplusplus)
18 #define __DEVICE__ static constexpr __attribute__((always_inline, nothrow))
20 #define __DEVICE__ static __attribute__((always_inline, nothrow))
23 #include_next <time.h>
25 #pragma omp begin declare variant match( \
26 device = {arch(nvptx, nvptx64)}, implementation = {extension(match_any)})
30 #pragma omp end declare variant
__DEVICE__ clock_t clock()