Device pointer interface: Inclusive sum |
- Parameters:
-
| d_out | Output Matrix |
| ndims | Number dimensions for the input |
| dims | Dimensions of the input |
| d_in | Input Matrix |
| batch | Number of tiles in input matrix |
| dimension | Dimension along which result is computed (0 along column, 1 along row) |
[in] | isupcast | Accumulate internally in double-precision if true |
|
afError | af_segsum_S (float *d_out, unsigned numel, const float *d_in, const float *d_keys, unsigned batch) |
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.
|