Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/common/random/
Drandom_distributions.h47 PHILOX_DEVICE_INLINE Eigen::half Uint16ToHalf(uint16 x);
49 PHILOX_DEVICE_INLINE bfloat16 Uint16ToGfloat16(uint16 x);
51 PHILOX_DEVICE_INLINE float Uint32ToFloat(uint32 x);
53 PHILOX_DEVICE_INLINE double Uint64ToDouble(uint32 x0, uint32 x1);
61 PHILOX_DEVICE_INLINE Int SignedAdd(Int a, typename std::make_unsigned<Int>::type b) { in SignedAdd()
95 PHILOX_DEVICE_INLINE
119 PHILOX_DEVICE_INLINE
143 PHILOX_DEVICE_INLINE
167 PHILOX_DEVICE_INLINE
195 PHILOX_DEVICE_INLINE
[all …]
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 …]
Dsimple_philox.h33 PHILOX_DEVICE_INLINE
37 PHILOX_DEVICE_INLINE uint32 Rand32() { return single_(); } in Rand32()
40 PHILOX_DEVICE_INLINE uint64 Rand64() { in Rand64()
46 PHILOX_DEVICE_INLINE float RandFloat() { return Uint32ToFloat(single_()); } in RandFloat()
49 PHILOX_DEVICE_INLINE double RandDouble() { in RandDouble()