forked from tinygrad/tinygrad
The CUDA graph runner hardcoded sharedMemBytes=0 in the kernel node params, so a custom_kernel using dynamic shared memory (extern __shared__) failed with CUDA error 700 on graph replay while the eager path worked. Pass runtime.smem (0 for normal kernels, which use static shared). Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>