SparkTrace LLM
Whether profiler evidence steers a model to the fastest kernel
VIEW PROJECT
SparkTrace is a CUDA study on a DGX Spark, co-authored to test whether an LLM uses Nsight Compute evidence to choose the fastest measured kernel rewrite. We scored 90 questions across 15 kernels, three evidence conditions, and both answer orders, so option position could not explain the result. One finding: GPT-5.4 nano chose a 0.980 ms shared-memory repair over the faster 0.621 ms register rewrite when Nsight Compute counters were shown. Removing those counters returned its choice to registers. Profiler evidence can steer a model toward a slower kernel.
FINDING
With Nsight Compute counters shown, GPT-5.4 nano picked the slower shared-memory repair. Without them, it returned to the faster register rewrite.
