kernelfoundry.eval_pipeline.utils.hw_datatypes¶
provides information on the GPU ISAs and supported datatypes.
info taken from https://uxlfoundation.github.io/oneDNN/dev_guide_data_types.html
OneDNN Data Type Support by microArchitecture (uArch)
Legend: True indicates the hardware support this data type False indicates no support for this data type Note: Support via conversion to higher precision is not tracked in this simplified representation
Footnotes (CPU ISA): s8/u8 for AVX2 and AVX-512: (1) See Nuances of int8 Computations in the Developer Guide for additional limitations related to int8 arithmetic bf16 for AVX-512 and AVX-512 with Intel DL Boost (int8): (2) The library has functional bfloat16 support on processors with Intel AVX-512 Byte and Word Instructions (AVX512BW) support for validation purposes. The performance of bfloat16 primitives on platforms without hardware acceleration for bfloat16 is 3-4x lower in comparison to the same operations on the fp32 data type f16 for Intel AVX10.1/512 with Intel AMX (int8, bf16): (3) Intel AVX-512 f16 instructions accumulate to f16. To avoid overflow, the f16 primitives might up-convert the data to f32 before performing math operations. This can lead to scenarios where a f16 primitive may perform slower than similar f32 primitive
Footnotes (GPU ISA): f16 for Xe-LP, Xe-LPG, Xe-HPG: (1) Xe-LP architecture does not natively support f16 operations with f32 accumulation. Consider using relaxed accumulation mode for the best performance results.
Functions
Get list of all ISAs (CPU and GPU) |
|
Get list of all CPU ISAs |
|
|
Get data type support information for a specific ISA |
Get list of all GPU ISAs |
|
|
Get list of ISAs that support a specific data type |
|
Get list of supported data types for a specific ISA |
|
Print formatted support matrix |
- kernelfoundry.eval_pipeline.utils.hw_datatypes.get_datatype_support(isa, datatype=None)[source]¶
Get data type support information for a specific ISA
- kernelfoundry.eval_pipeline.utils.hw_datatypes.get_supported_datatypes(isa, native_only=True, device_type='gpu')[source]¶
Get list of supported data types for a specific ISA
- kernelfoundry.eval_pipeline.utils.hw_datatypes.get_isas_supporting_datatype(datatype, native_only=False, device_type=None)[source]¶
Get list of ISAs that support a specific data type