This small project tests FMA support on RaspberryPI 3 CPU and GPU. It computes the following:
1.0000001F * 1.0000001F - 1.0000002F
Test name | Result |
---|---|
VMUL + VADD | 0 |
VFMA | 1.42108547e-14 |
VMLA | 0 |
GPU: FMUL + FADD | 0 |
mkdir build
cd build
cmake ..
make
./rpi_fma