Files
metal2vulkan/crates/metal2vulkan-conformance/recordings/compute-limits-plain.json
T
Anees Iqbal edabbc0b2c Re-bless the cost records at 8b2d463e92
544 recording(s) whose bounds moved. Pin 34 candidate (84e4244c5d). Counts moved down: blend-sweep-second-source translates 1 function, not 2 (xrblend: a dual-source second output to a padded attachment is the blend second source, 9f4c95f3f5); sampler-r-address-modes begins 9 command buffers, not 10 (readoffset reads through a sampler, 3257c8886c). First records for the 28 cases new since the last run (read_through 11 measured, padded_blends 17). Contrast: the record at b03cb41a98, cost --check at 632064ab46 (job 13407).
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 5ff9261e7d93fdcf92a05f6c1e6eec6f12b8deb1)
2026-11-10 02:42:10 -08:00

281 lines
8.7 KiB
JSON

{
"format": 1,
"case": "compute-limits-plain",
"suite_version": 1,
"shaders": [
{
"fixture": "compute_thread_limit.ll",
"entry": "compute_thread_limit_plain",
"source_sha256": "038d53ea10e88bf3ef0afb0a8d044ddbc77f07a8edd6af3df3e6bc409cbd92bd"
},
{
"fixture": "compute_thread_limit.air.ll",
"entry": "compute_thread_limit_plain",
"source_sha256": "38d1a31c40b4ce47a0b2e4dc3c2963d118bf614b97e3da6820360cc53c47a4ef"
}
],
"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": "038d53ea10e88bf3ef0afb0a8d044ddbc77f07a8edd6af3df3e6bc409cbd92bd"
}
}
},
{
"name": "air-typed",
"observed": {
"value": "absent",
"digest": {
"kind": "sha256",
"hex": "38d1a31c40b4ce47a0b2e4dc3c2963d118bf614b97e3da6820360cc53c47a4ef"
}
}
},
{
"name": "descriptor",
"observed": {
"value": "absent",
"digest": {
"kind": "sha256",
"hex": "49fd3349ee6836f7ff79fd72ea669da86411729f27abb846f28eb33d34c4ce98"
}
}
}
]
},
{
"name": "library",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "created",
"observed": {
"value": "absent"
},
"children": [
{
"name": "refused",
"observed": {
"value": {
"bool": false
}
}
},
{
"name": "max_total_threads_per_threadgroup",
"observed": {
"value": {
"uint": 128
}
}
}
]
},
{
"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,
"device_memory_allocated": 205520896,
"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
},
"moving": {
"pooled_memory_blocks_made": 0
},
"composed": {
"blocks_ahead_waited_for": 3,
"buffer_blocks_made_ahead": 2,
"device_memory_allocated": 205520896,
"image_blocks_made_ahead": 1,
"plain_buffer_blocks_made": 2
},
"ceilings": {
"addressable_buffers_made": 2,
"pooled_memory_blocks_made": 3
},
"per_state": {
"pipelines": 0,
"states": 1
}
}
],
"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 30.12 and ours at 38.41; 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": 413,
"times": {
"case": "compute-limits-plain",
"calls": 2,
"in_calls": 68634292,
"on_cpu": 1220792,
"blocked": 67383042,
"elsewhere": 4458,
"spend": 68639250,
"spend_least": 48144375,
"spend_most": 92633208,
"per_call": [
{
"call": "compute_pipeline_limits",
"least_calls": 1,
"most_calls": 1,
"wall": 140750,
"on_cpu": 141083,
"blocked": 0,
"wall_least": 125000,
"wall_most": 304083,
"wall_total": 140750,
"on_cpu_total": 141083,
"blocked_total": 0
},
{
"call": "library",
"least_calls": 1,
"most_calls": 1,
"wall": 68509292,
"on_cpu": 1083333,
"blocked": 67383042,
"wall_least": 48009834,
"wall_most": 92476375,
"wall_total": 68509292,
"on_cpu_total": 1083333,
"blocked_total": 67383042
}
]
}
},
{
"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 30.12 and ours at 38.41; 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": 286,
"times": {
"case": "compute-limits-plain",
"calls": 2,
"in_calls": 4457375,
"on_cpu": 3730000,
"blocked": 95292,
"elsewhere": 2667,
"spend": 4916209,
"spend_least": 3820042,
"spend_most": 22975084,
"per_call": [
{
"call": "compute_pipeline_limits",
"least_calls": 1,
"most_calls": 1,
"wall": 2818042,
"on_cpu": 2815667,
"blocked": 0,
"wall_least": 2655917,
"wall_most": 10153917,
"wall_total": 2818042,
"on_cpu_total": 2815667,
"blocked_total": 0
},
{
"call": "library",
"least_calls": 1,
"most_calls": 1,
"wall": 1009541,
"on_cpu": 951250,
"blocked": 0,
"wall_least": 795583,
"wall_most": 12820083,
"wall_total": 1009541,
"on_cpu_total": 951250,
"blocked_total": 0
}
]
}
}
]
}