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 atb03cb41a98, cost --check at632064ab46(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)
609 lines
20 KiB
JSON
609 lines
20 KiB
JSON
{
|
|
"format": 1,
|
|
"case": "read-through-read-write",
|
|
"suite_version": 1,
|
|
"shaders": [
|
|
{
|
|
"fixture": "kernel_read_through.ll",
|
|
"entry": "rt_rw",
|
|
"source_sha256": "f29d49c694f95c3f9526afe54972b0f20d810595c240ecdf8856dc64a4c8f703"
|
|
},
|
|
{
|
|
"fixture": "kernel_read_through.air.ll",
|
|
"entry": "rt_rw",
|
|
"source_sha256": "fc8da31ebb4f219ee7c614d0a8edd2d2298df053c8aefe22cf65aaa80d88d0c6"
|
|
}
|
|
],
|
|
"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": "f29d49c694f95c3f9526afe54972b0f20d810595c240ecdf8856dc64a4c8f703"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "air-typed",
|
|
"observed": {
|
|
"value": "absent",
|
|
"digest": {
|
|
"kind": "sha256",
|
|
"hex": "fc8da31ebb4f219ee7c614d0a8edd2d2298df053c8aefe22cf65aaa80d88d0c6"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "buffer:positions",
|
|
"observed": {
|
|
"value": "absent",
|
|
"digest": {
|
|
"kind": "sha256",
|
|
"hex": "c6ab989db16fc34589cbe52aa296a8dc3ab84a6f51aeb0e48508721577a4fa8b"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "buffer:blank",
|
|
"observed": {
|
|
"value": "absent",
|
|
"digest": {
|
|
"kind": "sha256",
|
|
"hex": "087d80f7f182dd44f184aa86ca34488853ebcc04f0c60d5294919a466b463831"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "texture",
|
|
"observed": {
|
|
"value": "absent",
|
|
"digest": {
|
|
"kind": "sha256",
|
|
"hex": "6b7735ac9404b40b004849b685fe787a6b972534011422b3ea390c8ce5919dd0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "read:rt_rw",
|
|
"observed": {
|
|
"value": "absent",
|
|
"digest": {
|
|
"kind": "sha256",
|
|
"hex": "b86f6b1b803a408f3296500652b7a28baf7fc4a588efe06cd64964a79b99121d"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "library",
|
|
"observed": {
|
|
"value": {
|
|
"variant": {
|
|
"name": "Ok",
|
|
"payload": "absent"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "buffer/positions",
|
|
"observed": {
|
|
"value": {
|
|
"variant": {
|
|
"name": "Ok",
|
|
"payload": "absent"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "texture",
|
|
"observed": {
|
|
"value": {
|
|
"variant": {
|
|
"name": "Ok",
|
|
"payload": "absent"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "pipeline/rt_rw",
|
|
"observed": {
|
|
"value": {
|
|
"variant": {
|
|
"name": "Ok",
|
|
"payload": "absent"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "rt_rw/buffer",
|
|
"observed": {
|
|
"value": {
|
|
"variant": {
|
|
"name": "Ok",
|
|
"payload": "absent"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "rt_rw/dispatch",
|
|
"observed": {
|
|
"value": {
|
|
"variant": {
|
|
"name": "Ok",
|
|
"payload": "absent"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "rt_rw/status",
|
|
"observed": {
|
|
"value": {
|
|
"variant": {
|
|
"name": "Ok",
|
|
"payload": {
|
|
"variant": {
|
|
"name": "Completed",
|
|
"payload": "absent"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "rt_rw/read-back",
|
|
"observed": {
|
|
"value": {
|
|
"variant": {
|
|
"name": "Ok",
|
|
"payload": "absent"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "words",
|
|
"observed": {
|
|
"value": "absent"
|
|
},
|
|
"children": [
|
|
{
|
|
"name": "rt_rw",
|
|
"observed": {
|
|
"value": {
|
|
"bytes": "AAAgQQAAhUMAgAJEAIBCRAAAgEEAAIhDAAAERAAAREQAAIA/AICAQwBAAEQAQEBEAACAPwAAgD8AAIA/AACAPwAAgD8AAIA/AACAPwAAgD8AAIA/AACAPwAAgD8AAIA/AACAPwAAgD8AAIA/AACAPwAAgD8AAIA/AACAPwAAgD8AAIA/AACAPwAAgD8AAIA/AACAPwAAgD8AAIA/AACAPwAAgD8AAIA/AACAPwAAgD8AAIA/AACAPwAAgD8AAIA/AACAPwAAgD8AAIA/AACAPwAAgD8AAIA/AACAPwAAgD8AAMBAAACDQwCAAUQAgEFEAABAQACAgUMAwABEAMBARAAAgD8AAIA/AACAPwAAgD8AAIA/AICAQwBAAEQAQEBEAACAPwCAgEMAQABEAEBARAAAgD8AgIBDAEAARABAQEQ="
|
|
},
|
|
"shape": {
|
|
"bytes": {
|
|
"region": {
|
|
"buffer": {
|
|
"offset": 0,
|
|
"length": 320
|
|
}
|
|
},
|
|
"element": "u32",
|
|
"row_offset": 0,
|
|
"row_elements": 4,
|
|
"row_pitch": 16,
|
|
"rows": 20,
|
|
"image_pitch": 320,
|
|
"images": 1,
|
|
"gaps": "ignored"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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": 3,
|
|
"argument_tables_retained": 1,
|
|
"bare_starts": 1,
|
|
"batches_held_past_a_look": 1,
|
|
"batches_with_none_pending": 1,
|
|
"blocks_ahead_hurried": 1,
|
|
"blocks_ahead_waited_for": 4,
|
|
"buffer_blocks_made_ahead": 2,
|
|
"command_buffers_begun": 5,
|
|
"command_buffers_begun_batch_barriers": 1,
|
|
"command_buffers_begun_batch_work": 1,
|
|
"command_buffers_begun_continuations": 1,
|
|
"command_buffers_begun_encoders": 1,
|
|
"command_buffers_begun_segments": 1,
|
|
"command_buffers_submitted": 5,
|
|
"commands_recorded.begin_command_buffer": 4,
|
|
"commands_recorded.cmd_bind_descriptor_sets": 1,
|
|
"commands_recorded.cmd_bind_pipeline": 1,
|
|
"commands_recorded.cmd_clear_color_image": 1,
|
|
"commands_recorded.cmd_dispatch": 1,
|
|
"commands_recorded.cmd_pipeline_barrier": 3,
|
|
"commands_recorded.cmd_push_constants": 1,
|
|
"commands_recorded.end_command_buffer": 5,
|
|
"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": 276824192,
|
|
"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_copy_blocks_readied": 1,
|
|
"host_steps_recorded": 1,
|
|
"host_texel_copies": 1,
|
|
"image_blocks_made_ahead": 2,
|
|
"images_started_on_the_host": 1,
|
|
"new_buffer_bytes_cleared": 640,
|
|
"object_churn.buffers_parked": 2,
|
|
"object_churn.buffers_recycled": 2,
|
|
"object_churn.images_own_memory": 1,
|
|
"object_churn.textures_image": 1,
|
|
"object_churn.vk_image_bindings": 1,
|
|
"object_churn.vk_image_views_made": 1,
|
|
"object_churn.vk_images_destroyed": 1,
|
|
"object_churn.vk_images_made": 1,
|
|
"pipeline_layouts_made": 1,
|
|
"plain_buffer_blocks_made": 2,
|
|
"pooled_memory_blocks_made": 4,
|
|
"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": 3,
|
|
"scheduler_wakes_commit": 1,
|
|
"scheduler_wakes_host": 2,
|
|
"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": {
|
|
"blocks_ahead_hurried": 1,
|
|
"blocks_ahead_waited_for": 4,
|
|
"buffer_blocks_made_ahead": 2,
|
|
"command_buffers_begun": 5,
|
|
"command_buffers_begun_batch_work": 1,
|
|
"command_buffers_submitted": 5,
|
|
"commands_recorded.cmd_clear_color_image": 1,
|
|
"commands_recorded.cmd_pipeline_barrier": 3,
|
|
"commands_recorded.end_command_buffer": 5,
|
|
"device_memory_allocated": 276824192,
|
|
"dispatch_used_resources_listed": 1,
|
|
"host_copy_blocks_readied": 1,
|
|
"image_blocks_made_ahead": 2,
|
|
"plain_buffer_blocks_made": 2,
|
|
"queues_sharing_a_vk_queue": 0
|
|
},
|
|
"ceilings": {
|
|
"addressable_buffers_made": 2,
|
|
"arena_pools_made": 1,
|
|
"pooled_memory_blocks_made": 4
|
|
},
|
|
"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 8.44 and ours at 8.12; 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": 287,
|
|
"times": {
|
|
"case": "read-through-read-write",
|
|
"calls": 8,
|
|
"in_calls": 33430252,
|
|
"on_cpu": 1121333,
|
|
"blocked": 32323959,
|
|
"elsewhere": 3496792,
|
|
"spend": 36928127,
|
|
"spend_least": 36589125,
|
|
"spend_most": 38477248,
|
|
"per_call": [
|
|
{
|
|
"call": "buffer",
|
|
"least_calls": 2,
|
|
"most_calls": 2,
|
|
"wall": 9459,
|
|
"on_cpu": 9667,
|
|
"blocked": 0,
|
|
"wall_least": 9166,
|
|
"wall_most": 10792,
|
|
"wall_total": 45418,
|
|
"on_cpu_total": 45875,
|
|
"blocked_total": 0
|
|
},
|
|
{
|
|
"call": "compute_pipeline",
|
|
"least_calls": 1,
|
|
"most_calls": 1,
|
|
"wall": 107834,
|
|
"on_cpu": 108041,
|
|
"blocked": 0,
|
|
"wall_least": 104958,
|
|
"wall_most": 129459,
|
|
"wall_total": 107834,
|
|
"on_cpu_total": 108041,
|
|
"blocked_total": 0
|
|
},
|
|
{
|
|
"call": "dispatch_threads",
|
|
"least_calls": 1,
|
|
"most_calls": 1,
|
|
"wall": 167458,
|
|
"on_cpu": 167709,
|
|
"blocked": 0,
|
|
"wall_least": 160250,
|
|
"wall_most": 188583,
|
|
"wall_total": 167458,
|
|
"on_cpu_total": 167709,
|
|
"blocked_total": 0
|
|
},
|
|
{
|
|
"call": "library",
|
|
"least_calls": 1,
|
|
"most_calls": 1,
|
|
"wall": 29022167,
|
|
"on_cpu": 706666,
|
|
"blocked": 28315501,
|
|
"wall_least": 28652667,
|
|
"wall_most": 30615041,
|
|
"wall_total": 29022167,
|
|
"on_cpu_total": 706666,
|
|
"blocked_total": 28315501
|
|
},
|
|
{
|
|
"call": "read_buffer",
|
|
"least_calls": 1,
|
|
"most_calls": 1,
|
|
"wall": 7167,
|
|
"on_cpu": 7333,
|
|
"blocked": 0,
|
|
"wall_least": 6458,
|
|
"wall_most": 7542,
|
|
"wall_total": 7167,
|
|
"on_cpu_total": 7333,
|
|
"blocked_total": 0
|
|
},
|
|
{
|
|
"call": "texture",
|
|
"least_calls": 1,
|
|
"most_calls": 1,
|
|
"wall": 61291,
|
|
"on_cpu": 61584,
|
|
"blocked": 0,
|
|
"wall_least": 60042,
|
|
"wall_most": 73083,
|
|
"wall_total": 61291,
|
|
"on_cpu_total": 61584,
|
|
"blocked_total": 0
|
|
},
|
|
{
|
|
"call": "wait",
|
|
"least_calls": 1,
|
|
"most_calls": 1,
|
|
"wall": 4027209,
|
|
"on_cpu": 25416,
|
|
"blocked": 4003917,
|
|
"wall_least": 3907750,
|
|
"wall_most": 4111416,
|
|
"wall_total": 4027209,
|
|
"on_cpu_total": 25416,
|
|
"blocked_total": 4003917
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"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 8.44 and ours at 8.12; 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": 284,
|
|
"times": {
|
|
"case": "read-through-read-write",
|
|
"calls": 8,
|
|
"in_calls": 8110875,
|
|
"on_cpu": 5172792,
|
|
"blocked": 3003459,
|
|
"elsewhere": 3279792,
|
|
"spend": 11390667,
|
|
"spend_least": 11166999,
|
|
"spend_most": 78744624,
|
|
"per_call": [
|
|
{
|
|
"call": "buffer",
|
|
"least_calls": 2,
|
|
"most_calls": 2,
|
|
"wall": 20042,
|
|
"on_cpu": 20291,
|
|
"blocked": 0,
|
|
"wall_least": 19458,
|
|
"wall_most": 28958,
|
|
"wall_total": 67167,
|
|
"on_cpu_total": 67707,
|
|
"blocked_total": 0
|
|
},
|
|
{
|
|
"call": "compute_pipeline",
|
|
"least_calls": 1,
|
|
"most_calls": 1,
|
|
"wall": 2205125,
|
|
"on_cpu": 2205709,
|
|
"blocked": 0,
|
|
"wall_least": 2116042,
|
|
"wall_most": 2529958,
|
|
"wall_total": 2205125,
|
|
"on_cpu_total": 2205709,
|
|
"blocked_total": 0
|
|
},
|
|
{
|
|
"call": "dispatch_threads",
|
|
"least_calls": 1,
|
|
"most_calls": 1,
|
|
"wall": 411792,
|
|
"on_cpu": 412042,
|
|
"blocked": 0,
|
|
"wall_least": 383750,
|
|
"wall_most": 518792,
|
|
"wall_total": 411792,
|
|
"on_cpu_total": 412042,
|
|
"blocked_total": 0
|
|
},
|
|
{
|
|
"call": "library",
|
|
"least_calls": 1,
|
|
"most_calls": 1,
|
|
"wall": 2319000,
|
|
"on_cpu": 2319959,
|
|
"blocked": 0,
|
|
"wall_least": 2296792,
|
|
"wall_most": 2470958,
|
|
"wall_total": 2319000,
|
|
"on_cpu_total": 2319959,
|
|
"blocked_total": 0
|
|
},
|
|
{
|
|
"call": "read_buffer",
|
|
"least_calls": 1,
|
|
"most_calls": 1,
|
|
"wall": 2000,
|
|
"on_cpu": 2167,
|
|
"blocked": 0,
|
|
"wall_least": 1791,
|
|
"wall_most": 3708,
|
|
"wall_total": 2000,
|
|
"on_cpu_total": 2167,
|
|
"blocked_total": 0
|
|
},
|
|
{
|
|
"call": "texture",
|
|
"least_calls": 1,
|
|
"most_calls": 1,
|
|
"wall": 170208,
|
|
"on_cpu": 170583,
|
|
"blocked": 0,
|
|
"wall_least": 163792,
|
|
"wall_most": 231625,
|
|
"wall_total": 170208,
|
|
"on_cpu_total": 170583,
|
|
"blocked_total": 0
|
|
},
|
|
{
|
|
"call": "wait",
|
|
"least_calls": 1,
|
|
"most_calls": 1,
|
|
"wall": 3015292,
|
|
"on_cpu": 11833,
|
|
"blocked": 3003459,
|
|
"wall_least": 2939583,
|
|
"wall_most": 57184583,
|
|
"wall_total": 3015292,
|
|
"on_cpu_total": 11833,
|
|
"blocked_total": 3003459
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|