Files
metal2vulkan/crates/metal2vulkan-conformance/recordings/pipeline-handler-compute-function-options-binding-info.json
T
Anees Iqbal ea02af47a4 Re-bless the cost records at d562bd4148
1135 recording(s) whose bounds moved. Cause: RT 1987 (206fbfba1c) makes a block ahead for a pool near its next block, and RT 1989 (d562bd4148) keeps a block's worth of bytes ahead per pool and has calls wait for a making instead of making a block in place, so made-ahead, made-in-place and waited-for block counts move. Contrast: pin 32's replay at 39b45dd232 (m3-max-12459) went over on blit-whole-texture-copy alone (buffer_blocks_made_ahead 1 where the record said 0); every value row matched the known-gaps ledger. The full list of moved bounds is in this commit's diff.
Measured on the M3 (s37-pl.sh rebless: cost --runs 8 --write over the whole
set, then cost --runs 8 --alone --write over the changed cases).

(cherry picked from commit ac01ee50d788bbd880e7f9d1a439bbf12c4e6bb7)
2026-11-09 15:47:53 -08:00

521 lines
18 KiB
JSON

{
"format": 1,
"case": "pipeline-handler-compute-function-options-binding-info",
"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": "43f11ad58caba16ad5a966c323fee913f3d55d2451f3b7b5b774e34b4e6dc8ab"
}
}
},
{
"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": {
"bool": true
}
}
},
{
"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": {
"bool": true
}
}
},
{
"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-options-binding-info",
"calls": 2,
"in_calls": 21972875,
"on_cpu": 680625,
"blocked": 21292250,
"elsewhere": 78500,
"spend": 22047209,
"spend_least": 21541749,
"spend_most": 23927084,
"per_call": [
{
"call": "library",
"least_calls": 1,
"most_calls": 1,
"wall": 21845542,
"on_cpu": 615125,
"blocked": 21230417,
"wall_least": 21338291,
"wall_most": 23701917,
"wall_total": 21845542,
"on_cpu_total": 615125,
"blocked_total": 21230417
},
{
"call": "pipeline_both_paths",
"least_calls": 1,
"most_calls": 1,
"wall": 127083,
"on_cpu": 65500,
"blocked": 61166,
"wall_least": 106208,
"wall_most": 145125,
"wall_total": 127083,
"on_cpu_total": 65500,
"blocked_total": 61166
}
]
}
},
{
"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-options-binding-info",
"calls": 2,
"in_calls": 88625,
"on_cpu": 89334,
"blocked": 0,
"elsewhere": 542,
"spend": 92292,
"spend_least": 82083,
"spend_most": 127750,
"per_call": [
{
"call": "library",
"least_calls": 1,
"most_calls": 1,
"wall": 66375,
"on_cpu": 66792,
"blocked": 0,
"wall_least": 59958,
"wall_most": 90958,
"wall_total": 66375,
"on_cpu_total": 66792,
"blocked_total": 0
},
{
"call": "pipeline_both_paths",
"least_calls": 1,
"most_calls": 1,
"wall": 22916,
"on_cpu": 23167,
"blocked": 0,
"wall_least": 22125,
"wall_most": 35375,
"wall_total": 22916,
"on_cpu_total": 23167,
"blocked_total": 0
}
]
}
}
]
}