BendtorchGpu.put_c: def of bendtorch-gpu@1.3.0.0 Import: import bendtorch-gpu@1.3.0.0/main.bend as BendtorchGpu Lines 793-796 of bendtorch-gpu@1.3.0.0/main.bend: https://jend.leeeet.dev/read.txt?path=bendtorch-gpu@1.3.0.0/main.bend&start_line=793&end_line=796 import Base import bendtorch@1.3.0.0/main.bend as T # forward 3 (and backward 3's dQ): o[e] from pv_val (S3{a, b, o}) def put_c(+e: U32, o: Array, r: T.D2) -> S3: match r: case T.D2{a, b, +s}: S3{a, b, Array.set(F32, o, e, s)} Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array.set https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bendtorch-gpu@1.3.0.0/main.bend&name=S3 https://jend.leeeet.dev/definition.txt?path=bendtorch@1.3.0.0/main.bend&name=D2