Go to the source code of this file.
Namespaces | ||||||||||||||||||||||
namespace | af | |||||||||||||||||||||
Defines | ||||||||||||||||||||||
#define | IS_BASEONE =false | |||||||||||||||||||||
Enumerations | ||||||||||||||||||||||
enum | af_op_t { SUM_T = 0, PROD_T } | |||||||||||||||||||||
Functions | ||||||||||||||||||||||
array | setunique (const array &input) | |||||||||||||||||||||
unique values | ||||||||||||||||||||||
void | setunique (array &values, array &indices, array &locations, const array &input) | |||||||||||||||||||||
unique elements in a vector and their indicies | ||||||||||||||||||||||
array | setunion (const array &A, const array &B) | |||||||||||||||||||||
union of two vectors | ||||||||||||||||||||||
void | setunion (array &U, array &IA, array &IB, const array &A, const array &B) | |||||||||||||||||||||
union of two vectors and their indices | ||||||||||||||||||||||
array | setintersect (const array &A, const array &B) | |||||||||||||||||||||
intersection of two vectors | ||||||||||||||||||||||
void | setintersect (array &U, array &IA, array &IB, const array &A, const array &B) | |||||||||||||||||||||
intersection of two vectors and their indices | ||||||||||||||||||||||
afError | all_stride_r (unsigned nout, unsigned numel, unsigned stride, unsigned batch, unsigned outer_stride, unsigned outer_batch, void *d_dst, unsigned cls_dst, const void *d_src, unsigned cls_src, float *d_idx, bool cplx, bool idx_out, bool device_result) | |||||||||||||||||||||
afError | any_stride_r (unsigned nout, unsigned numel, unsigned stride, unsigned batch, unsigned outer_stride, unsigned outer_batch, void *d_dst, unsigned cls_dst, const void *d_src, unsigned cls_src, float *d_idx, bool cplx, bool idx_out, bool device_result) | |||||||||||||||||||||
afError | min_stride_r (unsigned nout, unsigned numel, unsigned stride, unsigned batch, unsigned outer_stride, unsigned outer_batch, void *d_dst, unsigned cls_dst, const void *d_src, unsigned cls_src, float *d_idx, bool cplx, bool idx_out, bool device_result) | |||||||||||||||||||||
afError | max_stride_r (unsigned nout, unsigned numel, unsigned stride, unsigned batch, unsigned outer_stride, unsigned outer_batch, void *d_dst, unsigned cls_dst, const void *d_src, unsigned cls_src, float *d_idx, bool cplx, bool idx_out, bool device_result) | |||||||||||||||||||||
afError | sum_stride_r (unsigned nout, unsigned numel, unsigned stride, unsigned batch, unsigned outer_stride, unsigned outer_batch, void *d_dst, unsigned cls_dst, const void *d_src, unsigned cls_src, float *d_idx, bool cplx, bool idx_out, bool device_result) | |||||||||||||||||||||
afError | af_alltrue_vector (bool *h_dst, unsigned numel, const float *d_src) | |||||||||||||||||||||
all along single precision vector | ||||||||||||||||||||||
afError | af_alltrue_vector (bool *h_dst, unsigned numel, const bool *d_src) | |||||||||||||||||||||
all along boolean vector | ||||||||||||||||||||||
afError | af_alltrue_vector (bool *h_dst, unsigned numel, const int *d_src) | |||||||||||||||||||||
all along 32-bit signed integer vector | ||||||||||||||||||||||
afError | af_alltrue_vector (bool *h_dst, unsigned numel, const unsigned *d_src) | |||||||||||||||||||||
all along 32-bit unsigned integer vector | ||||||||||||||||||||||
afError | af_alltrue_vector (bool *h_dst, unsigned numel, const cuComplex *d_src) | |||||||||||||||||||||
all along single precision, complex vector | ||||||||||||||||||||||
afError | af_alltrue_vector (bool *h_dst, unsigned numel, const double *d_src) | |||||||||||||||||||||
all along double precision vector | ||||||||||||||||||||||
afError | af_alltrue_vector (bool *h_dst, unsigned numel, const cuDoubleComplex *d_src) | |||||||||||||||||||||
all along double precision, complex vector | ||||||||||||||||||||||
afError | af_alltrue (bool *d_dst, unsigned ndims, const unsigned *dims, const float *d_src, int dim) | |||||||||||||||||||||
all along a dimension in single precision matrix | ||||||||||||||||||||||
afError | af_alltrue (bool *d_dst, unsigned ndims, const unsigned *dims, const bool *d_src, int dim) | |||||||||||||||||||||
all along a dimension in boolean matrix | ||||||||||||||||||||||
afError | af_alltrue (bool *d_dst, unsigned ndims, const unsigned *dims, const int *d_src, int dim) | |||||||||||||||||||||
all along a dimension in 32-bit signed integer matrix | ||||||||||||||||||||||
afError | af_alltrue (bool *d_dst, unsigned ndims, const unsigned *dims, const unsigned *d_src, int dim) | |||||||||||||||||||||
all along a dimension in 32-bit unsigned integer matrix | ||||||||||||||||||||||
afError | af_alltrue (bool *d_dst, unsigned ndims, const unsigned *dims, const cuComplex *d_src, int dim) | |||||||||||||||||||||
all along a dimension in single precision, complex matrix | ||||||||||||||||||||||
afError | af_alltrue (bool *d_dst, unsigned ndims, const unsigned *dims, const double *d_src, int dim) | |||||||||||||||||||||
all along a dimension in double precision matrix | ||||||||||||||||||||||
afError | af_alltrue (bool *d_dst, unsigned ndims, const unsigned *dims, const cuDoubleComplex *d_src, int dim) | |||||||||||||||||||||
all along a dimension in double precision, complex matrix | ||||||||||||||||||||||
afError | af_anytrue_vector (bool *h_dst, unsigned numel, const float *d_src) | |||||||||||||||||||||
any along single precision vector | ||||||||||||||||||||||
afError | af_anytrue_vector (bool *h_dst, unsigned numel, const bool *d_src) | |||||||||||||||||||||
any along boolean vector | ||||||||||||||||||||||
afError | af_anytrue_vector (bool *h_dst, unsigned numel, const int *d_src) | |||||||||||||||||||||
any along 32-bit signed integer vector | ||||||||||||||||||||||
afError | af_anytrue_vector (bool *h_dst, unsigned numel, const unsigned *d_src) | |||||||||||||||||||||
any along 32-bit unsigned integer vector | ||||||||||||||||||||||
afError | af_anytrue_vector (bool *h_dst, unsigned numel, const cuComplex *d_src) | |||||||||||||||||||||
any along single precision, complex vector | ||||||||||||||||||||||
afError | af_anytrue_vector (bool *h_dst, unsigned numel, const double *d_src) | |||||||||||||||||||||
any along double precision vector | ||||||||||||||||||||||
afError | af_anytrue_vector (bool *h_dst, unsigned numel, const cuDoubleComplex *d_src) | |||||||||||||||||||||
any along double precision, complex vector | ||||||||||||||||||||||
afError | af_anytrue (bool *d_dst, unsigned ndims, const unsigned *dims, const float *d_src, int dim) | |||||||||||||||||||||
any along a dimension in single precision matrix | ||||||||||||||||||||||
afError | af_anytrue (bool *d_dst, unsigned ndims, const unsigned *dims, const bool *d_src, int dim) | |||||||||||||||||||||
any along a dimension in boolean matrix | ||||||||||||||||||||||
afError | af_anytrue (bool *d_dst, unsigned ndims, const unsigned *dims, const int *d_src, int dim) | |||||||||||||||||||||
any along a dimension in 32-bit signed integer matrix | ||||||||||||||||||||||
afError | af_anytrue (bool *d_dst, unsigned ndims, const unsigned *dims, const unsigned *d_src, int dim) | |||||||||||||||||||||
any along a dimension in 32-bit unsigned integer matrix | ||||||||||||||||||||||
afError | af_anytrue (bool *d_dst, unsigned ndims, const unsigned *dims, const cuComplex *d_src, int dim) | |||||||||||||||||||||
any along a dimension in single precision, complex matrix | ||||||||||||||||||||||
afError | af_anytrue (bool *d_dst, unsigned ndims, const unsigned *dims, const double *d_src, int dim) | |||||||||||||||||||||
any along a dimension in double precision matrix | ||||||||||||||||||||||
afError | af_anytrue (bool *d_dst, unsigned ndims, const unsigned *dims, const cuDoubleComplex *d_src, int dim) | |||||||||||||||||||||
any along a dimension in double precision, complex matrix | ||||||||||||||||||||||
afError | af_max_vector (float *h_dst, unsigned numel, const float *d_src) | |||||||||||||||||||||
Maximum value of a single precision vector. | ||||||||||||||||||||||
afError | af_max_vector (bool *h_dst, unsigned numel, const bool *d_src) | |||||||||||||||||||||
Maximum value of a boolean vector. | ||||||||||||||||||||||
afError | af_max_vector (int *h_dst, unsigned numel, const int *d_src) | |||||||||||||||||||||
Maximum value of a 32-bit signed integer vector. | ||||||||||||||||||||||
afError | af_max_vector (unsigned *h_dst, unsigned numel, const unsigned *d_src) | |||||||||||||||||||||
Maximum value of a 32-bit unsigned integer vector. | ||||||||||||||||||||||
afError | af_max_vector (cuComplex *h_dst, unsigned numel, const cuComplex *d_src) | |||||||||||||||||||||
Maximum value of a single precision, complex vector. | ||||||||||||||||||||||
afError | af_max_vector (double *h_dst, unsigned numel, const double *d_src) | |||||||||||||||||||||
Maximum value of a double precision vector. | ||||||||||||||||||||||
afError | af_max_vector (cuDoubleComplex *h_dst, unsigned numel, const cuDoubleComplex *d_src) | |||||||||||||||||||||
Maximum value of a double precision, complex vector. | ||||||||||||||||||||||
afError | af_imax_vector (float *h_dst, float *h_idx, unsigned numel, const float *d_src, bool is_baseone=false) | |||||||||||||||||||||
Maximum value of a single precision vector. | ||||||||||||||||||||||
afError | af_imax_vector (int *h_dst, float *h_idx, unsigned numel, const int *d_src, bool is_baseone=false) | |||||||||||||||||||||
Maximum value of a 32-bit signed integer vector. | ||||||||||||||||||||||
afError | af_imax_vector (unsigned *h_dst, float *h_idx, unsigned numel, const unsigned *d_src, bool is_baseone=false) | |||||||||||||||||||||
Maximum value of a 32-bit unsigned integer vector. | ||||||||||||||||||||||
afError | af_imax_vector (bool *h_dst, float *h_idx, unsigned numel, const bool *d_src, bool is_baseone=false) | |||||||||||||||||||||
Maximum value of a boolean vector. | ||||||||||||||||||||||
afError | af_imax_vector (cuComplex *h_dst, float *h_idx, unsigned numel, const cuComplex *d_src, bool is_baseone=false) | |||||||||||||||||||||
Maximum value of a single precision, complex vector. | ||||||||||||||||||||||
afError | af_imax_vector (double *h_dst, float *h_idx, unsigned numel, const double *d_src, bool is_baseone=false) | |||||||||||||||||||||
Maximum value of a double precision vector. | ||||||||||||||||||||||
afError | af_imax_vector (cuDoubleComplex *h_dst, float *h_idx, unsigned numel, const cuDoubleComplex *d_src, bool is_baseone=false) | |||||||||||||||||||||
Maximum value of a double precision, complex vector. | ||||||||||||||||||||||
afError | af_max (float *d_dst, unsigned ndims, const unsigned *dims, const float *d_src, int dim) | |||||||||||||||||||||
Maximum value along a dimension in single precision matrix. | ||||||||||||||||||||||
afError | af_max (bool *d_dst, unsigned ndims, const unsigned *dims, const bool *d_src, int dim) | |||||||||||||||||||||
Maximum value along a dimension in boolean matrix. | ||||||||||||||||||||||
afError | af_max (int *d_dst, unsigned ndims, const unsigned *dims, const int *d_src, int dim) | |||||||||||||||||||||
Maximum value along a dimension in 32-bit signed integer matrix. | ||||||||||||||||||||||
afError | af_max (unsigned *d_dst, unsigned ndims, const unsigned *dims, const unsigned *d_src, int dim) | |||||||||||||||||||||
Maximum value along a dimension in 32-bit unsigned integer matrix. | ||||||||||||||||||||||
afError | af_max (cuComplex *d_dst, unsigned ndims, const unsigned *dims, const cuComplex *d_src, int dim) | |||||||||||||||||||||
Maximum value along a dimension in single precision, complex matrix. | ||||||||||||||||||||||
afError | af_max (double *d_dst, unsigned ndims, const unsigned *dims, const double *d_src, int dim) | |||||||||||||||||||||
Maximum value along a dimension in double precision matrix. | ||||||||||||||||||||||
afError | af_max (cuDoubleComplex *d_dst, unsigned ndims, const unsigned *dims, const cuDoubleComplex *d_src, int dim) | |||||||||||||||||||||
Maximum value along a dimension in double precision, complex matrix. | ||||||||||||||||||||||
afError | af_imax (float *d_dst, float *d_idx, unsigned ndims, const unsigned *dims, const float *d_src, int dim, bool is_baseone=false) | |||||||||||||||||||||
Maximum value along a dimension in single precision matrix. | ||||||||||||||||||||||
afError | af_imax (int *d_dst, float *d_idx, unsigned ndims, const unsigned *dims, const int *d_src, int dim, bool is_baseone=false) | |||||||||||||||||||||
Maximum value along a dimension in 32-bit signed integer matrix. | ||||||||||||||||||||||
afError | af_imax (unsigned *d_dst, float *d_idx, unsigned ndims, const unsigned *dims, const unsigned *d_src, int dim, bool is_baseone=false) | |||||||||||||||||||||
Maximum value along a dimension in 32-bit unsigned integer matrix. | ||||||||||||||||||||||
afError | af_imax (bool *d_dst, float *d_idx, unsigned ndims, const unsigned *dims, const bool *d_src, int dim, bool is_baseone=false) | |||||||||||||||||||||
Maximum value along a dimension in boolean matrix. | ||||||||||||||||||||||
afError | af_imax (cuComplex *d_dst, float *d_idx, unsigned ndims, const unsigned *dims, const cuComplex *d_src, int dim, bool is_baseone=false) | |||||||||||||||||||||
Maximum value along a dimension in single precision, complex matrix. | ||||||||||||||||||||||
afError | af_imax (double *d_dst, float *d_idx, unsigned ndims, const unsigned *dims, const double *d_src, int dim, bool is_baseone=false) | |||||||||||||||||||||
Maximum value along a dimension in double precision matrix. | ||||||||||||||||||||||
afError | af_imax (cuDoubleComplex *d_dst, float *d_idx, unsigned ndims, const unsigned *dims, const cuDoubleComplex *d_src, int dim, bool is_baseone=false) | |||||||||||||||||||||
Maximum value along a dimension in double precision, complex matrix. | ||||||||||||||||||||||
afError | af_min_vector (float *h_dst, unsigned numel, const float *d_src) | |||||||||||||||||||||
Minimum value of a single precision vector. | ||||||||||||||||||||||
afError | af_min_vector (bool *h_dst, unsigned numel, const bool *d_src) | |||||||||||||||||||||
Minimum value of a boolean vector. | ||||||||||||||||||||||
afError | af_min_vector (int *h_dst, unsigned numel, const int *d_src) | |||||||||||||||||||||
Minimum value of a 32-bit signed integer vector. | ||||||||||||||||||||||
afError | af_min_vector (unsigned *h_dst, unsigned numel, const unsigned *d_src) | |||||||||||||||||||||
Minimum value of a 32-bit unsigned integer vector. | ||||||||||||||||||||||
afError | af_min_vector (cuComplex *h_dst, unsigned numel, const cuComplex *d_src) | |||||||||||||||||||||
Minimum value of a single precision, complex vector. | ||||||||||||||||||||||
afError | af_min_vector (double *h_dst, unsigned numel, const double *d_src) | |||||||||||||||||||||
Minimum value of a double precision vector. | ||||||||||||||||||||||
afError | af_min_vector (cuDoubleComplex *h_dst, unsigned numel, const cuDoubleComplex *d_src) | |||||||||||||||||||||
Minimum value of a double precision, complex vector. | ||||||||||||||||||||||
afError | af_imin_vector (float *h_dst, float *h_idx, unsigned numel, const float *d_src, bool is_baseone=false) | |||||||||||||||||||||
Minimum value of a single precision vector. | ||||||||||||||||||||||
afError | af_imin_vector (int *h_dst, float *h_idx, unsigned numel, const int *d_src, bool is_baseone=false) | |||||||||||||||||||||
Minimum value of a 32-bit signed integer vector. | ||||||||||||||||||||||
afError | af_imin_vector (unsigned *h_dst, float *h_idx, unsigned numel, const unsigned *d_src, bool is_baseone=false) | |||||||||||||||||||||
Minimum value of a 32-bit unsigned integer vector. | ||||||||||||||||||||||
afError | af_imin_vector (bool *h_dst, float *h_idx, unsigned numel, const bool *d_src, bool is_baseone=false) | |||||||||||||||||||||
Minimum value of a boolean vector. | ||||||||||||||||||||||
afError | af_imin_vector (cuComplex *h_dst, float *h_idx, unsigned numel, const cuComplex *d_src, bool is_baseone=false) | |||||||||||||||||||||
Minimum value of a single precision, complex vector. | ||||||||||||||||||||||
afError | af_imin_vector (double *h_dst, float *h_idx, unsigned numel, const double *d_src, bool is_baseone=false) | |||||||||||||||||||||
Minimum value of a double precision vector. | ||||||||||||||||||||||
afError | af_imin_vector (cuDoubleComplex *h_dst, float *h_idx, unsigned numel, const cuDoubleComplex *d_src, bool is_baseone=false) | |||||||||||||||||||||
Minimum value of a double precision, complex vector. | ||||||||||||||||||||||
afError | af_min (float *d_dst, unsigned ndims, const unsigned *dims, const float *d_src, int dim) | |||||||||||||||||||||
Minimum value along a dimension in single precision matrix. | ||||||||||||||||||||||
afError | af_min (bool *d_dst, unsigned ndims, const unsigned *dims, const bool *d_src, int dim) | |||||||||||||||||||||
Minimum value along a dimension in boolean matrix. | ||||||||||||||||||||||
afError | af_min (int *d_dst, unsigned ndims, const unsigned *dims, const int *d_src, int dim) | |||||||||||||||||||||
Minimum value along a dimension in 32-bit signed integer matrix. | ||||||||||||||||||||||
afError | af_min (unsigned *d_dst, unsigned ndims, const unsigned *dims, const unsigned *d_src, int dim) | |||||||||||||||||||||
Minimum value along a dimension in 32-bit unsigned integer matrix. | ||||||||||||||||||||||
afError | af_min (cuComplex *d_dst, unsigned ndims, const unsigned *dims, const cuComplex *d_src, int dim) | |||||||||||||||||||||
Minimum value along a dimension in single precision, complex matrix. | ||||||||||||||||||||||
afError | af_min (double *d_dst, unsigned ndims, const unsigned *dims, const double *d_src, int dim) | |||||||||||||||||||||
Minimum value along a dimension in double precision matrix. | ||||||||||||||||||||||
afError | af_min (cuDoubleComplex *d_dst, unsigned ndims, const unsigned *dims, const cuDoubleComplex *d_src, int dim) | |||||||||||||||||||||
Minimum value along a dimension in double precision, complex matrix. | ||||||||||||||||||||||
afError | af_imin (float *d_dst, float *d_idx, unsigned ndims, const unsigned *dims, const float *d_src, int dim, bool is_baseone=false) | |||||||||||||||||||||
Minimum value along a dimension in single precision matrix. | ||||||||||||||||||||||
afError | af_imin (int *d_dst, float *d_idx, unsigned ndims, const unsigned *dims, const int *d_src, int dim, bool is_baseone=false) | |||||||||||||||||||||
Minimum value along a dimension in 32-bit signed integer matrix. | ||||||||||||||||||||||
afError | af_imin (unsigned *d_dst, float *d_idx, unsigned ndims, const unsigned *dims, const unsigned *d_src, int dim, bool is_baseone=false) | |||||||||||||||||||||
Minimum value along a dimension in 32-bit unsigned integer matrix. | ||||||||||||||||||||||
afError | af_imin (bool *d_dst, float *d_idx, unsigned ndims, const unsigned *dims, const bool *d_src, int dim, bool is_baseone=false) | |||||||||||||||||||||
Minimum value along a dimension in boolean matrix. | ||||||||||||||||||||||
afError | af_imin (cuComplex *d_dst, float *d_idx, unsigned ndims, const unsigned *dims, const cuComplex *d_src, int dim, bool is_baseone=false) | |||||||||||||||||||||
Minimum value along a dimension in single precision, complex matrix. | ||||||||||||||||||||||
afError | af_imin (double *d_dst, float *d_idx, unsigned ndims, const unsigned *dims, const double *d_src, int dim, bool is_baseone=false) | |||||||||||||||||||||
Minimum value along a dimension in double precision matrix. | ||||||||||||||||||||||
afError | af_imin (cuDoubleComplex *d_dst, float *d_idx, unsigned ndims, const unsigned *dims, const cuDoubleComplex *d_src, int dim, bool is_baseone=false) | |||||||||||||||||||||
Minimum value along a dimension in double precision, complex matrix. | ||||||||||||||||||||||
afError | af_minmax_vector (float2 *h_dst, unsigned numel, const float *d_src) | |||||||||||||||||||||
Minimum and maximum value of a single precision vector. | ||||||||||||||||||||||
afError | af_minmax (float2 *d_dst, unsigned ndims, const unsigned *dims, const float *d_src, int dim) | |||||||||||||||||||||
Minimum and maximum value along a dimension in single precision matrix. | ||||||||||||||||||||||
afError | af_minmax_vector (double2 *h_dst, unsigned numel, const double *d_src) | |||||||||||||||||||||
Minimum and maximum value of a single precision vector. | ||||||||||||||||||||||
afError | af_minmax (double2 *d_dst, unsigned ndims, const unsigned *dims, const double *d_src, int dim) | |||||||||||||||||||||
Minimum and maximum value along a dimension in single precision matrix. | ||||||||||||||||||||||
afError | af_sum_vector (float *h_dst, unsigned numel, const float *d_src) | |||||||||||||||||||||
sum The value of a single precision vector | ||||||||||||||||||||||
afError | af_sum_vector (float *h_dst, unsigned numel, const bool *d_src) | |||||||||||||||||||||
sum The value of a boolean vector | ||||||||||||||||||||||
afError | af_sum_vector (int *h_dst, unsigned numel, const int *d_src) | |||||||||||||||||||||
sum The value of a 32-bit signed integer vector | ||||||||||||||||||||||
afError | af_sum_vector (unsigned *h_dst, unsigned numel, const unsigned *d_src) | |||||||||||||||||||||
sum The value of a 32-bit unsigned integer vector | ||||||||||||||||||||||
afError | af_sum_vector (cuComplex *h_dst, unsigned numel, const cuComplex *d_src) | |||||||||||||||||||||
sum The value of a single precision, complex vector | ||||||||||||||||||||||
afError | af_sum_vector (double *h_dst, unsigned numel, const double *d_src) | |||||||||||||||||||||
sum The value of a double precision vector | ||||||||||||||||||||||
afError | af_sum_vector (cuDoubleComplex *h_dst, unsigned numel, const cuDoubleComplex *d_src) | |||||||||||||||||||||
sum The value of a double precision, complex vector | ||||||||||||||||||||||
afError | af_sum (float *d_dst, unsigned ndims, const unsigned *dims, const float *d_src, int dim) | |||||||||||||||||||||
sum the value along a dimension in single precision matrix | ||||||||||||||||||||||
afError | af_sum (float *d_dst, unsigned ndims, const unsigned *dims, const bool *d_src, int dim) | |||||||||||||||||||||
sum the value along a dimension in boolean matrix | ||||||||||||||||||||||
afError | af_sum (int *d_dst, unsigned ndims, const unsigned *dims, const int *d_src, int dim) | |||||||||||||||||||||
sum the value along a dimension in 32-bit signed integer matrix | ||||||||||||||||||||||
afError | af_sum (unsigned *d_dst, unsigned ndims, const unsigned *dims, const unsigned *d_src, int dim) | |||||||||||||||||||||
sum the value along a dimension in 32-bit unsigned integer matrix | ||||||||||||||||||||||
afError | af_sum (cuComplex *d_dst, unsigned ndims, const unsigned *dims, const cuComplex *d_src, int dim) | |||||||||||||||||||||
sum the value along a dimension in single precision, complex matrix | ||||||||||||||||||||||
afError | af_sum (double *d_dst, unsigned ndims, const unsigned *dims, const double *d_src, int dim) | |||||||||||||||||||||
sum the value along a dimension in double precision matrix | ||||||||||||||||||||||
afError | af_sum (cuDoubleComplex *d_dst, unsigned ndims, const unsigned *dims, const cuDoubleComplex *d_src, int dim) | |||||||||||||||||||||
sum the value along a dimension in double precision, complex matrix | ||||||||||||||||||||||
afError | af_prod_vector (float *h_dst, unsigned numel, const float *d_src) | |||||||||||||||||||||
product of the values of a single precision vector | ||||||||||||||||||||||
afError | af_prod_vector (int *h_dst, unsigned numel, const int *d_src) | |||||||||||||||||||||
product of the values of a 32-bit signed integer vector | ||||||||||||||||||||||
afError | af_prod_vector (unsigned *h_dst, unsigned numel, const unsigned *d_src) | |||||||||||||||||||||
product of the values of a 32-bit unsigned integer vector | ||||||||||||||||||||||
afError | af_prod_vector (float *h_dst, unsigned numel, const bool *d_src) | |||||||||||||||||||||
product of the values of a boolean vector | ||||||||||||||||||||||
afError | af_prod_vector (cuComplex *h_dst, unsigned numel, const cuComplex *d_src) | |||||||||||||||||||||
product of the values of a single precision, complex vector | ||||||||||||||||||||||
afError | af_prod_vector (double *h_dst, unsigned numel, const double *d_src) | |||||||||||||||||||||
product of the values of a double precision vector | ||||||||||||||||||||||
afError | af_prod_vector (cuDoubleComplex *h_dst, unsigned numel, const cuDoubleComplex *d_src) | |||||||||||||||||||||
product of the values of a double precision, complex vector | ||||||||||||||||||||||
afError | af_prod (float *d_dst, unsigned ndims, const unsigned *dims, const float *d_src, int dim) | |||||||||||||||||||||
product of the values along a dimension in single precision matrix | ||||||||||||||||||||||
afError | af_prod (int *d_dst, unsigned ndims, const unsigned *dims, const int *d_src, int dim) | |||||||||||||||||||||
product of the values along a dimension in 32-bit signed integer matrix | ||||||||||||||||||||||
afError | af_prod (unsigned *d_dst, unsigned ndims, const unsigned *dims, const unsigned *d_src, int dim) | |||||||||||||||||||||
product of the values along a dimension in 32-bit unsigned integer matrix | ||||||||||||||||||||||
afError | af_prod (float *d_dst, unsigned ndims, const unsigned *dims, const bool *d_src, int dim) | |||||||||||||||||||||
product of the values along a dimension in a boolean | ||||||||||||||||||||||
afError | af_prod (cuComplex *d_dst, unsigned ndims, const unsigned *dims, const cuComplex *d_src, int dim) | |||||||||||||||||||||
product of the values along a dimension in single precision, complex matrix | ||||||||||||||||||||||
afError | af_prod (double *d_dst, unsigned ndims, const unsigned *dims, const double *d_src, int dim) | |||||||||||||||||||||
product of the values along a dimension in double precision matrix | ||||||||||||||||||||||
afError | af_prod (cuDoubleComplex *d_dst, unsigned ndims, const unsigned *dims, const cuDoubleComplex *d_src, int dim) | |||||||||||||||||||||
product of the values along a dimension in double precision, complex matrix | ||||||||||||||||||||||
afError | af_int_S (int *out, float *in, unsigned numel) | |||||||||||||||||||||
afError | af_int_D (int *out, double *in, unsigned numel) | |||||||||||||||||||||
afError | af_S_int (float *out, int *in, unsigned numel) | |||||||||||||||||||||
afError | af_D_int (double *out, int *in, unsigned numel) | |||||||||||||||||||||
array | sum (const array &input, int dim=-1) | |||||||||||||||||||||
sum of the elements along a dimension in matrix | ||||||||||||||||||||||
template<typename ty > | ||||||||||||||||||||||
ty | sum (const array &input) | |||||||||||||||||||||
summation of all elements in array | ||||||||||||||||||||||
array | prod (const array &input, int dim=-1) | |||||||||||||||||||||
product (multiplication) of elements along a dimension in matrix | ||||||||||||||||||||||
template<typename ty > | ||||||||||||||||||||||
ty | prod (const array &input) | |||||||||||||||||||||
product (multiplication) of all elements in array | ||||||||||||||||||||||
array | min (const array &input, int dim=-1) | |||||||||||||||||||||
minimum of the elements along a dimension in matrix | ||||||||||||||||||||||
void | min (array &values, array &indices, const array &input, int dim=-1) | |||||||||||||||||||||
minimum value and index found along dimension | ||||||||||||||||||||||
template<typename ty > | ||||||||||||||||||||||
ty | min (const array &input) | |||||||||||||||||||||
minimum value among all elements in array | ||||||||||||||||||||||
template<typename ty > | ||||||||||||||||||||||
void | min (ty *value, int *index, const array &input) | |||||||||||||||||||||
minimum value and index among all elements in array | ||||||||||||||||||||||
array | max (const array &input, int dim=-1) | |||||||||||||||||||||
maximum of the elements along a dimension in matrix | ||||||||||||||||||||||
void | max (array &values, array &indices, const array &input, int dim=-1) | |||||||||||||||||||||
maximum value and index found along dimension | ||||||||||||||||||||||
template<typename ty > | ||||||||||||||||||||||
ty | max (const array &input) | |||||||||||||||||||||
maximum value among all elements in array | ||||||||||||||||||||||
template<typename ty > | ||||||||||||||||||||||
void | max (ty *value, int *index, const array &input) | |||||||||||||||||||||
maximum value and index among all elements in array | ||||||||||||||||||||||
array | minmax_packed (const array &input, int dim=-1) | |||||||||||||||||||||
minimum and maximum (packed) of the elements along a dimension in matrix | ||||||||||||||||||||||
void | minmax (array &minvalues, array &maxvalues, const array &input, int dim=-1) | |||||||||||||||||||||
minimum and maximum of the elements along a dimension in matrix | ||||||||||||||||||||||
template<typename ty > | ||||||||||||||||||||||
ty | minmax (const array &input) | |||||||||||||||||||||
minimum (out.x ) and maximum (out.y ) values among all elements in array | ||||||||||||||||||||||
array | alltrue (const array &input, int dim=-1) | |||||||||||||||||||||
test if all elements are true (nonzero) along a dimension in input | ||||||||||||||||||||||
template<typename ty > | ||||||||||||||||||||||
ty | alltrue (const array &input) | |||||||||||||||||||||
test if all elements are true (nonzero) in entire array | ||||||||||||||||||||||
array | allfalse (const array &input, int dim=-1) | |||||||||||||||||||||
test if all elements are false (zero) along a dimension in input | ||||||||||||||||||||||
template<typename ty > | ||||||||||||||||||||||
ty | allfalse (const array &input) | |||||||||||||||||||||
test if all elements are false (zero) in entire array | ||||||||||||||||||||||
array | where (const array &input) | |||||||||||||||||||||
indices where nonzero | ||||||||||||||||||||||
void | where (array &row, array &column, const array &input) | |||||||||||||||||||||
row and column indices of nonzero elements in input | ||||||||||||||||||||||
unsigned | count (const array &input) | |||||||||||||||||||||
count nonzero elements in input | ||||||||||||||||||||||
array | segsum (const array &input, const array &keys) | |||||||||||||||||||||
Segmented sum. | ||||||||||||||||||||||
array | accum (const array &input, int dim=-1, af_op_t op=SUM_T, bool isupcast=false) | |||||||||||||||||||||
accumulated sum | ||||||||||||||||||||||
array | avg (const array &input, int dim=-1) | |||||||||||||||||||||
average along a dimension | ||||||||||||||||||||||
template<typename ty > | ||||||||||||||||||||||
ty | avg (const array &input) | |||||||||||||||||||||
average of all elements in array | ||||||||||||||||||||||
array | var (const array &input, bool isbiased=false, int dim=-1) | |||||||||||||||||||||
variance along a dimension | ||||||||||||||||||||||
array | var (const array &input, const array weights, int dim=-1) | |||||||||||||||||||||
weighted variance along a dimension | ||||||||||||||||||||||
template<typename ty > | ||||||||||||||||||||||
ty | var (const array &input, bool isbiased=false) | |||||||||||||||||||||
variance of all elements in array | ||||||||||||||||||||||
template<typename ty > | ||||||||||||||||||||||
ty | var (const array &input, const array weights) | |||||||||||||||||||||
weighted variance of all elements in array | ||||||||||||||||||||||
array | cov (const array &input, bool isbiased=false) | |||||||||||||||||||||
covariance of row observations | ||||||||||||||||||||||
array | cov (const array &X, const array &Y, bool isbiased=false) | |||||||||||||||||||||
covariance between two jointly distributed random variables | ||||||||||||||||||||||
array | std (const array &in, bool isbiased=false, int dim=-1) | |||||||||||||||||||||
standard deviation along a dimension. | ||||||||||||||||||||||
template<typename ty > | ||||||||||||||||||||||
ty | std (const array &input, bool isbiased=false) | |||||||||||||||||||||
standard deviation of all elements in a vector. | ||||||||||||||||||||||
array | median (const array &input, int dim=-1) | |||||||||||||||||||||
median along a dimension | ||||||||||||||||||||||
template<typename ty > | ||||||||||||||||||||||
ty | median (const array &input) | |||||||||||||||||||||
median of all elements in array | ||||||||||||||||||||||
template<typename ty > | ||||||||||||||||||||||
ty | corrcoef (const array &x, const array &y) | |||||||||||||||||||||
Correlation coefficient between vectors x and y . | ||||||||||||||||||||||
Device pointer interface: Verify if any of the elements are non zero. | ||||||||||||||||||||||
| ||||||||||||||||||||||
afError | af_alltrue_vector_S (bool *h_dst, unsigned numel, const float *d_src) | |||||||||||||||||||||
all along single precision vector | ||||||||||||||||||||||
afError | af_alltrue_vector_B (bool *h_dst, unsigned numel, const bool *d_src) | |||||||||||||||||||||
all along boolean vector | ||||||||||||||||||||||
afError | af_alltrue_vector_I (bool *h_dst, unsigned numel, const int *d_src) | |||||||||||||||||||||
all along 32-bit signed integer vector | ||||||||||||||||||||||
afError | af_alltrue_vector_U (bool *h_dst, unsigned numel, const unsigned *d_src) | |||||||||||||||||||||
all along 32-bit unsigned integer vector | ||||||||||||||||||||||
afError | af_alltrue_vector_C (bool *h_dst, unsigned numel, const cuComplex *d_src) | |||||||||||||||||||||
all along single precision, complex vector | ||||||||||||||||||||||
afError | af_alltrue_vector_D (bool *h_dst, unsigned numel, const double *d_src) | |||||||||||||||||||||
all along double precision vector | ||||||||||||||||||||||
afError | af_alltrue_vector_Z (bool *h_dst, unsigned numel, const cuDoubleComplex *d_src) | |||||||||||||||||||||
all along double precision, complex vector | ||||||||||||||||||||||
afError | af_anytrue_vector_S (bool *h_dst, unsigned numel, const float *d_src) | |||||||||||||||||||||
any along single precision vector | ||||||||||||||||||||||
afError | af_anytrue_vector_B (bool *h_dst, unsigned numel, const bool *d_src) | |||||||||||||||||||||
any along boolean vector | ||||||||||||||||||||||
afError | af_anytrue_vector_I (bool *h_dst, unsigned numel, const int *d_src) | |||||||||||||||||||||
any along 32-bit signed integer vector | ||||||||||||||||||||||
afError | af_anytrue_vector_U (bool *h_dst, unsigned numel, const unsigned *d_src) | |||||||||||||||||||||
any along 32-bit unsigned integer vector | ||||||||||||||||||||||
afError | af_anytrue_vector_C (bool *h_dst, unsigned numel, const cuComplex *d_src) | |||||||||||||||||||||
any along single precision, complex vector | ||||||||||||||||||||||
afError | af_anytrue_vector_D (bool *h_dst, unsigned numel, const double *d_src) | |||||||||||||||||||||
any along double precision vector | ||||||||||||||||||||||
afError | af_anytrue_vector_Z (bool *h_dst, unsigned numel, const cuDoubleComplex *d_src) | |||||||||||||||||||||
any along double precision, complex vector | ||||||||||||||||||||||
Device pointer interface: Verify all along a dimension. | ||||||||||||||||||||||
| ||||||||||||||||||||||
afError | af_alltrue_S (bool *d_dst, unsigned ndims, const unsigned *dims, const float *d_src, int dim) | |||||||||||||||||||||
all along a dimension in single precision matrix | ||||||||||||||||||||||
afError | af_alltrue_B (bool *d_dst, unsigned ndims, const unsigned *dims, const bool *d_src, int dim) | |||||||||||||||||||||
all along a dimension in boolean matrix | ||||||||||||||||||||||
afError | af_alltrue_I (bool *d_dst, unsigned ndims, const unsigned *dims, const int *d_src, int dim) | |||||||||||||||||||||
all along a dimension in 32-bit signed integer matrix | ||||||||||||||||||||||
afError | af_alltrue_U (bool *d_dst, unsigned ndims, const unsigned *dims, const unsigned *d_src, int dim) | |||||||||||||||||||||
all along a dimension in 32-bit unsigned integer matrix | ||||||||||||||||||||||
afError | af_alltrue_C (bool *d_dst, unsigned ndims, const unsigned *dims, const cuComplex *d_src, int dim) | |||||||||||||||||||||
all along a dimension in single precision, complex matrix | ||||||||||||||||||||||
afError | af_alltrue_D (bool *d_dst, unsigned ndims, const unsigned *dims, const double *d_src, int dim) | |||||||||||||||||||||
all along a dimension in double precision matrix | ||||||||||||||||||||||
afError | af_alltrue_Z (bool *d_dst, unsigned ndims, const unsigned *dims, const cuDoubleComplex *d_src, int dim) | |||||||||||||||||||||
all along a dimension in double precision, complex matrix | ||||||||||||||||||||||
Device pointer interface: Verify any along a dimension. | ||||||||||||||||||||||
| ||||||||||||||||||||||
afError | af_anytrue_S (bool *d_dst, unsigned ndims, const unsigned *dims, const float *d_src, int dim) | |||||||||||||||||||||
any along a dimension in single precision matrix | ||||||||||||||||||||||
afError | af_anytrue_B (bool *d_dst, unsigned ndims, const unsigned *dims, const bool *d_src, int dim) | |||||||||||||||||||||
any along a dimension in boolean matrix | ||||||||||||||||||||||
afError | af_anytrue_I (bool *d_dst, unsigned ndims, const unsigned *dims, const int *d_src, int dim) | |||||||||||||||||||||
any along a dimension in 32-bit signed integer matrix | ||||||||||||||||||||||
afError | af_anytrue_U (bool *d_dst, unsigned ndims, const unsigned *dims, const unsigned *d_src, int dim) | |||||||||||||||||||||
any along a dimension in 32-bit unsigned integer matrix | ||||||||||||||||||||||
afError | af_anytrue_C (bool *d_dst, unsigned ndims, const unsigned *dims, const cuComplex *d_src, int dim) | |||||||||||||||||||||
any along a dimension in single precision, complex matrix | ||||||||||||||||||||||
afError | af_anytrue_D (bool *d_dst, unsigned ndims, const unsigned *dims, const double *d_src, int dim) | |||||||||||||||||||||
any along a dimension in double precision matrix | ||||||||||||||||||||||
afError | af_anytrue_Z (bool *d_dst, unsigned ndims, const unsigned *dims, const cuDoubleComplex *d_src, int dim) | |||||||||||||||||||||
any along a dimension in double precision, complex matrix | ||||||||||||||||||||||
Device pointer interface: Find the maximum value from the input. | ||||||||||||||||||||||
| ||||||||||||||||||||||
afError | af_max_vector_S (float *h_dst, unsigned numel, const float *d_src) | |||||||||||||||||||||
Maximum value of a single precision vector. | ||||||||||||||||||||||
afError | af_max_vector_B (bool *h_dst, unsigned numel, const bool *d_src) | |||||||||||||||||||||
Maximum value of a boolean vector. | ||||||||||||||||||||||
afError | af_max_vector_I (int *h_dst, unsigned numel, const int *d_src) | |||||||||||||||||||||
Maximum value of a 32-bit signed integer vector. | ||||||||||||||||||||||
afError | af_max_vector_U (unsigned *h_dst, unsigned numel, const unsigned *d_src) | |||||||||||||||||||||
Maximum value of a 32-bit unsigned integer vector. | ||||||||||||||||||||||
afError | af_max_vector_C (cuComplex *h_dst, unsigned numel, const cuComplex *d_src) | |||||||||||||||||||||
Maximum value of a single precision, complex vector. | ||||||||||||||||||||||
afError | af_max_vector_D (double *h_dst, unsigned numel, const double *d_src) | |||||||||||||||||||||
Maximum value of a double precision vector. | ||||||||||||||||||||||
afError | af_max_vector_Z (cuDoubleComplex *h_dst, unsigned numel, const cuDoubleComplex *d_src) | |||||||||||||||||||||
Maximum value of a double precision, complex vector. | ||||||||||||||||||||||
afError | af_imax_vector_S (float *h_dst, float *h_idx, unsigned numel, const float *d_src, bool is_baseone=false) | |||||||||||||||||||||
Indexed maximum value of a single precision vector. | ||||||||||||||||||||||
afError | af_imax_vector_I (int *h_dst, float *h_idx, unsigned numel, const int *d_src, bool is_baseone=false) | |||||||||||||||||||||
Indexed maximum value of a 32-bit signed integer vector. | ||||||||||||||||||||||
afError | af_imax_vector_U (unsigned *h_dst, float *h_idx, unsigned numel, const unsigned *d_src, bool is_baseone=false) | |||||||||||||||||||||
Indexed maximum value of a 32-bit unsigned integer vector. | ||||||||||||||||||||||
afError | af_imax_vector_B (bool *h_dst, float *h_idx, unsigned numel, const bool *d_src, bool is_baseone=false) | |||||||||||||||||||||
Indexed maximum value of a boolean vector. | ||||||||||||||||||||||
afError | af_imax_vector_C (cuComplex *h_dst, float *h_idx, unsigned numel, const cuComplex *d_src, bool is_baseone=false) | |||||||||||||||||||||
Indexed maximum value of a single precision, complex vector. | ||||||||||||||||||||||
afError | af_imax_vector_D (double *h_dst, float *h_idx, unsigned numel, const double *d_src, bool is_baseone=false) | |||||||||||||||||||||
Indexed maximum value of a double precision vector. | ||||||||||||||||||||||
afError | af_imax_vector_Z (cuDoubleComplex *h_dst, float *h_idx, unsigned numel, const cuDoubleComplex *d_src, bool is_baseone=false) | |||||||||||||||||||||
Indexed maximum value of a double precision, complex vector. | ||||||||||||||||||||||
Device pointer interface: Find the maximum value along a dimension. | ||||||||||||||||||||||
| ||||||||||||||||||||||
afError | af_max_S (float *d_dst, unsigned ndims, const unsigned *dims, const float *d_src, int dim) | |||||||||||||||||||||
Maximum value along a dimension in single precision matrix. | ||||||||||||||||||||||
afError | af_max_B (bool *d_dst, unsigned ndims, const unsigned *dims, const bool *d_src, int dim) | |||||||||||||||||||||
Maximum value along a dimension in boolean matrix. | ||||||||||||||||||||||
afError | af_max_I (int *d_dst, unsigned ndims, const unsigned *dims, const int *d_src, int dim) | |||||||||||||||||||||
Maximum value along a dimension in 32-bit signed integer matrix. | ||||||||||||||||||||||
afError | af_max_U (unsigned *d_dst, unsigned ndims, const unsigned *dims, const unsigned *d_src, int dim) | |||||||||||||||||||||
Maximum value along a dimension in 32-bit unsigned integer matrix. | ||||||||||||||||||||||
afError | af_max_C (cuComplex *d_dst, unsigned ndims, const unsigned *dims, const cuComplex *d_src, int dim) | |||||||||||||||||||||
Maximum value along a dimension in single precision, complex matrix. | ||||||||||||||||||||||
afError | af_max_D (double *d_dst, unsigned ndims, const unsigned *dims, const double *d_src, int dim) | |||||||||||||||||||||
Maximum value along a dimension in double precision matrix. | ||||||||||||||||||||||
afError | af_max_Z (cuDoubleComplex *d_dst, unsigned ndims, const unsigned *dims, const cuDoubleComplex *d_src, int dim) | |||||||||||||||||||||
Maximum value along a dimension in double precision, complex matrix. | ||||||||||||||||||||||
afError | af_imax_S (float *d_dst, float *d_idx, unsigned ndims, const unsigned *dims, const float *d_src, int dim, bool is_baseone=false) | |||||||||||||||||||||
Indexed maximum value along a dimension in single precision matrix. | ||||||||||||||||||||||
afError | af_imax_I (int *d_dst, float *d_idx, unsigned ndims, const unsigned *dims, const int *d_src, int dim, bool is_baseone=false) | |||||||||||||||||||||
Indexed maximum value along a dimension in 32-bit signed integer matrix. | ||||||||||||||||||||||
afError | af_imax_U (unsigned *d_dst, float *d_idx, unsigned ndims, const unsigned *dims, const unsigned *d_src, int dim, bool is_baseone=false) | |||||||||||||||||||||
Indexed maximum value along a dimension in 32-bit signed integer matrix. | ||||||||||||||||||||||
afError | af_imax_B (bool *d_dst, float *d_idx, unsigned ndims, const unsigned *dims, const bool *d_src, int dim, bool is_baseone=false) | |||||||||||||||||||||
Indexed maximum value along a dimension in boolean matrix. | ||||||||||||||||||||||
afError | af_imax_C (cuComplex *d_dst, float *d_idx, unsigned ndims, const unsigned *dims, const cuComplex *d_src, int dim, bool is_baseone=false) | |||||||||||||||||||||
Indexed maximum value along a dimension in single precision, cplx matrix. | ||||||||||||||||||||||
afError | af_imax_D (double *d_dst, float *d_idx, unsigned ndims, const unsigned *dims, const double *d_src, int dim, bool is_baseone=false) | |||||||||||||||||||||
Indexed maximum value along a dimension in double precision matrix. | ||||||||||||||||||||||
afError | af_imax_Z (cuDoubleComplex *d_dst, float *d_idx, unsigned ndims, const unsigned *dims, const cuDoubleComplex *d_src, int dim, bool is_baseone=false) | |||||||||||||||||||||
Indexed maximum value along a dimension in double precision, cplx matrix. | ||||||||||||||||||||||
Device pointer interface: Find the minimum value from the input. | ||||||||||||||||||||||
| ||||||||||||||||||||||
afError | af_min_vector_S (float *h_dst, unsigned numel, const float *d_src) | |||||||||||||||||||||
Minimum value of a single precision vector. | ||||||||||||||||||||||
afError | af_min_vector_B (bool *h_dst, unsigned numel, const bool *d_src) | |||||||||||||||||||||
Minimum value of a boolean vector. | ||||||||||||||||||||||
afError | af_min_vector_I (int *h_dst, unsigned numel, const int *d_src) | |||||||||||||||||||||
Minimum value of a 32-bit signed integer vector. | ||||||||||||||||||||||
afError | af_min_vector_U (unsigned *h_dst, unsigned numel, const unsigned *d_src) | |||||||||||||||||||||
Minimum value of a 32-bit unsigned integer vector. | ||||||||||||||||||||||
afError | af_min_vector_C (cuComplex *h_dst, unsigned numel, const cuComplex *d_src) | |||||||||||||||||||||
Minimum value of a single precision, complex vector. | ||||||||||||||||||||||
afError | af_min_vector_D (double *h_dst, unsigned numel, const double *d_src) | |||||||||||||||||||||
Minimum value of a double precision vector. | ||||||||||||||||||||||
afError | af_min_vector_Z (cuDoubleComplex *h_dst, unsigned numel, const cuDoubleComplex *d_src) | |||||||||||||||||||||
Minimum value of a double precision, complex vector. | ||||||||||||||||||||||
afError | af_imin_vector_S (float *h_dst, float *h_idx, unsigned numel, const float *d_src, bool is_baseone=false) | |||||||||||||||||||||
Indexed minimum value of a single precision vector,. | ||||||||||||||||||||||
afError | af_imin_vector_I (int *h_dst, float *h_idx, unsigned numel, const int *d_src, bool is_baseone=false) | |||||||||||||||||||||
Indexed minimum value of a 32-bit signed integer vector,. | ||||||||||||||||||||||
afError | af_imin_vector_U (unsigned *h_dst, float *h_idx, unsigned numel, const unsigned *d_src, bool is_baseone=false) | |||||||||||||||||||||
Indexed minimum value of a 32-bit unsigned integer vector,. | ||||||||||||||||||||||
afError | af_imin_vector_B (bool *h_dst, float *h_idx, unsigned numel, const bool *d_src, bool is_baseone=false) | |||||||||||||||||||||
Indexed minimum value of a boolean vector. | ||||||||||||||||||||||
afError | af_imin_vector_C (cuComplex *h_dst, float *h_idx, unsigned numel, const cuComplex *d_src, bool is_baseone=false) | |||||||||||||||||||||
Indexed minimum value of a single precision, complex vector. | ||||||||||||||||||||||
afError | af_imin_vector_D (double *h_dst, float *h_idx, unsigned numel, const double *d_src, bool is_baseone=false) | |||||||||||||||||||||
Indexed minimum value of a double precision vector. | ||||||||||||||||||||||
afError | af_imin_vector_Z (cuDoubleComplex *h_dst, float *h_idx, unsigned numel, const cuDoubleComplex *d_src, bool is_baseone=false) | |||||||||||||||||||||
Indexed minimum value of a double precision, complex vector. | ||||||||||||||||||||||
Device pointer interface: Find the minimum value along a dimension. | ||||||||||||||||||||||
| ||||||||||||||||||||||
afError | af_min_S (float *d_dst, unsigned ndims, const unsigned *dims, const float *d_src, int dim) | |||||||||||||||||||||
Minimum value along a dimension in single precision matrix. | ||||||||||||||||||||||
afError | af_min_B (bool *d_dst, unsigned ndims, const unsigned *dims, const bool *d_src, int dim) | |||||||||||||||||||||
Minimum value along a dimension in boolean matrix. | ||||||||||||||||||||||
afError | af_min_I (int *d_dst, unsigned ndims, const unsigned *dims, const int *d_src, int dim) | |||||||||||||||||||||
Minimum value along a dimension in 32-bit signed integer matrix. | ||||||||||||||||||||||
afError | af_min_U (unsigned *d_dst, unsigned ndims, const unsigned *dims, const unsigned *d_src, int dim) | |||||||||||||||||||||
Minimum value along a dimension in 32-bit unsigned integer matrix. | ||||||||||||||||||||||
afError | af_min_C (cuComplex *d_dst, unsigned ndims, const unsigned *dims, const cuComplex *d_src, int dim) | |||||||||||||||||||||
Minimum value along a dimension in single precision, complex matrix. | ||||||||||||||||||||||
afError | af_min_D (double *d_dst, unsigned ndims, const unsigned *dims, const double *d_src, int dim) | |||||||||||||||||||||
Minimum value along a dimension in double precision matrix. | ||||||||||||||||||||||
afError | af_min_Z (cuDoubleComplex *d_dst, unsigned ndims, const unsigned *dims, const cuDoubleComplex *d_src, int dim) | |||||||||||||||||||||
Minimum value along a dimension in double precision, complex matrix. | ||||||||||||||||||||||
afError | af_imin_S (float *d_dst, float *d_idx, unsigned ndims, const unsigned *dims, const float *d_src, int dim, bool is_baseone=false) | |||||||||||||||||||||
Indexed minimum value along a dimension in single precision matrix. | ||||||||||||||||||||||
afError | af_imin_I (int *d_dst, float *d_idx, unsigned ndims, const unsigned *dims, const int *d_src, int dim, bool is_baseone=false) | |||||||||||||||||||||
Indexed minimum value along a dimension in 32-bit signed integer matrix. | ||||||||||||||||||||||
afError | af_imin_U (unsigned *d_dst, float *d_idx, unsigned ndims, const unsigned *dims, const unsigned *d_src, int dim, bool is_baseone=false) | |||||||||||||||||||||
Indexed minimum value along a dimension in 32-bit unsigned integer matrix. | ||||||||||||||||||||||
afError | af_imin_B (bool *d_dst, float *d_idx, unsigned ndims, const unsigned *dims, const bool *d_src, int dim, bool is_baseone=false) | |||||||||||||||||||||
Indexed minimum value along a dimension in boolean matrix. | ||||||||||||||||||||||
afError | af_imin_C (cuComplex *d_dst, float *d_idx, unsigned ndims, const unsigned *dims, const cuComplex *d_src, int dim, bool is_baseone=false) | |||||||||||||||||||||
Indexed minimum value along a dimension in single precision, cplx matrix. | ||||||||||||||||||||||
afError | af_imin_D (double *d_dst, float *d_idx, unsigned ndims, const unsigned *dims, const double *d_src, int dim, bool is_baseone=false) | |||||||||||||||||||||
Indexed minimum value along a dimension in double precision matrix. | ||||||||||||||||||||||
afError | af_imin_Z (cuDoubleComplex *d_dst, float *d_idx, unsigned ndims, const unsigned *dims, const cuDoubleComplex *d_src, int dim, bool is_baseone=false) | |||||||||||||||||||||
Indexed minimum value along a dimension in double precision, cplx matrix. | ||||||||||||||||||||||
Device pointer interface: Find the minimum and maximum of a vector | ||||||||||||||||||||||
| ||||||||||||||||||||||
afError | af_minmax_vector_S (float2 *h_dst, unsigned numel, const float *d_src) | |||||||||||||||||||||
Minimum and maximum value of a single precision vector. | ||||||||||||||||||||||
afError | af_minmax_vector_D (double2 *h_dst, unsigned numel, const double *d_src) | |||||||||||||||||||||
Minimum and maximum value of a single precision vector. | ||||||||||||||||||||||
Device pointer interface: Find the minimum and maximum value along a dimension. | ||||||||||||||||||||||
| ||||||||||||||||||||||
afError | af_minmax_S (float2 *d_dst, unsigned ndims, const unsigned *dims, const float *d_src, int dim) | |||||||||||||||||||||
Minimum and maximum value along a dimension in single precision matrix. | ||||||||||||||||||||||
afError | af_minmax_D (double2 *d_dst, unsigned ndims, const unsigned *dims, const double *d_src, int dim) | |||||||||||||||||||||
Minimum and maximum value along a dimension in single precision matrix. | ||||||||||||||||||||||
Device pointer interface: Find the sum of the elements in the input. | ||||||||||||||||||||||
| ||||||||||||||||||||||
afError | af_sum_vector_S (float *h_dst, unsigned numel, const float *d_src) | |||||||||||||||||||||
sum The value of a single precision vector | ||||||||||||||||||||||
afError | af_sum_vector_B (float *h_dst, unsigned numel, const bool *d_src) | |||||||||||||||||||||
sum The value of a boolean vector | ||||||||||||||||||||||
afError | af_sum_vector_I (int *h_dst, unsigned numel, const int *d_src) | |||||||||||||||||||||
sum The value of a 32-bit signed integer vector | ||||||||||||||||||||||
afError | af_sum_vector_U (unsigned *h_dst, unsigned numel, const unsigned *d_src) | |||||||||||||||||||||
sum The value of a 32-bit unsigned integer vector | ||||||||||||||||||||||
afError | af_sum_vector_C (cuComplex *h_dst, unsigned numel, const cuComplex *d_src) | |||||||||||||||||||||
sum The value of a single precision, complex vector | ||||||||||||||||||||||
afError | af_sum_vector_D (double *h_dst, unsigned numel, const double *d_src) | |||||||||||||||||||||
sum The value of a double precision vector | ||||||||||||||||||||||
afError | af_sum_vector_Z (cuDoubleComplex *h_dst, unsigned numel, const cuDoubleComplex *d_src) | |||||||||||||||||||||
sum The value of a double precision, complex vector | ||||||||||||||||||||||
Device pointer interface: Find the sum along a dimension. | ||||||||||||||||||||||
| ||||||||||||||||||||||
afError | af_sum_S (float *d_dst, unsigned ndims, const unsigned *dims, const float *d_src, int dim) | |||||||||||||||||||||
sum the value along a dimension in single precision matrix | ||||||||||||||||||||||
afError | af_sum_B (float *d_dst, unsigned ndims, const unsigned *dims, const bool *d_src, int dim) | |||||||||||||||||||||
sum the value along a dimension in boolean matrix | ||||||||||||||||||||||
afError | af_sum_I (int *d_dst, unsigned ndims, const unsigned *dims, const int *d_src, int dim) | |||||||||||||||||||||
sum the value along a dimension in 32-bit signed integer matrix | ||||||||||||||||||||||
afError | af_sum_U (unsigned *d_dst, unsigned ndims, const unsigned *dims, const unsigned *d_src, int dim) | |||||||||||||||||||||
sum the value along a dimension in 32-bit unsigned integer matrix | ||||||||||||||||||||||
afError | af_sum_C (cuComplex *d_dst, unsigned ndims, const unsigned *dims, const cuComplex *d_src, int dim) | |||||||||||||||||||||
sum the value along a dimension in single precision, complex matrix | ||||||||||||||||||||||
afError | af_sum_D (double *d_dst, unsigned ndims, const unsigned *dims, const double *d_src, int dim) | |||||||||||||||||||||
sum the value along a dimension in double precision matrix | ||||||||||||||||||||||
afError | af_sum_Z (cuDoubleComplex *d_dst, unsigned ndims, const unsigned *dims, const cuDoubleComplex *d_src, int dim) | |||||||||||||||||||||
sum the value along a dimension in double precision, complex matrix | ||||||||||||||||||||||
Device pointer interface: Find the product of the input elements. | ||||||||||||||||||||||
| ||||||||||||||||||||||
afError | af_prod_vector_S (float *h_dst, unsigned numel, const float *d_src) | |||||||||||||||||||||
product of the values of a single precision vector | ||||||||||||||||||||||
afError | af_prod_vector_I (int *h_dst, unsigned numel, const int *d_src) | |||||||||||||||||||||
product of the values of a 32-bit signed integer vector | ||||||||||||||||||||||
afError | af_prod_vector_U (unsigned *h_dst, unsigned numel, const unsigned *d_src) | |||||||||||||||||||||
product of the values of a 32-bit unsigned integer vector | ||||||||||||||||||||||
afError | af_prod_vector_B (float *h_dst, unsigned numel, const bool *d_src) | |||||||||||||||||||||
product of the values of a boolean vector | ||||||||||||||||||||||
afError | af_prod_vector_C (cuComplex *h_dst, unsigned numel, const cuComplex *d_src) | |||||||||||||||||||||
product of the values of a single precision, complex vector | ||||||||||||||||||||||
afError | af_prod_vector_D (double *h_dst, unsigned numel, const double *d_src) | |||||||||||||||||||||
product of the values of a double precision vector | ||||||||||||||||||||||
afError | af_prod_vector_Z (cuDoubleComplex *h_dst, unsigned numel, const cuDoubleComplex *d_src) | |||||||||||||||||||||
product of the values of a double precision, complex vector | ||||||||||||||||||||||
Device pointer interface: Find the product along a dimension. | ||||||||||||||||||||||
| ||||||||||||||||||||||
afError | af_prod_S (float *d_dst, unsigned ndims, const unsigned *dims, const float *d_src, int dim) | |||||||||||||||||||||
product of the values along a dimension in single precision matrix | ||||||||||||||||||||||
afError | af_prod_I (int *d_dst, unsigned ndims, const unsigned *dims, const int *d_src, int dim) | |||||||||||||||||||||
product of the value alongs a dimension in 32-bit signed integer matrix | ||||||||||||||||||||||
afError | af_prod_U (unsigned *d_dst, unsigned ndims, const unsigned *dims, const unsigned *d_src, int dim) | |||||||||||||||||||||
product of the value alongs a dimension in 32-bit unsigned integer matrix | ||||||||||||||||||||||
afError | af_prod_B (float *d_dst, unsigned ndims, const unsigned *dims, const bool *d_src, int dim) | |||||||||||||||||||||
product of the value alongs a dimension in boolean matrix | ||||||||||||||||||||||
afError | af_prod_C (cuComplex *d_dst, unsigned ndims, const unsigned *dims, const cuComplex *d_src, int dim) | |||||||||||||||||||||
product of the values along a dimension in single precision, complex matrix | ||||||||||||||||||||||
afError | af_prod_D (double *d_dst, unsigned ndims, const unsigned *dims, const double *d_src, int dim) | |||||||||||||||||||||
product of the values along a dimension in double precision matrix | ||||||||||||||||||||||
afError | af_prod_Z (cuDoubleComplex *d_dst, unsigned ndims, const unsigned *dims, const cuDoubleComplex *d_src, int dim) | |||||||||||||||||||||
product of the values along a dimension in double precision, complex matrix | ||||||||||||||||||||||
Device pointer interface: Find the number of non zero elements. | ||||||||||||||||||||||
| ||||||||||||||||||||||
afError | af_nnz_S (unsigned *count, unsigned numel, const float *mat, unsigned batch) | |||||||||||||||||||||
Number of non zero elements in a single precision stream. | ||||||||||||||||||||||
afError | af_nnz_B (unsigned *count, unsigned numel, const bool *mat, unsigned batch) | |||||||||||||||||||||
Number of non zero elements in a boolean (unsigned char) stream. | ||||||||||||||||||||||
afError | af_nnz_D (unsigned *count, unsigned numel, const double *mat, unsigned batch) | |||||||||||||||||||||
Number of non zero elements in a double precision stream. | ||||||||||||||||||||||
afError | af_nnz_vector_S (unsigned *count, unsigned numel, const float *mat) | |||||||||||||||||||||
Number of non zero elements in a single precision stream. | ||||||||||||||||||||||
afError | af_nnz_vector_B (unsigned *count, unsigned numel, const bool *mat) | |||||||||||||||||||||
Number of non zero elements in a boolean (unsigned char) stream. | ||||||||||||||||||||||
afError | af_nnz_vector_D (unsigned *count, unsigned numel, const double *mat) | |||||||||||||||||||||
Number of non zero elements in a double precision stream. | ||||||||||||||||||||||
Device pointer interface: Inclusive sum | ||||||||||||||||||||||
| ||||||||||||||||||||||
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. | ||||||||||||||||||||||
Device pointer interface: find non zero values in a vector | ||||||||||||||||||||||
Find nonzero values in a vector. Return linear indices (zero- or one-based).
| ||||||||||||||||||||||
afError | af_where_BS (unsigned *n_out, float **d_indices, unsigned n_in, const bool *d_X, bool is_baseone=false) | |||||||||||||||||||||
Boolean (8-bit) find, single-precision indexing. | ||||||||||||||||||||||
afError | af_where_BD (unsigned *n_out, double **d_indices, unsigned n_in, const bool *d_X, bool is_baseone=false) | |||||||||||||||||||||
Boolean (8-bit) find, double-precision indexing. | ||||||||||||||||||||||
afError | af_where_BU (unsigned *n_out, unsigned **d_indices, unsigned n_in, const bool *d_X, bool is_baseone=false) | |||||||||||||||||||||
Boolean (8-bit) find, integer indexing. | ||||||||||||||||||||||
afError | af_where_SS (unsigned *n_out, float **d_indices, unsigned n_in, const float *d_X, bool is_baseone=false) | |||||||||||||||||||||
Single-precision find, single-precision indexing. | ||||||||||||||||||||||
afError | af_where_SD (unsigned *n_out, double **d_indices, unsigned n_in, const float *d_X, bool is_baseone=false) | |||||||||||||||||||||
Single-precision find, double-precision indexing. | ||||||||||||||||||||||
afError | af_where_DD (unsigned *n_out, double **d_indices, unsigned n_in, const double *d_X, bool is_baseone=false) | |||||||||||||||||||||
Double-precision find. | ||||||||||||||||||||||
afError | af_where_UU (unsigned *n_out, unsigned **d_indices, unsigned n_in, const unsigned *d_X, bool is_baseone=false) | |||||||||||||||||||||
Unsigned integer find. | ||||||||||||||||||||||
afError | af_where_II (unsigned *n_out, int **d_indices, unsigned n_in, const int *d_X, bool is_baseone=false) | |||||||||||||||||||||
Integer find. | ||||||||||||||||||||||
Device pointer interface: find non zero values in a matrix | ||||||||||||||||||||||
Find nonzero values in a matrix. Return 2D indices (zero or one-based).
| ||||||||||||||||||||||
afError | af_where2_BS (unsigned *n_out, float **d_I, float **d_J, unsigned n_in, unsigned rows, const bool *d_X, bool is_baseone=false) | |||||||||||||||||||||
Boolean (8-bit) find, single-precision indexing. | ||||||||||||||||||||||
afError | af_where2_BD (unsigned *n_out, double **d_I, double **d_J, unsigned n_in, unsigned rows, const bool *d_X, bool is_baseone=false) | |||||||||||||||||||||
Boolean (8-bit) find, double-precision indexing. | ||||||||||||||||||||||
afError | af_where2_SS (unsigned *n_out, float **d_I, float **d_J, unsigned n_in, unsigned rows, const float *d_X, bool is_baseone=false) | |||||||||||||||||||||
Single-precision find, single-precision indexing. | ||||||||||||||||||||||
afError | af_where2_SD (unsigned *n_out, double **d_I, double **d_J, unsigned n_in, unsigned rows, const float *d_X, bool is_baseone=false) | |||||||||||||||||||||
Single-precision find, double-precision indexing. | ||||||||||||||||||||||
afError | af_where2_DD (unsigned *n_out, double **d_I, double **d_J, unsigned n_in, unsigned rows, const double *d_X, bool is_baseone=false) | |||||||||||||||||||||
Double-precision find. | ||||||||||||||||||||||
afError | af_where2_UU (unsigned *n_out, unsigned **d_I, unsigned **d_J, unsigned n_in, unsigned rows, const unsigned *d_X, bool is_baseone=false) | |||||||||||||||||||||
Unsigned integer find. | ||||||||||||||||||||||
afError | af_where2_II (unsigned *n_out, int **d_I, int **d_J, unsigned n_in, unsigned rows, const int *d_X, bool is_baseone=false) | |||||||||||||||||||||
Integer find. | ||||||||||||||||||||||
Device pointer interface: Random number generators (uniform distribution) | ||||||||||||||||||||||
Sample from a uniform pseudorandom variable
| ||||||||||||||||||||||
afError | af_randu_S (float *d_Y, unsigned numel) | |||||||||||||||||||||
Single-precision uniform random variable. | ||||||||||||||||||||||
afError | af_randu_D (double *d_Y, unsigned numel) | |||||||||||||||||||||
Double-precision uniform random variable. | ||||||||||||||||||||||
afError | af_randu_C (cuComplex *d_Y, unsigned numel) | |||||||||||||||||||||
Complex single-precision uniform random variable. | ||||||||||||||||||||||
afError | af_randu_Z (cuDoubleComplex *d_Y, unsigned numel) | |||||||||||||||||||||
Complex double-precision uniform random variable. | ||||||||||||||||||||||
afError | af_randu_setseed (unsigned long long seed) | |||||||||||||||||||||
Set the seed for uniform random variable. | ||||||||||||||||||||||
Device pointer interface: Random number generators (normal distribution) | ||||||||||||||||||||||
Sample from a normal pseudorandom variable
| ||||||||||||||||||||||
afError | af_randn_S (float *d_Y, unsigned numel) | |||||||||||||||||||||
Single-precision normal random variable. | ||||||||||||||||||||||
afError | af_randn_D (double *d_Y, unsigned numel) | |||||||||||||||||||||
Double-precision normal random variable. | ||||||||||||||||||||||
afError | af_randn_C (cuComplex *d_Y, unsigned numel) | |||||||||||||||||||||
Complex single-precision normal random variable. | ||||||||||||||||||||||
afError | af_randn_Z (cuDoubleComplex *d_Y, unsigned numel) | |||||||||||||||||||||
Complex double-precision normal random variable. | ||||||||||||||||||||||
afError | af_randn_setseed (unsigned long long seed) | |||||||||||||||||||||
Set the seed for normal random variable. |
#define IS_BASEONE =false |
afError all_stride_r | ( | unsigned | nout, |
unsigned | numel, | ||
unsigned | stride, | ||
unsigned | batch, | ||
unsigned | outer_stride, | ||
unsigned | outer_batch, | ||
void * | d_dst, | ||
unsigned | cls_dst, | ||
const void * | d_src, | ||
unsigned | cls_src, | ||
float * | d_idx, | ||
bool | cplx, | ||
bool | idx_out, | ||
bool | device_result | ||
) |
DEPRACATED, will be missing in future releases
afError any_stride_r | ( | unsigned | nout, |
unsigned | numel, | ||
unsigned | stride, | ||
unsigned | batch, | ||
unsigned | outer_stride, | ||
unsigned | outer_batch, | ||
void * | d_dst, | ||
unsigned | cls_dst, | ||
const void * | d_src, | ||
unsigned | cls_src, | ||
float * | d_idx, | ||
bool | cplx, | ||
bool | idx_out, | ||
bool | device_result | ||
) |
afError min_stride_r | ( | unsigned | nout, |
unsigned | numel, | ||
unsigned | stride, | ||
unsigned | batch, | ||
unsigned | outer_stride, | ||
unsigned | outer_batch, | ||
void * | d_dst, | ||
unsigned | cls_dst, | ||
const void * | d_src, | ||
unsigned | cls_src, | ||
float * | d_idx, | ||
bool | cplx, | ||
bool | idx_out, | ||
bool | device_result | ||
) |
afError max_stride_r | ( | unsigned | nout, |
unsigned | numel, | ||
unsigned | stride, | ||
unsigned | batch, | ||
unsigned | outer_stride, | ||
unsigned | outer_batch, | ||
void * | d_dst, | ||
unsigned | cls_dst, | ||
const void * | d_src, | ||
unsigned | cls_src, | ||
float * | d_idx, | ||
bool | cplx, | ||
bool | idx_out, | ||
bool | device_result | ||
) |
afError sum_stride_r | ( | unsigned | nout, |
unsigned | numel, | ||
unsigned | stride, | ||
unsigned | batch, | ||
unsigned | outer_stride, | ||
unsigned | outer_batch, | ||
void * | d_dst, | ||
unsigned | cls_dst, | ||
const void * | d_src, | ||
unsigned | cls_src, | ||
float * | d_idx, | ||
bool | cplx, | ||
bool | idx_out, | ||
bool | device_result | ||
) |
afError af_alltrue_vector | ( | bool * | h_dst, |
unsigned | numel, | ||
const float * | d_src | ||
) |
all along single precision vector
afError af_alltrue_vector | ( | bool * | h_dst, |
unsigned | numel, | ||
const bool * | d_src | ||
) |
all along boolean vector
afError af_alltrue_vector | ( | bool * | h_dst, |
unsigned | numel, | ||
const int * | d_src | ||
) |
all along 32-bit signed integer vector
afError af_alltrue_vector | ( | bool * | h_dst, |
unsigned | numel, | ||
const unsigned * | d_src | ||
) |
all along 32-bit unsigned integer vector
afError af_alltrue_vector | ( | bool * | h_dst, |
unsigned | numel, | ||
const cuComplex * | d_src | ||
) |
all along single precision, complex vector
afError af_alltrue_vector | ( | bool * | h_dst, |
unsigned | numel, | ||
const double * | d_src | ||
) |
all along double precision vector
afError af_alltrue_vector | ( | bool * | h_dst, |
unsigned | numel, | ||
const cuDoubleComplex * | d_src | ||
) |
all along double precision, complex vector
afError af_alltrue | ( | bool * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const float * | d_src, | ||
int | dim | ||
) |
all along a dimension in single precision matrix
afError af_alltrue | ( | bool * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const bool * | d_src, | ||
int | dim | ||
) |
all along a dimension in boolean matrix
afError af_alltrue | ( | bool * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const int * | d_src, | ||
int | dim | ||
) |
all along a dimension in 32-bit signed integer matrix
afError af_alltrue | ( | bool * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const unsigned * | d_src, | ||
int | dim | ||
) |
all along a dimension in 32-bit unsigned integer matrix
afError af_alltrue | ( | bool * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const cuComplex * | d_src, | ||
int | dim | ||
) |
all along a dimension in single precision, complex matrix
afError af_alltrue | ( | bool * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const double * | d_src, | ||
int | dim | ||
) |
all along a dimension in double precision matrix
afError af_alltrue | ( | bool * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const cuDoubleComplex * | d_src, | ||
int | dim | ||
) |
all along a dimension in double precision, complex matrix
afError af_anytrue_vector | ( | bool * | h_dst, |
unsigned | numel, | ||
const float * | d_src | ||
) |
any along single precision vector
afError af_anytrue_vector | ( | bool * | h_dst, |
unsigned | numel, | ||
const bool * | d_src | ||
) |
any along boolean vector
afError af_anytrue_vector | ( | bool * | h_dst, |
unsigned | numel, | ||
const int * | d_src | ||
) |
any along 32-bit signed integer vector
afError af_anytrue_vector | ( | bool * | h_dst, |
unsigned | numel, | ||
const unsigned * | d_src | ||
) |
any along 32-bit unsigned integer vector
afError af_anytrue_vector | ( | bool * | h_dst, |
unsigned | numel, | ||
const cuComplex * | d_src | ||
) |
any along single precision, complex vector
afError af_anytrue_vector | ( | bool * | h_dst, |
unsigned | numel, | ||
const double * | d_src | ||
) |
any along double precision vector
afError af_anytrue_vector | ( | bool * | h_dst, |
unsigned | numel, | ||
const cuDoubleComplex * | d_src | ||
) |
any along double precision, complex vector
afError af_anytrue | ( | bool * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const float * | d_src, | ||
int | dim | ||
) |
any along a dimension in single precision matrix
afError af_anytrue | ( | bool * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const bool * | d_src, | ||
int | dim | ||
) |
any along a dimension in boolean matrix
afError af_anytrue | ( | bool * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const int * | d_src, | ||
int | dim | ||
) |
any along a dimension in 32-bit signed integer matrix
afError af_anytrue | ( | bool * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const unsigned * | d_src, | ||
int | dim | ||
) |
any along a dimension in 32-bit unsigned integer matrix
afError af_anytrue | ( | bool * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const cuComplex * | d_src, | ||
int | dim | ||
) |
any along a dimension in single precision, complex matrix
afError af_anytrue | ( | bool * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const double * | d_src, | ||
int | dim | ||
) |
any along a dimension in double precision matrix
afError af_anytrue | ( | bool * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const cuDoubleComplex * | d_src, | ||
int | dim | ||
) |
any along a dimension in double precision, complex matrix
afError af_max_vector | ( | float * | h_dst, |
unsigned | numel, | ||
const float * | d_src | ||
) |
Maximum value of a single precision vector.
afError af_max_vector | ( | bool * | h_dst, |
unsigned | numel, | ||
const bool * | d_src | ||
) |
Maximum value of a boolean vector.
afError af_max_vector | ( | int * | h_dst, |
unsigned | numel, | ||
const int * | d_src | ||
) |
Maximum value of a 32-bit signed integer vector.
afError af_max_vector | ( | unsigned * | h_dst, |
unsigned | numel, | ||
const unsigned * | d_src | ||
) |
Maximum value of a 32-bit unsigned integer vector.
afError af_max_vector | ( | cuComplex * | h_dst, |
unsigned | numel, | ||
const cuComplex * | d_src | ||
) |
Maximum value of a single precision, complex vector.
afError af_max_vector | ( | double * | h_dst, |
unsigned | numel, | ||
const double * | d_src | ||
) |
Maximum value of a double precision vector.
afError af_max_vector | ( | cuDoubleComplex * | h_dst, |
unsigned | numel, | ||
const cuDoubleComplex * | d_src | ||
) |
Maximum value of a double precision, complex vector.
afError af_imax_vector | ( | float * | h_dst, |
float * | h_idx, | ||
unsigned | numel, | ||
const float * | d_src, | ||
bool | is_baseone = false |
||
) |
Maximum value of a single precision vector.
afError af_imax_vector | ( | int * | h_dst, |
float * | h_idx, | ||
unsigned | numel, | ||
const int * | d_src, | ||
bool | is_baseone = false |
||
) |
Maximum value of a 32-bit signed integer vector.
afError af_imax_vector | ( | unsigned * | h_dst, |
float * | h_idx, | ||
unsigned | numel, | ||
const unsigned * | d_src, | ||
bool | is_baseone = false |
||
) |
Maximum value of a 32-bit unsigned integer vector.
afError af_imax_vector | ( | bool * | h_dst, |
float * | h_idx, | ||
unsigned | numel, | ||
const bool * | d_src, | ||
bool | is_baseone = false |
||
) |
Maximum value of a boolean vector.
afError af_imax_vector | ( | cuComplex * | h_dst, |
float * | h_idx, | ||
unsigned | numel, | ||
const cuComplex * | d_src, | ||
bool | is_baseone = false |
||
) |
Maximum value of a single precision, complex vector.
afError af_imax_vector | ( | double * | h_dst, |
float * | h_idx, | ||
unsigned | numel, | ||
const double * | d_src, | ||
bool | is_baseone = false |
||
) |
Maximum value of a double precision vector.
afError af_imax_vector | ( | cuDoubleComplex * | h_dst, |
float * | h_idx, | ||
unsigned | numel, | ||
const cuDoubleComplex * | d_src, | ||
bool | is_baseone = false |
||
) |
Maximum value of a double precision, complex vector.
afError af_max | ( | float * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const float * | d_src, | ||
int | dim | ||
) |
Maximum value along a dimension in single precision matrix.
afError af_max | ( | bool * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const bool * | d_src, | ||
int | dim | ||
) |
Maximum value along a dimension in boolean matrix.
afError af_max | ( | int * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const int * | d_src, | ||
int | dim | ||
) |
Maximum value along a dimension in 32-bit signed integer matrix.
afError af_max | ( | unsigned * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const unsigned * | d_src, | ||
int | dim | ||
) |
Maximum value along a dimension in 32-bit unsigned integer matrix.
afError af_max | ( | cuComplex * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const cuComplex * | d_src, | ||
int | dim | ||
) |
Maximum value along a dimension in single precision, complex matrix.
afError af_max | ( | double * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const double * | d_src, | ||
int | dim | ||
) |
Maximum value along a dimension in double precision matrix.
afError af_max | ( | cuDoubleComplex * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const cuDoubleComplex * | d_src, | ||
int | dim | ||
) |
Maximum value along a dimension in double precision, complex matrix.
afError af_imax | ( | float * | d_dst, |
float * | d_idx, | ||
unsigned | ndims, | ||
const unsigned * | dims, | ||
const float * | d_src, | ||
int | dim, | ||
bool | is_baseone = false |
||
) |
Maximum value along a dimension in single precision matrix.
afError af_imax | ( | int * | d_dst, |
float * | d_idx, | ||
unsigned | ndims, | ||
const unsigned * | dims, | ||
const int * | d_src, | ||
int | dim, | ||
bool | is_baseone = false |
||
) |
Maximum value along a dimension in 32-bit signed integer matrix.
afError af_imax | ( | unsigned * | d_dst, |
float * | d_idx, | ||
unsigned | ndims, | ||
const unsigned * | dims, | ||
const unsigned * | d_src, | ||
int | dim, | ||
bool | is_baseone = false |
||
) |
Maximum value along a dimension in 32-bit unsigned integer matrix.
afError af_imax | ( | bool * | d_dst, |
float * | d_idx, | ||
unsigned | ndims, | ||
const unsigned * | dims, | ||
const bool * | d_src, | ||
int | dim, | ||
bool | is_baseone = false |
||
) |
Maximum value along a dimension in boolean matrix.
afError af_imax | ( | cuComplex * | d_dst, |
float * | d_idx, | ||
unsigned | ndims, | ||
const unsigned * | dims, | ||
const cuComplex * | d_src, | ||
int | dim, | ||
bool | is_baseone = false |
||
) |
Maximum value along a dimension in single precision, complex matrix.
afError af_imax | ( | double * | d_dst, |
float * | d_idx, | ||
unsigned | ndims, | ||
const unsigned * | dims, | ||
const double * | d_src, | ||
int | dim, | ||
bool | is_baseone = false |
||
) |
Maximum value along a dimension in double precision matrix.
afError af_imax | ( | cuDoubleComplex * | d_dst, |
float * | d_idx, | ||
unsigned | ndims, | ||
const unsigned * | dims, | ||
const cuDoubleComplex * | d_src, | ||
int | dim, | ||
bool | is_baseone = false |
||
) |
Maximum value along a dimension in double precision, complex matrix.
afError af_min_vector | ( | float * | h_dst, |
unsigned | numel, | ||
const float * | d_src | ||
) |
Minimum value of a single precision vector.
afError af_min_vector | ( | bool * | h_dst, |
unsigned | numel, | ||
const bool * | d_src | ||
) |
Minimum value of a boolean vector.
afError af_min_vector | ( | int * | h_dst, |
unsigned | numel, | ||
const int * | d_src | ||
) |
Minimum value of a 32-bit signed integer vector.
afError af_min_vector | ( | unsigned * | h_dst, |
unsigned | numel, | ||
const unsigned * | d_src | ||
) |
Minimum value of a 32-bit unsigned integer vector.
afError af_min_vector | ( | cuComplex * | h_dst, |
unsigned | numel, | ||
const cuComplex * | d_src | ||
) |
Minimum value of a single precision, complex vector.
afError af_min_vector | ( | double * | h_dst, |
unsigned | numel, | ||
const double * | d_src | ||
) |
Minimum value of a double precision vector.
afError af_min_vector | ( | cuDoubleComplex * | h_dst, |
unsigned | numel, | ||
const cuDoubleComplex * | d_src | ||
) |
Minimum value of a double precision, complex vector.
afError af_imin_vector | ( | float * | h_dst, |
float * | h_idx, | ||
unsigned | numel, | ||
const float * | d_src, | ||
bool | is_baseone = false |
||
) |
Minimum value of a single precision vector.
afError af_imin_vector | ( | int * | h_dst, |
float * | h_idx, | ||
unsigned | numel, | ||
const int * | d_src, | ||
bool | is_baseone = false |
||
) |
Minimum value of a 32-bit signed integer vector.
afError af_imin_vector | ( | unsigned * | h_dst, |
float * | h_idx, | ||
unsigned | numel, | ||
const unsigned * | d_src, | ||
bool | is_baseone = false |
||
) |
Minimum value of a 32-bit unsigned integer vector.
afError af_imin_vector | ( | bool * | h_dst, |
float * | h_idx, | ||
unsigned | numel, | ||
const bool * | d_src, | ||
bool | is_baseone = false |
||
) |
Minimum value of a boolean vector.
afError af_imin_vector | ( | cuComplex * | h_dst, |
float * | h_idx, | ||
unsigned | numel, | ||
const cuComplex * | d_src, | ||
bool | is_baseone = false |
||
) |
Minimum value of a single precision, complex vector.
afError af_imin_vector | ( | double * | h_dst, |
float * | h_idx, | ||
unsigned | numel, | ||
const double * | d_src, | ||
bool | is_baseone = false |
||
) |
Minimum value of a double precision vector.
afError af_imin_vector | ( | cuDoubleComplex * | h_dst, |
float * | h_idx, | ||
unsigned | numel, | ||
const cuDoubleComplex * | d_src, | ||
bool | is_baseone = false |
||
) |
Minimum value of a double precision, complex vector.
afError af_min | ( | float * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const float * | d_src, | ||
int | dim | ||
) |
Minimum value along a dimension in single precision matrix.
afError af_min | ( | bool * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const bool * | d_src, | ||
int | dim | ||
) |
Minimum value along a dimension in boolean matrix.
afError af_min | ( | int * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const int * | d_src, | ||
int | dim | ||
) |
Minimum value along a dimension in 32-bit signed integer matrix.
afError af_min | ( | unsigned * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const unsigned * | d_src, | ||
int | dim | ||
) |
Minimum value along a dimension in 32-bit unsigned integer matrix.
afError af_min | ( | cuComplex * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const cuComplex * | d_src, | ||
int | dim | ||
) |
Minimum value along a dimension in single precision, complex matrix.
afError af_min | ( | double * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const double * | d_src, | ||
int | dim | ||
) |
Minimum value along a dimension in double precision matrix.
afError af_min | ( | cuDoubleComplex * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const cuDoubleComplex * | d_src, | ||
int | dim | ||
) |
Minimum value along a dimension in double precision, complex matrix.
afError af_imin | ( | float * | d_dst, |
float * | d_idx, | ||
unsigned | ndims, | ||
const unsigned * | dims, | ||
const float * | d_src, | ||
int | dim, | ||
bool | is_baseone = false |
||
) |
Minimum value along a dimension in single precision matrix.
afError af_imin | ( | int * | d_dst, |
float * | d_idx, | ||
unsigned | ndims, | ||
const unsigned * | dims, | ||
const int * | d_src, | ||
int | dim, | ||
bool | is_baseone = false |
||
) |
Minimum value along a dimension in 32-bit signed integer matrix.
afError af_imin | ( | unsigned * | d_dst, |
float * | d_idx, | ||
unsigned | ndims, | ||
const unsigned * | dims, | ||
const unsigned * | d_src, | ||
int | dim, | ||
bool | is_baseone = false |
||
) |
Minimum value along a dimension in 32-bit unsigned integer matrix.
afError af_imin | ( | bool * | d_dst, |
float * | d_idx, | ||
unsigned | ndims, | ||
const unsigned * | dims, | ||
const bool * | d_src, | ||
int | dim, | ||
bool | is_baseone = false |
||
) |
Minimum value along a dimension in boolean matrix.
afError af_imin | ( | cuComplex * | d_dst, |
float * | d_idx, | ||
unsigned | ndims, | ||
const unsigned * | dims, | ||
const cuComplex * | d_src, | ||
int | dim, | ||
bool | is_baseone = false |
||
) |
Minimum value along a dimension in single precision, complex matrix.
afError af_imin | ( | double * | d_dst, |
float * | d_idx, | ||
unsigned | ndims, | ||
const unsigned * | dims, | ||
const double * | d_src, | ||
int | dim, | ||
bool | is_baseone = false |
||
) |
Minimum value along a dimension in double precision matrix.
afError af_imin | ( | cuDoubleComplex * | d_dst, |
float * | d_idx, | ||
unsigned | ndims, | ||
const unsigned * | dims, | ||
const cuDoubleComplex * | d_src, | ||
int | dim, | ||
bool | is_baseone = false |
||
) |
Minimum value along a dimension in double precision, complex matrix.
afError af_minmax_vector | ( | float2 * | h_dst, |
unsigned | numel, | ||
const float * | d_src | ||
) |
Minimum and maximum value of a single precision vector.
afError af_minmax | ( | float2 * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const float * | d_src, | ||
int | dim | ||
) |
Minimum and maximum value along a dimension in single precision matrix.
afError af_minmax_vector | ( | double2 * | h_dst, |
unsigned | numel, | ||
const double * | d_src | ||
) |
Minimum and maximum value of a single precision vector.
afError af_minmax | ( | double2 * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const double * | d_src, | ||
int | dim | ||
) |
Minimum and maximum value along a dimension in single precision matrix.
afError af_sum_vector | ( | float * | h_dst, |
unsigned | numel, | ||
const float * | d_src | ||
) |
sum The value of a single precision vector
afError af_sum_vector | ( | float * | h_dst, |
unsigned | numel, | ||
const bool * | d_src | ||
) |
sum The value of a boolean vector
afError af_sum_vector | ( | int * | h_dst, |
unsigned | numel, | ||
const int * | d_src | ||
) |
sum The value of a 32-bit signed integer vector
afError af_sum_vector | ( | unsigned * | h_dst, |
unsigned | numel, | ||
const unsigned * | d_src | ||
) |
sum The value of a 32-bit unsigned integer vector
afError af_sum_vector | ( | cuComplex * | h_dst, |
unsigned | numel, | ||
const cuComplex * | d_src | ||
) |
sum The value of a single precision, complex vector
afError af_sum_vector | ( | double * | h_dst, |
unsigned | numel, | ||
const double * | d_src | ||
) |
sum The value of a double precision vector
afError af_sum_vector | ( | cuDoubleComplex * | h_dst, |
unsigned | numel, | ||
const cuDoubleComplex * | d_src | ||
) |
sum The value of a double precision, complex vector
afError af_sum | ( | float * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const float * | d_src, | ||
int | dim | ||
) |
sum the value along a dimension in single precision matrix
afError af_sum | ( | float * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const bool * | d_src, | ||
int | dim | ||
) |
sum the value along a dimension in boolean matrix
afError af_sum | ( | int * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const int * | d_src, | ||
int | dim | ||
) |
sum the value along a dimension in 32-bit signed integer matrix
afError af_sum | ( | unsigned * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const unsigned * | d_src, | ||
int | dim | ||
) |
sum the value along a dimension in 32-bit unsigned integer matrix
afError af_sum | ( | cuComplex * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const cuComplex * | d_src, | ||
int | dim | ||
) |
sum the value along a dimension in single precision, complex matrix
afError af_sum | ( | double * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const double * | d_src, | ||
int | dim | ||
) |
sum the value along a dimension in double precision matrix
afError af_sum | ( | cuDoubleComplex * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const cuDoubleComplex * | d_src, | ||
int | dim | ||
) |
sum the value along a dimension in double precision, complex matrix
afError af_prod_vector | ( | float * | h_dst, |
unsigned | numel, | ||
const float * | d_src | ||
) |
product of the values of a single precision vector
afError af_prod_vector | ( | int * | h_dst, |
unsigned | numel, | ||
const int * | d_src | ||
) |
product of the values of a 32-bit signed integer vector
afError af_prod_vector | ( | unsigned * | h_dst, |
unsigned | numel, | ||
const unsigned * | d_src | ||
) |
product of the values of a 32-bit unsigned integer vector
afError af_prod_vector | ( | float * | h_dst, |
unsigned | numel, | ||
const bool * | d_src | ||
) |
product of the values of a boolean vector
afError af_prod_vector | ( | cuComplex * | h_dst, |
unsigned | numel, | ||
const cuComplex * | d_src | ||
) |
product of the values of a single precision, complex vector
afError af_prod_vector | ( | double * | h_dst, |
unsigned | numel, | ||
const double * | d_src | ||
) |
product of the values of a double precision vector
afError af_prod_vector | ( | cuDoubleComplex * | h_dst, |
unsigned | numel, | ||
const cuDoubleComplex * | d_src | ||
) |
product of the values of a double precision, complex vector
afError af_prod | ( | float * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const float * | d_src, | ||
int | dim | ||
) |
product of the values along a dimension in single precision matrix
afError af_prod | ( | int * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const int * | d_src, | ||
int | dim | ||
) |
product of the values along a dimension in 32-bit signed integer matrix
afError af_prod | ( | unsigned * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const unsigned * | d_src, | ||
int | dim | ||
) |
product of the values along a dimension in 32-bit unsigned integer matrix
afError af_prod | ( | float * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const bool * | d_src, | ||
int | dim | ||
) |
product of the values along a dimension in a boolean
afError af_prod | ( | cuComplex * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const cuComplex * | d_src, | ||
int | dim | ||
) |
product of the values along a dimension in single precision, complex matrix
afError af_prod | ( | double * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const double * | d_src, | ||
int | dim | ||
) |
product of the values along a dimension in double precision matrix
afError af_prod | ( | cuDoubleComplex * | d_dst, |
unsigned | ndims, | ||
const unsigned * | dims, | ||
const cuDoubleComplex * | d_src, | ||
int | dim | ||
) |
product of the values along a dimension in double precision, complex matrix
afError af_int_S | ( | int * | out, |
float * | in, | ||
unsigned | numel | ||
) |
afError af_int_D | ( | int * | out, |
double * | in, | ||
unsigned | numel | ||
) |
afError af_S_int | ( | float * | out, |
int * | in, | ||
unsigned | numel | ||
) |
afError af_D_int | ( | double * | out, |
int * | in, | ||
unsigned | numel | ||
) |