programextensions/blender/demos/gpu-build.xtl

X_eTaL source to resolved Core, typed XIR and fused OpenCL kernels. Compare the pinned M1 Max and RTX 5060 Ti schedule files, including a matrix example. Compiler evidence only; no device timing claims. Title: X_eTaL GPU: build process Command: just ext blender gpu-build Link: https://github.com/softwarewrighter/X_eTaL-extensions/tree/main/extensions/blender/demos/gpu-build-data compiler artifacts Run: just ext blender gpu-build

source · imports bl: extensions/blender/lib/Blender.xtl; bp: extensions/blender/lib/Bpy.xtl; vd: extensions/blender/lib/Video.xtl; gb: extensions/blender/demos/GpuBuild.xtl

ʰc̲heck : Char -> Char

function (private) · line 13
ʰc̲heck ← { result →
  n̲ot "exit 0\nerrors 0\n" m̲atch 16 t̲ake result ? ⎕P̲ANIC result
  "exit 0; errors 0"
}

raw : Float

value · line 17
raw ← n̲umbers ᵇˡr̲ead "work/gpubuild/nodes.txt"
Used in: nodes

nodes : Float

value · line 18
nodes ← (((t̲ally raw) d̲iv 5) c̲at 5) r̲eshape raw
Used in: _

edgesRaw : Int

value · line 19
edgesRaw ← f̲loor n̲umbers ᵇˡr̲ead "work/gpubuild/edges.txt"
Used in: edges

edges : Int

value · line 20
edges ← (((t̲ally edgesRaw) d̲iv 2) c̲at 2) r̲eshape edgesRaw
Used in: _

names : Char

value · line 21
names ← ᵇˡr̲ead "work/gpubuild/labels.txt"
Used in: _

inputs : Char

value · line 22
inputs ← ᵇˡr̲ead "work/gpubuild/inputs.txt"
Used in: _

coreNames : Char

value · line 23
coreNames ← ᵇˡr̲ead "work/gpubuild/core-labels.txt"
Used in: _

buffersRaw : Float

value · line 24
buffersRaw ← n̲umbers ᵇˡr̲ead "work/gpubuild/buffers.txt"
Used in: bufferData

bufferData : Float

value · line 25
bufferData ← (((t̲ally buffersRaw) d̲iv 3) c̲at 3) r̲eshape buffersRaw
Used in: _

stats : Int

value · line 26
stats ← f̲loor n̲umbers ᵇˡr̲ead "work/gpubuild/stats.txt"
Used in: _

_ : Int

function · line 27
_ ← "work/gpubuild/run.py" ᵇˡw̲rite! ᵇᵖlauncher

_ : Int

function · line 28
_ ← "work/gpubuild/gpu-build.cues.toml" ᵇˡw̲rite! (ᵍᵇc̲ues stats, ᵍᵇcueTable) ᵛᵈc̲ues 0

_ : Int

function · line 29
_ ← "work/gpubuild/gpu-build.srt" ᵇˡw̲rite! (ᵍᵇc̲ues stats, ᵍᵇcueTable) ᵛᵈs̲rt 0

_ : Int

function · line 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

_ : Int

function · line 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