An open API service indexing awesome lists of open source software.

https://github.com/dernasherbrezon/rpi-fma

Test FMA on RaspberryPI CPU&GPU
https://github.com/dernasherbrezon/rpi-fma

fma gpu gpu-computing opencl raspberrypi

Last synced: 3 months ago
JSON representation

Test FMA on RaspberryPI CPU&GPU

Awesome Lists containing this project

README

        

# About

This small project tests [FMA](https://en.wikipedia.org/wiki/Multiply–accumulate_operation#Fused_multiply–add) support on RaspberryPI 3 CPU and GPU. It computes the following:

```C
1.0000001F * 1.0000001F - 1.0000002F
```

# Results



Test name
Result




VMUL + VADD
0


VFMA
1.42108547e-14


VMLA
0


GPU: FMUL + FADD
0

# Dependencies

* [VC4CL](https://github.com/doe300/VC4CL)

# Build

```bash
mkdir build
cd build
cmake ..
make
```

# Run

```bash
./rpi_fma
```