A whole-set cost --runs 8 --write on the M3 Max, then --alone over the cases it
changed: images' blocks at 64 MiB (device_memory_allocated of the cases that
read 68 MiB) and what else moved since 9b046a7cf8 (dv-m3d).
382 lines
13 KiB
JSON
382 lines
13 KiB
JSON
{
|
|
"format": 1,
|
|
"case": "buffer-depth-samples-s8-part-4",
|
|
"suite_version": 1,
|
|
"shaders": [
|
|
{
|
|
"fixture": "rt6_samples",
|
|
"entry": "rt6_read_stencil",
|
|
"source_sha256": "857adcbb6951b3d5348087377c099c2b2b4733fe56cc754501b605496cb30fb9"
|
|
}
|
|
],
|
|
"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": "calls",
|
|
"observed": {
|
|
"value": "absent",
|
|
"digest": {
|
|
"kind": "sha256",
|
|
"hex": "8cc5a6a76d7d494fc5a4b9da09f002e4ac8a35f9b0b53eddc33183db32425bf8"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "copy-units",
|
|
"observed": {
|
|
"value": "absent",
|
|
"digest": {
|
|
"kind": "sha256",
|
|
"hex": "a6250da1e7ca144af7fdac8fd737c2e88e87cc08e232b16b53452227a56d5dde"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "work",
|
|
"observed": {
|
|
"value": {
|
|
"variant": {
|
|
"name": "Ok",
|
|
"payload": "absent"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "samples",
|
|
"observed": {
|
|
"value": {
|
|
"bytes": "WlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWgswVXqfxOkOM1h9osfsETZaWlpaWlpaWlpaWlpaWlpaW4Clyu8UOV6DqM3yFzxhhlpaWlpaWlpaWlpaWlpaWlqr0PUaP2SJrtP4HUJnjLHWWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWg=="
|
|
},
|
|
"shape": {
|
|
"bytes": {
|
|
"region": {
|
|
"buffer": {
|
|
"offset": 0,
|
|
"length": 256
|
|
}
|
|
},
|
|
"element": "u8",
|
|
"row_offset": 0,
|
|
"row_elements": 32,
|
|
"row_pitch": 32,
|
|
"rows": 8,
|
|
"image_pitch": 256,
|
|
"images": 1,
|
|
"gaps": "ignored"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "copied-back",
|
|
"observed": {
|
|
"value": {
|
|
"bytes": "CzBVep/E6Q4zWH2ix+wRNluApcrvFDleg6jN8hc8YYar0PUaP2SJrtP4HUJnjLHW"
|
|
},
|
|
"shape": {
|
|
"bytes": {
|
|
"region": {
|
|
"buffer": {
|
|
"offset": 0,
|
|
"length": 48
|
|
}
|
|
},
|
|
"element": "u8",
|
|
"row_offset": 0,
|
|
"row_elements": 16,
|
|
"row_pitch": 16,
|
|
"rows": 3,
|
|
"image_pitch": 48,
|
|
"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_submitted_by_waiters": 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": 12,
|
|
"command_buffers_begun_batch_barriers": 4,
|
|
"command_buffers_begun_batch_work": 1,
|
|
"command_buffers_begun_continuations": 1,
|
|
"command_buffers_begun_encoders": 4,
|
|
"command_buffers_begun_secondaries": 1,
|
|
"command_buffers_begun_segments": 1,
|
|
"command_buffers_deferred": 7,
|
|
"command_buffers_submitted": 11,
|
|
"commands_recorded.begin_command_buffer": 9,
|
|
"commands_recorded.cmd_begin_render_pass": 4,
|
|
"commands_recorded.cmd_bind_descriptor_sets": 5,
|
|
"commands_recorded.cmd_bind_pipeline": 12,
|
|
"commands_recorded.cmd_clear_color_image": 1,
|
|
"commands_recorded.cmd_clear_depth_stencil_image": 1,
|
|
"commands_recorded.cmd_copy_buffer": 1,
|
|
"commands_recorded.cmd_copy_buffer_to_image": 1,
|
|
"commands_recorded.cmd_copy_image": 2,
|
|
"commands_recorded.cmd_copy_image_to_buffer": 1,
|
|
"commands_recorded.cmd_dispatch": 2,
|
|
"commands_recorded.cmd_draw": 10,
|
|
"commands_recorded.cmd_end_render_pass": 4,
|
|
"commands_recorded.cmd_execute_commands": 1,
|
|
"commands_recorded.cmd_pipeline_barrier": 21,
|
|
"commands_recorded.cmd_push_constants": 1,
|
|
"commands_recorded.cmd_set_scissor": 3,
|
|
"commands_recorded.cmd_set_viewport": 3,
|
|
"commands_recorded.end_command_buffer": 12,
|
|
"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,
|
|
"creation_pipelines_made": 0,
|
|
"device_memory_allocated": 205521024,
|
|
"dispatch_pipelines_pooled": 1,
|
|
"dispatch_shapes_made": 1,
|
|
"dispatch_used_resources_listed": 1,
|
|
"encoder_command_buffers_begun": 7,
|
|
"fence_waits": 1,
|
|
"finales_folded": 1,
|
|
"functions_shared": 1,
|
|
"functions_translated": 1,
|
|
"gate_waits": 1,
|
|
"gate_waits_slept": 1,
|
|
"heap_tables_worked_out": 1,
|
|
"image_blocks_made_ahead": 1,
|
|
"image_blocks_made_in_place": 1,
|
|
"new_buffer_bytes_cleared": 1136,
|
|
"object_churn.buffers_evicted": 2,
|
|
"object_churn.buffers_parked": 4,
|
|
"object_churn.buffers_recycled": 2,
|
|
"object_churn.images_evicted": 3,
|
|
"object_churn.images_own_memory": 7,
|
|
"object_churn.images_parked": 7,
|
|
"object_churn.textures_image": 7,
|
|
"object_churn.vk_buffer_bindings": 2,
|
|
"object_churn.vk_buffers_destroyed": 2,
|
|
"object_churn.vk_buffers_made": 2,
|
|
"object_churn.vk_image_bindings": 7,
|
|
"object_churn.vk_image_views_made": 8,
|
|
"object_churn.vk_images_destroyed": 3,
|
|
"object_churn.vk_images_made": 7,
|
|
"passes_not_inline_layouts": 1,
|
|
"pipeline_layouts_made": 1,
|
|
"plain_buffer_blocks_made": 2,
|
|
"pooled_memory_blocks_made": 3,
|
|
"queue_submissions": 1,
|
|
"queues_sharing_a_vk_queue": 1,
|
|
"render_encoders_ended": 1,
|
|
"render_passes_begun_instances": 1,
|
|
"render_passes_made": 2,
|
|
"resident_textures_looked_at": 1,
|
|
"scheduled_where_submitted": 1,
|
|
"scheduler_passes_by_waiters": 1,
|
|
"scheduler_sleeps": 1,
|
|
"scheduler_wakes_commit": 1,
|
|
"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,
|
|
"variants_taken_back": 1,
|
|
"wakes_completion_waiters": 1,
|
|
"wakes_spared": 7
|
|
},
|
|
"moving": {
|
|
"gate_waits_slept": 0
|
|
},
|
|
"composed": {
|
|
"blocks_ahead_waited_for": 3,
|
|
"buffer_blocks_made_ahead": 2,
|
|
"buffer_blocks_made_in_place": 0,
|
|
"command_buffers_begun": 12,
|
|
"command_buffers_begun_batch_barriers": 4,
|
|
"command_buffers_begun_continuations": 1,
|
|
"command_buffers_begun_segments": 1,
|
|
"command_buffers_deferred": 0,
|
|
"command_buffers_submitted": 11,
|
|
"commands_recorded.cmd_clear_color_image": 1,
|
|
"commands_recorded.cmd_copy_buffer": 1,
|
|
"commands_recorded.cmd_pipeline_barrier": 21,
|
|
"commands_recorded.end_command_buffer": 12,
|
|
"creation_pipelines_made": 0,
|
|
"device_memory_allocated": 201326720,
|
|
"dispatch_pipelines_pooled": 1,
|
|
"dispatch_used_resources_listed": 1,
|
|
"encoder_command_buffers_begun": 7,
|
|
"functions_translated": 1,
|
|
"image_blocks_made_ahead": 1,
|
|
"image_blocks_made_in_place": 0,
|
|
"plain_buffer_blocks_made": 2,
|
|
"queues_sharing_a_vk_queue": 0,
|
|
"render_passes_made": 2,
|
|
"stage_entries_specialized": 1,
|
|
"submit_infos": 2,
|
|
"variant_pipelines_made": 1
|
|
},
|
|
"ceilings": {
|
|
"addressable_buffers_made": 2,
|
|
"arena_pools_made": 1,
|
|
"pipeline_layouts_made": 1,
|
|
"pooled_memory_blocks_made": 3,
|
|
"shader_modules_made": 1,
|
|
"variant_pipelines_made": 1
|
|
},
|
|
"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 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": "buffer-depth-samples-s8-part-4",
|
|
"calls": 1,
|
|
"in_calls": 48912917,
|
|
"on_cpu": 1418708,
|
|
"blocked": 47544250,
|
|
"elsewhere": 7509291,
|
|
"spend": 56737458,
|
|
"spend_least": 54888959,
|
|
"spend_most": 58077500,
|
|
"per_call": [
|
|
{
|
|
"call": "work",
|
|
"least_calls": 1,
|
|
"most_calls": 1,
|
|
"wall": 48912917,
|
|
"on_cpu": 1418708,
|
|
"blocked": 47544250,
|
|
"wall_least": 47528667,
|
|
"wall_most": 50374875,
|
|
"wall_total": 48912917,
|
|
"on_cpu_total": 1418708,
|
|
"blocked_total": 47544250
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"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": "buffer-depth-samples-s8-part-4",
|
|
"calls": 1,
|
|
"in_calls": 15131375,
|
|
"on_cpu": 913167,
|
|
"blocked": 14203792,
|
|
"elsewhere": 721458,
|
|
"spend": 15929251,
|
|
"spend_least": 15511124,
|
|
"spend_most": 16253500,
|
|
"per_call": [
|
|
{
|
|
"call": "work",
|
|
"least_calls": 1,
|
|
"most_calls": 1,
|
|
"wall": 15131375,
|
|
"on_cpu": 913167,
|
|
"blocked": 14203792,
|
|
"wall_least": 14796416,
|
|
"wall_most": 15501542,
|
|
"wall_total": 15131375,
|
|
"on_cpu_total": 913167,
|
|
"blocked_total": 14203792
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|