TensorRT  7.2.1.6
NVIDIA TensorRT
Looking for a C++ dev who knows TensorRT?
I'm looking for work. Hire me!
nvinfer1::plugin::reduced_divisor Class Reference
Collaboration diagram for nvinfer1::plugin::reduced_divisor:

Public Member Functions

 reduced_divisor ()
 
__host__ __forceinline__ reduced_divisor (int _y)
 
__host__ __device__ __forceinline__ reduced_divisor (unsigned _mul_coeff, unsigned _shift_coeff, int _y)
 
__host__ __device__ __forceinline__ int div (int x) const
 
__host__ __device__ __forceinline__ int mod (int x) const
 
__host__ __device__ __forceinline__ void divmod (int x, int &q, int &mod) const
 
__host__ __device__ __forceinline__ int get () const
 
__host__ void get_mul_shift (unsigned &mul, unsigned &shift)
 

Protected Attributes

unsigned int mul_coeff
 
unsigned int shift_coeff
 
int y
 

Constructor & Destructor Documentation

◆ reduced_divisor() [1/3]

nvinfer1::plugin::reduced_divisor::reduced_divisor ( )
inline

◆ reduced_divisor() [2/3]

__host__ __forceinline__ nvinfer1::plugin::reduced_divisor::reduced_divisor ( int  _y)
inline
Here is the call graph for this function:

◆ reduced_divisor() [3/3]

__host__ __device__ __forceinline__ nvinfer1::plugin::reduced_divisor::reduced_divisor ( unsigned  _mul_coeff,
unsigned  _shift_coeff,
int  _y 
)
inline

Member Function Documentation

◆ div()

__host__ __device__ __forceinline__ int nvinfer1::plugin::reduced_divisor::div ( int  x) const
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ mod()

__host__ __device__ __forceinline__ int nvinfer1::plugin::reduced_divisor::mod ( int  x) const
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ divmod()

__host__ __device__ __forceinline__ void nvinfer1::plugin::reduced_divisor::divmod ( int  x,
int q,
int mod 
) const
inline
Here is the call graph for this function:

◆ get()

__host__ __device__ __forceinline__ int nvinfer1::plugin::reduced_divisor::get ( ) const
inline

◆ get_mul_shift()

__host__ void nvinfer1::plugin::reduced_divisor::get_mul_shift ( unsigned &  mul,
unsigned &  shift 
)
inline

Member Data Documentation

◆ mul_coeff

unsigned int nvinfer1::plugin::reduced_divisor::mul_coeff
protected

◆ shift_coeff

unsigned int nvinfer1::plugin::reduced_divisor::shift_coeff
protected

◆ y

int nvinfer1::plugin::reduced_divisor::y
protected

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