A high-performance general-purpose compute library

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

Topics

 allocHost
 Allocate memory on host
 
 allocV2
 Allocate memory using the ArrayFire memory manager
 
 deviceInfo
 Gets the information about device and platform as strings
 
 deviceMemInfo
 Memory manager related functions
 
 freeHost
 Free memory allocated on host internally by ArrayFire
 
 freePinned
 Free pinned memory allocated by ArrayFire's memory manager
 
 freeV2
 Returns memory to ArrayFire's memory manager. The memory will return to the memory pool.
 
 getDevice
 Get the current device ID
 
 getDeviceCount
 Gets the number of compute devices on the system
 
 info
 
 
 infoString
 
 
 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