Construct using the data from a memory buffer. More...
Functions | |
| af::array::array (const float *src, int rows, int cols=1) | |
| af::array::array (const clFloatComplex *src, int rows, int cols=1) | |
Construct using the data from a memory buffer.
| [in] | src | The pointer to data on host |
| [in] | rows | Number of rows in the array |
| [in] | cols | Number of columns in the array (default 1); |
| af::array::array | ( | const float * | src, |
| int | rows, | ||
| int | cols = 1 |
||
| ) |
| af::array::array | ( | const clFloatComplex * | src, |
| int | rows, | ||
| int | cols = 1 |
||
| ) |