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

415 lines
13 KiB
JSON

{
"format": 1,
"case": "binary-archive-sources",
"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"
}
],
"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": "program",
"observed": {
"value": "absent",
"digest": {
"kind": "sha256",
"hex": "0331138b03c9a66d917fe80e89279aec648d75d15909144eb62f94560b4110e3"
}
}
}
]
},
{
"name": "program",
"observed": {
"value": "absent"
},
"children": [
{
"name": "write-text",
"observed": {
"value": "absent"
},
"children": [
{
"name": "refused",
"observed": {
"value": {
"bool": false
}
}
}
]
},
{
"name": "from-a-text-file",
"observed": {
"value": "absent"
},
"children": [
{
"name": "refused",
"observed": {
"value": {
"bool": true
}
}
}
]
},
{
"name": "write-empty",
"observed": {
"value": "absent"
},
"children": [
{
"name": "refused",
"observed": {
"value": {
"bool": false
}
}
}
]
},
{
"name": "from-an-empty-file",
"observed": {
"value": "absent"
},
"children": [
{
"name": "refused",
"observed": {
"value": {
"bool": true
}
}
}
]
},
{
"name": "from-a-missing-file",
"observed": {
"value": "absent"
},
"children": [
{
"name": "refused",
"observed": {
"value": {
"bool": true
}
}
}
]
},
{
"name": "from-a-directory",
"observed": {
"value": "absent"
},
"children": [
{
"name": "refused",
"observed": {
"value": {
"bool": true
}
}
}
]
},
{
"name": "write-a-metallib",
"observed": {
"value": "absent"
},
"children": [
{
"name": "refused",
"observed": {
"value": {
"bool": false
}
}
}
]
},
{
"name": "from-a-metallib",
"observed": {
"value": "absent"
},
"children": [
{
"name": "refused",
"observed": {
"value": {
"bool": false
}
}
}
]
},
{
"name": "from-a-metallib-held-kernel",
"observed": {
"value": "absent"
},
"children": [
{
"name": "refused",
"observed": {
"value": {
"bool": true
}
}
}
]
},
{
"name": "from-a-metallib-without-the-bit",
"observed": {
"value": "absent"
},
"children": [
{
"name": "refused",
"observed": {
"value": {
"bool": false
}
}
}
]
}
]
},
{
"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": {
"blocks_ahead_waited_for": 1,
"functions_shared": 1,
"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,
"variants_taken_back": 1
},
"composed": {
"blocks_ahead_waited_for": 1,
"functions_translated": 1,
"image_blocks_made_ahead": 1,
"plain_buffer_blocks_made": 2,
"stage_entries_specialized": 1
},
"ceilings": {
"pipeline_layouts_made": 1,
"pooled_memory_blocks_made": 3,
"shader_modules_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": "binary-archive-sources",
"calls": 1,
"in_calls": 45755292,
"on_cpu": 1615375,
"blocked": 44139917,
"elsewhere": 18709,
"spend": 45770834,
"spend_least": 44760001,
"spend_most": 48113708,
"per_call": [
{
"call": "archives",
"least_calls": 1,
"most_calls": 1,
"wall": 45755292,
"on_cpu": 1615375,
"blocked": 44139917,
"wall_least": 44740709,
"wall_most": 48096250,
"wall_total": 45755292,
"on_cpu_total": 1615375,
"blocked_total": 44139917
}
]
}
},
{
"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-sources",
"calls": 1,
"in_calls": 965583,
"on_cpu": 916333,
"blocked": 50501,
"elsewhere": 6583,
"spend": 967417,
"spend_least": 921959,
"spend_most": 1101624,
"per_call": [
{
"call": "archives",
"least_calls": 1,
"most_calls": 1,
"wall": 965583,
"on_cpu": 916333,
"blocked": 50501,
"wall_least": 909042,
"wall_most": 1092083,
"wall_total": 965583,
"on_cpu_total": 916333,
"blocked_total": 50501
}
]
}
}
]
}