Files
metal2vulkan/crates/metal2vulkan-conformance/recordings/attribute-stride-buffer-offset.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

968 lines
37 KiB
JSON

{
"format": 1,
"case": "attribute-stride-buffer-offset",
"suite_version": 1,
"shaders": [
{
"fixture": "stage_in_regions.ll",
"entry": "stage_in_region_word",
"source_sha256": "39727f278497417e6d6bbfdba5b99f87aa1e60c1e77248768fb6df13b043f9a2"
},
{
"fixture": "stage_in_regions.air.ll",
"entry": "stage_in_region_word",
"source_sha256": "3d135d2782f5f5e90d9ec2c9ad29fc155def90bef8781818c036e3390cadb22c"
}
],
"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": "39727f278497417e6d6bbfdba5b99f87aa1e60c1e77248768fb6df13b043f9a2"
}
}
},
{
"name": "air-typed",
"observed": {
"value": "absent",
"digest": {
"kind": "sha256",
"hex": "3d135d2782f5f5e90d9ec2c9ad29fc155def90bef8781818c036e3390cadb22c"
}
}
},
{
"name": "stage-input",
"observed": {
"value": "absent",
"digest": {
"kind": "sha256",
"hex": "ab7afd826a8d9b374dff9016f3e4d9d214dcc3ab1d78b016298abd09e5acd82f"
}
}
},
{
"name": "buffer:0",
"observed": {
"value": "absent",
"digest": {
"kind": "sha256",
"hex": "d1d9ff01963e883bd4f77483511b35b8a609f968c2af20f445cf510e0e2b9e82"
}
}
},
{
"name": "buffer:1",
"observed": {
"value": "absent",
"digest": {
"kind": "sha256",
"hex": "6908bc3cabc6d8215e29d17580677f801ea36256d985bc7fdb7d2564332e32b9"
}
}
},
{
"name": "pass",
"observed": {
"value": "absent",
"digest": {
"kind": "sha256",
"hex": "e4a80d8ffad28ef6bea0f89a4e17a50fa064ccf2f267a1688f316e81d5977460"
}
}
}
]
},
{
"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": "pass",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "outcome",
"observed": {
"value": "absent"
},
"children": [
{
"name": "dispatch_type",
"observed": {
"value": {
"variant": {
"name": "Serial",
"payload": "absent"
}
}
}
},
{
"name": "status",
"observed": {
"value": {
"variant": {
"name": "Completed",
"payload": "absent"
}
}
}
},
{
"name": "error",
"observed": {
"value": {
"variant": {
"name": "None",
"payload": "absent"
}
}
}
},
{
"name": "step/0/setComputePipelineState",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/1/setStageInRegion",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/2/setBufferWithAttributeStride",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/3/setBuffer",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/4/setBufferOffsetWithAttributeStride",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/5/dispatchThreadgroups",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/6/setBuffer",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/7/setBufferOffsetWithAttributeStride",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/8/dispatchThreadgroups",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/9/setBuffer",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/10/setBufferOffsetWithAttributeStride",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/11/dispatchThreadgroups",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/12/setBuffer",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/13/setBufferOffsetWithAttributeStride",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/14/dispatchThreadgroups",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/15/setBuffer",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/16/setBufferOffsetWithAttributeStride",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/17/dispatchThreadgroups",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/18/setBuffer",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/19/setBufferOffsetWithAttributeStride",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/20/dispatchThreadgroups",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/21/setBuffer",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/22/setBufferOffsetWithAttributeStride",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/23/dispatchThreadgroups",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/24/setBuffer",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/25/setBufferOffsetWithAttributeStride",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/26/dispatchThreadgroups",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/27/setBuffer",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/28/setBufferOffsetWithAttributeStride",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/29/dispatchThreadgroups",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/30/setBuffer",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/31/setBufferOffsetWithAttributeStride",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/32/dispatchThreadgroups",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/33/setBuffer",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/34/setBufferOffsetWithAttributeStride",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "step/35/dispatchThreadgroups",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
}
]
},
{
"name": "read-back",
"observed": {
"value": {
"variant": {
"name": "Ok",
"payload": "absent"
}
}
}
},
{
"name": "nine-strides-and-two-offsets",
"observed": {
"value": {
"bytes": "EAEAABABAAAQAQAAEAEAABABAAAQAQAAEAEAABABAAAQAQAAAAEAEQABEQAAEgAAEQEAAAABABIAARIAABMAABABAAARAQAAEgEAABMBAAAUAQAAFQEAABYBAAAXAQAAEAEAABIBAAAUAQAAFgEAABgBAAAaAQAAHAEAAB4BAAAQAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAABABAAAQAQAAEAEAABABAAAQAQAAEAEAABABAAAQAQAAEAEAABIBAAAUAQAAFgEAABgBAAAaAQAAHAEAAB4BAAAQAQAAEQEAABIBAAATAQAAFAEAABUBAAAWAQAAFwEAABABAAASAQAAFAEAABYBAAAYAQAAGgEAABwBAAAeAQAAEQEAABIBAAATAQAAFAEAABUBAAAWAQAAFwEAABgBAAASAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAH5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn4="
},
"shape": {
"bytes": {
"region": {
"buffer": {
"offset": 0,
"length": 416
}
},
"element": "u32",
"row_offset": 0,
"row_elements": 104,
"row_pitch": 416,
"rows": 1,
"image_pitch": 416,
"images": 1,
"gaps": "ignored"
}
}
}
},
{
"name": "notices",
"observed": {
"value": "absent"
},
"children": [
{
"name": "set",
"observed": {
"value": {
"nothing": "announced_nothing"
}
}
},
{
"name": "counts",
"observed": {
"value": {
"fields": {}
}
}
}
]
}
]
}
}
}
],
"validated": {
"stopped": {
"call": "compute_pass",
"message": "unused binding in compute encoder at Buffer index 1.\nComputeCommandEncoder Validation\nproviding MTLAttributeStrideStatic to `attributeStride` when stride at buffer-layout index 1 is dynamic.\nredundant setting of <AGXG15XFamilyBuffer: 0xADDR>\n label = <none>\n length = 512\n cpuCacheMode = MTLCPUCacheModeDefaultCache\n storageMode = MTLStorageModeShared\n hazardTrackingMode = MTLHazardTrackingModeTracked\n resourceOptions = MTLResourceCPUCacheModeDefaultCache MTLResourceStorageModeShared MTLResourceHazardTrackingModeTracked\n purgeableState = MTLPurgeableStateNonVolatile\n label = <none>.\nComputeCommandEncoder Validation\nproviding MTLAttributeStrideStatic to `attributeStride` when stride at buffer-layout index 1 is dynamic.\nredundant setting of <AGXG15XFamilyBuffer: 0xADDR>\n label = <none>\n length = 512\n cpuCacheMode = MTLCPUCacheModeDefaultCache\n storageMode = MTLStorageModeShared\n hazardTrackingMode = MTLHazardTrackingModeTracked\n resourceOptions = MTLResourceCPUCacheModeDefaultCache MTLResourceStorageModeShared MTLResourceHazardTrackingModeTracked\n purgeableState = MTLPurgeableStateNonVolatile\n label = <none>.\nComputeCommandEncoder Validation\nproviding MTLAttributeStrideStatic to `attributeStride` when stride at buffer-layout index 1 is dynamic.\nredundant setting of <AGXG15XFamilyBuffer: 0xADDR>\n label = <none>\n length = 512\n cpuCacheMode = MTLCPUCacheModeDefaultCache\n storageMode = MTLStorageModeShared\n hazardTrackingMode = MTLHazardTrackingModeTracked\n resourceOptions = MTLResourceCPUCacheModeDefaultCache MTLResourceStorageModeShared MTLResourceHazardTrackingModeTracked\n purgeableState = MTLPurgeableStateNonVolatile\n label = <none>.\nComputeCommandEncoder Validation\nproviding MTLAttributeStrideStatic to `attributeStride` when stride at buffer-layout index 1 is dynamic.\nredundant setting of <AGXG15XFamilyBuffer: 0xADDR>\n label = <none>\n length = 512\n cpuCacheMode = MTLCPUCacheModeDefaultCache\n storageMode = MTLStorageModeShared\n hazardTrackingMode = MTLHazardTrackingModeTracked\n resourceOptions = MTLResourceCPUCacheModeDefaultCache MTLResourceStorageModeShared MTLResourceHazardTrackingModeTracked\n purgeableState = MTLPurgeableStateNonVolatile\n label = <none>.\nComputeCommandEncoder Validation\nproviding MTLAttributeStrideStatic to `attributeStride` when stride at buffer-layout index 1 is dynamic.\nredundant setting of <AGXG15XFamilyBuffer: 0xADDR>\n label = <none>\n length = 512\n cpuCacheMode = MTLCPUCacheModeDefaultCache\n storageMode = MTLStorageModeShared\n hazardTrackingMode = MTLHazardTrackingModeTracked\n resourceOptions = MTLResourceCPUCacheModeDefaultCache MTLResourceStorageModeShared MTLResourceHazardTrackingModeTracked\n purgeableState = MTLPurgeableStateNonVolatile\n label = <none>.\nComputeCommandEncoder Validation\nproviding MTLAttributeStrideStatic to `attributeStride` when stride at buffer-layout index 1 is dynamic.\nredundant setting of <AGXG15XFamilyBuffer: 0xADDR>\n label = <none>\n length = 512\n cpuCacheMode = MTLCPUCacheModeDefaultCache\n storageMode = MTLStorageModeShared\n hazardTrackingMode = MTLHazardTrackingModeTracked\n resourceOptions = MTLResourceCPUCacheModeDefaultCache MTLResourceStorageModeShared MTLResourceHazardTrackingModeTracked\n purgeableState = MTLPurgeableStateNonVolatile\n label = <none>.\nComputeCommandEncoder Validation\nproviding MTLAttributeStrideStatic to `attributeStride` when stride at buffer-layout index 1 is dynamic.\nredundant setting of <AGXG15XFamilyBuffer: 0xADDR>\n label = <none>\n length = 512\n cpuCacheMode = MTLCPUCacheModeDefaultCache\n storageMode = MTLStorageModeShared\n hazardTrackingMode = MTLHazardTrackingModeTracked\n resourceOptions = MTLResourceCPUCacheModeDefaultCache MTLResourceStorageModeShared MTLResourceHazardTrackingModeTracked\n purgeableState = MTLPurgeableStateNonVolatile\n label = <none>.\nComputeCommandEncoder Validation\nproviding MTLAttributeStrideStatic to `attributeStride` when stride at buffer-layout index 1 is dynamic.\nredundant setting of <AGXG15XFamilyBuffer: 0xADDR>\n label = <none>\n length = 512\n cpuCacheMode = MTLCPUCacheModeDefaultCache\n storageMode = MTLStorageModeShared\n hazardTrackingMode = MTLHazardTrackingModeTracked\n resourceOptions = MTLResourceCPUCacheModeDefaultCache MTLResourceStorageModeShared MTLResourceHazardTrackingModeTracked\n purgeableState = MTLPurgeableStateNonVolatile\n label = <none>.\nComputeCommandEncoder Validation\nproviding MTLAttributeStrideStatic to `attributeStride` when stride at buffer-layout index 1 is dynamic.\nComputeCommandEncoder Validation\nproviding MTLAttributeStrideStatic to `attributeStride` when stride at buffer-layout index 1 is dynamic.\nComputeCommandEncoder Validation\nproviding MTLAttributeStrideStatic to `attributeStride` when stride at buffer-layout index 1 is dynamic."
}
}
}
],
"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_held_at_bind": 10,
"argument_tables_retained": 1,
"bare_starts": 1,
"batches_submitted_by_waiters": 1,
"batches_with_none_pending": 1,
"blocks_ahead_waited_for": 3,
"bound_offsets_moved": 20,
"buffer_blocks_made_ahead": 2,
"command_barriers": 10,
"command_buffers_begun": 24,
"command_buffers_begun_batch_barriers": 1,
"command_buffers_begun_continuations": 11,
"command_buffers_begun_encoders": 1,
"command_buffers_begun_segments": 11,
"command_buffers_deferred": 23,
"command_buffers_submitted": 24,
"commands_recorded.begin_command_buffer": 1,
"commands_recorded.cmd_bind_descriptor_sets": 11,
"commands_recorded.cmd_bind_pipeline": 11,
"commands_recorded.cmd_dispatch": 11,
"commands_recorded.cmd_pipeline_barrier": 11,
"commands_recorded.cmd_push_constants": 11,
"commands_recorded.end_command_buffer": 24,
"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,
"dispatch_pipelines_pooled": 2,
"dispatch_shapes_found": 5,
"dispatch_shapes_made": 6,
"dispatch_used_resources_listed": 1,
"dispatches_planned_as_before": 5,
"encoder_command_buffers_begun": 23,
"fence_waits": 1,
"finales_folded": 1,
"functions_shared": 1,
"functions_translated": 1,
"gate_waits": 1,
"gate_waits_slept": 1,
"heap_tables_worked_out": 1,
"host_steps_recorded": 1,
"image_blocks_made_ahead": 1,
"new_buffer_bytes_cleared": 928,
"object_churn.buffers_parked": 2,
"object_churn.buffers_recycled": 1,
"object_churn.vk_buffer_bindings": 1,
"object_churn.vk_buffers_made": 1,
"pipeline_layouts_made": 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_by_waiters": 1,
"scheduler_sleeps": 1,
"scheduler_wakes_commit": 1,
"set_zero_sets_reused": 10,
"shader_modules_made": 1,
"slot_returns": 1,
"spare_command_pools_taken": 1,
"stage_entries_shared": 1,
"stage_entries_specialized": 1,
"submit_infos": 2,
"trail_waits": 1,
"variant_pipelines_made": 2,
"variants_taken_back": 1,
"wakes_completion_waiters": 1,
"wakes_spared": 7
},
"composed": {
"blocks_ahead_waited_for": 3,
"buffer_blocks_made_ahead": 2,
"command_buffers_begun": 24,
"command_buffers_begun_batch_barriers": 1,
"command_buffers_begun_continuations": 11,
"command_buffers_begun_segments": 11,
"command_buffers_deferred": 0,
"command_buffers_submitted": 24,
"commands_recorded.cmd_pipeline_barrier": 10,
"commands_recorded.end_command_buffer": 24,
"dispatch_pipelines_pooled": 2,
"dispatch_used_resources_listed": 1,
"encoder_command_buffers_begun": 23,
"functions_translated": 1,
"host_steps_recorded": 1,
"image_blocks_made_ahead": 1,
"plain_buffer_blocks_made": 2,
"queues_sharing_a_vk_queue": 0,
"stage_entries_specialized": 1,
"submit_infos": 2
},
"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": 2
},
"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": "attribute-stride-buffer-offset",
"calls": 6,
"in_calls": 26371249,
"on_cpu": 819459,
"blocked": 25477999,
"elsewhere": 3089917,
"spend": 29484958,
"spend_least": 29015832,
"spend_most": 29891167,
"per_call": [
{
"call": "buffer",
"least_calls": 2,
"most_calls": 2,
"wall": 2166,
"on_cpu": 2292,
"blocked": 0,
"wall_least": 2084,
"wall_most": 2791,
"wall_total": 22999,
"on_cpu_total": 23208,
"blocked_total": 0
},
{
"call": "compute_pass",
"least_calls": 1,
"most_calls": 1,
"wall": 3753083,
"on_cpu": 119417,
"blocked": 3631459,
"wall_least": 3428000,
"wall_most": 3881459,
"wall_total": 3753083,
"on_cpu_total": 119417,
"blocked_total": 3631459
},
{
"call": "compute_pipeline_with_stage_input",
"least_calls": 1,
"most_calls": 1,
"wall": 79750,
"on_cpu": 80000,
"blocked": 0,
"wall_least": 75667,
"wall_most": 104375,
"wall_total": 79750,
"on_cpu_total": 80000,
"blocked_total": 0
},
{
"call": "library",
"least_calls": 1,
"most_calls": 1,
"wall": 22546291,
"on_cpu": 603750,
"blocked": 21942541,
"wall_least": 22069167,
"wall_most": 22969709,
"wall_total": 22546291,
"on_cpu_total": 603750,
"blocked_total": 21942541
},
{
"call": "read_buffer",
"least_calls": 1,
"most_calls": 1,
"wall": 542,
"on_cpu": 750,
"blocked": 0,
"wall_least": 458,
"wall_most": 1292,
"wall_total": 542,
"on_cpu_total": 750,
"blocked_total": 0
}
]
}
},
{
"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": "attribute-stride-buffer-offset",
"calls": 6,
"in_calls": 1077876,
"on_cpu": 209583,
"blocked": 859125,
"elsewhere": 247625,
"spend": 1355251,
"spend_least": 1129376,
"spend_most": 1480709,
"per_call": [
{
"call": "buffer",
"least_calls": 2,
"most_calls": 2,
"wall": 959,
"on_cpu": 1083,
"blocked": 0,
"wall_least": 667,
"wall_most": 1125,
"wall_total": 5125,
"on_cpu_total": 5374,
"blocked_total": 0
},
{
"call": "compute_pass",
"least_calls": 1,
"most_calls": 1,
"wall": 948125,
"on_cpu": 87000,
"blocked": 859125,
"wall_least": 865958,
"wall_most": 1091333,
"wall_total": 948125,
"on_cpu_total": 87000,
"blocked_total": 859125
},
{
"call": "compute_pipeline_with_stage_input",
"least_calls": 1,
"most_calls": 1,
"wall": 23292,
"on_cpu": 23583,
"blocked": 0,
"wall_least": 15416,
"wall_most": 27833,
"wall_total": 23292,
"on_cpu_total": 23583,
"blocked_total": 0
},
{
"call": "library",
"least_calls": 1,
"most_calls": 1,
"wall": 90709,
"on_cpu": 91250,
"blocked": 0,
"wall_least": 63042,
"wall_most": 96459,
"wall_total": 90709,
"on_cpu_total": 91250,
"blocked_total": 0
},
{
"call": "read_buffer",
"least_calls": 1,
"most_calls": 1,
"wall": 292,
"on_cpu": 458,
"blocked": 0,
"wall_least": 208,
"wall_most": 375,
"wall_total": 292,
"on_cpu_total": 458,
"blocked_total": 0
}
]
}
}
]
}