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

General • Re: Pico 2 RISC-V - Slow....

$
0
0
Win64 - but there's method in my madness (of not using linux on something else)
Ok, so CORE-V. Thanks for the report. This is a software issue and we'll fix it. I'd be grateful if you put your code up somewhere so I can re-run it once the soft float support is improved.
Should have it properly published in a bit - wanna write a decent README.md for it

BUT if you're just after the C it's already on https://github.com/peardox/pico_prime

Basically I've been testing by creating new project for your desired target then copy+paste prime.c into the editor replacing whatever's there already (single source)
Make sure you set console over USB (e.g. pico_enable_stdio_uart(prime 0) + pico_enable_stdio_usb(prime 1)) in Makefile

Note that it uses the BOOTSEL button to start then passes output over USB (at least that's how I'm running it)

i.e. Compile + Run it, Start a monitor on ComX then press the BOOTSEL button to start a timed benchmark. Press BOOTSEL again to run again (with average runtime displayed)....

Statistics: Posted by Peardox — Sat Aug 17, 2024 2:57 pm



Viewing all articles
Browse latest Browse all 5455

Trending Articles