{ "format": 1, "case": "pipeline-handler-compute-function", "suite_version": 1, "shaders": [ { "fixture": "a27_ob1_threadgroup.ll", "entry": "ob1_threadgroup", "source_sha256": "0c98a096e60fd50b4a119ac1539c8907a7ca14df5c4c0ea9163bae96240c1235" }, { "fixture": "a27_ob1_threadgroup.air.ll", "entry": "ob1_threadgroup", "source_sha256": "6e2d8bc010bac734195035dcb2466f5947642236e3ec187537ef47b6ff23815e" } ], "answers": [ { "key": { "chip": "apple-m3-max", "os_version": "27.0.1", "os_build": "26A434", "metal_level": "27.0.1" }, "provenance": "metal_run", "device": "Apple M3 Max", "runs": 3, "outcomes": [ { "runs": 3, "transcript": { "root": { "name": "case", "observed": { "value": "absent" }, "children": [ { "name": "inputs", "observed": { "value": "absent" }, "children": [ { "name": "air", "observed": { "value": "absent", "digest": { "kind": "sha256", "hex": "0c98a096e60fd50b4a119ac1539c8907a7ca14df5c4c0ea9163bae96240c1235" } } }, { "name": "air-typed", "observed": { "value": "absent", "digest": { "kind": "sha256", "hex": "6e2d8bc010bac734195035dcb2466f5947642236e3ec187537ef47b6ff23815e" } } }, { "name": "entry", "observed": { "value": "absent", "digest": { "kind": "sha256", "hex": "a42c4eb5d83dd0303ce05318114985e750ae0adc64778504160be62a196e30b8" } } }, { "name": "form", "observed": { "value": "absent", "digest": { "kind": "sha256", "hex": "23cbc6d04357ebb263a33f754be6a723a5a215783c719ca15a7701fb72b9b0f9" } } }, { "name": "imageblock", "observed": { "value": "absent", "digest": { "kind": "sha256", "hex": "b0853f6af25f29697838d03f243c9bf1bf6e861fdcb1ec7eb2c51e3446fe4e3f" } } } ] }, { "name": "library", "observed": { "value": { "variant": { "name": "Ok", "payload": "absent" } } } }, { "name": "pipelines", "observed": { "value": "absent" }, "children": [ { "name": "through-the-handler", "observed": { "value": "absent" }, "children": [ { "name": "arrival", "observed": { "value": { "variant": { "name": "Answered", "payload": "absent" } } } }, { "name": "delivery", "observed": { "value": "absent" }, "children": [ { "name": "delivered-a-state", "observed": { "value": { "bool": true } } }, { "name": "delivered-an-error", "observed": { "value": { "bool": false } } }, { "name": "delivered-a-reflection", "observed": { "value": { "variant": { "name": "TheCallTakesNoOptions", "payload": "absent" } } } }, { "name": "facts", "observed": { "value": "absent" }, "children": [ { "name": "label", "observed": { "value": { "variant": { "name": "None", "payload": "absent" } } } }, { "name": "device", "observed": { "value": { "bool": true } } }, { "name": "static_threadgroup_memory_length", "observed": { "value": { "uint": 0 } } }, { "name": "support_indirect_command_buffers", "observed": { "value": { "bool": false } } }, { "name": "imageblock_memory_length", "observed": { "value": { "uint": 0 } } }, { "name": "required_threads_per_threadgroup", "observed": { "value": { "fields": { "depth": { "uint": 0 }, "height": { "uint": 0 }, "width": { "uint": 0 } } } } } ] } ] } ] }, { "name": "synchronously", "observed": { "value": "absent" }, "children": [ { "name": "delivered-a-state", "observed": { "value": { "bool": true } } }, { "name": "delivered-an-error", "observed": { "value": { "bool": false } } }, { "name": "delivered-a-reflection", "observed": { "value": { "variant": { "name": "TheCallTakesNoOptions", "payload": "absent" } } } }, { "name": "facts", "observed": { "value": "absent" }, "children": [ { "name": "label", "observed": { "value": { "variant": { "name": "None", "payload": "absent" } } } }, { "name": "device", "observed": { "value": { "bool": true } } }, { "name": "static_threadgroup_memory_length", "observed": { "value": { "uint": 0 } } }, { "name": "support_indirect_command_buffers", "observed": { "value": { "bool": false } } }, { "name": "imageblock_memory_length", "observed": { "value": { "uint": 0 } } }, { "name": "required_threads_per_threadgroup", "observed": { "value": { "fields": { "depth": { "uint": 0 }, "height": { "uint": 0 }, "width": { "uint": 0 } } } } } ] } ] }, { "name": "the-two-paths-agree", "observed": { "value": { "bool": true } } } ] }, { "name": "notices", "observed": { "value": "absent" }, "children": [ { "name": "set", "observed": { "value": { "nothing": "announced_nothing" } } }, { "name": "counts", "observed": { "value": { "fields": {} } } } ] } ] } } } ], "validated": "ran" } ], "costs": [ { "venue": "Apple M3 Max", "runs": 8, "measured": "8 run(s) of the whole selection on Apple M3 Max, in the case set's own order, the largest each count reached", "contrasted": "8 run(s) of each case on its own on Apple M3 Max, nothing before it on the device, the largest each count reached", "bounds": { "addressable_buffers_made": 2, "blocks_ahead_waited_for": 3, "buffer_blocks_made_ahead": 2, "creation_pipelines_made": 1, "functions_shared": 2, "functions_translated": 1, "image_blocks_made_ahead": 1, "pipeline_layouts_made": 1, "plain_buffer_blocks_made": 2, "pooled_memory_blocks_made": 3, "shader_modules_made": 1, "stage_entries_specialized": 1, "variant_pipelines_made": 1, "variants_taken_back": 2 }, "composed": { "blocks_ahead_waited_for": 3, "buffer_blocks_made_ahead": 2, "creation_pipelines_made": 0, "functions_translated": 1, "image_blocks_made_ahead": 1, "plain_buffer_blocks_made": 2, "stage_entries_specialized": 1, "variant_pipelines_made": 0 }, "ceilings": { "addressable_buffers_made": 2, "creation_pipelines_made": 1, "pipeline_layouts_made": 1, "pooled_memory_blocks_made": 3, "shader_modules_made": 1, "variant_pipelines_made": 1 }, "per_state": { "pipelines": 0, "states": 2 } } ], "times": [ { "leg": "metal", "venue": "native Metal", "chip": "apple-m3-max", "os_build": "26A434", "rounds": 8, "measured": "8 round(s) of the whole selection, in the case set's own order, each round on a fresh device, our shader cache carried over between the cases of a round; a figure is the median of the rounds' own medians; Metal's leg ran at a one-minute load average of 3.18 and ours at 2.63; the legs run one after the other, so the per-call margin is judged only when both are 26.0 or under and within 2.0x of each other", "instrument": 236, "times": { "case": "pipeline-handler-compute-function", "calls": 2, "in_calls": 22422333, "on_cpu": 626500, "blocked": 21812250, "elsewhere": 70916, "spend": 22496833, "spend_least": 21583167, "spend_most": 23344749, "per_call": [ { "call": "library", "least_calls": 1, "most_calls": 1, "wall": 22296291, "on_cpu": 563375, "blocked": 21752625, "wall_least": 21394625, "wall_most": 23116416, "wall_total": 22296291, "on_cpu_total": 563375, "blocked_total": 21752625 }, { "call": "pipeline_both_paths", "least_calls": 1, "most_calls": 1, "wall": 124875, "on_cpu": 68958, "blocked": 56084, "wall_least": 116250, "wall_most": 147792, "wall_total": 124875, "on_cpu_total": 68958, "blocked_total": 56084 } ] } }, { "leg": "ours", "venue": "Apple M3 Max", "chip": "apple-m3-max", "os_build": "26A434", "rounds": 8, "measured": "8 round(s) of the whole selection, in the case set's own order, each round on a fresh device, our shader cache carried over between the cases of a round; a figure is the median of the rounds' own medians; Metal's leg ran at a one-minute load average of 3.18 and ours at 2.63; the legs run one after the other, so the per-call margin is judged only when both are 26.0 or under and within 2.0x of each other", "instrument": 233, "times": { "case": "pipeline-handler-compute-function", "calls": 2, "in_calls": 137500, "on_cpu": 138208, "blocked": 0, "elsewhere": 917, "spend": 142250, "spend_least": 115250, "spend_most": 195875, "per_call": [ { "call": "library", "least_calls": 1, "most_calls": 1, "wall": 86375, "on_cpu": 86792, "blocked": 0, "wall_least": 65958, "wall_most": 92959, "wall_total": 86375, "on_cpu_total": 86792, "blocked_total": 0 }, { "call": "pipeline_both_paths", "least_calls": 1, "most_calls": 1, "wall": 50875, "on_cpu": 51167, "blocked": 0, "wall_least": 46333, "wall_most": 57958, "wall_total": 50875, "on_cpu_total": 51167, "blocked_total": 0 } ] } } ] }