Home
last modified time | relevance | path

Searched refs:PHILOX_DEVICE_INLINE (Results 1 – 3 of 3) sorted by relevance

/frameworks/ml/nn/common/random/
Dphilox_random.h35 #define PHILOX_DEVICE_INLINE PHILOX_DEVICE_FUNC PHILOX_INLINE macro
57 PHILOX_DEVICE_INLINE Array() { in Array()
63 PHILOX_DEVICE_INLINE const T& operator[](int index) const { return data_[index]; }
65 PHILOX_DEVICE_INLINE T& operator[](int index) { return data_[index]; }
117 PHILOX_DEVICE_INLINE
120 PHILOX_DEVICE_INLINE
126 PHILOX_DEVICE_INLINE
134 PHILOX_DEVICE_INLINE
138 PHILOX_DEVICE_INLINE
158 PHILOX_DEVICE_INLINE ResultType operator()() { in operator()
[all …]
Drandom_distributions.h36 PHILOX_DEVICE_INLINE Eigen::half Uint16ToHalf(uint16 x);
38 PHILOX_DEVICE_INLINE bfloat16 Uint16ToGfloat16(uint16 x);
40 PHILOX_DEVICE_INLINE float Uint32ToFloat(uint32 x);
42 PHILOX_DEVICE_INLINE double Uint64ToDouble(uint32 x0, uint32 x1);
50 PHILOX_DEVICE_INLINE Int SignedAdd(Int a, typename std::make_unsigned<Int>::type b) { in SignedAdd()
84 PHILOX_DEVICE_INLINE
108 PHILOX_DEVICE_INLINE
132 PHILOX_DEVICE_INLINE
156 PHILOX_DEVICE_INLINE
184 PHILOX_DEVICE_INLINE
[all …]
Dsimple_philox.h32 PHILOX_DEVICE_INLINE
36 PHILOX_DEVICE_INLINE uint32 Rand32() { return single_(); } in Rand32()
39 PHILOX_DEVICE_INLINE uint64 Rand64() { in Rand64()
45 PHILOX_DEVICE_INLINE float RandFloat() { return Uint32ToFloat(single_()); } in RandFloat()
48 PHILOX_DEVICE_INLINE double RandDouble() { in RandDouble()