QUDA  1.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Namespaces | Functions
convert.h File Reference
#include <quda_internal.h>
Include dependency graph for convert.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 quda
 

Functions

template<typename type >
int quda::vecLength ()
 
template<>
int quda::vecLength< char > ()
 
template<>
int quda::vecLength< short > ()
 
template<>
int quda::vecLength< float > ()
 
template<>
int quda::vecLength< double > ()
 
template<>
int quda::vecLength< char2 > ()
 
template<>
int quda::vecLength< short2 > ()
 
template<>
int quda::vecLength< float2 > ()
 
template<>
int quda::vecLength< double2 > ()
 
template<>
int quda::vecLength< char4 > ()
 
template<>
int quda::vecLength< short4 > ()
 
template<>
int quda::vecLength< float4 > ()
 
template<>
int quda::vecLength< double4 > ()
 
__host__ __device__ float quda::s2f (short a)
 
__host__ __device__ double quda::s2d (short a)
 
__host__ __device__ float quda::c2f (char a)
 
__host__ __device__ double quda::c2d (char a)
 
__host__ __device__ float quda::s2f (short a, float c)
 
__host__ __device__ double quda::s2d (short a, double c)
 
__host__ __device__ float quda::c2f (char a, float c)
 
__host__ __device__ double quda::c2d (char a, double c)
 
template<typename FloatN >
__device__ void quda::copyFloatN (FloatN &a, const FloatN &b)
 
__device__ void quda::copyFloatN (float2 &a, const char2 &b)
 
__device__ void quda::copyFloatN (float4 &a, const char4 &b)
 
__device__ void quda::copyFloatN (double2 &a, const char2 &b)
 
__device__ void quda::copyFloatN (double4 &a, const char4 &b)
 
__device__ void quda::copyFloatN (float2 &a, const short2 &b)
 
__device__ void quda::copyFloatN (float4 &a, const short4 &b)
 
__device__ void quda::copyFloatN (double2 &a, const short2 &b)
 
__device__ void quda::copyFloatN (double4 &a, const short4 &b)
 
__device__ void quda::copyFloatN (float2 &a, const double2 &b)
 
__device__ void quda::copyFloatN (double2 &a, const float2 &b)
 
__device__ void quda::copyFloatN (float4 &a, const double4 &b)
 
__device__ void quda::copyFloatN (double4 &a, const float4 &b)
 
__device__ __host__ int quda::f2i (float f)
 
__device__ __host__ int quda::d2i (double d)
 
__device__ void quda::copyFloatN (short2 &a, const float2 &b)
 
__device__ void quda::copyFloatN (short4 &a, const float4 &b)
 
__device__ void quda::copyFloatN (short2 &a, const double2 &b)
 
__device__ void quda::copyFloatN (short4 &a, const double4 &b)
 
__device__ void quda::copyFloatN (char2 &a, const float2 &b)
 
__device__ void quda::copyFloatN (char4 &a, const float4 &b)
 
__device__ void quda::copyFloatN (char2 &a, const double2 &b)
 
__device__ void quda::copyFloatN (char4 &a, const double4 &b)
 
template<typename OutputType , typename InputType >
__device__ void quda::convert (OutputType x[], InputType y[], const int N)
 
template<>
__device__ void quda::convert< float2, short2 > (float2 x[], short2 y[], const int N)
 
template<>
__device__ void quda::convert< float4, short4 > (float4 x[], short4 y[], const int N)
 
template<>
__device__ void quda::convert< double4, double2 > (double4 x[], double2 y[], const int N)
 
template<>
__device__ void quda::convert< double2, double4 > (double2 x[], double4 y[], const int N)
 
template<>
__device__ void quda::convert< float4, float2 > (float4 x[], float2 y[], const int N)
 
template<>
__device__ void quda::convert< float2, float4 > (float2 x[], float4 y[], const int N)
 
template<>
__device__ void quda::convert< short4, float2 > (short4 x[], float2 y[], const int N)
 
template<>
__device__ void quda::convert< float2, short4 > (float2 x[], short4 y[], const int N)
 
template<>
__device__ void quda::convert< float4, short2 > (float4 x[], short2 y[], const int N)
 
template<>
__device__ void quda::convert< short2, float4 > (short2 x[], float4 y[], const int N)
 
template<>
__device__ void quda::convert< short4, double2 > (short4 x[], double2 y[], const int N)
 
template<>
__device__ void quda::convert< double2, short4 > (double2 x[], short4 y[], const int N)
 
template<>
__device__ void quda::convert< double4, short2 > (double4 x[], short2 y[], const int N)
 
template<>
__device__ void quda::convert< short2, double4 > (short2 x[], double4 y[], const int N)
 
template<>
__device__ void quda::convert< float4, double2 > (float4 x[], double2 y[], const int N)
 
template<>
__device__ void quda::convert< double2, float4 > (double2 x[], float4 y[], const int N)
 
template<>
__device__ void quda::convert< double4, float2 > (double4 x[], float2 y[], const int N)
 
template<>
__device__ void quda::convert< float2, double4 > (float2 x[], double4 y[], const int N)
 

Detailed Description

DESCRIPTION

Conversion functions that are used as building blocks for arbitrary field and register ordering.

Definition in file convert.h.