{ "format": 1, "case": "function-facts-kernel", "suite_version": 1, "shaders": [ { "fixture": "a27_ob1_threadgroup.ll", "entry": "ob1_threadgroup", "source_sha256": "0c98a096e60fd50b4a119ac1539c8907a7ca14df5c4c0ea9163bae96240c1235" }, { "fixture": "a27_ob1_threadgroup.air.ll", "entry": "ob1_threadgroup", "source_sha256": "6e2d8bc010bac734195035dcb2466f5947642236e3ec187537ef47b6ff23815e" } ], "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": "0c98a096e60fd50b4a119ac1539c8907a7ca14df5c4c0ea9163bae96240c1235" } } }, { "name": "air-typed", "observed": { "value": "absent", "digest": { "kind": "sha256", "hex": "6e2d8bc010bac734195035dcb2466f5947642236e3ec187537ef47b6ff23815e" } } }, { "name": "entry", "observed": { "value": "absent", "digest": { "kind": "sha256", "hex": "a42c4eb5d83dd0303ce05318114985e750ae0adc64778504160be62a196e30b8" } } }, { "name": "constants", "observed": { "value": "absent", "digest": { "kind": "sha256", "hex": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" } } } ] }, { "name": "library", "observed": { "value": { "variant": { "name": "Ok", "payload": "absent" } } } }, { "name": "facts", "observed": { "value": "absent" }, "children": [ { "name": "name", "observed": { "value": { "lines": [ "ob1_threadgroup" ] } } }, { "name": "function_type", "observed": { "value": { "fields": { "name": { "lines": [ "MTLFunctionTypeKernel" ] }, "raw": { "uint": 3 } } } } }, { "name": "patch_type", "observed": { "value": { "fields": { "name": { "lines": [ "MTLPatchTypeNone" ] }, "raw": { "uint": 0 } } } } }, { "name": "patch_control_point_count", "observed": { "value": { "variant": { "name": "None", "payload": "absent" } } } }, { "name": "options", "observed": { "value": { "fields": { "names": { "set": [] }, "raw": { "uint": 0 } } } } }, { "name": "device", "observed": { "value": { "bool": true } } }, { "name": "vertex_attributes", "observed": { "value": { "variant": { "name": "None", "payload": "absent" } } } }, { "name": "stage_input_attributes", "observed": { "value": { "variant": { "name": "None", "payload": "absent" } } } }, { "name": "function_constants", "observed": { "value": "absent" }, "children": [ { "name": "count", "observed": { "value": { "uint": 0 } } } ] } ] }, { "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": {} } ], "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": "function-facts-kernel", "calls": 2, "in_calls": 21646584, "on_cpu": 590167, "blocked": 21071251, "elsewhere": 1667, "spend": 21650459, "spend_least": 21055708, "spend_most": 27119084, "per_call": [ { "call": "function_facts", "least_calls": 1, "most_calls": 1, "wall": 7375, "on_cpu": 7583, "blocked": 0, "wall_least": 7000, "wall_most": 17458, "wall_total": 7375, "on_cpu_total": 7583, "blocked_total": 0 }, { "call": "library", "least_calls": 1, "most_calls": 1, "wall": 21639584, "on_cpu": 582250, "blocked": 21071251, "wall_least": 21044708, "wall_most": 27109000, "wall_total": 21639584, "on_cpu_total": 582250, "blocked_total": 21071251 } ] } }, { "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": "function-facts-kernel", "calls": 2, "in_calls": 333500, "on_cpu": 334334, "blocked": 0, "elsewhere": 708, "spend": 333500, "spend_least": 303791, "spend_most": 364041, "per_call": [ { "call": "function_facts", "least_calls": 1, "most_calls": 1, "wall": 248375, "on_cpu": 248709, "blocked": 0, "wall_least": 234333, "wall_most": 257500, "wall_total": 248375, "on_cpu_total": 248709, "blocked_total": 0 }, { "call": "library", "least_calls": 1, "most_calls": 1, "wall": 85125, "on_cpu": 85625, "blocked": 0, "wall_least": 69458, "wall_most": 97792, "wall_total": 85125, "on_cpu_total": 85625, "blocked_total": 0 } ] } } ] }