Check if a vector or matrix is sorted. More...
Device pointer interface: Check if the input is sorted | |||||||||||||||||||
| |||||||||||||||||||
| afError | af_issorted_S (unsigned char *res, unsigned rows, unsigned cols, const float *d_in, bool is_row, unsigned batch) | ||||||||||||||||||
| Single-precision issorted. | |||||||||||||||||||
| afError | af_issorted_D (unsigned char *res, unsigned rows, unsigned cols, const double *d_in, bool is_row, unsigned batch) | ||||||||||||||||||
| Double-precision issorted. | |||||||||||||||||||
Check if a vector or matrix is sorted.
| afError af_issorted_S | ( | unsigned char * | res, |
| unsigned | rows, | ||
| unsigned | cols, | ||
| const float * | d_in, | ||
| bool | is_row, | ||
| unsigned | batch | ||
| ) |
Single-precision issorted.
| afError af_issorted_D | ( | unsigned char * | res, |
| unsigned | rows, | ||
| unsigned | cols, | ||
| const double * | d_in, | ||
| bool | is_row, | ||
| unsigned | batch | ||
| ) |
Double-precision issorted.