Device pointer interface: Matrix (2D) interpolation. |
- Parameters:
-
| [out] | d_ZI | Interpolated function values |
| [in] | m | Number of rows in inputs d_Z, d_Y, d_X |
| [in] | n | Number of columns in inputs d_Z, d_Y, d_X |
| [in] | d_Z | Function values |
| [in] | batch_Z | Number of tiles of d_Z |
| [in] | d_X | X Domain values |
| [in] | batch_X | Number of tiles of d_X |
| [in] | d_Y | Y Domain values |
| [in] | batch_Y | Number of tiles of d_Y |
| [in] | mi | Number of rows in d_XI, d_YI |
| [in] | ni | Number of columns in d_XI, d_YI |
| [in] | d_XI | X Grid values to interpolate on. |
| [in] | d_XI | Y Grid values to interpolate on. |
| [in] | Z0 | Value for interpolations off the grid (i.e. out-of-bounds) |
| [in] | method | Only supports 0='linear' |
|
| afError | af_interp2D_S (float *d_ZI, unsigned m, unsigned n, const float *d_Z, unsigned batch_Z, unsigned mi, unsigned ni, const float *d_XI, unsigned batch_XI, const float *d_YI, unsigned batch_YI, float Z0, unsigned method) |
| afError | af_interp2D_D (double *d_ZI, unsigned m, unsigned n, const double *d_Z, unsigned batch_Z, unsigned mi, unsigned ni, const double *d_XI, unsigned batch_XI, const double *d_YI, unsigned batch_YI, double Z0, unsigned method) |
| afError | af_interp2D_C (cuComplex *d_ZI, unsigned m, unsigned n, const cuComplex *d_Z, unsigned batch_Z, unsigned mi, unsigned ni, const float *d_XI, unsigned batch_XI, const float *d_YI, unsigned batch_YI, float Z0, unsigned method) |
| afError | af_interp2D_Z (cuDoubleComplex *d_ZI, unsigned m, unsigned n, const cuDoubleComplex *d_Z, unsigned batch_Z, unsigned mi, unsigned ni, const double *d_XI, unsigned batch_XI, const double *d_YI, unsigned batch_YI, double Z0, unsigned method) |
| #define | INTERP(ty, tyi, T) |
| | Single precision, matrix interpolation.
|