programextensions/blender/demos/gpu-run.xtl

Execute the emitted OpenCL plan, check results, then explain its trace. Title: X_eTaL GPU: execution Command: just ext blender gpu-run-data && just ext blender gpu-run Link: https://github.com/softwarewrighter/X_eTaL-extensions/tree/main/extensions/blender/demos/gpu-run-data execution evidence Run: just ext blender gpu-run

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

ʰc̲heck : Char -> Char

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

stats : Float

value · line 14
stats ← n̲umbers ᵇˡr̲ead "work/gpurun/stats.txt"
Used in: _

timings : Float

value · line 15
timings ← 4 2 r̲eshape n̲umbers ᵇˡr̲ead "work/gpurun/timings.txt"
Used in: _

timingLabels : Char

value · line 16
timingLabels ← ᵇˡr̲ead "work/gpurun/timing-labels.txt"
Used in: _

reduction : Float

value · line 17
reduction ← 9 256 r̲eshape n̲umbers ᵇˡr̲ead "work/gpurun/reduction.txt"
Used in: _

reductionLabels : Char

value · line 18
reductionLabels ← ᵇˡr̲ead "work/gpurun/reduction-labels.txt"
Used in: _

hostLabels : Char

value · line 19
hostLabels ← ᵇˡr̲ead "work/gpurun/host-labels.txt"
Used in: _

_ : Int

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

_ : Int

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

_ : Int

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

_ : Int

function · line 23
_ ← "work/gpurun/video.py" ᵇˡw̲rite! ((ᵛᵈlandscape, stats, timings, timingLabels, reduction, reductionLabels, hostLabels) ᵍʳs̲cene 0) c̲at (ᵛᵈr̲ender "gpu-run.mp4") c̲at ᵛᵈreport

_ : Int

function · line 24
_ ← "work/gpurun/short.py" ᵇˡw̲rite! ((ᵛᵈshorts, stats, timings, timingLabels, reduction, reductionLabels, hostLabels) ᵍʳs̲cene 0) c̲at (ᵛᵈr̲ender "gpu-run-short.mp4") c̲at ᵛᵈreport