|
My Project
|
|
Go to the documentation of this file.
17 #if __cplusplus > 199711L // Necessary for NVCC
32 #if __cplusplus > 199711L
40 dim4(
const unsigned ndims,
const dim_t *
const dims);
42 dim_t elements()
const;
50 dim_t& operator[](
const unsigned dim);
51 const dim_t& operator[](
const unsigned dim)
const;
52 dim_t* get() {
return dims; }
53 const dim_t* get()
const {
return dims; }
62 operator<<(std::ostream& ostr,
const dim4& dims)
64 ostr << dims[0] <<
" "
AFAPI array operator!=(const array &lhs, const array &rhs)
Performs an inequality operation on two arrays or an array and a value.
long long dim_t
Definition: defines.h:49
AFAPI array operator==(const array &lhs, const array &rhs)
Performs an equality operation on two arrays or an array and a value.
#define AFAPI
Definition: defines.h:30
Definition: algorithm.h:13
AFAPI dim_t calcDim(const af_seq &seq, const dim_t &parentDim)
AFAPI array operator-(const array &lhs, const array &rhs)
Subtracts two arrays or an array and a value.
AFAPI size_t seqElements(const af_seq &seq)
AFAPI array operator>>(const array &lhs, const array &rhs)
Performs an right shift operation on two arrays or an array and a value.
AFAPI array operator*(const array &lhs, const array &rhs)
Multiplies two arrays or an array and a value.
AFAPI bool isSpan(const af_seq &seq)
AFAPI array operator+(const array &lhs, const array &rhs)
Adds two arrays or an array and a value.
AFAPI array operator<<(const array &lhs, const array &rhs)
Performs an left shift operation on two arrays or an array and a value.
C-style struct to creating sequences for indexing.
Definition: seq.h:19