Files
metal2vulkan/crates/metal2vulkan-conformance/recordings/binary-archive-adders.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

453 lines
15 KiB
JSON

{
"format": 1,
"case": "binary-archive-adders",
"suite_version": 1,
"shaders": [
{
"fixture": "px_samplers.ll",
"entry": "px_sample_argument",
"source_sha256": "8c4a0024c9ba10e25d2487017101ff9a6437a48c58602537d0a41ee693e32f20"
},
{
"fixture": "px_samplers.air.ll",
"entry": "px_sample_argument",
"source_sha256": "5cedd165bee51449aaab252183a73661902625d2ddf8aa9fa5582f605ea564b1"
},
{
"fixture": "reflection/texture_accesses.ll",
"entry": "texture_accesses_vertex",
"source_sha256": "081bf6dfe075bb2171d010f4720eb3bd1fce1d77b5cf5b7cf6cb07afaec9bfc8"
},
{
"fixture": "reflection/texture_accesses.air.ll",
"entry": "texture_accesses_vertex",
"source_sha256": "954c6d7119e9d0bc9526de28fbbea84424cb9619dc05a1e9ee7b8659f60e0dd3"
},
{
"fixture": "reflection/tile.ll",
"entry": "reflection_tile",
"source_sha256": "41ec095966ab1e27b4a3787d163827b9445d255934a5db8ba1a289bce2fa684c"
},
{
"fixture": "reflection/tile.air.ll",
"entry": "reflection_tile",
"source_sha256": "c3606b45567d30507a3792c0f699c5c75ba7e53ad375829616d5681c5db7744a"
}
],
"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-0",
"observed": {
"value": "absent",
"digest": {
"kind": "sha256",
"hex": "8c4a0024c9ba10e25d2487017101ff9a6437a48c58602537d0a41ee693e32f20"
}
}
},
{
"name": "air-typed-0",
"observed": {
"value": "absent",
"digest": {
"kind": "sha256",
"hex": "5cedd165bee51449aaab252183a73661902625d2ddf8aa9fa5582f605ea564b1"
}
}
},
{
"name": "air-1",
"observed": {
"value": "absent",
"digest": {
"kind": "sha256",
"hex": "081bf6dfe075bb2171d010f4720eb3bd1fce1d77b5cf5b7cf6cb07afaec9bfc8"
}
}
},
{
"name": "air-typed-1",
"observed": {
"value": "absent",
"digest": {
"kind": "sha256",
"hex": "954c6d7119e9d0bc9526de28fbbea84424cb9619dc05a1e9ee7b8659f60e0dd3"
}
}
},
{
"name": "air-2",
"observed": {
"value": "absent",
"digest": {
"kind": "sha256",
"hex": "41ec095966ab1e27b4a3787d163827b9445d255934a5db8ba1a289bce2fa684c"
}
}
},
{
"name": "air-typed-2",
"observed": {
"value": "absent",
"digest": {
"kind": "sha256",
"hex": "c3606b45567d30507a3792c0f699c5c75ba7e53ad375829616d5681c5db7744a"
}
}
},
{
"name": "program",
"observed": {
"value": "absent",
"digest": {
"kind": "sha256",
"hex": "4a0d369520a6813f20f19a84128aab98fe83c4c8a905922421f7238e5ed93faf"
}
}
}
]
},
{
"name": "program",
"observed": {
"value": "absent"
},
"children": [
{
"name": "new-archive",
"observed": {
"value": "absent"
},
"children": [
{
"name": "refused",
"observed": {
"value": {
"bool": false
}
}
}
]
},
{
"name": "add-compute",
"observed": {
"value": "absent"
},
"children": [
{
"name": "refused",
"observed": {
"value": {
"bool": false
}
}
}
]
},
{
"name": "add-compute-again",
"observed": {
"value": "absent"
},
"children": [
{
"name": "refused",
"observed": {
"value": {
"bool": false
}
}
}
]
},
{
"name": "add-render",
"observed": {
"value": "absent"
},
"children": [
{
"name": "refused",
"observed": {
"value": {
"bool": false
}
}
}
]
},
{
"name": "add-render-again",
"observed": {
"value": "absent"
},
"children": [
{
"name": "refused",
"observed": {
"value": {
"bool": false
}
}
}
]
},
{
"name": "add-tile",
"observed": {
"value": "absent"
},
"children": [
{
"name": "refused",
"observed": {
"value": {
"bool": false
}
}
}
]
},
{
"name": "add-tile-again",
"observed": {
"value": "absent"
},
"children": [
{
"name": "refused",
"observed": {
"value": {
"bool": false
}
}
}
]
},
{
"name": "serialize",
"observed": {
"value": "absent"
},
"children": [
{
"name": "refused",
"observed": {
"value": {
"bool": false
}
}
}
]
},
{
"name": "file",
"observed": {
"value": "absent"
},
"children": [
{
"name": "exists",
"observed": {
"value": {
"bool": true
}
}
},
{
"name": "nonempty",
"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": 1,
"creation_pipelines_made": 2,
"creation_render_pipelines_made": 1,
"descriptor_keys_built": 2,
"driver_diagnostics_withheld": 1,
"functions_shared": 3,
"functions_translated": 4,
"image_blocks_made_ahead": 1,
"linked_use_questions_asked": 2,
"pipeline_layouts_made": 3,
"plain_buffer_blocks_made": 2,
"pooled_memory_blocks_made": 3,
"render_passes_made": 1,
"shader_modules_made": 4,
"stage_entries_shared": 5,
"stage_entries_specialized": 4,
"variant_pipelines_made": 2,
"variants_taken_back": 5
},
"composed": {
"addressable_buffers_made": 0,
"blocks_ahead_waited_for": 1,
"creation_pipelines_made": 1,
"creation_render_pipelines_made": 1,
"driver_diagnostics_withheld": 1,
"functions_translated": 4,
"image_blocks_made_ahead": 1,
"linked_use_questions_asked": 2,
"plain_buffer_blocks_made": 2,
"render_passes_made": 1,
"stage_entries_shared": 5,
"stage_entries_specialized": 4,
"variant_pipelines_made": 1
},
"ceilings": {
"addressable_buffers_made": 2,
"creation_pipelines_made": 2,
"pipeline_layouts_made": 3,
"pooled_memory_blocks_made": 3,
"shader_modules_made": 4,
"variant_pipelines_made": 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": "binary-archive-adders",
"calls": 1,
"in_calls": 86987250,
"on_cpu": 2424500,
"blocked": 84562750,
"elsewhere": 440958,
"spend": 87428208,
"spend_least": 85532292,
"spend_most": 91644791,
"per_call": [
{
"call": "archives",
"least_calls": 1,
"most_calls": 1,
"wall": 86987250,
"on_cpu": 2424500,
"blocked": 84562750,
"wall_least": 85092875,
"wall_most": 91132750,
"wall_total": 86987250,
"on_cpu_total": 2424500,
"blocked_total": 84562750
}
]
}
},
{
"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": "binary-archive-adders",
"calls": 1,
"in_calls": 8041958,
"on_cpu": 2319917,
"blocked": 5820250,
"elsewhere": 14166,
"spend": 8049875,
"spend_least": 7019332,
"spend_most": 8497584,
"per_call": [
{
"call": "archives",
"least_calls": 1,
"most_calls": 1,
"wall": 8041958,
"on_cpu": 2319917,
"blocked": 5820250,
"wall_least": 6998416,
"wall_most": 8487875,
"wall_total": 8041958,
"on_cpu_total": 2319917,
"blocked_total": 5820250
}
]
}
}
]
}