27 #ifndef MPBLOCKS_DUBINS_CURVES_CUDA_INTRINSICS_H_
28 #define MPBLOCKS_DUBINS_CURVES_CUDA_INTRINSICS_H_
32 #define WHICH_CUDA intr::DEVICE
34 #define WHICH_CUDA intr::HOST
37 #define WHICH_CUDA intr::NATIVE
40 #include <cuda_runtime.h>
45 namespace curves_cuda {
61 __host__ static double atan2(
double x,
double y) {
return std::atan2(x, y); }
83 #endif // INTRINSICS_H_
static __host__ float acos(float x)
static __host__ float sin(float x)
static __device__ double acos(double x)
static __device__ float acos(float x)
static __host__ double atan2(double x, double y)
static __device__ double sin(double x)
static __device__ float cos(float x)
static __host__ float cos(float x)
static __host__ float atan2(float x, float y)
static __host__ double cos(double x)
static __host__ double sin(double x)
static __device__ float atan2(float x, double y)
static __device__ float sin(float x)
static __device__ double atan2(double x, double y)
static __device__ double cos(double x)
static __host__ double acos(double x)