![]() |
Project
|
#include <GPUCommonMath.h>
Public Member Functions | |
| GPUd () static float2 MakeFloat2(float x | |
| template<class T > | |
| GPUhd () const expr static T Min(const T x | |
| template<class T > | |
| GPUhd () const expr static T Max(const T x | |
| template<class T , class S , class R > | |
| GPUd () static T MinWithRef(T x | |
| template<class T , class S , class R > | |
| GPUd () static T MaxWithRef(T x | |
| template<class T , class S , class R > | |
| GPUd () static T MaxWithRef(T x | |
| template<class T > | |
| GPUdi () const expr static T Clamp(const T v | |
| GPUhdni () const expr static float Sqrt(float x) | |
| GPUd () static float InvSqrt(float x) | |
| template<class T > | |
| GPUdi () const expr static T Square(T x) | |
| template<class T > | |
| GPUhd () const expr static T Abs(T x) | |
| GPUd () const expr static float ASin(float x) | |
| GPUd () const expr static float ACos(float x) | |
| GPUd () const expr static float ATan(float x) | |
| GPUhd () const expr static float ATan2(float y | |
| GPUd () const expr static float Sin(float x) | |
| GPUd () const expr static float Cos(float x) | |
| GPUhdni () static void SinCos(float x | |
| GPUhdni () static void SinCosd(double x | |
| GPUd () const expr static float Tan(float x) | |
| GPUd () const expr static float Pow(float x | |
| GPUd () const expr static float Log(float x) | |
| GPUd () const expr static float Exp(float x) | |
| GPUhdni () const expr static float Copysign(float x | |
| GPUd () const expr static float TwoPi() | |
| GPUd () const expr static float Pi() | |
| GPUd () const expr static float Round(float x) | |
| GPUd () const expr static float Floor(float x) | |
| GPUd () static uint32_t Float2UIntReint(const float &x) | |
| GPUd () const expr static uint32_t Float2UIntRn(float x) | |
| GPUd () const expr static int32_t Float2IntRn(float x) | |
| GPUd () const expr static float Modf(float x | |
| GPUhdi () static float Remainderf(float x | |
| GPUd () const expr static bool Finite(float x) | |
| GPUd () const expr static bool IsNaN(float x) | |
| GPUd () const expr static float QuietNaN() | |
| GPUd () const expr static uint32_t Clz(uint32_t val) | |
| GPUd () const expr static uint32_t Popcount(uint32_t val) | |
| GPUd () static void memcpy(void *dst | |
| GPUhdi () const expr static float Hypot(float x | |
| GPUhdi () const expr static float Hypot(float x | |
| GPUhdi () const expr static float Hypot(float x | |
| template<typename T > | |
| GPUhd () const expr static void Swap(T &a | |
| template<class T > | |
| GPUdi () static T AtomicExch(GPUglobalref() GPUgeneric() GPUAtomic(T) *addr | |
| template<class T > | |
| GPUdi () static bool AtomicCAS(GPUglobalref() GPUgeneric() GPUAtomic(T) *addr | |
| template<class T > | |
| GPUdi () static T AtomicAdd(GPUglobalref() GPUgeneric() GPUAtomic(T) *addr | |
| template<class T > | |
| GPUdi () static void AtomicMax(GPUglobalref() GPUgeneric() GPUAtomic(T) *addr | |
| template<class T > | |
| GPUdi () static void AtomicMin(GPUglobalref() GPUgeneric() GPUAtomic(T) *addr | |
| template<class T > | |
| GPUdi () static T AtomicExchShared(GPUsharedref() GPUgeneric() GPUAtomic(T) *addr | |
| template<class T > | |
| GPUdi () static T AtomicAddShared(GPUsharedref() GPUgeneric() GPUAtomic(T) *addr | |
| template<class T > | |
| GPUdi () static void AtomicMaxShared(GPUsharedref() GPUgeneric() GPUAtomic(T) *addr | |
| template<class T > | |
| GPUdi () static void AtomicMinShared(GPUsharedref() GPUgeneric() GPUAtomic(T) *addr | |
| GPUd () const expr static int32_t Mul24(int32_t a | |
| GPUd () const expr static float FMulRZ(float a | |
| template<int32_t I, class T > | |
| GPUd () const expr static T nextMultipleOf(T val) | |
| template<typename... Args> | |
| GPUhdni () const expr static float Sum2(float w | |
Public Attributes | |
| float | y { return GPUCA_CHOICE(std::copysignf(x, y), copysignf(x, y), copysign(x, y)) |
| const T | y |
| T | y |
| T S | refX |
| T S S | refY |
| T S S R & | r |
| T T | z |
| T T T | w |
| T T T S | refX |
| T T T S S | refY |
| T T T S S S | refZ |
| T T T S S S S | refW |
| T T T S S S S R & | r |
| const T | lo |
| const T const T | hi |
| float | x |
| float & | s |
| float float & | c |
| double & | s |
| double double & | c |
| const void * | src |
| const void size_t | size |
| float float | z { return Sqrt(x * x + y * y + z * z) |
| float float float | w { return Sqrt(x * x + y * y + z * z + w * w) |
| T & | b |
| T | val |
| T | cmp |
| T T | val |
| int32_t | b |
| float | b |
| Args | args |
Definition at line 48 of file GPUCommonMath.h.
| o2::gpu::GPUCommonMath::GPUd | ( | ) | const |
| o2::gpu::GPUCommonMath::GPUd | ( | ) | const |
| o2::gpu::GPUCommonMath::GPUd | ( | ) | const |
| o2::gpu::GPUCommonMath::GPUd | ( | ) | const |
| o2::gpu::GPUCommonMath::GPUd | ( | ) | const |
| o2::gpu::GPUCommonMath::GPUd | ( | ) | const |
| o2::gpu::GPUCommonMath::GPUd | ( | ) | const |
|
inline |
Definition at line 99 of file GPUCommonMath.h.
| o2::gpu::GPUCommonMath::GPUd | ( | ) | const |
| o2::gpu::GPUCommonMath::GPUd | ( | ) | const |
| o2::gpu::GPUCommonMath::GPUd | ( | ) | const |
|
inline |
Definition at line 97 of file GPUCommonMath.h.
| o2::gpu::GPUCommonMath::GPUd | ( | ) | const |
|
inline |
Definition at line 108 of file GPUCommonMath.h.
| o2::gpu::GPUCommonMath::GPUd | ( | ) | const |
| o2::gpu::GPUCommonMath::GPUd | ( | ) | const |
| o2::gpu::GPUCommonMath::GPUd | ( | ) | const |
|
inline |
Definition at line 96 of file GPUCommonMath.h.
| o2::gpu::GPUCommonMath::GPUd | ( | ) | const |
| o2::gpu::GPUCommonMath::GPUd | ( | ) | const |
| o2::gpu::GPUCommonMath::GPUd | ( | ) | const |
| o2::gpu::GPUCommonMath::GPUd | ( | ) | const |
|
inline |
Definition at line 101 of file GPUCommonMath.h.
| o2::gpu::GPUCommonMath::GPUd | ( | ) | const |
| o2::gpu::GPUCommonMath::GPUd | ( | ) |
| o2::gpu::GPUCommonMath::GPUd | ( | ) |
| o2::gpu::GPUCommonMath::GPUd | ( | ) | const & |
| o2::gpu::GPUCommonMath::GPUd | ( | ) |
| o2::gpu::GPUCommonMath::GPUdi | ( | ) | const |
|
inline |
Definition at line 77 of file GPUCommonMath.h.
| o2::gpu::GPUCommonMath::GPUdi | ( | ) |
| o2::gpu::GPUCommonMath::GPUdi | ( | ) |
| o2::gpu::GPUCommonMath::GPUdi | ( | ) |
| o2::gpu::GPUCommonMath::GPUdi | ( | ) |
| o2::gpu::GPUCommonMath::GPUdi | ( | ) |
| o2::gpu::GPUCommonMath::GPUdi | ( | ) |
| o2::gpu::GPUCommonMath::GPUdi | ( | ) |
| o2::gpu::GPUCommonMath::GPUdi | ( | ) |
| o2::gpu::GPUCommonMath::GPUdi | ( | ) |
| o2::gpu::GPUCommonMath::GPUhd | ( | ) | const |
| o2::gpu::GPUCommonMath::GPUhd | ( | ) | const |
| o2::gpu::GPUCommonMath::GPUhd | ( | ) | const |
| o2::gpu::GPUCommonMath::GPUhd | ( | ) | const |
| o2::gpu::GPUCommonMath::GPUhd | ( | ) | const & |
| o2::gpu::GPUCommonMath::GPUhdi | ( | ) | const |
| o2::gpu::GPUCommonMath::GPUhdi | ( | ) | const |
| o2::gpu::GPUCommonMath::GPUhdi | ( | ) | const |
| o2::gpu::GPUCommonMath::GPUhdi | ( | ) |
| o2::gpu::GPUCommonMath::GPUhdni | ( | ) | const |
| o2::gpu::GPUCommonMath::GPUhdni | ( | ) | const |
| o2::gpu::GPUCommonMath::GPUhdni | ( | ) | const |
| o2::gpu::GPUCommonMath::GPUhdni | ( | ) |
| o2::gpu::GPUCommonMath::GPUhdni | ( | ) |
| Args o2::gpu::GPUCommonMath::args |
Definition at line 176 of file GPUCommonMath.h.
| T& o2::gpu::GPUCommonMath::b |
Definition at line 120 of file GPUCommonMath.h.
| int32_t o2::gpu::GPUCommonMath::b |
Definition at line 169 of file GPUCommonMath.h.
| float o2::gpu::GPUCommonMath::b |
Definition at line 170 of file GPUCommonMath.h.
| float float& o2::gpu::GPUCommonMath::c |
Definition at line 89 of file GPUCommonMath.h.
| double double& o2::gpu::GPUCommonMath::c |
Definition at line 90 of file GPUCommonMath.h.
| T o2::gpu::GPUCommonMath::cmp |
Definition at line 129 of file GPUCommonMath.h.
| const T const T o2::gpu::GPUCommonMath::hi |
Definition at line 70 of file GPUCommonMath.h.
| const T o2::gpu::GPUCommonMath::lo |
Definition at line 70 of file GPUCommonMath.h.
Definition at line 64 of file GPUCommonMath.h.
| T S o2::gpu::GPUCommonMath::refX |
Definition at line 64 of file GPUCommonMath.h.
| T T T S o2::gpu::GPUCommonMath::refX |
Definition at line 68 of file GPUCommonMath.h.
Definition at line 64 of file GPUCommonMath.h.
Definition at line 68 of file GPUCommonMath.h.
Definition at line 68 of file GPUCommonMath.h.
| float& o2::gpu::GPUCommonMath::s |
Definition at line 89 of file GPUCommonMath.h.
| double& o2::gpu::GPUCommonMath::s |
Definition at line 90 of file GPUCommonMath.h.
| const void size_t o2::gpu::GPUCommonMath::size |
Definition at line 113 of file GPUCommonMath.h.
| const void* o2::gpu::GPUCommonMath::src |
Definition at line 113 of file GPUCommonMath.h.
| T o2::gpu::GPUCommonMath::val |
Definition at line 123 of file GPUCommonMath.h.
| T T o2::gpu::GPUCommonMath::val |
Definition at line 129 of file GPUCommonMath.h.
| T T T o2::gpu::GPUCommonMath::w |
Definition at line 68 of file GPUCommonMath.h.
Definition at line 117 of file GPUCommonMath.h.
| float o2::gpu::GPUCommonMath::x |
Definition at line 86 of file GPUCommonMath.h.
| float o2::gpu::GPUCommonMath::y { return GPUCA_CHOICE(std::copysignf(x, y), copysignf(x, y), copysign(x, y)) |
Definition at line 51 of file GPUCommonMath.h.
| const T o2::gpu::GPUCommonMath::y |
Definition at line 54 of file GPUCommonMath.h.
| T o2::gpu::GPUCommonMath::y |
Definition at line 64 of file GPUCommonMath.h.
| float float o2::gpu::GPUCommonMath::z |
Definition at line 68 of file GPUCommonMath.h.
Definition at line 116 of file GPUCommonMath.h.