HCC
HCC is a single-source, C/C++ compiler for heterogeneous computing. It's optimized with HSA (http://www.hsafoundation.com/).
Classes | Typedefs
Kalmar Namespace Reference

namespace for internal classes of Kalmar compiler / runtime More...

Classes

class  accelerator_view_removed
 
class  index
 Represents a unique position in N-dimensional space. More...
 
class  invalid_compute_domain
 
class  runtime_exception
 
class  tiled_extent
 

Typedefs

typedef int HRESULT
 

Functions

template<int N>
index< N > operator+ (const index< N > &lhs, const index< N > &rhs)
 Binary arithmetic operations that produce a new index<N> that is the result of performing the corresponding pair-wise binary arithmetic operation on the elements of the operands. More...
 
template<int N>
index< N > operator- (const index< N > &lhs, const index< N > &rhs)
 Binary arithmetic operations that produce a new index<N> that is the result of performing the corresponding pair-wise binary arithmetic operation on the elements of the operands. More...
 
template<int N>
index< N > operator+ (const index< N > &idx, int value)
 Binary arithmetic operations that produce a new index<N> that is the result of performing the corresponding binary arithmetic operation on the elements of the index operands. More...
 
template<int N>
index< N > operator+ (int value, const index< N > &idx)
 Binary arithmetic operations that produce a new index<N> that is the result of performing the corresponding binary arithmetic operation on the elements of the index operands. More...
 
template<int N>
index< N > operator- (const index< N > &idx, int value)
 Binary arithmetic operations that produce a new index<N> that is the result of performing the corresponding binary arithmetic operation on the elements of the index operands. More...
 
template<int N>
index< N > operator- (int value, const index< N > &idx)
 Binary arithmetic operations that produce a new index<N> that is the result of performing the corresponding binary arithmetic operation on the elements of the index operands. More...
 
template<int N>
index< N > operator* (const index< N > &idx, int value)
 Binary arithmetic operations that produce a new index<N> that is the result of performing the corresponding binary arithmetic operation on the elements of the index operands. More...
 
template<int N>
index< N > operator* (int value, const index< N > &idx)
 Binary arithmetic operations that produce a new index<N> that is the result of performing the corresponding binary arithmetic operation on the elements of the index operands. More...
 
template<int N>
index< N > operator/ (const index< N > &idx, int value)
 Binary arithmetic operations that produce a new index<N> that is the result of performing the corresponding binary arithmetic operation on the elements of the index operands. More...
 
template<int N>
index< N > operator/ (int value, const index< N > &idx)
 Binary arithmetic operations that produce a new index<N> that is the result of performing the corresponding binary arithmetic operation on the elements of the index operands. More...
 
template<int N>
index< N > operator% (const index< N > &idx, int value)
 Binary arithmetic operations that produce a new index<N> that is the result of performing the corresponding binary arithmetic operation on the elements of the index operands. More...
 
template<int N>
index< N > operator% (int value, const index< N > &idx)
 Binary arithmetic operations that produce a new index<N> that is the result of performing the corresponding binary arithmetic operation on the elements of the index operands. More...
 

Detailed Description

namespace for internal classes of Kalmar compiler / runtime

Function Documentation

template<int N>
index<N> Kalmar::operator% ( const index< N > &  idx,
int  value 
)

Binary arithmetic operations that produce a new index<N> that is the result of performing the corresponding binary arithmetic operation on the elements of the index operands.

The result index<N> is such that for a given operator $\oplus$, result[i] = idx[i] $\oplus$ value or result[i] = value $\oplus$ idx[i] for every i from 0 to N-1.

Parameters
[in]idxThe index<N> operand
[in]valueThe integer operand
template<int N>
index<N> Kalmar::operator% ( int  value,
const index< N > &  idx 
)

Binary arithmetic operations that produce a new index<N> that is the result of performing the corresponding binary arithmetic operation on the elements of the index operands.

The result index<N> is such that for a given operator $\oplus$, result[i] = idx[i] $\oplus$ value or result[i] = value $\oplus$ idx[i] for every i from 0 to N-1.

Parameters
[in]idxThe index<N> operand
[in]valueThe integer operand
template<int N>
index<N> Kalmar::operator* ( const index< N > &  idx,
int  value 
)

Binary arithmetic operations that produce a new index<N> that is the result of performing the corresponding binary arithmetic operation on the elements of the index operands.

The result index<N> is such that for a given operator $\oplus$, result[i] = idx[i] $\oplus$ value or result[i] = value $\oplus$ idx[i] for every i from 0 to N-1.

