Documentation
|
|
The C interface for shiftd. More...
Device pointer interface: Shift is device pointer | |||||||||||||||||||||||||
Shift the contents of an array along specified dimensions and wrap.
| |||||||||||||||||||||||||
| afError | af_shiftd_B (bool *d_out, unsigned ndims, const unsigned *dims, int nshifts, const int *d_shifts, const bool *d_in, unsigned batch, unsigned batch_shift) | ||||||||||||||||||||||||
| Boolean (8-bit) array shift. More... | |||||||||||||||||||||||||
| afError | af_shiftd_I (int *d_out, unsigned ndims, const unsigned *dims, int nshifts, const int *d_shifts, const int *d_in, unsigned batch, unsigned batch_shift) | ||||||||||||||||||||||||
| 32-bit signed integer array shift. More... | |||||||||||||||||||||||||
| afError | af_shiftd_U (unsigned *d_out, unsigned ndims, const unsigned *dims, int nshifts, const int *d_shifts, const unsigned *d_in, unsigned batch, unsigned batch_shift) | ||||||||||||||||||||||||
| 32-bit unsigned integer array shift. More... | |||||||||||||||||||||||||
| afError | af_shiftd_S (float *d_out, unsigned ndims, const unsigned *dims, int nshifts, const int *d_shifts, const float *d_in, unsigned batch, unsigned batch_shift) | ||||||||||||||||||||||||
| Single-precision array shift. More... | |||||||||||||||||||||||||
| afError | af_shiftd_D (double *d_out, unsigned ndims, const unsigned *dims, int nshifts, const int *d_shifts, const double *d_in, unsigned batch, unsigned batch_shift) | ||||||||||||||||||||||||
| Double-precision array shift. More... | |||||||||||||||||||||||||
| afError | af_shiftd_C (cfloat *d_out, unsigned ndims, const unsigned *dims, int nshifts, const int *d_shifts, const cfloat *d_in, unsigned batch, unsigned batch_shift) | ||||||||||||||||||||||||
| Complex single-precision array shift. More... | |||||||||||||||||||||||||
| afError | af_shiftd_Z (cdouble *d_out, unsigned ndims, const unsigned *dims, int nshifts, const int *d_shifts, const cdouble *d_in, unsigned batch, unsigned batch_shift) | ||||||||||||||||||||||||
| Complex double-precision array shift. More... | |||||||||||||||||||||||||
The C interface for shiftd.
| afError af_shiftd_B | ( | bool * | d_out, |
| unsigned | ndims, | ||
| const unsigned * | dims, | ||
| int | nshifts, | ||
| const int * | d_shifts, | ||
| const bool * | d_in, | ||
| unsigned | batch, | ||
| unsigned | batch_shift | ||
| ) |
Boolean (8-bit) array shift.
| afError af_shiftd_I | ( | int * | d_out, |
| unsigned | ndims, | ||
| const unsigned * | dims, | ||
| int | nshifts, | ||
| const int * | d_shifts, | ||
| const int * | d_in, | ||
| unsigned | batch, | ||
| unsigned | batch_shift | ||
| ) |
32-bit signed integer array shift.
| afError af_shiftd_U | ( | unsigned * | d_out, |
| unsigned | ndims, | ||
| const unsigned * | dims, | ||
| int | nshifts, | ||
| const int * | d_shifts, | ||
| const unsigned * | d_in, | ||
| unsigned | batch, | ||
| unsigned | batch_shift | ||
| ) |
32-bit unsigned integer array shift.
| afError af_shiftd_S | ( | float * | d_out, |
| unsigned | ndims, | ||
| const unsigned * | dims, | ||
| int | nshifts, | ||
| const int * | d_shifts, | ||
| const float * | d_in, | ||
| unsigned | batch, | ||
| unsigned | batch_shift | ||
| ) |
Single-precision array shift.
| afError af_shiftd_D | ( | double * | d_out, |
| unsigned | ndims, | ||
| const unsigned * | dims, | ||
| int | nshifts, | ||
| const int * | d_shifts, | ||
| const double * | d_in, | ||
| unsigned | batch, | ||
| unsigned | batch_shift | ||
| ) |
Double-precision array shift.
| afError af_shiftd_C | ( | cfloat * | d_out, |
| unsigned | ndims, | ||
| const unsigned * | dims, | ||
| int | nshifts, | ||
| const int * | d_shifts, | ||
| const cfloat * | d_in, | ||
| unsigned | batch, | ||
| unsigned | batch_shift | ||
| ) |
Complex single-precision array shift.