HomeSort by relevance Sort by last modified time
    Searched defs:__DEVICE__ (Results 1 - 2 of 2) sorted by null

  /external/clang/lib/Headers/
__clang_cuda_math_forward_declares.h 1 /*===- __clang_math_forward_declares.h - Prototypes of __device__ math fns --===
32 // absence of a prior __device__ decl, those constexpr functions may become
34 // would preclude the use of our own __device__ overloads for these functions.
36 #pragma push_macro("__DEVICE__")
37 #define __DEVICE__ \
40 __DEVICE__ double abs(double);
41 __DEVICE__ float abs(float);
42 __DEVICE__ int abs(int);
43 __DEVICE__ long abs(long);
44 __DEVICE__ long long abs(long long)
    [all...]
__clang_cuda_cmath.h 32 // Specifically, the forward-declares header declares __device__ overloads for
45 #define __DEVICE__ static __device__ __inline__ __attribute__((always_inline))
47 __DEVICE__ long long abs(long long __n) { return ::llabs(__n); }
48 __DEVICE__ long abs(long __n) { return ::labs(__n); }
49 __DEVICE__ float abs(float __x) { return ::fabsf(__x); }
50 __DEVICE__ double abs(double __x) { return ::fabs(__x); }
51 __DEVICE__ float acos(float __x) { return ::acosf(__x); }
52 __DEVICE__ float asin(float __x) { return ::asinf(__x); }
53 __DEVICE__ float atan(float __x) { return ::atanf(__x);
    [all...]

Completed in 48 milliseconds