HNHacker News
TopNewBestAskShowJobs

sirhcm

4 karma · joined October 29, 2025

submissionscomments
sirhcm··on Zig and the design choices within
> One extra register is all you ever need, even for an arbitrary parallel move!

This statement, albeit true, is highly misleading. In the example given, you ought to be concerned with parallel assignments not parallel moves. See [0] for more details on the distinction.

[0] https://inria.hal.science/inria-00289709

sirhcm··on Continuous Nvidia CUDA Profiling in Production
Occupancy and RAM utilization are available from static analysis. A sampling profiler would also obviously not be suitable for this always-on profiler case. But reading the counters [0] from the GSP should be cheap.

[0] https://en.wikipedia.org/wiki/Hardware_performance_counter

sirhcm··on Continuous Nvidia CUDA Profiling in Production
Cache hit rate is probably the most immediately useful. Although given that this is for always-on profiling maybe this project isn't as geared towards optimizing kernels as I originally thought? In theory reading the counters should be low overhead though.
sirhcm··on Continuous Nvidia CUDA Profiling in Production
Does the profiler read any of the GPU's performance counters? Would be super cool to have an open source tool that can capture the same data nsight compute does.