Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

ulab Samples & FFT benchmark on (Circuit/Micro)Python
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

ulab Samples & FFT benchmark on (Circuit/Micro)Python

by thiagofe on Thu Aug 13, 2020 12:51 am

ulab Samples is a repository with links, examples, benchmarks, etc, about ulab module, a NumPy-like array manipulation library for MicroPython and CircuitPython.

Most interesting is the ulab FFT benchmark for 1024 points, where you can see many MicroPython and CircuitPython boards compared, with calculations in single precision (SP/FP32) and double precision (DP/FP64) for floating point numbers, when possible (due to availabity of firmware with support for FP32/FP64).

The CircuitPython firmwares for Pyboard v1.1, Adafruit ItsyBitsy M4 Express and Adafruit CLUE nRF52840 Express seem well optimised, supporting FP32 FFT.

But on OpenMV Cam H7 and Teensy 4.0, whose microcontrollers support FP64 in hardware, the performance of FFT benchmark shows that CircuitPython firmware has potential to be more optimised.

It would be very useful to have CircuitPython firmwares in two versions, one in single precision (FP32) and another in double precision (FP64), so the many microcontrollers supported by CircuitPython can show all their performance.

See more comments in ulab Samples repository.

thiagofe
 
Posts: 2
Joined: Wed Aug 12, 2020 10:13 pm

Re: ulab Samples & FFT benchmark on (Circuit/Micro)Python

by tannewt on Thu Aug 13, 2020 2:43 pm

Awesome analysis! I'd suggest filing an issue on the `ulab` repo. I'm sure v923z would be interested.

tannewt
 
Posts: 1789
Joined: Thu Oct 06, 2016 8:48 pm

Re: ulab Samples & FFT benchmark on (Circuit/Micro)Python

by thiagofe on Thu Aug 13, 2020 8:09 pm

Thanks for the valuable suggestion.

thiagofe
 
Posts: 2
Joined: Wed Aug 12, 2020 10:13 pm

Please be positive and constructive with your questions and comments.