QUDA  v1.1.0
A library for QCD on GPUs
Classes | Functions
fast_intdiv.h File Reference

Go to the source code of this file.

Classes

class  int_fastdiv
 

Functions

__host__ __device__ __forceinline__ int operator/ (const int n, const int_fastdiv &divisor)
 
__host__ __device__ __forceinline__ int operator% (const int n, const int_fastdiv &divisor)
 
__host__ __device__ __forceinline__ int operator/ (const unsigned int n, const int_fastdiv &divisor)
 
__host__ __device__ __forceinline__ int operator% (const unsigned int n, const int_fastdiv &divisor)
 
__host__ __device__ __forceinline__ int operator/ (const short n, const int_fastdiv &divisor)
 
__host__ __device__ __forceinline__ int operator% (const short n, const int_fastdiv &divisor)
 
__host__ __device__ __forceinline__ int operator/ (const unsigned short n, const int_fastdiv &divisor)
 
__host__ __device__ __forceinline__ int operator% (const unsigned short n, const int_fastdiv &divisor)
 
__host__ __device__ __forceinline__ int operator/ (const char n, const int_fastdiv &divisor)
 
__host__ __device__ __forceinline__ int operator% (const char n, const int_fastdiv &divisor)
 
__host__ __device__ __forceinline__ int operator/ (const unsigned char n, const int_fastdiv &divisor)
 
__host__ __device__ __forceinline__ int operator% (const unsigned char n, const int_fastdiv &divisor)
 

Function Documentation

◆ operator%() [1/6]

__host__ __device__ __forceinline__ int operator% ( const char  n,
const int_fastdiv divisor 
)

Definition at line 186 of file fast_intdiv.h.

◆ operator%() [2/6]

__host__ __device__ __forceinline__ int operator% ( const int  n,
const int_fastdiv divisor 
)

Definition at line 136 of file fast_intdiv.h.

◆ operator%() [3/6]

__host__ __device__ __forceinline__ int operator% ( const short  n,
const int_fastdiv divisor 
)

Definition at line 162 of file fast_intdiv.h.

◆ operator%() [4/6]

__host__ __device__ __forceinline__ int operator% ( const unsigned char  n,
const int_fastdiv divisor 
)

Definition at line 198 of file fast_intdiv.h.

◆ operator%() [5/6]

__host__ __device__ __forceinline__ int operator% ( const unsigned int  n,
const int_fastdiv divisor 
)

Definition at line 150 of file fast_intdiv.h.

◆ operator%() [6/6]

__host__ __device__ __forceinline__ int operator% ( const unsigned short  n,
const int_fastdiv divisor 
)

Definition at line 174 of file fast_intdiv.h.

◆ operator/() [1/6]

__host__ __device__ __forceinline__ int operator/ ( const char  n,
const int_fastdiv divisor 
)

Definition at line 180 of file fast_intdiv.h.

◆ operator/() [2/6]

__host__ __device__ __forceinline__ int operator/ ( const int  n,
const int_fastdiv divisor 
)

Definition at line 118 of file fast_intdiv.h.

◆ operator/() [3/6]

__host__ __device__ __forceinline__ int operator/ ( const short  n,
const int_fastdiv divisor 
)

Definition at line 156 of file fast_intdiv.h.

◆ operator/() [4/6]

__host__ __device__ __forceinline__ int operator/ ( const unsigned char  n,
const int_fastdiv divisor 
)

Definition at line 192 of file fast_intdiv.h.

◆ operator/() [5/6]

__host__ __device__ __forceinline__ int operator/ ( const unsigned int  n,
const int_fastdiv divisor 
)

Definition at line 144 of file fast_intdiv.h.

◆ operator/() [6/6]

__host__ __device__ __forceinline__ int operator/ ( const unsigned short  n,
const int_fastdiv divisor 
)

Definition at line 168 of file fast_intdiv.h.