17 #ifndef OMPTARGET_MATH_H 18 #define OMPTARGET_MATH_H 21 #if !defined(ENABLE_OFFLOAD) 27 #if defined(ENABLE_OFFLOAD) 28 inline void sincos(
double a,
double* restrict
s,
double* restrict c) {
::sincos(a,
s, c); }
30 inline void sincos(
float a,
float* restrict
s,
float* restrict c) { ::sincosf(a,
s, c); }
helper functions for EinsplineSetBuilder
void sincos(T a, T *restrict s, T *restrict c)
sincos function wrapper