Device pointer interface: Find the minimum value from the input. |
- Parameters:
-
[out] | h_dst | Scalar and on host. |
[in] | numel | The number of elements in the vector. |
[in] | d_src | The input vector. |
[in] | is_baseone | Is indexed output one-based? If true, one-based indexing; else, zero-based. Default: false. |
|
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. |
- Parameters:
-
[out] | d_dst | Output values |
[out] | d_idx | Index of the output, one index |
[in] | ndims | The number of dimensions in the input array. |
[in] | dims | The size of each dimension in input array. |
[in] | d_src | The input array. |
[in] | dim | The dimension along which to perform the operation. |
[in] | is_baseone | Is indexed output one-based? If true, one-based indexing; else, zero-based. Default: false. |
|
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.
|