dpctl.SyclDevice.has_aspect_fp16

SyclDevice.has_aspect_fp16

Returns True if the device supports half-precision floating point operations, False otherwise.

Example:
>>> import dpctl
>>> dev = dpctl.select_cpu_device()
>>> dev.has_aspect_fp16
True
Returns:

Indicates that the device supports half precision floating point operations.

Return type:

bool