DO MORE. CODE LESS. Free software for GPU computing on AMD, Intel, and NVIDIA.
Functions
From host pointers
Constructors

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)

Detailed Description

Construct using the data from a memory buffer.

Parameters:
[in]srcThe pointer to data on host
[in]rowsNumber of rows in the array
[in]colsNumber of columns in the array (default 1);

Function Documentation

af::array::array ( const float *  src,
int  rows,
int  cols = 1 
)
af::array::array ( const clFloatComplex src,
int  rows,
int  cols = 1 
)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines