Quantcast
Viewing all articles
Browse latest Browse all 4878

Teaching and learning resources • Re: Advent of Code 2024

Since the Pico's arrival I've tried running C++ Advent of Code solutions on it. This year it gets more interesting with the addition of the Pico 2. These solutions are single threaded pure CPU and memory system (including XIP) stressors using integer arithmetic, without IO. I wanted some idea of CM3 vs. CM0+ performance. Again this is pure CPU and does not take advantage of the CM3's DSP and floating point extensions. All solutions were compiled with GCC 14.2 Rel 1 provided by Arm here and using the -std=c++23 -O3 compiler options.
Image may be NSFW.
Clik here to view.
pico.png
Adjusting for different system clocks, the CM3 core is 1.98 * 133 / 150 = 1.75 CM0+ cores.

Statistics: Posted by lurk101 — Sun Dec 29, 2024 5:08 pm



Viewing all articles
Browse latest Browse all 4878

Trending Articles