dpctl.SyclDevice.preferred_vector_width_float

SyclDevice.preferred_vector_width_float

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 float.

Return type:

int

Example:
import dpctl

dev = dpctl.select_cpu_device()
pvw_f = dev.preferred_vector_width_float