Arm architecture provides optional FP16 floating point support in two alternative formats, IEEE and an an alternative Arm format. The ACLE (Arm C Language Extension) defined preprocessor symbol __ARM_FP16_FORMAT_IEEE can be used to distinguish between implementations providing IEEE and the Arm alternative format, but cannot, on its own, be used to determined if FP16 HW support is actually present. Testing this preprocessor symbol can lead to undefined __floatdihf at runtime on an aarch64 target where no FP16 HW is present. The relevant preprocessor symbol to determine whether FP16 HW support is present in the target is __ARM_FEATURE_FP16_SCALAR_ARITHMETIC, this symbol implies __ARM_FP16_FORMAT_IEEE. The relevant preprocessor symbols are defined by the ACLE standard, section 5.5.21 16-bit floating-point data processing operations, https://static.docs.arm.com/101028/0008/Q2-ACLE_2019Q2_release-0008.pdf
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
cblas | Loading commit data... | |
cublas | Loading commit data... | |
cudnn | Loading commit data... | |
hybrid | Loading commit data... | |
miopen | Loading commit data... | |
mps | Loading commit data... | |
nnpack | Loading commit data... | |
random | Loading commit data... | |
rocblas | Loading commit data... | |
sort | Loading commit data... |