Files
metal2vulkan/crates/metal2vulkan-conformance/recordings/simdgroup-lockstep-until.json
T
Anees Iqbal 58c65fb510 Re-bless the cost records at 9b046a7cf8
A whole-set cost --runs 8 --write on the M3 Max, then --alone --runs 8 --write
over the cases it changed (their contrast). The records follow the inline
first-instance passes (fewer command buffers, encoders and secondaries; pass
kinds counted inline) and the argument-buffer border texels, and pay
vertex-fetch-past-4gib-small-buffer its first record (dv-m3c).
2026-11-11 01:18:36 -08:00

535 lines
17 KiB
JSON

{
"format": 1,
"case": "simdgroup-lockstep-until",
"suite_version": 1,
"shaders": [
{
"fixture": "rtl_lockstep.ll",
"entry": "rtl_lockstep_until",
"source_sha256": "a0415655f0c500013fc8fb2d8429c8cfe5321ed32d22312580251e41a82d7802"
},
{
"fixture": "rtl_lockstep.air.ll",
"entry": "rtl_lockstep_until",
"source_sha256": "fe9f9169ba396c629cda5bb7d4632c3fe0f705e1080dba4ff3b5610b9420a7d9"
}
],
"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": "a0415655f0c500013fc8fb2d8429c8cfe5321ed32d22312580251e41a82d7802"
}
}
},
{
"name": "air-typed",
"observed": {
"value": "absent",
"digest": {
"kind": "sha256",
"hex": "fe9f9169ba396c629cda5bb7d4632c3fe0f705e1080dba4ff3b5610b9420a7d9"
}
}
},
{
"name": "buffer:0",
"observed": {
"value": "absent",
"digest": {
"kind": "sha256",
"hex": "86fbf94f03cd28cdeee498b1b108f88ab6d5a9271d8eb62a4d11a138aa44601a"
}
}
},
{
"name": "buffer:1",
"observed": {
"value": "absent",
"digest": {
"kind": "sha256",
"hex": "3774f282071bee8df2737a293d403c60c918ab4ba14158394af0a7bef85e199c"
}
}
}
]
},
{
"name": "library",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "pipeline",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "buffer/0",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "buffer/1",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "dispatch",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "status",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": {
"variant": {
"name": "Completed",
"payload": "absent"
}
}
}
}
}
},
{
"name": "read-back",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "counts-half",
"observed": {
"value": "absent"
}
},
{
"name": "output",
"observed": {
"value": {
"bytes": "JAAAAHAAAAB4AAAAMAAAAIgAAAByAAAAPAAAAKAAAAAaAAAASAAAAJgAAABQAAAAVAAAAHwAAABcAAAAYAAAACoAAABIAAAAeAAAADAAAABUAAAAFgAAADYAAABgAAAAJAAAAFAAAADQAAAAMAAAAGgAAAAeAAAAPAAAAIAAAABKAAAATAAAAHkAAABQAAAAtAAAACYAAABWAAAAwAAAACkAAABcAAAAKwAAAGAAAABiAAAALgAAAGYAAADgAAAAMQAAAGwAAAAzAAAAcAAAAHIAAAA2AAAAdgAAAHgAAAA5AAAAXAAAADsAAABgAAAAtAAAAD4AAABmAAAAQAAAAAIAAAADAAAAAwAAAAIAAAADAAAAAwAAAAIAAAADAAAAAQAAAAIAAAADAAAAAgAAAAIAAAAFAAAAAgAAAAIAAAABAAAAAgAAAAMAAAABAAAAAgAAAAAAAAABAAAAAgAAAAIAAAADAAAABAAAAAIAAAADAAAAAAAAAAIAAAADAAAAAQAAAAEAAAACAAAAAQAAAAIAAAAAAAAAAQAAAAIAAAAAAAAAAQAAAAAAAAABAAAAAQAAAAAAAAABAAAAAgAAAAAAAAABAAAAAAAAAAEAAAABAAAAAAAAAAEAAAABAAAAAAAAAAEAAAAAAAAAAQAAAAIAAAAAAAAAAQAAAAAAAAA="
},
"shape": {
"bytes": {
"region": {
"buffer": {
"offset": 0,
"length": 512
}
},
"element": "u32",
"row_offset": 0,
"row_elements": 64,
"row_pitch": 256,
"rows": 2,
"image_pitch": 512,
"images": 1,
"gaps": "compared"
}
}
}
},
{
"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,
"arena_pools_made": 1,
"argument_objects_retained": 2,
"argument_tables_retained": 1,
"bare_starts": 1,
"batches_held_past_a_look": 1,
"batches_with_none_pending": 1,
"blocks_ahead_waited_for": 3,
"buffer_blocks_made_ahead": 2,
"buffer_blocks_made_in_place": 2,
"command_buffers_begun": 4,
"command_buffers_begun_batch_barriers": 1,
"command_buffers_begun_continuations": 1,
"command_buffers_begun_encoders": 1,
"command_buffers_begun_segments": 1,
"command_buffers_submitted": 4,
"commands_recorded.begin_command_buffer": 4,
"commands_recorded.cmd_bind_descriptor_sets": 1,
"commands_recorded.cmd_bind_pipeline": 1,
"commands_recorded.cmd_dispatch": 1,
"commands_recorded.cmd_pipeline_barrier": 1,
"commands_recorded.cmd_push_constants": 1,
"commands_recorded.end_command_buffer": 4,
"commits_handed_off": 1,
"commits_taken_in": 1,
"completed_waits": 4,
"completed_where_seen": 1,
"completion_arms": 1,
"completion_arms_after_a_wake": 1,
"completion_waiter_parks": 1,
"device_memory_allocated": 205520896,
"dispatch_pipelines_pooled": 1,
"dispatch_shapes_made": 1,
"dispatch_used_resources_listed": 1,
"encoder_command_buffers_begun": 3,
"fence_waits": 1,
"finales_apart": 1,
"functions_translated": 1,
"gate_waits": 1,
"gate_waits_slept": 1,
"heads_held_for_host_steps": 3,
"heap_tables_worked_out": 1,
"host_steps_recorded": 1,
"image_blocks_made_ahead": 1,
"image_blocks_made_in_place": 1,
"new_buffer_bytes_cleared": 768,
"object_churn.buffers_parked": 2,
"object_churn.buffers_recycled": 2,
"pipeline_layouts_made": 1,
"pipeline_layouts_shared": 1,
"plain_buffer_blocks_made": 2,
"pooled_memory_blocks_made": 3,
"queue_submissions": 1,
"queues_sharing_a_vk_queue": 1,
"resident_textures_looked_at": 1,
"scheduled_where_submitted": 1,
"scheduler_passes": 4,
"scheduler_passes_by_waiters": 1,
"scheduler_sleeps": 4,
"scheduler_wakes_commit": 1,
"scheduler_wakes_host": 3,
"shader_modules_made": 1,
"slot_returns": 1,
"spare_command_pools_taken": 1,
"stage_entries_specialized": 1,
"submit_infos": 2,
"trail_waits": 1,
"variant_pipelines_made": 1,
"wakes_completion_waiters": 1,
"wakes_spared": 8
},
"composed": {
"addressable_buffers_made": 2,
"arena_pools_made": 1,
"blocks_ahead_waited_for": 3,
"buffer_blocks_made_ahead": 2,
"buffer_blocks_made_in_place": 0,
"device_memory_allocated": 205520896,
"dispatch_shapes_made": 1,
"dispatch_used_resources_listed": 1,
"image_blocks_made_ahead": 1,
"image_blocks_made_in_place": 0,
"pipeline_layouts_made": 1,
"plain_buffer_blocks_made": 2,
"pooled_memory_blocks_made": 3,
"queues_sharing_a_vk_queue": 0
},
"per_state": {
"pipelines": 1,
"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 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": "simdgroup-lockstep-until",
"calls": 7,
"in_calls": 26211416,
"on_cpu": 856001,
"blocked": 25301625,
"elsewhere": 3119792,
"spend": 29281916,
"spend_least": 29050457,
"spend_most": 30542626,
"per_call": [
{
"call": "buffer",
"least_calls": 2,
"most_calls": 2,
"wall": 2042,
"on_cpu": 2167,
"blocked": 0,
"wall_least": 1916,
"wall_most": 2416,
"wall_total": 24084,
"on_cpu_total": 24375,
"blocked_total": 0
},
{
"call": "compute_pipeline",
"least_calls": 1,
"most_calls": 1,
"wall": 72708,
"on_cpu": 73125,
"blocked": 0,
"wall_least": 69292,
"wall_most": 109334,
"wall_total": 72708,
"on_cpu_total": 73125,
"blocked_total": 0
},
{
"call": "dispatch",
"least_calls": 1,
"most_calls": 1,
"wall": 114916,
"on_cpu": 115083,
"blocked": 0,
"wall_least": 98958,
"wall_most": 121292,
"wall_total": 114916,
"on_cpu_total": 115083,
"blocked_total": 0
},
{
"call": "library",
"least_calls": 1,
"most_calls": 1,
"wall": 22476375,
"on_cpu": 633084,
"blocked": 21839125,
"wall_least": 22079334,
"wall_most": 23504916,
"wall_total": 22476375,
"on_cpu_total": 633084,
"blocked_total": 21839125
},
{
"call": "read_buffer",
"least_calls": 1,
"most_calls": 1,
"wall": 708,
"on_cpu": 917,
"blocked": 0,
"wall_least": 459,
"wall_most": 1666,
"wall_total": 708,
"on_cpu_total": 917,
"blocked_total": 0
},
{
"call": "wait",
"least_calls": 1,
"most_calls": 1,
"wall": 3663750,
"on_cpu": 9500,
"blocked": 3648249,
"wall_least": 3092667,
"wall_most": 3763333,
"wall_total": 3663750,
"on_cpu_total": 9500,
"blocked_total": 3648249
}
]
}
},
{
"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": "simdgroup-lockstep-until",
"calls": 7,
"in_calls": 2889792,
"on_cpu": 1610083,
"blocked": 1273582,
"elsewhere": 776542,
"spend": 3661459,
"spend_least": 3523253,
"spend_most": 3898251,
"per_call": [
{
"call": "buffer",
"least_calls": 2,
"most_calls": 2,
"wall": 1042,
"on_cpu": 1167,
"blocked": 0,
"wall_least": 750,
"wall_most": 1167,
"wall_total": 3334,
"on_cpu_total": 3584,
"blocked_total": 0
},
{
"call": "compute_pipeline",
"least_calls": 1,
"most_calls": 1,
"wall": 1555875,
"on_cpu": 1442916,
"blocked": 111458,
"wall_least": 1495250,
"wall_most": 1616167,
"wall_total": 1555875,
"on_cpu_total": 1442916,
"blocked_total": 111458
},
{
"call": "dispatch",
"least_calls": 1,
"most_calls": 1,
"wall": 35541,
"on_cpu": 35709,
"blocked": 0,
"wall_least": 27875,
"wall_most": 47917,
"wall_total": 35541,
"on_cpu_total": 35709,
"blocked_total": 0
},
{
"call": "library",
"least_calls": 1,
"most_calls": 1,
"wall": 118125,
"on_cpu": 121625,
"blocked": 0,
"wall_least": 115167,
"wall_most": 126875,
"wall_total": 118125,
"on_cpu_total": 121625,
"blocked_total": 0
},
{
"call": "read_buffer",
"least_calls": 1,
"most_calls": 1,
"wall": 292,
"on_cpu": 458,
"blocked": 0,
"wall_least": 250,
"wall_most": 625,
"wall_total": 292,
"on_cpu_total": 458,
"blocked_total": 0
},
{
"call": "wait",
"least_calls": 1,
"most_calls": 1,
"wall": 1165708,
"on_cpu": 3042,
"blocked": 1162124,
"wall_least": 1048584,
"wall_most": 1330458,
"wall_total": 1165708,
"on_cpu_total": 3042,
"blocked_total": 1162124
}
]
}
}
]
}