dpctl.SyclDevice.preferred_vector_width_half¶
- SyclDevice.preferred_vector_width_half¶
Returns the preferred native vector width size for built-in scalar types that can be put into vectors.
- Returns:
Preferred native vector width size for C type
sycl::half
.- Return type:
If device does not support half-precision floating point operations, the native width is zero.