Documentation
|
|
The C interface for shift. More...
Device pointer interface: Shift is host pointer | ||||||||||||||||||||||
Shift the contents of an array along specified dimensions and wrap.
| ||||||||||||||||||||||
| afError | af_shift_B (bool *d_out, unsigned ndims, const unsigned *dims, int nshifts, const int *h_shifts, const bool *d_in, unsigned batch) | |||||||||||||||||||||
| Boolean (8-bit) array shift. More... | ||||||||||||||||||||||
| afError | af_shift_I (int *d_out, unsigned ndims, const unsigned *dims, int nshifts, const int *h_shifts, const int *d_in, unsigned batch) | |||||||||||||||||||||
| 32-bit signed integer array shift. More... | ||||||||||||||||||||||
| afError | af_shift_U (unsigned *d_out, unsigned ndims, const unsigned *dims, int nshifts, const int *h_shifts, const unsigned *d_in, unsigned batch) | |||||||||||||||||||||
| 32-bit unsigned integer array shift. More... | ||||||||||||||||||||||
| afError | af_shift_S (float *d_out, unsigned ndims, const unsigned *dims, int nshifts, const int *h_shifts, const float *d_in, unsigned batch) | |||||||||||||||||||||
| Single-precision array shift. More... | ||||||||||||||||||||||
| afError | af_shift_D (double *d_out, unsigned ndims, const unsigned *dims, int nshifts, const int *h_shifts, const double *d_in, unsigned batch) | |||||||||||||||||||||
| Double-precision array shift. More... | ||||||||||||||||||||||
| afError | af_shift_C (cfloat *d_out, unsigned ndims, const unsigned *dims, int nshifts, const int *h_shifts, const cfloat *d_in, unsigned batch) | |||||||||||||||||||||
| Complex single-precision array shift. More... | ||||||||||||||||||||||
| afError | af_shift_Z (cdouble *d_out, unsigned ndims, const unsigned *dims, int nshifts, const int *h_shifts, const cdouble *d_in, unsigned batch) | |||||||||||||||||||||
| Complex double-precision array shift. More... | ||||||||||||||||||||||
The C interface for shift.
| afError af_shift_B | ( | bool * | d_out, |
| unsigned | ndims, | ||
| const unsigned * | dims, | ||
| int | nshifts, | ||
| const int * | h_shifts, | ||
| const bool * | d_in, | ||
| unsigned | batch | ||
| ) |
Boolean (8-bit) array shift.
| afError af_shift_I | ( | int * | d_out, |
| unsigned | ndims, | ||
| const unsigned * | dims, | ||
| int | nshifts, | ||
| const int * | h_shifts, | ||
| const int * | d_in, | ||
| unsigned | batch | ||
| ) |
32-bit signed integer array shift.
| afError af_shift_U | ( | unsigned * | d_out, |
| unsigned | ndims, | ||
| const unsigned * | dims, | ||
| int | nshifts, | ||
| const int * | h_shifts, | ||
| const unsigned * | d_in, | ||
| unsigned | batch | ||
| ) |
32-bit unsigned integer array shift.
| afError af_shift_S | ( | float * | d_out, |
| unsigned | ndims, | ||
| const unsigned * | dims, | ||
| int | nshifts, | ||
| const int * | h_shifts, | ||
| const float * | d_in, | ||
| unsigned | batch | ||
| ) |
Single-precision array shift.
| afError af_shift_D | ( | double * | d_out, |
| unsigned | ndims, | ||
| const unsigned * | dims, | ||
| int | nshifts, | ||
| const int * | h_shifts, | ||
| const double * | d_in, | ||
| unsigned | batch | ||
| ) |
Double-precision array shift.
| afError af_shift_C | ( | cfloat * | d_out, |
| unsigned | ndims, | ||
| const unsigned * | dims, | ||
| int | nshifts, | ||
| const int * | h_shifts, | ||
| const cfloat * | d_in, | ||
| unsigned | batch | ||
| ) |
Complex single-precision array shift.