QUDA v0.4.0
A library for QCD on GPUs
|
Go to the source code of this file.
Functions | |
__host__ __device__ double2 | operator+ (const double2 &x, const double2 &y) |
__host__ __device__ double2 | operator- (const double2 &x, const double2 &y) |
__host__ __device__ float2 | operator- (const float2 &x, const float2 &y) |
__host__ __device__ float4 | operator- (const float4 &x, const float4 &y) |
__host__ double3 | operator+ (const double3 &x, const double3 &y) |
__device__ float4 | operator* (const float a, const float4 x) |
__device__ float2 | operator* (const float a, const float2 x) |
__device__ double2 | operator* (const double a, const double2 x) |
__device__ double4 | operator* (const double a, const double4 x) |
__device__ float2 | operator+ (const float2 x, const float2 y) |
__device__ float4 | operator+ (const float4 x, const float4 y) |
__device__ float4 | operator+= (float4 &x, const float4 y) |
__device__ float2 | operator+= (float2 &x, const float2 y) |
__host__ __device__ double2 | operator+= (double2 &x, const double2 y) |
__host__ __device__ double3 | operator+= (double3 &x, const double3 y) |
__device__ float4 | operator-= (float4 &x, const float4 y) |
__device__ float2 | operator-= (float2 &x, const float2 y) |
__device__ double2 | operator-= (double2 &x, const double2 y) |
__device__ float2 | operator*= (float2 &x, const float a) |
__device__ float4 | operator*= (float4 &a, const float &b) |
__device__ double2 | operator*= (double2 &a, const float &b) |
__device__ double4 | operator*= (double4 &a, const float &b) |
__device__ float2 | operator- (const float2 &x) |
__device__ double2 | operator- (const double2 &x) |
__forceinline__ __device__ float | max_fabs (const float4 &c) |
__forceinline__ __device__ float | max_fabs (const float2 &b) |
__forceinline__ __device__ double | max_fabs (const double4 &c) |
__forceinline__ __device__ double | max_fabs (const double2 &b) |
__forceinline__ __device__ float2 | make_FloatN (const double2 &a) |
__forceinline__ __device__ float4 | make_FloatN (const double4 &a) |
__forceinline__ __device__ double2 | make_FloatN (const float2 &a) |
__forceinline__ __device__ double4 | make_FloatN (const float4 &a) |
__forceinline__ __device__ short4 | make_shortN (const float4 &a) |
__forceinline__ __device__ short2 | make_shortN (const float2 &a) |
__forceinline__ __device__ short4 | make_shortN (const double4 &a) |
__forceinline__ __device__ short2 | make_shortN (const double2 &a) |
Inline device functions for elementary operations on short vectors, e.g., float4, etc.
Definition in file float_vector.h.
__forceinline__ __device__ float2 make_FloatN | ( | const double2 & | a | ) |
Definition at line 193 of file float_vector.h.
__forceinline__ __device__ double4 make_FloatN | ( | const float4 & | a | ) |
Definition at line 205 of file float_vector.h.
__forceinline__ __device__ float4 make_FloatN | ( | const double4 & | a | ) |
Definition at line 197 of file float_vector.h.
__forceinline__ __device__ double2 make_FloatN | ( | const float2 & | a | ) |
Definition at line 201 of file float_vector.h.
__forceinline__ __device__ short4 make_shortN | ( | const float4 & | a | ) |
Definition at line 209 of file float_vector.h.
__forceinline__ __device__ short2 make_shortN | ( | const float2 & | a | ) |
Definition at line 213 of file float_vector.h.
__forceinline__ __device__ short4 make_shortN | ( | const double4 & | a | ) |
Definition at line 217 of file float_vector.h.
__forceinline__ __device__ short2 make_shortN | ( | const double2 & | a | ) |
Definition at line 221 of file float_vector.h.
__forceinline__ __device__ float max_fabs | ( | const float2 & | b | ) |
Definition at line 175 of file float_vector.h.
__forceinline__ __device__ double max_fabs | ( | const double4 & | c | ) |
Definition at line 179 of file float_vector.h.
__forceinline__ __device__ double max_fabs | ( | const double2 & | b | ) |
Definition at line 185 of file float_vector.h.
__forceinline__ __device__ float max_fabs | ( | const float4 & | c | ) |
Definition at line 169 of file float_vector.h.
__device__ double4 operator* | ( | const double | a, |
const double4 | x | ||
) |
Definition at line 56 of file float_vector.h.
__device__ double2 operator* | ( | const double | a, |
const double2 | x | ||
) |
Definition at line 49 of file float_vector.h.
__device__ float4 operator* | ( | const float | a, |
const float4 | x | ||
) |
Definition at line 33 of file float_vector.h.
__device__ float2 operator* | ( | const float | a, |
const float2 | x | ||
) |
Definition at line 42 of file float_vector.h.
__device__ float2 operator*= | ( | float2 & | x, |
const float | a | ||
) |
Definition at line 128 of file float_vector.h.
__device__ float4 operator*= | ( | float4 & | a, |
const float & | b | ||
) |
Definition at line 134 of file float_vector.h.
__device__ double2 operator*= | ( | double2 & | a, |
const float & | b | ||
) |
Definition at line 142 of file float_vector.h.
__device__ double4 operator*= | ( | double4 & | a, |
const float & | b | ||
) |
Definition at line 148 of file float_vector.h.
__host__ double3 operator+ | ( | const double3 & | x, |
const double3 & | y | ||
) |
Definition at line 27 of file float_vector.h.
__device__ float2 operator+ | ( | const float2 | x, |
const float2 | y | ||
) |
Definition at line 65 of file float_vector.h.
__device__ float4 operator+ | ( | const float4 | x, |
const float4 | y | ||
) |
Definition at line 72 of file float_vector.h.
__host__ __device__ double2 operator+ | ( | const double2 & | x, |
const double2 & | y | ||
) |
Definition at line 11 of file float_vector.h.
__host__ __device__ double3 operator+= | ( | double3 & | x, |
const double3 | y | ||
) |
Definition at line 101 of file float_vector.h.
__device__ float4 operator+= | ( | float4 & | x, |
const float4 | y | ||
) |
Definition at line 81 of file float_vector.h.
__device__ float2 operator+= | ( | float2 & | x, |
const float2 | y | ||
) |
Definition at line 89 of file float_vector.h.
__host__ __device__ double2 operator+= | ( | double2 & | x, |
const double2 | y | ||
) |
Definition at line 95 of file float_vector.h.
__host__ __device__ float4 operator- | ( | const float4 & | x, |
const float4 & | y | ||
) |
Definition at line 23 of file float_vector.h.
__device__ double2 operator- | ( | const double2 & | x | ) |
Definition at line 160 of file float_vector.h.
__host__ __device__ double2 operator- | ( | const double2 & | x, |
const double2 & | y | ||
) |
Definition at line 15 of file float_vector.h.
__host__ __device__ float2 operator- | ( | const float2 & | x, |
const float2 & | y | ||
) |
Definition at line 19 of file float_vector.h.
__device__ float2 operator- | ( | const float2 & | x | ) |
Definition at line 156 of file float_vector.h.
__device__ float2 operator-= | ( | float2 & | x, |
const float2 | y | ||
) |
Definition at line 116 of file float_vector.h.
__device__ float4 operator-= | ( | float4 & | x, |
const float4 | y | ||
) |
Definition at line 108 of file float_vector.h.
__device__ double2 operator-= | ( | double2 & | x, |
const double2 | y | ||
) |
Definition at line 122 of file float_vector.h.