Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4814

General • Re: Pico computations performance settings and tuning

$
0
0
Hello,
I did some tests this afternoon :

@jamesh : thank you, I’ve tried the “Release” version in CMakeLists.txt but this does much change performance.
@carlk3 : I’ve removed all ‘const’ and changed double_t to float, this reduced computation time by 2. Now it takes 28ms (instead of 70ms). One more step like this and we’d be done. ;) Thank you for the link to CMSIS.
@alastairpatrick : Thank you for the trick. I’ve tried __not_in_flash_func macro, unfortunately with no improvement.
@adam_green : I haven’t tested the poor man’s profiler yet. Thank you for the trick.

I’m still wondering why I don’t see any difference in performance with :
set(PICO_DEFAULT_FLOAT_IMPL pico_float_pico)
set(PICO_DEFAULT_FLOAT_IMPL pico_float_compiler)

Statistics: Posted by Franck34 — Sat Feb 03, 2024 2:33 pm



Viewing all articles
Browse latest Browse all 4814

Trending Articles