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

Modules

 alloc
 Allocate memory using the ArrayFire memory manager.
 
 allocHost
 Allocate memory on host.
 
 deviceInfo
 Gets the information about device and platform as strings.
 
 deviceMemInfo
 Memory manager related functions.
 
 free
 Returns memory to ArrayFire's memory manager. The memory will return to the memory pool.
 
 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.
 
 isHalfAvailable
 Check if half(16-bit) precision floating point 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