HCC
HCC is a single-source, C/C++ compiler for heterogeneous computing. It's optimized with HSA (http://www.hsafoundation.com/).
Public Types | Public Member Functions | Static Public Attributes | List of all members
hc::short_vector::__amp_norm_template< isSigned > Class Template Reference
Collaboration diagram for hc::short_vector::__amp_norm_template< isSigned >:
Collaboration graph

Public Types

typedef __amp_norm_template< isSigned > norm_type
 

Public Member Functions

 __amp_norm_template (float v) __CPU_GPU__
 
 __amp_norm_template (unsigned int v) __CPU_GPU__
 
 __amp_norm_template (int v) __CPU_GPU__
 
 __amp_norm_template (double v) __CPU_GPU__
 
 __amp_norm_template (const norm_type &other) __CPU_GPU__
 
 __amp_norm_template (const __amp_norm_template<!isSigned > &other) __CPU_GPU__
 
float get () __CPU_GPU__
 
void set (float f) __CPU_GPU__
 
norm_typeoperator= (const norm_type &other) __CPU_GPU__
 
norm_typeoperator= (const float &other) __CPU_GPU__
 
 operator float () const __CPU_GPU__
 
norm_typeoperator+= (const norm_type &other) __CPU_GPU__
 
norm_typeoperator-= (const norm_type &other) __CPU_GPU__
 
norm_typeoperator*= (const norm_type &other) __CPU_GPU__
 
norm_typeoperator/= (const norm_type &other) __CPU_GPU__
 
norm_typeoperator++ () __CPU_GPU__
 
norm_type operator++ (int) __CPU_GPU__
 
norm_typeoperator-- () __CPU_GPU__
 
norm_type operator-- (int) __CPU_GPU__
 
template<typename T = norm_type, class = typename std::enable_if<T::isSigned,norm_type>::type>
operator- () __CPU_GPU__
 

Static Public Attributes

static constexpr float min = isSigned?-1.0f:0.0f
 
static constexpr float max = isSigned? 1.0f:1.0f
 

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