Parameters
[in]idxThe index<N> operand
[in]valueThe integer operand
template<int N>
index<N> Kalmar::operator* ( int  value,
const index< N > &  idx 
)

Binary arithmetic operations that produce a new index<N> that is the result of performing the corresponding binary arithmetic operation on the elements of the index operands.

The result index<N> is such that for a given operator $\oplus$, result[i] = idx[i] $\oplus$ value or result[i] = value $\oplus$ idx[i] for every i from 0 to N-1.

Parameters
[in]idxThe index<N> operand
[in]valueThe integer operand
template<int N>
index<N> Kalmar::operator+ ( const index< N > &  lhs,
const index< N > &  rhs 
)

Binary arithmetic operations that produce a new index<N> that is the result of performing the corresponding pair-wise binary arithmetic operation on the elements of the operands.

The result index<N> is such that for a given operator $\oplus$, $result[i] = leftIdx[i] \oplus rightIdx[i]$ for every i from 0 to N-1.

Parameters
[in]lhsThe left-hand index<N> of the arithmetic operation.
[in]rhsThe right-hand index<N> of the arithmetic operation.
template<int N>
index<N> Kalmar::operator+ ( const index< N > &  idx,
int  value 
)

Binary arithmetic operations that produce a new index<N> that is the result of performing the corresponding binary arithmetic operation on the elements of the index operands.

The result index<N> is such that for a given operator $\oplus$, result[i] = idx[i] $\oplus$ value or result[i] = value $\oplus$ idx[i] for every i from 0 to N-1.

Parameters
[in]idxThe index<N> operand
[in]valueThe integer operand
template<int N>
index<N> Kalmar::operator+ ( int  value,
const index< N > &  idx 
)

Binary arithmetic operations that produce a new index<N> that is the result of performing the corresponding binary arithmetic operation on the elements of the index operands.

The result index<N> is such that for a given operator $\oplus$, result[i] = idx[i] $\oplus$ value or result[i] = value $\oplus$ idx[i] for every i from 0 to N-1.

Parameters
[in]idxThe index<N> operand
[in]valueThe integer operand
template<int N>
index<N> Kalmar::operator- ( const index< N > &  lhs,
const index< N > &  rhs 
)

Binary arithmetic operations that produce a new index<N> that is the result of performing the corresponding pair-wise binary arithmetic operation on the elements of the operands.

The result index<N> is such that for a given operator $\oplus$, $result[i] = leftIdx[i] \oplus rightIdx[i]$ for every i from 0 to N-1.

Parameters
[in]lhsThe left-hand index<N> of the arithmetic operation.
[in]rhsThe right-hand index<N> of the arithmetic operation.
template<int N>
index<N> Kalmar::operator- ( const index< N > &  idx,
int  value 
)

Binary arithmetic operations that produce a new index<N> that is the result of performing the corresponding binary arithmetic operation on the elements of the index operands.

The result index<N> is such that for a given operator $\oplus$, result[i] = idx[i] $\oplus$ value or result[i] = value $\oplus$ idx[i] for every i from 0 to N-1.

Parameters
[in]idxThe index<N> operand
[in]valueThe integer operand
template<int N>
index<N> Kalmar::operator- ( int  value,
const index< N > &  idx 
)

Binary arithmetic operations that produce a new index<N> that is the result of performing the corresponding binary arithmetic operation on the elements of the index operands.

The result index<N> is such that for a given operator $\oplus$, result[i] = idx[i] $\oplus$ value or result[i] = value $\oplus$ idx[i] for every i from 0 to N-1.

Parameters
[in]idxThe index<N> operand
[in]valueThe integer operand
template<int N>
index<N> Kalmar::operator/ ( const index< N > &  idx,
int  value 
)

Binary arithmetic operations that produce a new index<N> that is the result of performing the corresponding binary arithmetic operation on the elements of the index operands.

The result index<N> is such that for a given operator $\oplus$, result[i] = idx[i] $\oplus$ value or result[i] = value $\oplus$ idx[i] for every i from 0 to N-1.

Parameters
[in]idxThe index<N> operand
[in]valueThe integer operand
template<int N>
index<N> Kalmar::operator/ ( int  value,
const index< N > &  idx 
)

Binary arithmetic operations that produce a new index<N> that is the result of performing the corresponding binary arithmetic operation on the elements of the index operands.

The result index<N> is such that for a given operator $\oplus$, result[i] = idx[i] $\oplus$ value or result[i] = value $\oplus$ idx[i] for every i from 0 to N-1.

Parameters
[in]idxThe index<N> operand
[in]valueThe integer operand