getting device pointer, allocating and freeing memory More...
Modules | |
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. | |
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. | |
getting device pointer, allocating and freeing memory