sourceextensions/blender/demos/gpu-build.xtl
1⍝│ X_eTaL source to resolved Core, typed XIR and fused OpenCL kernels.
2⍝│ Compare the pinned M1 Max and RTX 5060 Ti schedule files, including
3⍝│ a matrix example. Compiler evidence only; no device timing claims.
4⍝│ Title: X_eTaL GPU: build process
5⍝│ Command: just ext blender gpu-build
6⍝│ Link: https://github.com/softwarewrighter/X_eTaL-extensions/tree/main/extensions/blender/demos/gpu-build-data compiler artifacts
7⍝│ Run: just ext blender gpu-build
8"bl:" u̲se< "Blender"
9"bp:" u̲se< "Bpy"
10"vd:" u̲se< "Video"
11"gb:" u̲se< "GpuBuild"
12
13ʰc̲heck ← { result →
14 n̲ot "exit 0\nerrors 0\n" m̲atch 16 t̲ake result ? ⎕P̲ANIC result
15 "exit 0; errors 0"
16}
17raw ← n̲umbers ᵇˡr̲ead "work/gpubuild/nodes.txt"
18nodes ← (((t̲ally raw) d̲iv 5) c̲at 5) r̲eshape raw
19edgesRaw ← f̲loor n̲umbers ᵇˡr̲ead "work/gpubuild/edges.txt"
20edges ← (((t̲ally edgesRaw) d̲iv 2) c̲at 2) r̲eshape edgesRaw
21names ← ᵇˡr̲ead "work/gpubuild/labels.txt"
22inputs ← ᵇˡr̲ead "work/gpubuild/inputs.txt"
23coreNames ← ᵇˡr̲ead "work/gpubuild/core-labels.txt"
24buffersRaw ← n̲umbers ᵇˡr̲ead "work/gpubuild/buffers.txt"
25bufferData ← (((t̲ally buffersRaw) d̲iv 3) c̲at 3) r̲eshape buffersRaw
26stats ← f̲loor n̲umbers ᵇˡr̲ead "work/gpubuild/stats.txt"
27_ ← "work/gpubuild/run.py" ᵇˡw̲rite! ᵇᵖlauncher
28_ ← "work/gpubuild/gpu-build.cues.toml" ᵇˡw̲rite! (ᵍᵇc̲ues stats, ᵍᵇcueTable) ᵛᵈc̲ues 0
29_ ← "work/gpubuild/gpu-build.srt" ᵇˡw̲rite! (ᵍᵇc̲ues stats, ᵍᵇcueTable) ᵛᵈs̲rt 0
30_ ← "work/gpubuild/video.py" ᵇˡw̲rite! ((ᵛᵈlandscape, nodes, edges, names, inputs, coreNames, bufferData, stats) ᵍᵇs̲cene 0) c̲at (ᵛᵈr̲ender "gpu-build.mp4") c̲at ᵛᵈreport
31_ ← "work/gpubuild/short.py" ᵇˡw̲rite! ((ᵛᵈshorts, nodes, edges, names, inputs, coreNames, bufferData, stats) ᵍᵇs̲cene 0) c̲at (ᵛᵈr̲ender "gpu-build-short.mp4") c̲at ᵛᵈreport
32"rendering GPU build landscape ..."
33ʰc̲heck "work/gpubuild/run.py" ᵇˡr̲un! "work/gpubuild/video.py work/gpubuild/out"
34"rendering GPU build Short ..."
35ʰc̲heck "work/gpubuild/run.py" ᵇˡr̲un! "work/gpubuild/short.py work/gpubuild/out-short"
36ᵇˡr̲ead "work/gpubuild/out/report.txt"