getting device pointer, allocating and freeing memory More...

Modules

 alloc
 Allocate memory using the ArrayFire memory manager.
 
 allocHost
 Allocate memory on host.
 
 array::device<T>
 Get the device pointer from the array and lock the buffer in memory manager.
 
 deviceInfo
 Gets the information about device and platform as strings.
 
 deviceMemInfo
 Memory manager related functions.
 
 free
 Free device memory allocated by ArrayFire's memory manager.
 
 freeHost
 Free memory allocated on host internally by ArrayFire.
 
 freePinned
 Free pinned memory allocated by ArrayFire's memory manager.
 
 getDevice
 Get the current device ID.
 
 getDeviceCount
 Gets the number of compute devices on the system.
 
 info
 Display ArrayFire and device info.
 
 infoString
 Get af::info() as a string.
 
 isDoubleAvailable
 Check if double precision support is available for specified device.
 
 pinned
 Allocate pinned memory using ArrayFire's memory manager.
 
 setDevice
 Change current device to specified device.
 
 sync
 Blocks until all operations on device are finished.
 

Detailed Description

getting device pointer, allocating and freeing memory