|
|
|
|
|
by bajard
19 days ago
|
|
When I program, I imagine the registers and ports. Only the ones I use. I see the sequence of micro-ops moving like in a queue, the stack in a different column, and the L1 cache as neighboring lines. That could be drawn. The parts not involved could be drawn in miniature, like the AVX2 hardware. More detail could be shown if the user clicks. It probably isn't as complex to draw. |
|
I try to push the computations involve in the critical path up as high as possible, and then just hope that between the compiler and hardware somebody’ll take advantage of that.
I haven’t tuned a ton of kernels though, I mostly do linear algebra stuff and good BLAS implementations do better than I could hope to.