Check if half(16-bit) precision floating point support is available for specified device More...
Functions | |
bool | isHalfAvailable (const int device) |
Queries the current device for half precision floating point support. | |
af_err | af_get_half_support (bool *available, const int device) |
Check if half(16-bit) precision floating point support is available for specified device
These functions check if a device has support to perform half precision floating point operations
af_err af_get_half_support | ( | bool * | available, |
const int | device ) |
bool isHalfAvailable | ( | const int | device | ) |
Queries the current device for half precision floating point support.
[in] | device | the ID of the device to query |
device
supports half precision operations. false otherwise