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 at39b45dd232(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)
521 lines
18 KiB
JSON
521 lines
18 KiB
JSON
{
|
|
"format": 1,
|
|
"case": "pipeline-handler-compute-function-options-all-three",
|
|
"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": "51f2ed1d53f24783c5c7283f3af53a96e168f007a007fe42900fcd363dc7c6d6"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"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-all-three",
|
|
"calls": 2,
|
|
"in_calls": 22159166,
|
|
"on_cpu": 696917,
|
|
"blocked": 21479875,
|
|
"elsewhere": 70209,
|
|
"spend": 22233957,
|
|
"spend_least": 21507249,
|
|
"spend_most": 23582376,
|
|
"per_call": [
|
|
{
|
|
"call": "library",
|
|
"least_calls": 1,
|
|
"most_calls": 1,
|
|
"wall": 21994833,
|
|
"on_cpu": 599917,
|
|
"blocked": 21414750,
|
|
"wall_least": 21311750,
|
|
"wall_most": 23340500,
|
|
"wall_total": 21994833,
|
|
"on_cpu_total": 599917,
|
|
"blocked_total": 21414750
|
|
},
|
|
{
|
|
"call": "pipeline_both_paths",
|
|
"least_calls": 1,
|
|
"most_calls": 1,
|
|
"wall": 148542,
|
|
"on_cpu": 95041,
|
|
"blocked": 52751,
|
|
"wall_least": 131041,
|
|
"wall_most": 177667,
|
|
"wall_total": 148542,
|
|
"on_cpu_total": 95041,
|
|
"blocked_total": 52751
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"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-all-three",
|
|
"calls": 2,
|
|
"in_calls": 80667,
|
|
"on_cpu": 81333,
|
|
"blocked": 0,
|
|
"elsewhere": 5167,
|
|
"spend": 88958,
|
|
"spend_least": 75333,
|
|
"spend_most": 182208,
|
|
"per_call": [
|
|
{
|
|
"call": "library",
|
|
"least_calls": 1,
|
|
"most_calls": 1,
|
|
"wall": 61250,
|
|
"on_cpu": 61625,
|
|
"blocked": 0,
|
|
"wall_least": 56041,
|
|
"wall_most": 115500,
|
|
"wall_total": 61250,
|
|
"on_cpu_total": 61625,
|
|
"blocked_total": 0
|
|
},
|
|
{
|
|
"call": "pipeline_both_paths",
|
|
"least_calls": 1,
|
|
"most_calls": 1,
|
|
"wall": 19417,
|
|
"on_cpu": 19708,
|
|
"blocked": 0,
|
|
"wall_least": 18583,
|
|
"wall_most": 55333,
|
|
"wall_total": 19417,
|
|
"on_cpu_total": 19708,
|
|
"blocked_total": 0
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|