get_half_support
- arrayfire_wrapper.lib.get_half_support(device_id: None | int = None, /) bool
Check if half precision is supported on specified device.
Parameters
- device: optional: int. default: None.
id of the desired device.
Returns
True if half precision supported.
False if half precision not supported.
source: https://arrayfire.org/docs/group__device__func__half.htm#ga83c2191dc82b2aba1d5f025abb769c3f