BendtorchGpu.lf_embf: def of bendtorch-gpu@1.3.0.0 Import: import bendtorch-gpu@1.3.0.0/main.bend as BendtorchGpu Lines 1280-1283 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=1280&end_line=1283 import Base # x1 = the table, x2 = the ids; o (made on the device, zeros) gets the rows def lf_embf(+t: U32, +l: U32, +e: EEM, x1: Array, x2: Array, x3: Array, x4: Array, o: Array) -> Array: match e: case EEM{+k, +d}: ef_if(U32.is_lt(t, d), t, k, d, x1, x2, o) 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=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_lt https://jend.leeeet.dev/definition.txt?path=bendtorch-gpu@1.3.0.0/main.bend&name=EEM https://jend.leeeet.dev/definition.txt?path=bendtorch-gpu@1.3.0.0/main.bend&name=ef_if