Inclusive Sum of input matrix alongpecified dimension. More...
Device pointer interface: Inclusive sum | ||||||||||||||||||||||
| ||||||||||||||||||||||
afError | af_accum_S (float *d_out, unsigned ndims, unsigned *dims, const float *d_in, unsigned batch, int dimension, int type, bool isupcast) | |||||||||||||||||||||
Single precision, inclusive sum. | ||||||||||||||||||||||
afError | af_accum_D (double *d_out, unsigned ndims, unsigned *dims, const double *d_in, unsigned batch, int dimension, int type) | |||||||||||||||||||||
Double precision, inclusive sum. | ||||||||||||||||||||||
afError | af_accum_I (int *d_out, unsigned ndims, unsigned *dims, const int *d_in, unsigned batch, int dimension, int type) | |||||||||||||||||||||
32-bit signed integer, inclusive sum | ||||||||||||||||||||||
afError | af_accum_U (unsigned *d_out, unsigned ndims, unsigned *dims, const unsigned *d_in, unsigned batch, int dimension, int type) | |||||||||||||||||||||
32-bit unsigned integer, inclusive sum | ||||||||||||||||||||||
afError | af_accum_C (cuComplex *d_out, unsigned ndims, unsigned *dims, const cuComplex *d_in, unsigned batch, int dimension, int type, bool isupcast) | |||||||||||||||||||||
Complex, Single precision, inclusive sum. | ||||||||||||||||||||||
afError | af_accum_Z (cuDoubleComplex *d_out, unsigned ndims, unsigned *dims, const cuDoubleComplex *d_in, unsigned batch, int dimension, int type) | |||||||||||||||||||||
Complex, Double precision, inclusive sum. |
Inclusive Sum of input matrix alongpecified dimension.
afError af_accum_S | ( | float * | d_out, |
unsigned | ndims, | ||
unsigned * | dims, | ||
const float * | d_in, | ||
unsigned | batch, | ||
int | dimension, | ||
int | type, | ||
bool | isupcast | ||
) |
Single precision, inclusive sum.
afError af_accum_D | ( | double * | d_out, |
unsigned | ndims, | ||
unsigned * | dims, | ||
const double * | d_in, | ||
unsigned | batch, | ||
int | dimension, | ||
int | type | ||
) |
Double precision, inclusive sum.
afError af_accum_I | ( | int * | d_out, |
unsigned | ndims, | ||
unsigned * | dims, | ||
const int * | d_in, | ||
unsigned | batch, | ||
int | dimension, | ||
int | type | ||
) |
32-bit signed integer, inclusive sum
afError af_accum_U | ( | unsigned * | d_out, |
unsigned | ndims, | ||
unsigned * | dims, | ||
const unsigned * | d_in, | ||
unsigned | batch, | ||
int | dimension, | ||
int | type | ||
) |
32-bit unsigned integer, inclusive sum
afError af_accum_C | ( | cuComplex * | d_out, |
unsigned | ndims, | ||
unsigned * | dims, | ||
const cuComplex * | d_in, | ||
unsigned | batch, | ||
int | dimension, | ||
int | type, | ||
bool | isupcast | ||
) |
Complex, Single precision, inclusive sum.
afError af_accum_Z | ( | cuDoubleComplex * | d_out, |
unsigned | ndims, | ||
unsigned * | dims, | ||
const cuDoubleComplex * | d_in, | ||
unsigned | batch, | ||
int | dimension, | ||
int | type | ||
) |
Complex, Double precision, inclusive sum.