QUDA  v1.1.0
A library for QCD on GPUs
Public Member Functions | Friends | List of all members
int_fastdiv Class Reference

#include <fast_intdiv.h>

Public Member Functions

__host__ __device__ __forceinline__ int_fastdiv (int divisor=0)
 
__host__ __device__ __forceinline__ int_fastdivoperator= (int divisor)
 
__host__ __device__ __forceinline__ operator int () const
 

Friends

__host__ __device__ __forceinline__ friend int operator/ (const int divident, const int_fastdiv &divisor)
 

Detailed Description

Definition at line 20 of file fast_intdiv.h.

Constructor & Destructor Documentation

◆ int_fastdiv()

__host__ __device__ __forceinline__ int_fastdiv::int_fastdiv ( int  divisor = 0)
inline

Definition at line 25 of file fast_intdiv.h.

Member Function Documentation

◆ operator int()

__host__ __device__ __forceinline__ int_fastdiv::operator int ( ) const
inline

Definition at line 40 of file fast_intdiv.h.

◆ operator=()

__host__ __device__ __forceinline__ int_fastdiv& int_fastdiv::operator= ( int  divisor)
inline

Definition at line 32 of file fast_intdiv.h.

Friends And Related Function Documentation

◆ operator/

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

Definition at line 118 of file fast_intdiv.h.


The documentation for this class was generated from the following file: