QUDA  v1.1.0
A library for QCD on GPUs
Classes | Namespaces | Functions
float_vector.h File Reference
#include <complex_quda.h>

Go to the source code of this file.

Classes

struct  quda::RealType< T >
 
struct  quda::RealType< double >
 
struct  quda::RealType< double2 >
 
struct  quda::RealType< complex< double > >
 
struct  quda::RealType< float >
 
struct  quda::RealType< float2 >
 
struct  quda::RealType< complex< float > >
 
struct  quda::RealType< float4 >
 
struct  quda::RealType< short >
 
struct  quda::RealType< short2 >
 
struct  quda::RealType< complex< short > >
 
struct  quda::RealType< short4 >
 
struct  quda::RealType< int8_t >
 
struct  quda::RealType< char2 >
 
struct  quda::RealType< complex< int8_t > >
 
struct  quda::RealType< char4 >
 
struct  quda::vector_type< scalar, n >
 

Namespaces

 quda
 

Functions

__host__ __device__ double2 quda::operator+ (const double2 &x, const double2 &y)
 
__host__ __device__ double2 quda::operator- (const double2 &x, const double2 &y)
 
__host__ __device__ float2 quda::operator- (const float2 &x, const float2 &y)
 
__host__ __device__ float4 quda::operator- (const float4 &x, const float4 &y)
 
__host__ __device__ float8 quda::operator- (const float8 &x, const float8 &y)
 
__host__ __device__ double3 quda::operator+ (const double3 &x, const double3 &y)
 
__host__ __device__ double4 quda::operator+ (const double4 &x, const double4 &y)
 
__host__ __device__ float4 quda::operator* (const float &a, const float4 &x)
 
__host__ __device__ float2 quda::operator* (const float &a, const float2 &x)
 
__host__ __device__ double2 quda::operator* (const double &a, const double2 &x)
 
__host__ __device__ double4 quda::operator* (const double &a, const double4 &x)
 
__host__ __device__ float8 quda::operator* (const float &a, const float8 &x)
 
__host__ __device__ float2 quda::operator+ (const float2 &x, const float2 &y)
 
__host__ __device__ float4 quda::operator+ (const float4 &x, const float4 &y)
 
__host__ __device__ float8 quda::operator+ (const float8 &x, const float8 &y)
 
__host__ __device__ float4 quda::operator+= (float4 &x, const float4 &y)
 
__host__ __device__ float2 quda::operator+= (float2 &x, const float2 &y)
 
__host__ __device__ float8 quda::operator+= (float8 &x, const float8 &y)
 
__host__ __device__ double2 quda::operator+= (double2 &x, const double2 &y)
 
__host__ __device__ double3 quda::operator+= (double3 &x, const double3 &y)
 
__host__ __device__ double4 quda::operator+= (double4 &x, const double4 &y)
 
__host__ __device__ float4 quda::operator-= (float4 &x, const float4 &y)
 
__host__ __device__ float2 quda::operator-= (float2 &x, const float2 &y)
 
__host__ __device__ float8 quda::operator-= (float8 &x, const float8 &y)
 
__host__ __device__ double2 quda::operator-= (double2 &x, const double2 &y)
 
__host__ __device__ float2 quda::operator*= (float2 &x, const float &a)
 
__host__ __device__ double2 quda::operator*= (double2 &x, const float &a)
 
__host__ __device__ float4 quda::operator*= (float4 &a, const float &b)
 
__host__ __device__ float8 quda::operator*= (float8 &a, const float &b)
 
__host__ __device__ double2 quda::operator*= (double2 &a, const double &b)
 
__host__ __device__ double4 quda::operator*= (double4 &a, const double &b)
 
__host__ __device__ float2 quda::operator- (const float2 &x)
 
__host__ __device__ double2 quda::operator- (const double2 &x)
 
std::ostream & quda::operator<< (std::ostream &output, const double2 &a)
 
std::ostream & quda::operator<< (std::ostream &output, const double3 &a)
 
std::ostream & quda::operator<< (std::ostream &output, const double4 &a)
 
__device__ __host__ void quda::zero (double &a)
 
__device__ __host__ void quda::zero (double2 &a)
 
__device__ __host__ void quda::zero (double3 &a)
 
__device__ __host__ void quda::zero (double4 &a)
 
__device__ __host__ void quda::zero (float &a)
 
__device__ __host__ void quda::zero (float2 &a)
 
__device__ __host__ void quda::zero (float3 &a)
 
__device__ __host__ void quda::zero (float4 &a)
 
__device__ __host__ void quda::zero (short &a)
 
__device__ __host__ void quda::zero (char &a)
 
template<typename T , int n>
std::ostream & quda::operator<< (std::ostream &output, const vector_type< T, n > &a)
 
template<typename scalar , int n>
__device__ __host__ void quda::zero (vector_type< scalar, n > &v)
 
template<typename scalar , int n>
__device__ __host__ vector_type< scalar, n > quda::operator+ (const vector_type< scalar, n > &a, const vector_type< scalar, n > &b)
 

Detailed Description

DESCRIPTION

Inline device functions for elementary operations on short vectors, e.g., float4, etc.

Definition in file float_vector.h.