DO MORE. CODE LESS. Free software for GPU computing on AMD, Intel, and NVIDIA.
Functions
Access memory buffers
Memory handling

Get pointers to memory buffer. More...

Functions

void * af::array::host () const
 Get the host side buffer (in RAM)
cl_mem af::array::device () const
 Get the device side buffer.

Detailed Description

Get pointers to memory buffer.


Function Documentation

void* af::array::host ( ) const

Get the host side buffer (in RAM)

cl_mem af::array::device ( ) const [inline]

Get the device side buffer.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines