Re-record binary-archive-mesh-adder's and mesh-pipeline-reflection-object-stage's cost on the M3 Max, with the contrast
binary-archive-mesh-adder's cost record held only "a call did not answer, at program": the case could not make its mesh pipeline until adadb73f7c gave BinaryArchive add_mesh_render_pipeline_functions. It now translates the mesh stages, and the M3 cost gate at7470a49e6d(orchestrator, m3-max-4060) read linked_use_questions_asked 4, pipeline_layouts_made 1, shader_modules_made 4, stage_entries_shared 4 and stage_entries_specialized 2 as "now gated, none in the record". mesh-pipeline-reflection-object-stage runs after it in the case set and uses the same mesh stages. Before adadb73f7c it was the first case to translate them; now binary-archive-mesh-adder translates them first, so this case shares what it made before. The gate (and the whole M3 replay, m3-max-4082) read the result: pipeline_layouts_made, shader_modules_made and stage_entries_specialized went to none, and stage_entries_shared went from 22 to 24 (the two specialized entries are now shared hits). This is the selection's order and not redundant work: the second case reuses what the first one made. Job m3-max-4146 on the M3 Max (MoltenVK), atc0d0511d68, for the two cases: conformance cost --runs 8 --show A B (before writing) conformance cost --runs 8 --alone --show A B (before writing) conformance cost --runs 8 --write A B conformance cost --runs 8 --alone --write A B each exit 0, both cases measured. In the pair's order, mesh-pipeline-reflection-object-stage read stage_entries_shared 24 and made no layout, module or specialized entry, which is what the gate saw. Alone it made pipeline_layouts_made 1, shader_modules_made 4 and stage_entries_specialized 2, with stage_entries_shared 22, which is its old record. The contrast writes stage_entries_shared and stage_entries_specialized into the case's composed counts, as the selection decides them, and pipeline_layouts_made and shader_modules_made into its ceilings. binary-archive-mesh-adder reads the same in both shapes. A replay of the two cases in the same job was exact. A replay of a selection judges no cost, so the whole-set gate on development is the check for that part. (cherry picked from commit 7af8be21f11e441aeb3ad4677c0429b80ced4a43)
This commit is contained in:
1 parent
5c5eee61c6
commit
4192d7ffd1
2 files changed
+32
-8
No files matched your search
@@ -264,10 +264,29 @@
|
||||
"costs": [
|
||||
{
|
||||
"venue": "Apple M3 Max",
|
||||
"runs": 0,
|
||||
"measured": "no measurement: the run stopped before the case finished (a call did not answer, at program)",
|
||||
"bounds": {},
|
||||
"unmeasurable": "a call did not answer, at program"
|
||||
"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": {
|
||||
"device_memory_allocated": 201326592,
|
||||
"empty_memory_blocks_live": 1,
|
||||
"fences_made": 1,
|
||||
"linked_use_questions_asked": 4,
|
||||
"memory_blocks_live": 2,
|
||||
"object_churn.vk_buffer_bindings": 2,
|
||||
"object_churn.vk_buffers_destroyed": 2,
|
||||
"object_churn.vk_buffers_made": 4,
|
||||
"object_churn.vk_images_destroyed": 1,
|
||||
"object_churn.vk_images_made": 1,
|
||||
"object_churn.vk_memory_allocations": 11,
|
||||
"object_churn.vk_memory_freed": 8,
|
||||
"pipeline_layouts_made": 1,
|
||||
"pooled_memory_blocks_made": 3,
|
||||
"shader_modules_made": 4,
|
||||
"stage_entries_shared": 4,
|
||||
"stage_entries_specialized": 2,
|
||||
"variants_taken_back": 1
|
||||
}
|
||||
}
|
||||
],
|
||||
"times": [
|
||||
|
||||
+9
-4
@@ -5167,16 +5167,21 @@
|
||||
"pooled_memory_blocks_made": 3,
|
||||
"shader_modules_made": 4,
|
||||
"shader_modules_shared": 28,
|
||||
"stage_entries_shared": 22,
|
||||
"stage_entries_specialized": 2
|
||||
"stage_entries_shared": 24,
|
||||
"stage_entries_specialized": 2,
|
||||
"variants_taken_back": 1
|
||||
},
|
||||
"composed": {
|
||||
"addressable_buffers_made": 0,
|
||||
"device_memory_allocated": 201326592
|
||||
"device_memory_allocated": 201326592,
|
||||
"stage_entries_shared": 22,
|
||||
"stage_entries_specialized": 2
|
||||
},
|
||||
"ceilings": {
|
||||
"addressable_buffers_made": 2,
|
||||
"pooled_memory_blocks_made": 3
|
||||
"pipeline_layouts_made": 1,
|
||||
"pooled_memory_blocks_made": 3,
|
||||
"shader_modules_made": 4
|
||||
},
|
||||
"per_state": {
|
||||
"pipelines": 0,
|
||||
|
||||
Reference in new issue
Block a user