diff --git a/streaming/sexp_to_cuda.py b/streaming/sexp_to_cuda.py index eada006..cb23058 100644 --- a/streaming/sexp_to_cuda.py +++ b/streaming/sexp_to_cuda.py @@ -145,10 +145,10 @@ void fused_pipeline( float wave = sinf(dist * frequency * 0.1f + phase); float amp = amplitude * expf(-dist * decay * 0.01f); - if (dist > 0.001f) { + if (dist > 0.001f) {{ ripple_dx += rdx / dist * wave * amp; ripple_dy += rdy / dist * wave * amp; - } + }} }} '''