Documentation
|
|
The C interface for sortrows. More...
Device pointer interface: Sort rows in ascending order | ||||||||||||||||||||||
Sort matrix rows in ascending order
| ||||||||||||||||||||||
| afError | af_sortrows_S (float *d_Y, unsigned *d_I, unsigned rows, unsigned cols, const float *d_X, unsigned numel_C, const int *h_C) | |||||||||||||||||||||
| Single-precision issorted. More... | ||||||||||||||||||||||
| afError | af_sortrows_D (double *d_Y, unsigned *d_I, unsigned rows, unsigned cols, const double *d_X, unsigned numel_C, const int *h_C) | |||||||||||||||||||||
| Double-precision issorted. More... | ||||||||||||||||||||||
Device pointer interface: Sort by keys | ||||||||||||||||||||||
Sort matrix using a key matrix
| ||||||||||||||||||||||
| afError | af_sortByKeys_S (float *d_okeys, float *d_ovals, unsigned numel, float *d_ikeys, float *d_ivals, unsigned batch, bool DIR) | |||||||||||||||||||||
| afError | af_sortByKeys_D (double *d_okeys, double *d_ovals, unsigned numel, double *d_ikeys, double *d_ivals, unsigned batch, bool DIR) | |||||||||||||||||||||
The C interface for sortrows.
The C interface for sortByKeys.
| afError af_sortrows_S | ( | float * | d_Y, |
| unsigned * | d_I, | ||
| unsigned | rows, | ||
| unsigned | cols, | ||
| const float * | d_X, | ||
| unsigned | numel_C, | ||
| const int * | h_C | ||
| ) |
Single-precision issorted.
| afError af_sortrows_D | ( | double * | d_Y, |
| unsigned * | d_I, | ||
| unsigned | rows, | ||
| unsigned | cols, | ||
| const double * | d_X, | ||
| unsigned | numel_C, | ||
| const int * | h_C | ||
| ) |
Double-precision issorted.
| afError af_sortByKeys_S | ( | float * | d_okeys, |
| float * | d_ovals, | ||
| unsigned | numel, | ||
| float * | d_ikeys, | ||
| float * | d_ivals, | ||
| unsigned | batch, | ||
| bool | DIR | ||
| ) |
| afError af_sortByKeys_D | ( | double * | d_okeys, |
| double * | d_ovals, | ||
| unsigned | numel, | ||
| double * | d_ikeys, | ||
| double * | d_ivals, | ||
| unsigned | batch, | ||
| bool | DIR | ||
| ) |