From 7a761696dcef8cb2415c3000dfc3c4196675263b Mon Sep 17 00:00:00 2001 From: Tyrannys <80750971+Tyrannys@users.noreply.github.com> Date: Thu, 26 Nov 2026 02:27:26 -0600 Subject: [PATCH] indirect clamp: bound dispatch records by the device's maxComputeWorkGroupCount The ExecuteIndirect argument clamp (indirect_clamp.comp) cut every dispatch record at a fixed 65,535 groups per dimension, Vulkan's guaranteed minimum. Devices report far more in x (NVIDIA: 2^31 - 1), so a one-dimensional indirect dispatch of more than 65,535 groups ran only its first 65,535 groups; the rest never wrote their output. The clamp now takes the device's maxComputeWorkGroupCount per axis in its push constants (88 bytes, was 72) and bounds dispatch records by that. The 2^20 groups-per-dispatch cap, the list budget and LEONIDA_INDIRECT_GROUP_BUDGET are unchanged; the product check now divides instead of multiplying, since x alone may exceed 65,535. Mesh dispatches keep 65,535 in x. indirect_clamp_test runs real indirect dispatches through the clamped scratch with a marker shader (one atomic per group): 70,000 x 1 x 1 ran 65,535 groups and left 4,465 unrun on main, and runs all 70,000 exactly once now; 65,535 x 1 x 1 and 1 x 65,535 x 1 (at the old limit) run exactly once on both. A size past the device's own limit is skipped. Idea from codec-d/cool_fox docs/findings.md ("Blocky patches: indirect dispatches cut at 65,535 groups"); idea only, no code taken. Co-Authored-By: Claude Opus 5.5 --- runtime/src/indirect_clamp.comp | 28 +- runtime/src/indirect_clamp_spv.h | 589 +++++++++++++------------ runtime/src/vulkan_indirect_clamp.h | 32 +- runtime/test/cs_group_marker_spv.h | 43 ++ runtime/test/glsl/cs_group_marker.comp | 16 + runtime/test/indirect_clamp_test.cpp | 129 +++++- 6 files changed, 538 insertions(+), 299 deletions(-) create mode 100644 runtime/test/cs_group_marker_spv.h create mode 100644 runtime/test/glsl/cs_group_marker.comp diff --git a/runtime/src/indirect_clamp.comp b/runtime/src/indirect_clamp.comp index 3b99da59ab..45ac703f53 100644 --- a/runtime/src/indirect_clamp.comp +++ b/runtime/src/indirect_clamp.comp @@ -10,8 +10,13 @@ // an atomic CAS, so thousands of garbage records cannot run for seconds either. // // The bounds cut legitimate work beyond them, so they are generous: 2^24 vertices (or indices), 2^26 vertex instances, -// 65 535 groups per dimension, 2^20 groups per dispatch, and mesh dispatches charged 128 threads per group. The -// console's mesh dispatch is one-dimensional; the output uses one group in y and z. +// the device's own maxComputeWorkGroupCount per dimension for a dispatch (65 535 for a mesh dispatch), 2^20 groups per +// dispatch, and mesh dispatches charged 128 threads per group. The console's mesh dispatch is one-dimensional; the +// output uses one group in y and z. +// +// A dispatch is bounded by the device's limit, not by Vulkan's guaranteed minimum of 65 535: NVIDIA, for one, allows +// 2^31 - 1 groups in x, and a fixed 65 535 cut a one-dimensional dispatch of more groups short, so the groups +// past it never ran and their output stayed stale (blocky patches; idea from codec-d/cool_fox docs/findings.md). #version 460 #extension GL_EXT_buffer_reference : require layout(local_size_x = 64) in; @@ -35,12 +40,16 @@ layout(push_constant) uniform Params { uint first_record; // the record index this chunk starts at uint max_records; // max_command_count of the ExecuteIndirect call uint flags; // bit 0: counted; bits 1..16: optional per-dispatch group budget + uint max_x; // the device's maxComputeWorkGroupCount: a dispatch's x, y and z run up to these + uint max_y; // (three words, not a uvec3, whose 16-byte alignment would move it past the C++ struct) + uint max_z; + uint reserved; } p; // One ExecuteIndirect batch's limits. A record that asks for more runs empty instead of for seconds. const uint max_vertices = 1u << 24u; // vertices or indices in one draw const uint max_vertex_instances = 1u << 26u; // vertex (or index) count times instance count -const uint max_group_dimension = 65535u; // groups in x, y or z +const uint max_mesh_dimension = 65535u; // groups in a mesh dispatch's x (dispatches: p.max_x, y, z) const uint max_groups = 1u << 20u; // groups in one dispatch or mesh dispatch const uint budget = 1u << 27u; // work in the whole command list: vertices, indices, or groups * 64 @@ -112,8 +121,8 @@ void main() { words[3] = p.arguments.data[src + 3u]; if (p.kind == 1u) words[4] = p.arguments.data[src + 4u]; } else { - // A dispatch or a mesh dispatch: three group counts. x * y fits 32 bits (each is at most 65 535); the whole - // group count may not, so an oversized product runs empty. + // A dispatch or a mesh dispatch: three group counts, each bounded by the device's limit. A product past + // max_groups runs empty; it is checked by division, because x alone may be up to 2^32 - 1. const uint asked_x = p.arguments.data[src]; const uint asked_y = p.arguments.data[src + 1u]; const uint asked_z = p.arguments.data[src + 2u]; @@ -127,9 +136,10 @@ void main() { atomicMax(p.stats.data[11], asked_z); } } - uint x = min(asked_x, max_group_dimension); - uint y = min(asked_y, max_group_dimension); - uint z = min(asked_z, max_group_dimension); + const uvec3 limit = p.kind == 3u ? uvec3(max_mesh_dimension, 1u, 1u) : max(uvec3(p.max_x, p.max_y, p.max_z), uvec3(1u)); + uint x = min(asked_x, limit.x); + uint y = min(asked_y, limit.y); + uint z = min(asked_z, limit.z); if (p.kind == 3u) { y = 1u; z = 1u; } const uint groups = p.flags >> 1u; if (groups != 0u && x != 0u && y != 0u && z != 0u) { @@ -137,7 +147,7 @@ void main() { y = min(y, groups / x); z = min(z, groups / x / y); } - if (z != 0u && x * y > max_groups / z) { + if (x != 0u && y != 0u && z != 0u && (x > max_groups || y > max_groups / x || z > max_groups / x / y)) { x = 0u; y = 0u; z = 0u; diff --git a/runtime/src/indirect_clamp_spv.h b/runtime/src/indirect_clamp_spv.h index 653e0543f6..e1e7d28367 100644 --- a/runtime/src/indirect_clamp_spv.h +++ b/runtime/src/indirect_clamp_spv.h @@ -3,7 +3,7 @@ #include namespace leonida { inline constexpr std::uint32_t indirect_clamp_spirv[] = { - 0x07230203u, 0x00010500u, 0x0008000bu, 0x000002fau, 0x00000000u, 0x00020011u, 0x00000001u, 0x00020011u, + 0x07230203u, 0x00010500u, 0x0008000bu, 0x000002e1u, 0x00000000u, 0x00020011u, 0x00000001u, 0x00020011u, 0x000014e3u, 0x0006000bu, 0x00000001u, 0x4c534c47u, 0x6474732eu, 0x3035342eu, 0x00000000u, 0x0003000eu, 0x000014e4u, 0x00000001u, 0x0007000fu, 0x00000005u, 0x00000004u, 0x6e69616du, 0x00000000u, 0x00000026u, 0x0000005au, 0x00060010u, 0x00000004u, 0x00000011u, 0x00000040u, 0x00000001u, 0x00000001u, 0x00030003u, @@ -17,283 +17,314 @@ inline constexpr std::uint32_t indirect_clamp_spirv[] = { 0x00070006u, 0x0000001au, 0x00000007u, 0x69727473u, 0x775f6564u, 0x7364726fu, 0x00000000u, 0x00050006u, 0x0000001au, 0x00000008u, 0x6f636572u, 0x00736472u, 0x00070006u, 0x0000001au, 0x00000009u, 0x73726966u, 0x65725f74u, 0x64726f63u, 0x00000000u, 0x00060006u, 0x0000001au, 0x0000000au, 0x5f78616du, 0x6f636572u, - 0x00736472u, 0x00050006u, 0x0000001au, 0x0000000bu, 0x67616c66u, 0x00000073u, 0x00040005u, 0x0000001cu, - 0x73677241u, 0x00006e49u, 0x00050006u, 0x0000001cu, 0x00000000u, 0x61746164u, 0x00000000u, 0x00040005u, - 0x0000001eu, 0x6e756f43u, 0x006e4974u, 0x00050006u, 0x0000001eu, 0x00000000u, 0x61746164u, 0x00000000u, - 0x00040005u, 0x00000020u, 0x73677241u, 0x0074754fu, 0x00050006u, 0x00000020u, 0x00000000u, 0x61746164u, - 0x00000000u, 0x00050005u, 0x00000022u, 0x6e756f43u, 0x74754f74u, 0x00000000u, 0x00050006u, 0x00000022u, - 0x00000000u, 0x61746164u, 0x00000000u, 0x00040005u, 0x00000024u, 0x74617453u, 0x00000073u, 0x00050006u, - 0x00000024u, 0x00000000u, 0x61746164u, 0x00000000u, 0x00030005u, 0x00000026u, 0x00000070u, 0x00080005u, - 0x0000005au, 0x475f6c67u, 0x61626f6cu, 0x766e496cu, 0x7461636fu, 0x496e6f69u, 0x00000044u, 0x00040005u, - 0x00000116u, 0x64726f77u, 0x00000073u, 0x00030047u, 0x0000001au, 0x00000002u, 0x00050048u, 0x0000001au, - 0x00000000u, 0x00000023u, 0x00000000u, 0x00050048u, 0x0000001au, 0x00000001u, 0x00000023u, 0x00000008u, - 0x00050048u, 0x0000001au, 0x00000002u, 0x00000023u, 0x00000010u, 0x00050048u, 0x0000001au, 0x00000003u, - 0x00000023u, 0x00000018u, 0x00050048u, 0x0000001au, 0x00000004u, 0x00000023u, 0x00000020u, 0x00050048u, - 0x0000001au, 0x00000005u, 0x00000023u, 0x00000028u, 0x00050048u, 0x0000001au, 0x00000006u, 0x00000023u, - 0x00000030u, 0x00050048u, 0x0000001au, 0x00000007u, 0x00000023u, 0x00000034u, 0x00050048u, 0x0000001au, - 0x00000008u, 0x00000023u, 0x00000038u, 0x00050048u, 0x0000001au, 0x00000009u, 0x00000023u, 0x0000003cu, - 0x00050048u, 0x0000001au, 0x0000000au, 0x00000023u, 0x00000040u, 0x00050048u, 0x0000001au, 0x0000000bu, - 0x00000023u, 0x00000044u, 0x00040047u, 0x0000001bu, 0x00000006u, 0x00000004u, 0x00030047u, 0x0000001cu, - 0x00000002u, 0x00040048u, 0x0000001cu, 0x00000000u, 0x00000018u, 0x00050048u, 0x0000001cu, 0x00000000u, - 0x00000023u, 0x00000000u, 0x00040047u, 0x0000001du, 0x00000006u, 0x00000004u, 0x00030047u, 0x0000001eu, - 0x00000002u, 0x00040048u, 0x0000001eu, 0x00000000u, 0x00000018u, 0x00050048u, 0x0000001eu, 0x00000000u, - 0x00000023u, 0x00000000u, 0x00040047u, 0x0000001fu, 0x00000006u, 0x00000004u, 0x00030047u, 0x00000020u, - 0x00000002u, 0x00050048u, 0x00000020u, 0x00000000u, 0x00000023u, 0x00000000u, 0x00040047u, 0x00000021u, - 0x00000006u, 0x00000004u, 0x00030047u, 0x00000022u, 0x00000002u, 0x00050048u, 0x00000022u, 0x00000000u, - 0x00000023u, 0x00000000u, 0x00040047u, 0x00000023u, 0x00000006u, 0x00000004u, 0x00030047u, 0x00000024u, - 0x00000002u, 0x00050048u, 0x00000024u, 0x00000000u, 0x00000023u, 0x00000000u, 0x00040047u, 0x0000005au, - 0x0000000bu, 0x0000001cu, 0x00040047u, 0x00000227u, 0x0000000bu, 0x00000019u, 0x00020013u, 0x00000002u, - 0x00030021u, 0x00000003u, 0x00000002u, 0x00040015u, 0x00000006u, 0x00000020u, 0x00000000u, 0x00040020u, - 0x00000007u, 0x00000007u, 0x00000006u, 0x00020014u, 0x00000008u, 0x0004002bu, 0x00000006u, 0x0000000eu, - 0x00000000u, 0x00030029u, 0x00000008u, 0x00000012u, 0x00030027u, 0x00000015u, 0x000014e5u, 0x00030027u, - 0x00000016u, 0x000014e5u, 0x00030027u, 0x00000017u, 0x000014e5u, 0x00030027u, 0x00000018u, 0x000014e5u, - 0x00030027u, 0x00000019u, 0x000014e5u, 0x000e001eu, 0x0000001au, 0x00000015u, 0x00000016u, 0x00000017u, - 0x00000018u, 0x00000019u, 0x00000019u, 0x00000006u, 0x00000006u, 0x00000006u, 0x00000006u, 0x00000006u, - 0x00000006u, 0x0003001du, 0x0000001bu, 0x00000006u, 0x0003001eu, 0x0000001cu, 0x0000001bu, 0x00040020u, - 0x00000015u, 0x000014e5u, 0x0000001cu, 0x0003001du, 0x0000001du, 0x00000006u, 0x0003001eu, 0x0000001eu, - 0x0000001du, 0x00040020u, 0x00000016u, 0x000014e5u, 0x0000001eu, 0x0003001du, 0x0000001fu, 0x00000006u, - 0x0003001eu, 0x00000020u, 0x0000001fu, 0x00040020u, 0x00000017u, 0x000014e5u, 0x00000020u, 0x0003001du, - 0x00000021u, 0x00000006u, 0x0003001eu, 0x00000022u, 0x00000021u, 0x00040020u, 0x00000018u, 0x000014e5u, - 0x00000022u, 0x0003001du, 0x00000023u, 0x00000006u, 0x0003001eu, 0x00000024u, 0x00000023u, 0x00040020u, - 0x00000019u, 0x000014e5u, 0x00000024u, 0x00040020u, 0x00000025u, 0x00000009u, 0x0000001au, 0x0004003bu, - 0x00000025u, 0x00000026u, 0x00000009u, 0x00040015u, 0x00000027u, 0x00000020u, 0x00000001u, 0x0004002bu, - 0x00000027u, 0x00000028u, 0x00000005u, 0x00040020u, 0x00000029u, 0x00000009u, 0x00000019u, 0x0004002bu, - 0x00000027u, 0x0000002cu, 0x00000000u, 0x00040020u, 0x0000002du, 0x000014e5u, 0x00000006u, 0x0004002bu, - 0x00000006u, 0x0000002fu, 0x00000001u, 0x0004002bu, 0x00000006u, 0x00000037u, 0x08000000u, 0x0003002au, - 0x00000008u, 0x00000041u, 0x00040017u, 0x00000058u, 0x00000006u, 0x00000003u, 0x00040020u, 0x00000059u, - 0x00000001u, 0x00000058u, 0x0004003bu, 0x00000059u, 0x0000005au, 0x00000001u, 0x00040020u, 0x0000005bu, - 0x00000001u, 0x00000006u, 0x0004002bu, 0x00000027u, 0x0000005fu, 0x00000008u, 0x00040020u, 0x00000060u, - 0x00000009u, 0x00000006u, 0x0004002bu, 0x00000027u, 0x00000068u, 0x00000009u, 0x0004002bu, 0x00000027u, - 0x0000006eu, 0x00000006u, 0x0004002bu, 0x00000006u, 0x00000078u, 0x00000004u, 0x0004002bu, 0x00000006u, - 0x00000079u, 0x00000005u, 0x0004002bu, 0x00000006u, 0x0000007cu, 0x00000003u, 0x0004002bu, 0x00000027u, - 0x00000084u, 0x0000000bu, 0x0004002bu, 0x00000027u, 0x0000008au, 0x0000000au, 0x0004002bu, 0x00000027u, - 0x00000091u, 0x00000001u, 0x00040020u, 0x00000092u, 0x00000009u, 0x00000016u, 0x0004002bu, 0x00000027u, - 0x0000009eu, 0x00000003u, 0x00040020u, 0x0000009fu, 0x00000009u, 0x00000018u, 0x0004002bu, 0x00000027u, - 0x000000a9u, 0x00000004u, 0x0004002bu, 0x00000027u, 0x000000bcu, 0x00000002u, 0x00040020u, 0x000000bdu, - 0x00000009u, 0x00000017u, 0x0004002bu, 0x00000027u, 0x000000c9u, 0x00000007u, 0x00040020u, 0x000000dau, - 0x00000009u, 0x00000015u, 0x0004002bu, 0x00000006u, 0x000000e2u, 0xffffffffu, 0x0004001cu, 0x00000114u, - 0x00000006u, 0x00000079u, 0x00040020u, 0x00000115u, 0x00000007u, 0x00000114u, 0x0008002cu, 0x00000114u, - 0x00000117u, 0x0000000eu, 0x0000000eu, 0x0000000eu, 0x0000000eu, 0x0000000eu, 0x0004002bu, 0x00000006u, - 0x0000012eu, 0x01000000u, 0x0004002bu, 0x00000006u, 0x00000132u, 0x04000000u, 0x0004002bu, 0x00000006u, - 0x0000014du, 0x00000002u, 0x0004002bu, 0x00000006u, 0x0000019au, 0x0000ffffu, 0x0004002bu, 0x00000006u, - 0x000001ceu, 0x00100000u, 0x0004002bu, 0x00000006u, 0x000001e9u, 0x00000080u, 0x0004002bu, 0x00000006u, - 0x000001eau, 0x00000040u, 0x0006002cu, 0x00000058u, 0x00000227u, 0x000001eau, 0x0000002fu, 0x0000002fu, - 0x00030001u, 0x00000008u, 0x000002acu, 0x00050036u, 0x00000002u, 0x00000004u, 0x00000000u, 0x00000003u, - 0x000200f8u, 0x00000005u, 0x0004003bu, 0x00000115u, 0x00000116u, 0x00000007u, 0x000300f7u, 0x00000228u, - 0x00000000u, 0x000300fbu, 0x0000000eu, 0x00000229u, 0x000200f8u, 0x00000229u, 0x00050041u, 0x0000005bu, - 0x0000005cu, 0x0000005au, 0x0000000eu, 0x0004003du, 0x00000006u, 0x0000005du, 0x0000005cu, 0x00050041u, - 0x00000060u, 0x00000061u, 0x00000026u, 0x0000005fu, 0x0004003du, 0x00000006u, 0x00000062u, 0x00000061u, - 0x000500aeu, 0x00000008u, 0x00000063u, 0x0000005du, 0x00000062u, 0x000300f7u, 0x00000065u, 0x00000000u, - 0x000400fau, 0x00000063u, 0x00000064u, 0x00000065u, 0x000200f8u, 0x00000064u, 0x000200f9u, 0x00000228u, - 0x000200f8u, 0x00000065u, 0x00050041u, 0x00000060u, 0x00000069u, 0x00000026u, 0x00000068u, 0x0004003du, - 0x00000006u, 0x0000006au, 0x00000069u, 0x00050080u, 0x00000006u, 0x0000006cu, 0x0000006au, 0x0000005du, - 0x00050041u, 0x00000060u, 0x0000006fu, 0x00000026u, 0x0000006eu, 0x0004003du, 0x00000006u, 0x00000070u, - 0x0000006fu, 0x000500b2u, 0x00000008u, 0x00000071u, 0x00000070u, 0x0000002fu, 0x000300f7u, 0x00000074u, - 0x00000000u, 0x000400fau, 0x00000071u, 0x00000073u, 0x0000007bu, 0x000200f8u, 0x00000073u, 0x000500aau, - 0x00000008u, 0x00000077u, 0x00000070u, 0x0000000eu, 0x000600a9u, 0x00000006u, 0x0000007au, 0x00000077u, - 0x00000078u, 0x00000079u, 0x000200f9u, 0x00000074u, 0x000200f8u, 0x0000007bu, 0x000200f9u, 0x00000074u, - 0x000200f8u, 0x00000074u, 0x000700f5u, 0x00000006u, 0x00000264u, 0x0000007au, 0x00000073u, 0x0000007cu, - 0x0000007bu, 0x00050084u, 0x00000006u, 0x00000081u, 0x0000005du, 0x00000264u, 0x00050041u, 0x00000060u, - 0x00000085u, 0x00000026u, 0x00000084u, 0x0004003du, 0x00000006u, 0x00000086u, 0x00000085u, 0x000500c7u, - 0x00000006u, 0x00000087u, 0x00000086u, 0x0000002fu, 0x000500abu, 0x00000008u, 0x00000088u, 0x00000087u, - 0x0000000eu, 0x00050041u, 0x00000060u, 0x0000008bu, 0x00000026u, 0x0000008au, 0x0004003du, 0x00000006u, - 0x0000008cu, 0x0000008bu, 0x000300f7u, 0x0000008fu, 0x00000000u, 0x000400fau, 0x00000088u, 0x0000008eu, - 0x0000008fu, 0x000200f8u, 0x0000008eu, 0x00050041u, 0x00000092u, 0x00000093u, 0x00000026u, 0x00000091u, - 0x0004003du, 0x00000016u, 0x00000094u, 0x00000093u, 0x00060041u, 0x0000002du, 0x00000095u, 0x00000094u, - 0x0000002cu, 0x0000002cu, 0x0006003du, 0x00000006u, 0x00000096u, 0x00000095u, 0x00000002u, 0x00000004u, - 0x0007000cu, 0x00000006u, 0x00000099u, 0x00000001u, 0x00000026u, 0x0000008cu, 0x00000096u, 0x000500aau, - 0x00000008u, 0x0000009bu, 0x0000006cu, 0x0000000eu, 0x000300f7u, 0x0000009du, 0x00000000u, 0x000400fau, - 0x0000009bu, 0x0000009cu, 0x0000009du, 0x000200f8u, 0x0000009cu, 0x00050041u, 0x0000009fu, 0x000000a0u, - 0x00000026u, 0x0000009eu, 0x0004003du, 0x00000018u, 0x000000a1u, 0x000000a0u, 0x00060041u, 0x0000002du, - 0x000000a3u, 0x000000a1u, 0x0000002cu, 0x0000002cu, 0x0005003eu, 0x000000a3u, 0x00000099u, 0x00000002u, - 0x00000004u, 0x000500abu, 0x00000008u, 0x000000a6u, 0x00000096u, 0x00000099u, 0x000300f7u, 0x000000a8u, - 0x00000000u, 0x000400fau, 0x000000a6u, 0x000000a7u, 0x000000a8u, 0x000200f8u, 0x000000a7u, 0x00050041u, - 0x00000029u, 0x000000aau, 0x00000026u, 0x000000a9u, 0x0004003du, 0x00000019u, 0x000000abu, 0x000000aau, - 0x00060041u, 0x0000002du, 0x000000acu, 0x000000abu, 0x0000002cu, 0x00000091u, 0x000700eau, 0x00000006u, - 0x000000adu, 0x000000acu, 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x000200f9u, 0x000000a8u, 0x000200f8u, - 0x000000a8u, 0x000200f9u, 0x0000009du, 0x000200f8u, 0x0000009du, 0x000200f9u, 0x0000008fu, 0x000200f8u, - 0x0000008fu, 0x000700f5u, 0x00000006u, 0x0000026au, 0x0000008cu, 0x00000074u, 0x00000099u, 0x0000009du, - 0x000500aeu, 0x00000008u, 0x000000b0u, 0x0000006cu, 0x0000026au, 0x000300f7u, 0x000000b2u, 0x00000000u, - 0x000400fau, 0x000000b0u, 0x000000b1u, 0x000000b2u, 0x000200f8u, 0x000000b1u, 0x000200f9u, 0x000000b4u, - 0x000200f8u, 0x000000b4u, 0x000700f5u, 0x00000006u, 0x000002ecu, 0x0000000eu, 0x000000b1u, 0x000000c5u, - 0x000000b5u, 0x000500b0u, 0x00000008u, 0x000000bbu, 0x000002ecu, 0x00000264u, 0x000400f6u, 0x000000b6u, - 0x000000b5u, 0x00000000u, 0x000400fau, 0x000000bbu, 0x000000b5u, 0x000000b6u, 0x000200f8u, 0x000000b5u, - 0x00050041u, 0x000000bdu, 0x000000beu, 0x00000026u, 0x000000bcu, 0x0004003du, 0x00000017u, 0x000000bfu, - 0x000000beu, 0x00050080u, 0x00000006u, 0x000000c2u, 0x00000081u, 0x000002ecu, 0x00060041u, 0x0000002du, - 0x000000c3u, 0x000000bfu, 0x0000002cu, 0x000000c2u, 0x0005003eu, 0x000000c3u, 0x0000000eu, 0x00000002u, - 0x00000004u, 0x00050080u, 0x00000006u, 0x000000c5u, 0x000002ecu, 0x00000091u, 0x000200f9u, 0x000000b4u, - 0x000200f8u, 0x000000b6u, 0x000200f9u, 0x00000228u, 0x000200f8u, 0x000000b2u, 0x00050041u, 0x00000060u, - 0x000000cau, 0x00000026u, 0x000000c9u, 0x0004003du, 0x00000006u, 0x000000cbu, 0x000000cau, 0x00050084u, - 0x00000006u, 0x000000ccu, 0x0000005du, 0x000000cbu, 0x000200f9u, 0x000000cfu, 0x000200f8u, 0x000000cfu, - 0x000700f5u, 0x00000008u, 0x00000275u, 0x00000012u, 0x000000b2u, 0x000000e4u, 0x000000d2u, 0x000700f5u, - 0x00000006u, 0x00000270u, 0x0000000eu, 0x000000b2u, 0x000000e6u, 0x000000d2u, 0x000500b0u, 0x00000008u, - 0x000000d6u, 0x00000270u, 0x00000264u, 0x000400f6u, 0x000000d1u, 0x000000d2u, 0x00000000u, 0x000400fau, - 0x000000d6u, 0x000000d0u, 0x000000d1u, 0x000200f8u, 0x000000d0u, 0x000300f7u, 0x000000d9u, 0x00000000u, - 0x000400fau, 0x00000275u, 0x000000d8u, 0x000000d9u, 0x000200f8u, 0x000000d8u, 0x00050041u, 0x000000dau, - 0x000000dbu, 0x00000026u, 0x0000002cu, 0x0004003du, 0x00000015u, 0x000000dcu, 0x000000dbu, 0x00050080u, - 0x00000006u, 0x000000dfu, 0x000000ccu, 0x00000270u, 0x00060041u, 0x0000002du, 0x000000e0u, 0x000000dcu, - 0x0000002cu, 0x000000dfu, 0x0006003du, 0x00000006u, 0x000000e1u, 0x000000e0u, 0x00000002u, 0x00000004u, - 0x000500aau, 0x00000008u, 0x000000e3u, 0x000000e1u, 0x000000e2u, 0x000200f9u, 0x000000d9u, 0x000200f8u, - 0x000000d9u, 0x000700f5u, 0x00000008u, 0x000000e4u, 0x00000275u, 0x000000d0u, 0x000000e3u, 0x000000d8u, - 0x000200f9u, 0x000000d2u, 0x000200f8u, 0x000000d2u, 0x00050080u, 0x00000006u, 0x000000e6u, 0x00000270u, - 0x00000091u, 0x000200f9u, 0x000000cfu, 0x000200f8u, 0x000000d1u, 0x000400a8u, 0x00000008u, 0x000000e8u, - 0x00000275u, 0x000300f7u, 0x000000eau, 0x00000000u, 0x000400fau, 0x000000e8u, 0x000000e9u, 0x000000eau, - 0x000200f8u, 0x000000e9u, 0x000500aau, 0x00000008u, 0x000000edu, 0x00000070u, 0x0000007cu, 0x000300f7u, - 0x000000efu, 0x00000000u, 0x000400fau, 0x000000edu, 0x000000eeu, 0x000000efu, 0x000200f8u, 0x000000eeu, - 0x00050041u, 0x000000dau, 0x000000f0u, 0x00000026u, 0x0000002cu, 0x0004003du, 0x00000015u, 0x000000f1u, - 0x000000f0u, 0x00060041u, 0x0000002du, 0x000000f3u, 0x000000f1u, 0x0000002cu, 0x000000ccu, 0x0006003du, - 0x00000006u, 0x000000f4u, 0x000000f3u, 0x00000002u, 0x00000004u, 0x000500aau, 0x00000008u, 0x000000f5u, - 0x000000f4u, 0x000000e2u, 0x000200f9u, 0x000000efu, 0x000200f8u, 0x000000efu, 0x000700f5u, 0x00000008u, - 0x000000f6u, 0x000000edu, 0x000000e9u, 0x000000f5u, 0x000000eeu, 0x000200f9u, 0x000000eau, 0x000200f8u, - 0x000000eau, 0x000700f5u, 0x00000008u, 0x000000f7u, 0x00000275u, 0x000000d1u, 0x000000f6u, 0x000000efu, - 0x000300f7u, 0x000000f9u, 0x00000000u, 0x000400fau, 0x000000f7u, 0x000000f8u, 0x000000f9u, 0x000200f8u, - 0x000000f8u, 0x000200f9u, 0x000000fbu, 0x000200f8u, 0x000000fbu, 0x000700f5u, 0x00000006u, 0x000002e8u, - 0x0000000eu, 0x000000f8u, 0x0000010au, 0x000000fcu, 0x000500b0u, 0x00000008u, 0x00000102u, 0x000002e8u, - 0x00000264u, 0x000400f6u, 0x000000fdu, 0x000000fcu, 0x00000000u, 0x000400fau, 0x00000102u, 0x000000fcu, - 0x000000fdu, 0x000200f8u, 0x000000fcu, 0x00050041u, 0x000000bdu, 0x00000103u, 0x00000026u, 0x000000bcu, - 0x0004003du, 0x00000017u, 0x00000104u, 0x00000103u, 0x00050080u, 0x00000006u, 0x00000107u, 0x00000081u, - 0x000002e8u, 0x00060041u, 0x0000002du, 0x00000108u, 0x00000104u, 0x0000002cu, 0x00000107u, 0x0005003eu, - 0x00000108u, 0x0000000eu, 0x00000002u, 0x00000004u, 0x00050080u, 0x00000006u, 0x0000010au, 0x000002e8u, - 0x00000091u, 0x000200f9u, 0x000000fbu, 0x000200f8u, 0x000000fdu, 0x00050041u, 0x00000029u, 0x0000010bu, - 0x00000026u, 0x000000a9u, 0x0004003du, 0x00000019u, 0x0000010cu, 0x0000010bu, 0x00060041u, 0x0000002du, - 0x0000010du, 0x0000010cu, 0x0000002cu, 0x0000002cu, 0x000700eau, 0x00000006u, 0x0000010eu, 0x0000010du, - 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x00060041u, 0x0000002du, 0x00000111u, 0x0000010cu, 0x0000002cu, - 0x0000009eu, 0x000700eau, 0x00000006u, 0x00000112u, 0x00000111u, 0x0000002fu, 0x0000000eu, 0x0000002fu, - 0x000200f9u, 0x00000228u, 0x000200f8u, 0x000000f9u, 0x0003003eu, 0x00000116u, 0x00000117u, 0x000300f7u, - 0x0000011eu, 0x00000000u, 0x000400fau, 0x00000071u, 0x0000011du, 0x00000165u, 0x000200f8u, 0x0000011du, - 0x00050041u, 0x000000dau, 0x00000120u, 0x00000026u, 0x0000002cu, 0x0004003du, 0x00000015u, 0x00000121u, - 0x00000120u, 0x00060041u, 0x0000002du, 0x00000123u, 0x00000121u, 0x0000002cu, 0x000000ccu, 0x0006003du, - 0x00000006u, 0x00000124u, 0x00000123u, 0x00000002u, 0x00000004u, 0x00050080u, 0x00000006u, 0x00000129u, - 0x000000ccu, 0x0000002fu, 0x00060041u, 0x0000002du, 0x0000012au, 0x00000121u, 0x0000002cu, 0x00000129u, - 0x0006003du, 0x00000006u, 0x0000012bu, 0x0000012au, 0x00000002u, 0x00000004u, 0x0007000cu, 0x00000006u, - 0x0000012fu, 0x00000001u, 0x00000026u, 0x00000124u, 0x0000012eu, 0x0007000cu, 0x00000006u, 0x00000134u, - 0x00000001u, 0x00000029u, 0x0000012fu, 0x0000002fu, 0x00050086u, 0x00000006u, 0x00000135u, 0x00000132u, - 0x00000134u, 0x0007000cu, 0x00000006u, 0x00000136u, 0x00000001u, 0x00000026u, 0x0000012bu, 0x00000135u, - 0x000500aau, 0x00000008u, 0x00000138u, 0x0000012fu, 0x0000000eu, 0x000600a9u, 0x00000006u, 0x000002f3u, - 0x00000138u, 0x0000000eu, 0x00000136u, 0x000500abu, 0x00000008u, 0x0000013du, 0x0000012fu, 0x00000124u, - 0x000500abu, 0x00000008u, 0x00000140u, 0x000002f3u, 0x0000012bu, 0x000500a6u, 0x00000008u, 0x00000141u, - 0x0000013du, 0x00000140u, 0x000600a9u, 0x00000006u, 0x00000142u, 0x00000141u, 0x0000002fu, 0x0000000eu, - 0x00050084u, 0x00000006u, 0x00000145u, 0x0000012fu, 0x000002f3u, 0x00050041u, 0x00000007u, 0x00000147u, - 0x00000116u, 0x0000002cu, 0x0003003eu, 0x00000147u, 0x0000012fu, 0x00050041u, 0x00000007u, 0x00000149u, - 0x00000116u, 0x00000091u, 0x0003003eu, 0x00000149u, 0x000002f3u, 0x00050080u, 0x00000006u, 0x0000014eu, - 0x000000ccu, 0x0000014du, 0x00060041u, 0x0000002du, 0x0000014fu, 0x00000121u, 0x0000002cu, 0x0000014eu, - 0x0006003du, 0x00000006u, 0x00000150u, 0x0000014fu, 0x00000002u, 0x00000004u, 0x00050041u, 0x00000007u, - 0x00000151u, 0x00000116u, 0x000000bcu, 0x0003003eu, 0x00000151u, 0x00000150u, 0x00050080u, 0x00000006u, - 0x00000155u, 0x000000ccu, 0x0000007cu, 0x00060041u, 0x0000002du, 0x00000156u, 0x00000121u, 0x0000002cu, - 0x00000155u, 0x0006003du, 0x00000006u, 0x00000157u, 0x00000156u, 0x00000002u, 0x00000004u, 0x00050041u, - 0x00000007u, 0x00000158u, 0x00000116u, 0x0000009eu, 0x0003003eu, 0x00000158u, 0x00000157u, 0x000500aau, - 0x00000008u, 0x0000015bu, 0x00000070u, 0x0000002fu, 0x000300f7u, 0x0000015du, 0x00000000u, 0x000400fau, - 0x0000015bu, 0x0000015cu, 0x0000015du, 0x000200f8u, 0x0000015cu, 0x00050080u, 0x00000006u, 0x00000161u, - 0x000000ccu, 0x00000078u, 0x00060041u, 0x0000002du, 0x00000162u, 0x00000121u, 0x0000002cu, 0x00000161u, - 0x0006003du, 0x00000006u, 0x00000163u, 0x00000162u, 0x00000002u, 0x00000004u, 0x00050041u, 0x00000007u, - 0x00000164u, 0x00000116u, 0x000000a9u, 0x0003003eu, 0x00000164u, 0x00000163u, 0x000200f9u, 0x0000015du, - 0x000200f8u, 0x0000015du, 0x000200f9u, 0x0000011eu, 0x000200f8u, 0x00000165u, 0x00050041u, 0x000000dau, - 0x00000167u, 0x00000026u, 0x0000002cu, 0x0004003du, 0x00000015u, 0x00000168u, 0x00000167u, 0x00060041u, - 0x0000002du, 0x0000016au, 0x00000168u, 0x0000002cu, 0x000000ccu, 0x0006003du, 0x00000006u, 0x0000016bu, - 0x0000016au, 0x00000002u, 0x00000004u, 0x00050080u, 0x00000006u, 0x00000170u, 0x000000ccu, 0x0000002fu, - 0x00060041u, 0x0000002du, 0x00000171u, 0x00000168u, 0x0000002cu, 0x00000170u, 0x0006003du, 0x00000006u, - 0x00000172u, 0x00000171u, 0x00000002u, 0x00000004u, 0x00050080u, 0x00000006u, 0x00000177u, 0x000000ccu, - 0x0000014du, 0x00060041u, 0x0000002du, 0x00000178u, 0x00000168u, 0x0000002cu, 0x00000177u, 0x0006003du, - 0x00000006u, 0x00000179u, 0x00000178u, 0x00000002u, 0x00000004u, 0x000500aau, 0x00000008u, 0x0000017cu, - 0x00000070u, 0x0000007cu, 0x000300f7u, 0x0000017eu, 0x00000000u, 0x000400fau, 0x0000017cu, 0x0000017du, - 0x0000017eu, 0x000200f8u, 0x0000017du, 0x00050041u, 0x00000029u, 0x0000017fu, 0x00000026u, 0x000000a9u, - 0x0004003du, 0x00000019u, 0x00000180u, 0x0000017fu, 0x00060041u, 0x0000002du, 0x00000181u, 0x00000180u, - 0x0000002cu, 0x0000005fu, 0x000700eau, 0x00000006u, 0x00000182u, 0x00000181u, 0x0000002fu, 0x0000000eu, - 0x0000002fu, 0x000500acu, 0x00000008u, 0x00000184u, 0x00000172u, 0x0000002fu, 0x000500acu, 0x00000008u, - 0x00000186u, 0x00000179u, 0x0000002fu, 0x000500a6u, 0x00000008u, 0x00000187u, 0x00000184u, 0x00000186u, - 0x000300f7u, 0x00000189u, 0x00000000u, 0x000400fau, 0x00000187u, 0x00000188u, 0x00000189u, 0x000200f8u, - 0x00000188u, 0x00060041u, 0x0000002du, 0x0000018cu, 0x00000180u, 0x0000002cu, 0x00000068u, 0x000700eau, - 0x00000006u, 0x0000018du, 0x0000018cu, 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x00060041u, 0x0000002du, - 0x00000190u, 0x00000180u, 0x0000002cu, 0x0000008au, 0x000700efu, 0x00000006u, 0x00000192u, 0x00000190u, - 0x0000002fu, 0x0000000eu, 0x00000172u, 0x00060041u, 0x0000002du, 0x00000195u, 0x00000180u, 0x0000002cu, - 0x00000084u, 0x000700efu, 0x00000006u, 0x00000197u, 0x00000195u, 0x0000002fu, 0x0000000eu, 0x00000179u, - 0x000200f9u, 0x00000189u, 0x000200f8u, 0x00000189u, 0x000200f9u, 0x0000017eu, 0x000200f8u, 0x0000017eu, - 0x0007000cu, 0x00000006u, 0x0000019bu, 0x00000001u, 0x00000026u, 0x0000016bu, 0x0000019au, 0x0007000cu, - 0x00000006u, 0x0000019eu, 0x00000001u, 0x00000026u, 0x00000172u, 0x0000019au, 0x0007000cu, 0x00000006u, - 0x000001a1u, 0x00000001u, 0x00000026u, 0x00000179u, 0x0000019au, 0x000600a9u, 0x00000006u, 0x000002f4u, - 0x0000017cu, 0x0000002fu, 0x000001a1u, 0x000600a9u, 0x00000006u, 0x000002f5u, 0x0000017cu, 0x0000002fu, - 0x0000019eu, 0x000500c2u, 0x00000006u, 0x000001aau, 0x00000086u, 0x0000002fu, 0x000500abu, 0x00000008u, - 0x000001acu, 0x000001aau, 0x0000000eu, 0x000500abu, 0x00000008u, 0x000001aeu, 0x0000019bu, 0x0000000eu, - 0x000500a7u, 0x00000008u, 0x000001afu, 0x000001acu, 0x000001aeu, 0x000500abu, 0x00000008u, 0x000001b1u, - 0x000002f5u, 0x0000000eu, 0x000500a7u, 0x00000008u, 0x000001b2u, 0x000001afu, 0x000001b1u, 0x000500abu, - 0x00000008u, 0x000001b4u, 0x000002f4u, 0x0000000eu, 0x000500a7u, 0x00000008u, 0x000001b5u, 0x000001b2u, - 0x000001b4u, 0x000300f7u, 0x000001b7u, 0x00000000u, 0x000400fau, 0x000001b5u, 0x000001b6u, 0x000001b7u, - 0x000200f8u, 0x000001b6u, 0x0007000cu, 0x00000006u, 0x000001bau, 0x00000001u, 0x00000026u, 0x0000019bu, - 0x000001aau, 0x00050086u, 0x00000006u, 0x000001beu, 0x000001aau, 0x000001bau, 0x0007000cu, 0x00000006u, - 0x000001bfu, 0x00000001u, 0x00000026u, 0x000002f5u, 0x000001beu, 0x00050086u, 0x00000006u, 0x000001c5u, - 0x000001beu, 0x000001bfu, 0x0007000cu, 0x00000006u, 0x000001c6u, 0x00000001u, 0x00000026u, 0x000002f4u, - 0x000001c5u, 0x000200f9u, 0x000001b7u, 0x000200f8u, 0x000001b7u, 0x000700f5u, 0x00000006u, 0x00000284u, - 0x000002f5u, 0x0000017eu, 0x000001bfu, 0x000001b6u, 0x000700f5u, 0x00000006u, 0x00000283u, 0x0000019bu, - 0x0000017eu, 0x000001bau, 0x000001b6u, 0x000700f5u, 0x00000006u, 0x00000282u, 0x000002f4u, 0x0000017eu, - 0x000001c6u, 0x000001b6u, 0x000500abu, 0x00000008u, 0x000001c8u, 0x00000282u, 0x0000000eu, 0x000300f7u, - 0x000001cau, 0x00000000u, 0x000400fau, 0x000001c8u, 0x000001c9u, 0x000001cau, 0x000200f8u, 0x000001c9u, - 0x00050084u, 0x00000006u, 0x000001cdu, 0x00000283u, 0x00000284u, 0x00050086u, 0x00000006u, 0x000001d0u, - 0x000001ceu, 0x00000282u, 0x000500acu, 0x00000008u, 0x000001d1u, 0x000001cdu, 0x000001d0u, 0x000200f9u, - 0x000001cau, 0x000200f8u, 0x000001cau, 0x000700f5u, 0x00000008u, 0x000001d2u, 0x000001c8u, 0x000001b7u, - 0x000001d1u, 0x000001c9u, 0x000600a9u, 0x00000006u, 0x000002f6u, 0x000001d2u, 0x0000000eu, 0x00000282u, - 0x000600a9u, 0x00000006u, 0x000002f7u, 0x000001d2u, 0x0000000eu, 0x00000284u, 0x000600a9u, 0x00000006u, - 0x000002f8u, 0x000001d2u, 0x0000000eu, 0x00000283u, 0x000500abu, 0x00000008u, 0x000001d7u, 0x000002f8u, - 0x0000016bu, 0x000500abu, 0x00000008u, 0x000001dau, 0x000002f7u, 0x00000172u, 0x000500a6u, 0x00000008u, - 0x000001dbu, 0x000001d7u, 0x000001dau, 0x000500abu, 0x00000008u, 0x000001deu, 0x000002f6u, 0x00000179u, - 0x000500a6u, 0x00000008u, 0x000001dfu, 0x000001dbu, 0x000001deu, 0x000600a9u, 0x00000006u, 0x000001e0u, - 0x000001dfu, 0x0000002fu, 0x0000000eu, 0x00050084u, 0x00000006u, 0x000001e3u, 0x000002f8u, 0x000002f7u, - 0x00050084u, 0x00000006u, 0x000001e5u, 0x000001e3u, 0x000002f6u, 0x000600a9u, 0x00000006u, 0x000001ebu, - 0x0000017cu, 0x000001e9u, 0x000001eau, 0x00050084u, 0x00000006u, 0x000001ecu, 0x000001e5u, 0x000001ebu, - 0x00050041u, 0x00000007u, 0x000001eeu, 0x00000116u, 0x0000002cu, 0x0003003eu, 0x000001eeu, 0x000002f8u, - 0x00050041u, 0x00000007u, 0x000001f0u, 0x00000116u, 0x00000091u, 0x0003003eu, 0x000001f0u, 0x000002f7u, - 0x00050041u, 0x00000007u, 0x000001f2u, 0x00000116u, 0x000000bcu, 0x0003003eu, 0x000001f2u, 0x000002f6u, - 0x000200f9u, 0x0000011eu, 0x000200f8u, 0x0000011eu, 0x000700f5u, 0x00000006u, 0x000002b8u, 0x00000142u, - 0x0000015du, 0x000001e0u, 0x000001cau, 0x000700f5u, 0x00000006u, 0x0000029cu, 0x00000145u, 0x0000015du, - 0x000001ecu, 0x000001cau, 0x000500abu, 0x00000008u, 0x000001f4u, 0x0000029cu, 0x0000000eu, 0x000300f7u, - 0x000001f6u, 0x00000000u, 0x000400fau, 0x000001f4u, 0x000001f5u, 0x000001f6u, 0x000200f8u, 0x000001f5u, - 0x000300f7u, 0x00000262u, 0x00000000u, 0x000300fbu, 0x0000000eu, 0x0000023au, 0x000200f8u, 0x0000023au, - 0x000500aau, 0x00000008u, 0x0000023cu, 0x0000029cu, 0x0000000eu, 0x000300f7u, 0x0000023eu, 0x00000000u, - 0x000400fau, 0x0000023cu, 0x0000023du, 0x0000023eu, 0x000200f8u, 0x0000023du, 0x000200f9u, 0x00000262u, - 0x000200f8u, 0x0000023eu, 0x00050041u, 0x00000029u, 0x0000023fu, 0x00000026u, 0x00000028u, 0x0004003du, - 0x00000019u, 0x00000240u, 0x0000023fu, 0x00060041u, 0x0000002du, 0x00000241u, 0x00000240u, 0x0000002cu, - 0x0000002cu, 0x000700eau, 0x00000006u, 0x00000242u, 0x00000241u, 0x0000002fu, 0x0000000eu, 0x0000000eu, - 0x000200f9u, 0x00000243u, 0x000200f8u, 0x00000243u, 0x000700f5u, 0x00000006u, 0x0000029eu, 0x00000242u, - 0x0000023eu, 0x00000257u, 0x0000025eu, 0x000500b0u, 0x00000008u, 0x00000246u, 0x0000029eu, 0x00000037u, - 0x000400f6u, 0x0000025fu, 0x0000025eu, 0x00000000u, 0x000400fau, 0x00000246u, 0x00000247u, 0x0000025fu, - 0x000200f8u, 0x00000247u, 0x00050082u, 0x00000006u, 0x00000249u, 0x00000037u, 0x0000029eu, 0x000500acu, - 0x00000008u, 0x0000024cu, 0x0000029cu, 0x00000249u, 0x000300f7u, 0x0000024eu, 0x00000000u, 0x000400fau, - 0x0000024cu, 0x0000024du, 0x0000024eu, 0x000200f8u, 0x0000024du, 0x000200f9u, 0x0000025fu, 0x000200f8u, - 0x0000024eu, 0x00050080u, 0x00000006u, 0x00000251u, 0x0000029eu, 0x0000029cu, 0x000900e6u, 0x00000006u, - 0x00000257u, 0x00000241u, 0x0000002fu, 0x0000000eu, 0x0000000eu, 0x00000251u, 0x0000029eu, 0x000500aau, - 0x00000008u, 0x0000025au, 0x00000257u, 0x0000029eu, 0x000300f7u, 0x0000025cu, 0x00000000u, 0x000400fau, - 0x0000025au, 0x0000025bu, 0x0000025cu, 0x000200f8u, 0x0000025bu, 0x000200f9u, 0x0000025fu, 0x000200f8u, - 0x0000025cu, 0x000200f9u, 0x0000025eu, 0x000200f8u, 0x0000025eu, 0x000200f9u, 0x00000243u, 0x000200f8u, - 0x0000025fu, 0x000900f5u, 0x00000008u, 0x000002a3u, 0x000002acu, 0x00000243u, 0x00000041u, 0x0000024du, - 0x00000012u, 0x0000025bu, 0x000900f5u, 0x00000008u, 0x000002a0u, 0x00000041u, 0x00000243u, 0x00000012u, - 0x0000024du, 0x00000012u, 0x0000025bu, 0x000300f7u, 0x00000261u, 0x00000000u, 0x000400fau, 0x000002a0u, - 0x00000262u, 0x00000261u, 0x000200f8u, 0x00000261u, 0x000200f9u, 0x00000262u, 0x000200f8u, 0x00000262u, - 0x000900f5u, 0x00000008u, 0x000002a2u, 0x00000012u, 0x0000023du, 0x000002a3u, 0x0000025fu, 0x00000041u, - 0x00000261u, 0x000400a8u, 0x00000008u, 0x000001fau, 0x000002a2u, 0x000200f9u, 0x000001f6u, 0x000200f8u, - 0x000001f6u, 0x000700f5u, 0x00000008u, 0x000001fbu, 0x000001f4u, 0x0000011eu, 0x000001fau, 0x00000262u, - 0x000300f7u, 0x000001fdu, 0x00000000u, 0x000400fau, 0x000001fbu, 0x000001fcu, 0x000001fdu, 0x000200f8u, - 0x000001fcu, 0x00050041u, 0x00000029u, 0x000001feu, 0x00000026u, 0x000000a9u, 0x0004003du, 0x00000019u, - 0x000001ffu, 0x000001feu, 0x00060041u, 0x0000002du, 0x00000200u, 0x000001ffu, 0x0000002cu, 0x000000bcu, - 0x000700eau, 0x00000006u, 0x00000201u, 0x00000200u, 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x0003003eu, - 0x00000116u, 0x00000117u, 0x000200f9u, 0x000001fdu, 0x000200f8u, 0x000001fdu, 0x000600a9u, 0x00000006u, - 0x000002f9u, 0x000001fbu, 0x0000002fu, 0x000002b8u, 0x000500abu, 0x00000008u, 0x00000203u, 0x000002f9u, - 0x0000000eu, 0x000300f7u, 0x00000205u, 0x00000000u, 0x000400fau, 0x00000203u, 0x00000204u, 0x00000205u, - 0x000200f8u, 0x00000204u, 0x00050041u, 0x00000029u, 0x00000206u, 0x00000026u, 0x000000a9u, 0x0004003du, - 0x00000019u, 0x00000207u, 0x00000206u, 0x00060041u, 0x0000002du, 0x00000208u, 0x00000207u, 0x0000002cu, - 0x0000002cu, 0x000700eau, 0x00000006u, 0x00000209u, 0x00000208u, 0x0000002fu, 0x0000000eu, 0x0000002fu, - 0x00050041u, 0x00000007u, 0x0000020au, 0x00000116u, 0x0000002cu, 0x0004003du, 0x00000006u, 0x0000020bu, - 0x0000020au, 0x000500aau, 0x00000008u, 0x0000020cu, 0x0000020bu, 0x0000000eu, 0x000300f7u, 0x0000020eu, - 0x00000000u, 0x000400fau, 0x0000020cu, 0x0000020du, 0x0000020eu, 0x000200f8u, 0x0000020du, 0x00060041u, - 0x0000002du, 0x00000211u, 0x00000207u, 0x0000002cu, 0x0000009eu, 0x000700eau, 0x00000006u, 0x00000212u, - 0x00000211u, 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x000200f9u, 0x0000020eu, 0x000200f8u, 0x0000020eu, - 0x000200f9u, 0x00000205u, 0x000200f8u, 0x00000205u, 0x000200f9u, 0x00000214u, 0x000200f8u, 0x00000214u, - 0x000700f5u, 0x00000006u, 0x000002bdu, 0x0000000eu, 0x00000205u, 0x00000226u, 0x00000215u, 0x000500b0u, - 0x00000008u, 0x0000021bu, 0x000002bdu, 0x00000264u, 0x000400f6u, 0x00000216u, 0x00000215u, 0x00000000u, - 0x000400fau, 0x0000021bu, 0x00000215u, 0x00000216u, 0x000200f8u, 0x00000215u, 0x00050041u, 0x000000bdu, - 0x0000021cu, 0x00000026u, 0x000000bcu, 0x0004003du, 0x00000017u, 0x0000021du, 0x0000021cu, 0x00050080u, - 0x00000006u, 0x00000220u, 0x00000081u, 0x000002bdu, 0x00050041u, 0x00000007u, 0x00000222u, 0x00000116u, - 0x000002bdu, 0x0004003du, 0x00000006u, 0x00000223u, 0x00000222u, 0x00060041u, 0x0000002du, 0x00000224u, - 0x0000021du, 0x0000002cu, 0x00000220u, 0x0005003eu, 0x00000224u, 0x00000223u, 0x00000002u, 0x00000004u, - 0x00050080u, 0x00000006u, 0x00000226u, 0x000002bdu, 0x00000091u, 0x000200f9u, 0x00000214u, 0x000200f8u, - 0x00000216u, 0x000200f9u, 0x00000228u, 0x000200f8u, 0x00000228u, 0x000100fdu, 0x00010038u, + 0x00736472u, 0x00050006u, 0x0000001au, 0x0000000bu, 0x67616c66u, 0x00000073u, 0x00050006u, 0x0000001au, + 0x0000000cu, 0x5f78616du, 0x00000078u, 0x00050006u, 0x0000001au, 0x0000000du, 0x5f78616du, 0x00000079u, + 0x00050006u, 0x0000001au, 0x0000000eu, 0x5f78616du, 0x0000007au, 0x00060006u, 0x0000001au, 0x0000000fu, + 0x65736572u, 0x64657672u, 0x00000000u, 0x00040005u, 0x0000001cu, 0x73677241u, 0x00006e49u, 0x00050006u, + 0x0000001cu, 0x00000000u, 0x61746164u, 0x00000000u, 0x00040005u, 0x0000001eu, 0x6e756f43u, 0x006e4974u, + 0x00050006u, 0x0000001eu, 0x00000000u, 0x61746164u, 0x00000000u, 0x00040005u, 0x00000020u, 0x73677241u, + 0x0074754fu, 0x00050006u, 0x00000020u, 0x00000000u, 0x61746164u, 0x00000000u, 0x00050005u, 0x00000022u, + 0x6e756f43u, 0x74754f74u, 0x00000000u, 0x00050006u, 0x00000022u, 0x00000000u, 0x61746164u, 0x00000000u, + 0x00040005u, 0x00000024u, 0x74617453u, 0x00000073u, 0x00050006u, 0x00000024u, 0x00000000u, 0x61746164u, + 0x00000000u, 0x00030005u, 0x00000026u, 0x00000070u, 0x00080005u, 0x0000005au, 0x475f6c67u, 0x61626f6cu, + 0x766e496cu, 0x7461636fu, 0x496e6f69u, 0x00000044u, 0x00040005u, 0x00000116u, 0x64726f77u, 0x00000073u, + 0x00030047u, 0x0000001au, 0x00000002u, 0x00050048u, 0x0000001au, 0x00000000u, 0x00000023u, 0x00000000u, + 0x00050048u, 0x0000001au, 0x00000001u, 0x00000023u, 0x00000008u, 0x00050048u, 0x0000001au, 0x00000002u, + 0x00000023u, 0x00000010u, 0x00050048u, 0x0000001au, 0x00000003u, 0x00000023u, 0x00000018u, 0x00050048u, + 0x0000001au, 0x00000004u, 0x00000023u, 0x00000020u, 0x00050048u, 0x0000001au, 0x00000005u, 0x00000023u, + 0x00000028u, 0x00050048u, 0x0000001au, 0x00000006u, 0x00000023u, 0x00000030u, 0x00050048u, 0x0000001au, + 0x00000007u, 0x00000023u, 0x00000034u, 0x00050048u, 0x0000001au, 0x00000008u, 0x00000023u, 0x00000038u, + 0x00050048u, 0x0000001au, 0x00000009u, 0x00000023u, 0x0000003cu, 0x00050048u, 0x0000001au, 0x0000000au, + 0x00000023u, 0x00000040u, 0x00050048u, 0x0000001au, 0x0000000bu, 0x00000023u, 0x00000044u, 0x00050048u, + 0x0000001au, 0x0000000cu, 0x00000023u, 0x00000048u, 0x00050048u, 0x0000001au, 0x0000000du, 0x00000023u, + 0x0000004cu, 0x00050048u, 0x0000001au, 0x0000000eu, 0x00000023u, 0x00000050u, 0x00050048u, 0x0000001au, + 0x0000000fu, 0x00000023u, 0x00000054u, 0x00040047u, 0x0000001bu, 0x00000006u, 0x00000004u, 0x00030047u, + 0x0000001cu, 0x00000002u, 0x00040048u, 0x0000001cu, 0x00000000u, 0x00000018u, 0x00050048u, 0x0000001cu, + 0x00000000u, 0x00000023u, 0x00000000u, 0x00040047u, 0x0000001du, 0x00000006u, 0x00000004u, 0x00030047u, + 0x0000001eu, 0x00000002u, 0x00040048u, 0x0000001eu, 0x00000000u, 0x00000018u, 0x00050048u, 0x0000001eu, + 0x00000000u, 0x00000023u, 0x00000000u, 0x00040047u, 0x0000001fu, 0x00000006u, 0x00000004u, 0x00030047u, + 0x00000020u, 0x00000002u, 0x00050048u, 0x00000020u, 0x00000000u, 0x00000023u, 0x00000000u, 0x00040047u, + 0x00000021u, 0x00000006u, 0x00000004u, 0x00030047u, 0x00000022u, 0x00000002u, 0x00050048u, 0x00000022u, + 0x00000000u, 0x00000023u, 0x00000000u, 0x00040047u, 0x00000023u, 0x00000006u, 0x00000004u, 0x00030047u, + 0x00000024u, 0x00000002u, 0x00050048u, 0x00000024u, 0x00000000u, 0x00000023u, 0x00000000u, 0x00040047u, + 0x0000005au, 0x0000000bu, 0x0000001cu, 0x00040047u, 0x00000258u, 0x0000000bu, 0x00000019u, 0x00020013u, + 0x00000002u, 0x00030021u, 0x00000003u, 0x00000002u, 0x00040015u, 0x00000006u, 0x00000020u, 0x00000000u, + 0x00040020u, 0x00000007u, 0x00000007u, 0x00000006u, 0x00020014u, 0x00000008u, 0x0004002bu, 0x00000006u, + 0x0000000eu, 0x00000000u, 0x00030029u, 0x00000008u, 0x00000012u, 0x00030027u, 0x00000015u, 0x000014e5u, + 0x00030027u, 0x00000016u, 0x000014e5u, 0x00030027u, 0x00000017u, 0x000014e5u, 0x00030027u, 0x00000018u, + 0x000014e5u, 0x00030027u, 0x00000019u, 0x000014e5u, 0x0012001eu, 0x0000001au, 0x00000015u, 0x00000016u, + 0x00000017u, 0x00000018u, 0x00000019u, 0x00000019u, 0x00000006u, 0x00000006u, 0x00000006u, 0x00000006u, + 0x00000006u, 0x00000006u, 0x00000006u, 0x00000006u, 0x00000006u, 0x00000006u, 0x0003001du, 0x0000001bu, + 0x00000006u, 0x0003001eu, 0x0000001cu, 0x0000001bu, 0x00040020u, 0x00000015u, 0x000014e5u, 0x0000001cu, + 0x0003001du, 0x0000001du, 0x00000006u, 0x0003001eu, 0x0000001eu, 0x0000001du, 0x00040020u, 0x00000016u, + 0x000014e5u, 0x0000001eu, 0x0003001du, 0x0000001fu, 0x00000006u, 0x0003001eu, 0x00000020u, 0x0000001fu, + 0x00040020u, 0x00000017u, 0x000014e5u, 0x00000020u, 0x0003001du, 0x00000021u, 0x00000006u, 0x0003001eu, + 0x00000022u, 0x00000021u, 0x00040020u, 0x00000018u, 0x000014e5u, 0x00000022u, 0x0003001du, 0x00000023u, + 0x00000006u, 0x0003001eu, 0x00000024u, 0x00000023u, 0x00040020u, 0x00000019u, 0x000014e5u, 0x00000024u, + 0x00040020u, 0x00000025u, 0x00000009u, 0x0000001au, 0x0004003bu, 0x00000025u, 0x00000026u, 0x00000009u, + 0x00040015u, 0x00000027u, 0x00000020u, 0x00000001u, 0x0004002bu, 0x00000027u, 0x00000028u, 0x00000005u, + 0x00040020u, 0x00000029u, 0x00000009u, 0x00000019u, 0x0004002bu, 0x00000027u, 0x0000002cu, 0x00000000u, + 0x00040020u, 0x0000002du, 0x000014e5u, 0x00000006u, 0x0004002bu, 0x00000006u, 0x0000002fu, 0x00000001u, + 0x0004002bu, 0x00000006u, 0x00000037u, 0x08000000u, 0x0003002au, 0x00000008u, 0x00000041u, 0x00040017u, + 0x00000058u, 0x00000006u, 0x00000003u, 0x00040020u, 0x00000059u, 0x00000001u, 0x00000058u, 0x0004003bu, + 0x00000059u, 0x0000005au, 0x00000001u, 0x00040020u, 0x0000005bu, 0x00000001u, 0x00000006u, 0x0004002bu, + 0x00000027u, 0x0000005fu, 0x00000008u, 0x00040020u, 0x00000060u, 0x00000009u, 0x00000006u, 0x0004002bu, + 0x00000027u, 0x00000068u, 0x00000009u, 0x0004002bu, 0x00000027u, 0x0000006eu, 0x00000006u, 0x0004002bu, + 0x00000006u, 0x00000078u, 0x00000004u, 0x0004002bu, 0x00000006u, 0x00000079u, 0x00000005u, 0x0004002bu, + 0x00000006u, 0x0000007cu, 0x00000003u, 0x0004002bu, 0x00000027u, 0x00000084u, 0x0000000bu, 0x0004002bu, + 0x00000027u, 0x0000008au, 0x0000000au, 0x0004002bu, 0x00000027u, 0x00000091u, 0x00000001u, 0x00040020u, + 0x00000092u, 0x00000009u, 0x00000016u, 0x0004002bu, 0x00000027u, 0x0000009eu, 0x00000003u, 0x00040020u, + 0x0000009fu, 0x00000009u, 0x00000018u, 0x0004002bu, 0x00000027u, 0x000000a9u, 0x00000004u, 0x0004002bu, + 0x00000027u, 0x000000bcu, 0x00000002u, 0x00040020u, 0x000000bdu, 0x00000009u, 0x00000017u, 0x0004002bu, + 0x00000027u, 0x000000c9u, 0x00000007u, 0x00040020u, 0x000000dau, 0x00000009u, 0x00000015u, 0x0004002bu, + 0x00000006u, 0x000000e2u, 0xffffffffu, 0x0004001cu, 0x00000114u, 0x00000006u, 0x00000079u, 0x00040020u, + 0x00000115u, 0x00000007u, 0x00000114u, 0x0008002cu, 0x00000114u, 0x00000117u, 0x0000000eu, 0x0000000eu, + 0x0000000eu, 0x0000000eu, 0x0000000eu, 0x0004002bu, 0x00000006u, 0x0000012eu, 0x01000000u, 0x0004002bu, + 0x00000006u, 0x00000132u, 0x04000000u, 0x0004002bu, 0x00000006u, 0x0000014du, 0x00000002u, 0x0004002bu, + 0x00000006u, 0x000001a0u, 0x0000ffffu, 0x0006002cu, 0x00000058u, 0x000001a1u, 0x000001a0u, 0x0000002fu, + 0x0000002fu, 0x0004002bu, 0x00000027u, 0x000001a3u, 0x0000000cu, 0x0004002bu, 0x00000027u, 0x000001a6u, + 0x0000000du, 0x0004002bu, 0x00000027u, 0x000001a9u, 0x0000000eu, 0x0006002cu, 0x00000058u, 0x000001adu, + 0x0000002fu, 0x0000002fu, 0x0000002fu, 0x0004002bu, 0x00000006u, 0x000001efu, 0x00100000u, 0x0004002bu, + 0x00000006u, 0x0000021au, 0x00000080u, 0x0004002bu, 0x00000006u, 0x0000021bu, 0x00000040u, 0x0006002cu, + 0x00000058u, 0x00000258u, 0x0000021bu, 0x0000002fu, 0x0000002fu, 0x00030001u, 0x00000008u, 0x000002c1u, + 0x00050036u, 0x00000002u, 0x00000004u, 0x00000000u, 0x00000003u, 0x000200f8u, 0x00000005u, 0x0004003bu, + 0x00000115u, 0x00000116u, 0x00000007u, 0x000300f7u, 0x00000259u, 0x00000000u, 0x000300fbu, 0x0000000eu, + 0x0000025au, 0x000200f8u, 0x0000025au, 0x00050041u, 0x0000005bu, 0x0000005cu, 0x0000005au, 0x0000000eu, + 0x0004003du, 0x00000006u, 0x0000005du, 0x0000005cu, 0x00050041u, 0x00000060u, 0x00000061u, 0x00000026u, + 0x0000005fu, 0x0004003du, 0x00000006u, 0x00000062u, 0x00000061u, 0x000500aeu, 0x00000008u, 0x00000063u, + 0x0000005du, 0x00000062u, 0x000300f7u, 0x00000065u, 0x00000000u, 0x000400fau, 0x00000063u, 0x00000064u, + 0x00000065u, 0x000200f8u, 0x00000064u, 0x000200f9u, 0x00000259u, 0x000200f8u, 0x00000065u, 0x00050041u, + 0x00000060u, 0x00000069u, 0x00000026u, 0x00000068u, 0x0004003du, 0x00000006u, 0x0000006au, 0x00000069u, + 0x00050080u, 0x00000006u, 0x0000006cu, 0x0000006au, 0x0000005du, 0x00050041u, 0x00000060u, 0x0000006fu, + 0x00000026u, 0x0000006eu, 0x0004003du, 0x00000006u, 0x00000070u, 0x0000006fu, 0x000500b2u, 0x00000008u, + 0x00000071u, 0x00000070u, 0x0000002fu, 0x000300f7u, 0x00000074u, 0x00000000u, 0x000400fau, 0x00000071u, + 0x00000073u, 0x0000007bu, 0x000200f8u, 0x00000073u, 0x000500aau, 0x00000008u, 0x00000077u, 0x00000070u, + 0x0000000eu, 0x000600a9u, 0x00000006u, 0x0000007au, 0x00000077u, 0x00000078u, 0x00000079u, 0x000200f9u, + 0x00000074u, 0x000200f8u, 0x0000007bu, 0x000200f9u, 0x00000074u, 0x000200f8u, 0x00000074u, 0x000700f5u, + 0x00000006u, 0x00000298u, 0x0000007au, 0x00000073u, 0x0000007cu, 0x0000007bu, 0x00050084u, 0x00000006u, + 0x00000081u, 0x0000005du, 0x00000298u, 0x00050041u, 0x00000060u, 0x00000085u, 0x00000026u, 0x00000084u, + 0x0004003du, 0x00000006u, 0x00000086u, 0x00000085u, 0x000500c7u, 0x00000006u, 0x00000087u, 0x00000086u, + 0x0000002fu, 0x000500abu, 0x00000008u, 0x00000088u, 0x00000087u, 0x0000000eu, 0x00050041u, 0x00000060u, + 0x0000008bu, 0x00000026u, 0x0000008au, 0x0004003du, 0x00000006u, 0x0000008cu, 0x0000008bu, 0x000300f7u, + 0x0000008fu, 0x00000000u, 0x000400fau, 0x00000088u, 0x0000008eu, 0x0000008fu, 0x000200f8u, 0x0000008eu, + 0x00050041u, 0x00000092u, 0x00000093u, 0x00000026u, 0x00000091u, 0x0004003du, 0x00000016u, 0x00000094u, + 0x00000093u, 0x00060041u, 0x0000002du, 0x00000095u, 0x00000094u, 0x0000002cu, 0x0000002cu, 0x0006003du, + 0x00000006u, 0x00000096u, 0x00000095u, 0x00000002u, 0x00000004u, 0x0007000cu, 0x00000006u, 0x00000099u, + 0x00000001u, 0x00000026u, 0x0000008cu, 0x00000096u, 0x000500aau, 0x00000008u, 0x0000009bu, 0x0000006cu, + 0x0000000eu, 0x000300f7u, 0x0000009du, 0x00000000u, 0x000400fau, 0x0000009bu, 0x0000009cu, 0x0000009du, + 0x000200f8u, 0x0000009cu, 0x00050041u, 0x0000009fu, 0x000000a0u, 0x00000026u, 0x0000009eu, 0x0004003du, + 0x00000018u, 0x000000a1u, 0x000000a0u, 0x00060041u, 0x0000002du, 0x000000a3u, 0x000000a1u, 0x0000002cu, + 0x0000002cu, 0x0005003eu, 0x000000a3u, 0x00000099u, 0x00000002u, 0x00000004u, 0x000500abu, 0x00000008u, + 0x000000a6u, 0x00000096u, 0x00000099u, 0x000300f7u, 0x000000a8u, 0x00000000u, 0x000400fau, 0x000000a6u, + 0x000000a7u, 0x000000a8u, 0x000200f8u, 0x000000a7u, 0x00050041u, 0x00000029u, 0x000000aau, 0x00000026u, + 0x000000a9u, 0x0004003du, 0x00000019u, 0x000000abu, 0x000000aau, 0x00060041u, 0x0000002du, 0x000000acu, + 0x000000abu, 0x0000002cu, 0x00000091u, 0x000700eau, 0x00000006u, 0x000000adu, 0x000000acu, 0x0000002fu, + 0x0000000eu, 0x0000002fu, 0x000200f9u, 0x000000a8u, 0x000200f8u, 0x000000a8u, 0x000200f9u, 0x0000009du, + 0x000200f8u, 0x0000009du, 0x000200f9u, 0x0000008fu, 0x000200f8u, 0x0000008fu, 0x000700f5u, 0x00000006u, + 0x00000299u, 0x0000008cu, 0x00000074u, 0x00000099u, 0x0000009du, 0x000500aeu, 0x00000008u, 0x000000b0u, + 0x0000006cu, 0x00000299u, 0x000300f7u, 0x000000b2u, 0x00000000u, 0x000400fau, 0x000000b0u, 0x000000b1u, + 0x000000b2u, 0x000200f8u, 0x000000b1u, 0x000200f9u, 0x000000b4u, 0x000200f8u, 0x000000b4u, 0x000700f5u, + 0x00000006u, 0x000002d8u, 0x0000000eu, 0x000000b1u, 0x000000c5u, 0x000000b5u, 0x000500b0u, 0x00000008u, + 0x000000bbu, 0x000002d8u, 0x00000298u, 0x000400f6u, 0x000000b6u, 0x000000b5u, 0x00000000u, 0x000400fau, + 0x000000bbu, 0x000000b5u, 0x000000b6u, 0x000200f8u, 0x000000b5u, 0x00050041u, 0x000000bdu, 0x000000beu, + 0x00000026u, 0x000000bcu, 0x0004003du, 0x00000017u, 0x000000bfu, 0x000000beu, 0x00050080u, 0x00000006u, + 0x000000c2u, 0x00000081u, 0x000002d8u, 0x00060041u, 0x0000002du, 0x000000c3u, 0x000000bfu, 0x0000002cu, + 0x000000c2u, 0x0005003eu, 0x000000c3u, 0x0000000eu, 0x00000002u, 0x00000004u, 0x00050080u, 0x00000006u, + 0x000000c5u, 0x000002d8u, 0x00000091u, 0x000200f9u, 0x000000b4u, 0x000200f8u, 0x000000b6u, 0x000200f9u, + 0x00000259u, 0x000200f8u, 0x000000b2u, 0x00050041u, 0x00000060u, 0x000000cau, 0x00000026u, 0x000000c9u, + 0x0004003du, 0x00000006u, 0x000000cbu, 0x000000cau, 0x00050084u, 0x00000006u, 0x000000ccu, 0x0000005du, + 0x000000cbu, 0x000200f9u, 0x000000cfu, 0x000200f8u, 0x000000cfu, 0x000700f5u, 0x00000008u, 0x0000029du, + 0x00000012u, 0x000000b2u, 0x000000e4u, 0x000000d2u, 0x000700f5u, 0x00000006u, 0x0000029cu, 0x0000000eu, + 0x000000b2u, 0x000000e6u, 0x000000d2u, 0x000500b0u, 0x00000008u, 0x000000d6u, 0x0000029cu, 0x00000298u, + 0x000400f6u, 0x000000d1u, 0x000000d2u, 0x00000000u, 0x000400fau, 0x000000d6u, 0x000000d0u, 0x000000d1u, + 0x000200f8u, 0x000000d0u, 0x000300f7u, 0x000000d9u, 0x00000000u, 0x000400fau, 0x0000029du, 0x000000d8u, + 0x000000d9u, 0x000200f8u, 0x000000d8u, 0x00050041u, 0x000000dau, 0x000000dbu, 0x00000026u, 0x0000002cu, + 0x0004003du, 0x00000015u, 0x000000dcu, 0x000000dbu, 0x00050080u, 0x00000006u, 0x000000dfu, 0x000000ccu, + 0x0000029cu, 0x00060041u, 0x0000002du, 0x000000e0u, 0x000000dcu, 0x0000002cu, 0x000000dfu, 0x0006003du, + 0x00000006u, 0x000000e1u, 0x000000e0u, 0x00000002u, 0x00000004u, 0x000500aau, 0x00000008u, 0x000000e3u, + 0x000000e1u, 0x000000e2u, 0x000200f9u, 0x000000d9u, 0x000200f8u, 0x000000d9u, 0x000700f5u, 0x00000008u, + 0x000000e4u, 0x0000029du, 0x000000d0u, 0x000000e3u, 0x000000d8u, 0x000200f9u, 0x000000d2u, 0x000200f8u, + 0x000000d2u, 0x00050080u, 0x00000006u, 0x000000e6u, 0x0000029cu, 0x00000091u, 0x000200f9u, 0x000000cfu, + 0x000200f8u, 0x000000d1u, 0x000400a8u, 0x00000008u, 0x000000e8u, 0x0000029du, 0x000300f7u, 0x000000eau, + 0x00000000u, 0x000400fau, 0x000000e8u, 0x000000e9u, 0x000000eau, 0x000200f8u, 0x000000e9u, 0x000500aau, + 0x00000008u, 0x000000edu, 0x00000070u, 0x0000007cu, 0x000300f7u, 0x000000efu, 0x00000000u, 0x000400fau, + 0x000000edu, 0x000000eeu, 0x000000efu, 0x000200f8u, 0x000000eeu, 0x00050041u, 0x000000dau, 0x000000f0u, + 0x00000026u, 0x0000002cu, 0x0004003du, 0x00000015u, 0x000000f1u, 0x000000f0u, 0x00060041u, 0x0000002du, + 0x000000f3u, 0x000000f1u, 0x0000002cu, 0x000000ccu, 0x0006003du, 0x00000006u, 0x000000f4u, 0x000000f3u, + 0x00000002u, 0x00000004u, 0x000500aau, 0x00000008u, 0x000000f5u, 0x000000f4u, 0x000000e2u, 0x000200f9u, + 0x000000efu, 0x000200f8u, 0x000000efu, 0x000700f5u, 0x00000008u, 0x000000f6u, 0x000000edu, 0x000000e9u, + 0x000000f5u, 0x000000eeu, 0x000200f9u, 0x000000eau, 0x000200f8u, 0x000000eau, 0x000700f5u, 0x00000008u, + 0x000000f7u, 0x0000029du, 0x000000d1u, 0x000000f6u, 0x000000efu, 0x000300f7u, 0x000000f9u, 0x00000000u, + 0x000400fau, 0x000000f7u, 0x000000f8u, 0x000000f9u, 0x000200f8u, 0x000000f8u, 0x000200f9u, 0x000000fbu, + 0x000200f8u, 0x000000fbu, 0x000700f5u, 0x00000006u, 0x000002d6u, 0x0000000eu, 0x000000f8u, 0x0000010au, + 0x000000fcu, 0x000500b0u, 0x00000008u, 0x00000102u, 0x000002d6u, 0x00000298u, 0x000400f6u, 0x000000fdu, + 0x000000fcu, 0x00000000u, 0x000400fau, 0x00000102u, 0x000000fcu, 0x000000fdu, 0x000200f8u, 0x000000fcu, + 0x00050041u, 0x000000bdu, 0x00000103u, 0x00000026u, 0x000000bcu, 0x0004003du, 0x00000017u, 0x00000104u, + 0x00000103u, 0x00050080u, 0x00000006u, 0x00000107u, 0x00000081u, 0x000002d6u, 0x00060041u, 0x0000002du, + 0x00000108u, 0x00000104u, 0x0000002cu, 0x00000107u, 0x0005003eu, 0x00000108u, 0x0000000eu, 0x00000002u, + 0x00000004u, 0x00050080u, 0x00000006u, 0x0000010au, 0x000002d6u, 0x00000091u, 0x000200f9u, 0x000000fbu, + 0x000200f8u, 0x000000fdu, 0x00050041u, 0x00000029u, 0x0000010bu, 0x00000026u, 0x000000a9u, 0x0004003du, + 0x00000019u, 0x0000010cu, 0x0000010bu, 0x00060041u, 0x0000002du, 0x0000010du, 0x0000010cu, 0x0000002cu, + 0x0000002cu, 0x000700eau, 0x00000006u, 0x0000010eu, 0x0000010du, 0x0000002fu, 0x0000000eu, 0x0000002fu, + 0x00060041u, 0x0000002du, 0x00000111u, 0x0000010cu, 0x0000002cu, 0x0000009eu, 0x000700eau, 0x00000006u, + 0x00000112u, 0x00000111u, 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x000200f9u, 0x00000259u, 0x000200f8u, + 0x000000f9u, 0x0003003eu, 0x00000116u, 0x00000117u, 0x000300f7u, 0x0000011eu, 0x00000000u, 0x000400fau, + 0x00000071u, 0x0000011du, 0x00000165u, 0x000200f8u, 0x0000011du, 0x00050041u, 0x000000dau, 0x00000120u, + 0x00000026u, 0x0000002cu, 0x0004003du, 0x00000015u, 0x00000121u, 0x00000120u, 0x00060041u, 0x0000002du, + 0x00000123u, 0x00000121u, 0x0000002cu, 0x000000ccu, 0x0006003du, 0x00000006u, 0x00000124u, 0x00000123u, + 0x00000002u, 0x00000004u, 0x00050080u, 0x00000006u, 0x00000129u, 0x000000ccu, 0x0000002fu, 0x00060041u, + 0x0000002du, 0x0000012au, 0x00000121u, 0x0000002cu, 0x00000129u, 0x0006003du, 0x00000006u, 0x0000012bu, + 0x0000012au, 0x00000002u, 0x00000004u, 0x0007000cu, 0x00000006u, 0x0000012fu, 0x00000001u, 0x00000026u, + 0x00000124u, 0x0000012eu, 0x0007000cu, 0x00000006u, 0x00000134u, 0x00000001u, 0x00000029u, 0x0000012fu, + 0x0000002fu, 0x00050086u, 0x00000006u, 0x00000135u, 0x00000132u, 0x00000134u, 0x0007000cu, 0x00000006u, + 0x00000136u, 0x00000001u, 0x00000026u, 0x0000012bu, 0x00000135u, 0x000500aau, 0x00000008u, 0x00000138u, + 0x0000012fu, 0x0000000eu, 0x000200f9u, 0x0000013au, 0x000200f8u, 0x0000013au, 0x000600a9u, 0x00000006u, + 0x000002dau, 0x00000138u, 0x0000000eu, 0x00000136u, 0x000500abu, 0x00000008u, 0x0000013du, 0x0000012fu, + 0x00000124u, 0x000500abu, 0x00000008u, 0x00000140u, 0x000002dau, 0x0000012bu, 0x000500a6u, 0x00000008u, + 0x00000141u, 0x0000013du, 0x00000140u, 0x000600a9u, 0x00000006u, 0x00000142u, 0x00000141u, 0x0000002fu, + 0x0000000eu, 0x00050084u, 0x00000006u, 0x00000145u, 0x0000012fu, 0x000002dau, 0x00050041u, 0x00000007u, + 0x00000147u, 0x00000116u, 0x0000002cu, 0x0003003eu, 0x00000147u, 0x0000012fu, 0x00050041u, 0x00000007u, + 0x00000149u, 0x00000116u, 0x00000091u, 0x0003003eu, 0x00000149u, 0x000002dau, 0x00050080u, 0x00000006u, + 0x0000014eu, 0x000000ccu, 0x0000014du, 0x00060041u, 0x0000002du, 0x0000014fu, 0x00000121u, 0x0000002cu, + 0x0000014eu, 0x0006003du, 0x00000006u, 0x00000150u, 0x0000014fu, 0x00000002u, 0x00000004u, 0x00050041u, + 0x00000007u, 0x00000151u, 0x00000116u, 0x000000bcu, 0x0003003eu, 0x00000151u, 0x00000150u, 0x00050080u, + 0x00000006u, 0x00000155u, 0x000000ccu, 0x0000007cu, 0x00060041u, 0x0000002du, 0x00000156u, 0x00000121u, + 0x0000002cu, 0x00000155u, 0x0006003du, 0x00000006u, 0x00000157u, 0x00000156u, 0x00000002u, 0x00000004u, + 0x00050041u, 0x00000007u, 0x00000158u, 0x00000116u, 0x0000009eu, 0x0003003eu, 0x00000158u, 0x00000157u, + 0x000500aau, 0x00000008u, 0x0000015bu, 0x00000070u, 0x0000002fu, 0x000300f7u, 0x0000015du, 0x00000000u, + 0x000400fau, 0x0000015bu, 0x0000015cu, 0x0000015du, 0x000200f8u, 0x0000015cu, 0x00050080u, 0x00000006u, + 0x00000161u, 0x000000ccu, 0x00000078u, 0x00060041u, 0x0000002du, 0x00000162u, 0x00000121u, 0x0000002cu, + 0x00000161u, 0x0006003du, 0x00000006u, 0x00000163u, 0x00000162u, 0x00000002u, 0x00000004u, 0x00050041u, + 0x00000007u, 0x00000164u, 0x00000116u, 0x000000a9u, 0x0003003eu, 0x00000164u, 0x00000163u, 0x000200f9u, + 0x0000015du, 0x000200f8u, 0x0000015du, 0x000200f9u, 0x0000011eu, 0x000200f8u, 0x00000165u, 0x00050041u, + 0x000000dau, 0x00000167u, 0x00000026u, 0x0000002cu, 0x0004003du, 0x00000015u, 0x00000168u, 0x00000167u, + 0x00060041u, 0x0000002du, 0x0000016au, 0x00000168u, 0x0000002cu, 0x000000ccu, 0x0006003du, 0x00000006u, + 0x0000016bu, 0x0000016au, 0x00000002u, 0x00000004u, 0x00050080u, 0x00000006u, 0x00000170u, 0x000000ccu, + 0x0000002fu, 0x00060041u, 0x0000002du, 0x00000171u, 0x00000168u, 0x0000002cu, 0x00000170u, 0x0006003du, + 0x00000006u, 0x00000172u, 0x00000171u, 0x00000002u, 0x00000004u, 0x00050080u, 0x00000006u, 0x00000177u, + 0x000000ccu, 0x0000014du, 0x00060041u, 0x0000002du, 0x00000178u, 0x00000168u, 0x0000002cu, 0x00000177u, + 0x0006003du, 0x00000006u, 0x00000179u, 0x00000178u, 0x00000002u, 0x00000004u, 0x000500aau, 0x00000008u, + 0x0000017cu, 0x00000070u, 0x0000007cu, 0x000300f7u, 0x0000017eu, 0x00000000u, 0x000400fau, 0x0000017cu, + 0x0000017du, 0x0000017eu, 0x000200f8u, 0x0000017du, 0x00050041u, 0x00000029u, 0x0000017fu, 0x00000026u, + 0x000000a9u, 0x0004003du, 0x00000019u, 0x00000180u, 0x0000017fu, 0x00060041u, 0x0000002du, 0x00000181u, + 0x00000180u, 0x0000002cu, 0x0000005fu, 0x000700eau, 0x00000006u, 0x00000182u, 0x00000181u, 0x0000002fu, + 0x0000000eu, 0x0000002fu, 0x000500acu, 0x00000008u, 0x00000184u, 0x00000172u, 0x0000002fu, 0x000500acu, + 0x00000008u, 0x00000186u, 0x00000179u, 0x0000002fu, 0x000500a6u, 0x00000008u, 0x00000187u, 0x00000184u, + 0x00000186u, 0x000300f7u, 0x00000189u, 0x00000000u, 0x000400fau, 0x00000187u, 0x00000188u, 0x00000189u, + 0x000200f8u, 0x00000188u, 0x00060041u, 0x0000002du, 0x0000018cu, 0x00000180u, 0x0000002cu, 0x00000068u, + 0x000700eau, 0x00000006u, 0x0000018du, 0x0000018cu, 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x00060041u, + 0x0000002du, 0x00000190u, 0x00000180u, 0x0000002cu, 0x0000008au, 0x000700efu, 0x00000006u, 0x00000192u, + 0x00000190u, 0x0000002fu, 0x0000000eu, 0x00000172u, 0x00060041u, 0x0000002du, 0x00000195u, 0x00000180u, + 0x0000002cu, 0x00000084u, 0x000700efu, 0x00000006u, 0x00000197u, 0x00000195u, 0x0000002fu, 0x0000000eu, + 0x00000179u, 0x000200f9u, 0x00000189u, 0x000200f8u, 0x00000189u, 0x000200f9u, 0x0000017eu, 0x000200f8u, + 0x0000017eu, 0x000300f7u, 0x0000019fu, 0x00000000u, 0x000400fau, 0x0000017cu, 0x0000019eu, 0x000001a2u, + 0x000200f8u, 0x0000019eu, 0x000200f9u, 0x0000019fu, 0x000200f8u, 0x000001a2u, 0x00050041u, 0x00000060u, + 0x000001a4u, 0x00000026u, 0x000001a3u, 0x0004003du, 0x00000006u, 0x000001a5u, 0x000001a4u, 0x00050041u, + 0x00000060u, 0x000001a7u, 0x00000026u, 0x000001a6u, 0x0004003du, 0x00000006u, 0x000001a8u, 0x000001a7u, + 0x00050041u, 0x00000060u, 0x000001aau, 0x00000026u, 0x000001a9u, 0x0004003du, 0x00000006u, 0x000001abu, + 0x000001aau, 0x00060050u, 0x00000058u, 0x000001acu, 0x000001a5u, 0x000001a8u, 0x000001abu, 0x0007000cu, + 0x00000058u, 0x000001aeu, 0x00000001u, 0x00000029u, 0x000001acu, 0x000001adu, 0x000200f9u, 0x0000019fu, + 0x000200f8u, 0x0000019fu, 0x000700f5u, 0x00000058u, 0x0000029eu, 0x000001a1u, 0x0000019eu, 0x000001aeu, + 0x000001a2u, 0x00050051u, 0x00000006u, 0x000001b3u, 0x0000029eu, 0x00000000u, 0x0007000cu, 0x00000006u, + 0x000001b4u, 0x00000001u, 0x00000026u, 0x0000016bu, 0x000001b3u, 0x00050051u, 0x00000006u, 0x000001b8u, + 0x0000029eu, 0x00000001u, 0x0007000cu, 0x00000006u, 0x000001b9u, 0x00000001u, 0x00000026u, 0x00000172u, + 0x000001b8u, 0x00050051u, 0x00000006u, 0x000001bdu, 0x0000029eu, 0x00000002u, 0x0007000cu, 0x00000006u, + 0x000001beu, 0x00000001u, 0x00000026u, 0x00000179u, 0x000001bdu, 0x000200f9u, 0x000001c3u, 0x000200f8u, + 0x000001c3u, 0x000600a9u, 0x00000006u, 0x000002dbu, 0x0000017cu, 0x0000002fu, 0x000001beu, 0x000600a9u, + 0x00000006u, 0x000002dcu, 0x0000017cu, 0x0000002fu, 0x000001b9u, 0x000500c2u, 0x00000006u, 0x000001c7u, + 0x00000086u, 0x0000002fu, 0x000500abu, 0x00000008u, 0x000001c9u, 0x000001c7u, 0x0000000eu, 0x000500abu, + 0x00000008u, 0x000001cbu, 0x000001b4u, 0x0000000eu, 0x000500a7u, 0x00000008u, 0x000001ccu, 0x000001c9u, + 0x000001cbu, 0x000500abu, 0x00000008u, 0x000001ceu, 0x000002dcu, 0x0000000eu, 0x000500a7u, 0x00000008u, + 0x000001cfu, 0x000001ccu, 0x000001ceu, 0x000500abu, 0x00000008u, 0x000001d1u, 0x000002dbu, 0x0000000eu, + 0x000500a7u, 0x00000008u, 0x000001d2u, 0x000001cfu, 0x000001d1u, 0x000300f7u, 0x000001d4u, 0x00000000u, + 0x000400fau, 0x000001d2u, 0x000001d3u, 0x000001d4u, 0x000200f8u, 0x000001d3u, 0x0007000cu, 0x00000006u, + 0x000001d7u, 0x00000001u, 0x00000026u, 0x000001b4u, 0x000001c7u, 0x00050086u, 0x00000006u, 0x000001dbu, + 0x000001c7u, 0x000001d7u, 0x0007000cu, 0x00000006u, 0x000001dcu, 0x00000001u, 0x00000026u, 0x000002dcu, + 0x000001dbu, 0x00050086u, 0x00000006u, 0x000001e2u, 0x000001dbu, 0x000001dcu, 0x0007000cu, 0x00000006u, + 0x000001e3u, 0x00000001u, 0x00000026u, 0x000002dbu, 0x000001e2u, 0x000200f9u, 0x000001d4u, 0x000200f8u, + 0x000001d4u, 0x000700f5u, 0x00000006u, 0x000002a4u, 0x000002dbu, 0x000001c3u, 0x000001e3u, 0x000001d3u, + 0x000700f5u, 0x00000006u, 0x000002a3u, 0x000002dcu, 0x000001c3u, 0x000001dcu, 0x000001d3u, 0x000700f5u, + 0x00000006u, 0x000002a2u, 0x000001b4u, 0x000001c3u, 0x000001d7u, 0x000001d3u, 0x000500abu, 0x00000008u, + 0x000001e5u, 0x000002a2u, 0x0000000eu, 0x000500abu, 0x00000008u, 0x000001e7u, 0x000002a3u, 0x0000000eu, + 0x000500a7u, 0x00000008u, 0x000001e8u, 0x000001e5u, 0x000001e7u, 0x000500abu, 0x00000008u, 0x000001eau, + 0x000002a4u, 0x0000000eu, 0x000500a7u, 0x00000008u, 0x000001ebu, 0x000001e8u, 0x000001eau, 0x000300f7u, + 0x000001edu, 0x00000000u, 0x000400fau, 0x000001ebu, 0x000001ecu, 0x000001edu, 0x000200f8u, 0x000001ecu, + 0x000500acu, 0x00000008u, 0x000001f0u, 0x000002a2u, 0x000001efu, 0x000400a8u, 0x00000008u, 0x000001f1u, + 0x000001f0u, 0x000300f7u, 0x000001f3u, 0x00000000u, 0x000400fau, 0x000001f1u, 0x000001f2u, 0x000001f3u, + 0x000200f8u, 0x000001f2u, 0x00050086u, 0x00000006u, 0x000001f6u, 0x000001efu, 0x000002a2u, 0x000500acu, + 0x00000008u, 0x000001f7u, 0x000002a3u, 0x000001f6u, 0x000200f9u, 0x000001f3u, 0x000200f8u, 0x000001f3u, + 0x000700f5u, 0x00000008u, 0x000001f8u, 0x000001f0u, 0x000001ecu, 0x000001f7u, 0x000001f2u, 0x000400a8u, + 0x00000008u, 0x000001f9u, 0x000001f8u, 0x000300f7u, 0x000001fbu, 0x00000000u, 0x000400fau, 0x000001f9u, + 0x000001fau, 0x000001fbu, 0x000200f8u, 0x000001fau, 0x00050086u, 0x00000006u, 0x000001feu, 0x000001efu, + 0x000002a2u, 0x00050086u, 0x00000006u, 0x00000200u, 0x000001feu, 0x000002a3u, 0x000500acu, 0x00000008u, + 0x00000201u, 0x000002a4u, 0x00000200u, 0x000200f9u, 0x000001fbu, 0x000200f8u, 0x000001fbu, 0x000700f5u, + 0x00000008u, 0x00000202u, 0x000001f8u, 0x000001f3u, 0x00000201u, 0x000001fau, 0x000200f9u, 0x000001edu, + 0x000200f8u, 0x000001edu, 0x000700f5u, 0x00000008u, 0x00000203u, 0x000001ebu, 0x000001d4u, 0x00000202u, + 0x000001fbu, 0x000200f9u, 0x00000205u, 0x000200f8u, 0x00000205u, 0x000600a9u, 0x00000006u, 0x000002ddu, + 0x00000203u, 0x0000000eu, 0x000002a4u, 0x000600a9u, 0x00000006u, 0x000002deu, 0x00000203u, 0x0000000eu, + 0x000002a3u, 0x000600a9u, 0x00000006u, 0x000002dfu, 0x00000203u, 0x0000000eu, 0x000002a2u, 0x000500abu, + 0x00000008u, 0x00000208u, 0x000002dfu, 0x0000016bu, 0x000500abu, 0x00000008u, 0x0000020bu, 0x000002deu, + 0x00000172u, 0x000500a6u, 0x00000008u, 0x0000020cu, 0x00000208u, 0x0000020bu, 0x000500abu, 0x00000008u, + 0x0000020fu, 0x000002ddu, 0x00000179u, 0x000500a6u, 0x00000008u, 0x00000210u, 0x0000020cu, 0x0000020fu, + 0x000600a9u, 0x00000006u, 0x00000211u, 0x00000210u, 0x0000002fu, 0x0000000eu, 0x00050084u, 0x00000006u, + 0x00000214u, 0x000002dfu, 0x000002deu, 0x00050084u, 0x00000006u, 0x00000216u, 0x00000214u, 0x000002ddu, + 0x000600a9u, 0x00000006u, 0x0000021cu, 0x0000017cu, 0x0000021au, 0x0000021bu, 0x00050084u, 0x00000006u, + 0x0000021du, 0x00000216u, 0x0000021cu, 0x00050041u, 0x00000007u, 0x0000021fu, 0x00000116u, 0x0000002cu, + 0x0003003eu, 0x0000021fu, 0x000002dfu, 0x00050041u, 0x00000007u, 0x00000221u, 0x00000116u, 0x00000091u, + 0x0003003eu, 0x00000221u, 0x000002deu, 0x00050041u, 0x00000007u, 0x00000223u, 0x00000116u, 0x000000bcu, + 0x0003003eu, 0x00000223u, 0x000002ddu, 0x000200f9u, 0x0000011eu, 0x000200f8u, 0x0000011eu, 0x000700f5u, + 0x00000006u, 0x000002d0u, 0x00000142u, 0x0000015du, 0x00000211u, 0x00000205u, 0x000700f5u, 0x00000006u, + 0x000002b2u, 0x00000145u, 0x0000015du, 0x0000021du, 0x00000205u, 0x000500abu, 0x00000008u, 0x00000225u, + 0x000002b2u, 0x0000000eu, 0x000300f7u, 0x00000227u, 0x00000000u, 0x000400fau, 0x00000225u, 0x00000226u, + 0x00000227u, 0x000200f8u, 0x00000226u, 0x000300f7u, 0x00000293u, 0x00000000u, 0x000300fbu, 0x0000000eu, + 0x0000026bu, 0x000200f8u, 0x0000026bu, 0x000500aau, 0x00000008u, 0x0000026du, 0x000002b2u, 0x0000000eu, + 0x000300f7u, 0x0000026fu, 0x00000000u, 0x000400fau, 0x0000026du, 0x0000026eu, 0x0000026fu, 0x000200f8u, + 0x0000026eu, 0x000200f9u, 0x00000293u, 0x000200f8u, 0x0000026fu, 0x00050041u, 0x00000029u, 0x00000270u, + 0x00000026u, 0x00000028u, 0x0004003du, 0x00000019u, 0x00000271u, 0x00000270u, 0x00060041u, 0x0000002du, + 0x00000272u, 0x00000271u, 0x0000002cu, 0x0000002cu, 0x000700eau, 0x00000006u, 0x00000273u, 0x00000272u, + 0x0000002fu, 0x0000000eu, 0x0000000eu, 0x000200f9u, 0x00000274u, 0x000200f8u, 0x00000274u, 0x000700f5u, + 0x00000006u, 0x000002b4u, 0x00000273u, 0x0000026fu, 0x00000288u, 0x0000028fu, 0x000500b0u, 0x00000008u, + 0x00000277u, 0x000002b4u, 0x00000037u, 0x000400f6u, 0x00000290u, 0x0000028fu, 0x00000000u, 0x000400fau, + 0x00000277u, 0x00000278u, 0x00000290u, 0x000200f8u, 0x00000278u, 0x00050082u, 0x00000006u, 0x0000027au, + 0x00000037u, 0x000002b4u, 0x000500acu, 0x00000008u, 0x0000027du, 0x000002b2u, 0x0000027au, 0x000300f7u, + 0x0000027fu, 0x00000000u, 0x000400fau, 0x0000027du, 0x0000027eu, 0x0000027fu, 0x000200f8u, 0x0000027eu, + 0x000200f9u, 0x00000290u, 0x000200f8u, 0x0000027fu, 0x00050080u, 0x00000006u, 0x00000282u, 0x000002b4u, + 0x000002b2u, 0x000900e6u, 0x00000006u, 0x00000288u, 0x00000272u, 0x0000002fu, 0x0000000eu, 0x0000000eu, + 0x00000282u, 0x000002b4u, 0x000500aau, 0x00000008u, 0x0000028bu, 0x00000288u, 0x000002b4u, 0x000300f7u, + 0x0000028du, 0x00000000u, 0x000400fau, 0x0000028bu, 0x0000028cu, 0x0000028du, 0x000200f8u, 0x0000028cu, + 0x000200f9u, 0x00000290u, 0x000200f8u, 0x0000028du, 0x000200f9u, 0x0000028fu, 0x000200f8u, 0x0000028fu, + 0x000200f9u, 0x00000274u, 0x000200f8u, 0x00000290u, 0x000900f5u, 0x00000008u, 0x000002b8u, 0x000002c1u, + 0x00000274u, 0x00000041u, 0x0000027eu, 0x00000012u, 0x0000028cu, 0x000900f5u, 0x00000008u, 0x000002b5u, + 0x00000041u, 0x00000274u, 0x00000012u, 0x0000027eu, 0x00000012u, 0x0000028cu, 0x000300f7u, 0x00000292u, + 0x00000000u, 0x000400fau, 0x000002b5u, 0x00000293u, 0x00000292u, 0x000200f8u, 0x00000292u, 0x000200f9u, + 0x00000293u, 0x000200f8u, 0x00000293u, 0x000900f5u, 0x00000008u, 0x000002b7u, 0x00000012u, 0x0000026eu, + 0x000002b8u, 0x00000290u, 0x00000041u, 0x00000292u, 0x000400a8u, 0x00000008u, 0x0000022bu, 0x000002b7u, + 0x000200f9u, 0x00000227u, 0x000200f8u, 0x00000227u, 0x000700f5u, 0x00000008u, 0x0000022cu, 0x00000225u, + 0x0000011eu, 0x0000022bu, 0x00000293u, 0x000300f7u, 0x0000022eu, 0x00000000u, 0x000400fau, 0x0000022cu, + 0x0000022du, 0x0000022eu, 0x000200f8u, 0x0000022du, 0x00050041u, 0x00000029u, 0x0000022fu, 0x00000026u, + 0x000000a9u, 0x0004003du, 0x00000019u, 0x00000230u, 0x0000022fu, 0x00060041u, 0x0000002du, 0x00000231u, + 0x00000230u, 0x0000002cu, 0x000000bcu, 0x000700eau, 0x00000006u, 0x00000232u, 0x00000231u, 0x0000002fu, + 0x0000000eu, 0x0000002fu, 0x0003003eu, 0x00000116u, 0x00000117u, 0x000200f9u, 0x0000022eu, 0x000200f8u, + 0x0000022eu, 0x000600a9u, 0x00000006u, 0x000002e0u, 0x0000022cu, 0x0000002fu, 0x000002d0u, 0x000500abu, + 0x00000008u, 0x00000234u, 0x000002e0u, 0x0000000eu, 0x000300f7u, 0x00000236u, 0x00000000u, 0x000400fau, + 0x00000234u, 0x00000235u, 0x00000236u, 0x000200f8u, 0x00000235u, 0x00050041u, 0x00000029u, 0x00000237u, + 0x00000026u, 0x000000a9u, 0x0004003du, 0x00000019u, 0x00000238u, 0x00000237u, 0x00060041u, 0x0000002du, + 0x00000239u, 0x00000238u, 0x0000002cu, 0x0000002cu, 0x000700eau, 0x00000006u, 0x0000023au, 0x00000239u, + 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x00050041u, 0x00000007u, 0x0000023bu, 0x00000116u, 0x0000002cu, + 0x0004003du, 0x00000006u, 0x0000023cu, 0x0000023bu, 0x000500aau, 0x00000008u, 0x0000023du, 0x0000023cu, + 0x0000000eu, 0x000300f7u, 0x0000023fu, 0x00000000u, 0x000400fau, 0x0000023du, 0x0000023eu, 0x0000023fu, + 0x000200f8u, 0x0000023eu, 0x00060041u, 0x0000002du, 0x00000242u, 0x00000238u, 0x0000002cu, 0x0000009eu, + 0x000700eau, 0x00000006u, 0x00000243u, 0x00000242u, 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x000200f9u, + 0x0000023fu, 0x000200f8u, 0x0000023fu, 0x000200f9u, 0x00000236u, 0x000200f8u, 0x00000236u, 0x000200f9u, + 0x00000245u, 0x000200f8u, 0x00000245u, 0x000700f5u, 0x00000006u, 0x000002d5u, 0x0000000eu, 0x00000236u, + 0x00000257u, 0x00000246u, 0x000500b0u, 0x00000008u, 0x0000024cu, 0x000002d5u, 0x00000298u, 0x000400f6u, + 0x00000247u, 0x00000246u, 0x00000000u, 0x000400fau, 0x0000024cu, 0x00000246u, 0x00000247u, 0x000200f8u, + 0x00000246u, 0x00050041u, 0x000000bdu, 0x0000024du, 0x00000026u, 0x000000bcu, 0x0004003du, 0x00000017u, + 0x0000024eu, 0x0000024du, 0x00050080u, 0x00000006u, 0x00000251u, 0x00000081u, 0x000002d5u, 0x00050041u, + 0x00000007u, 0x00000253u, 0x00000116u, 0x000002d5u, 0x0004003du, 0x00000006u, 0x00000254u, 0x00000253u, + 0x00060041u, 0x0000002du, 0x00000255u, 0x0000024eu, 0x0000002cu, 0x00000251u, 0x0005003eu, 0x00000255u, + 0x00000254u, 0x00000002u, 0x00000004u, 0x00050080u, 0x00000006u, 0x00000257u, 0x000002d5u, 0x00000091u, + 0x000200f9u, 0x00000245u, 0x000200f8u, 0x00000247u, 0x000200f9u, 0x00000259u, 0x000200f8u, 0x00000259u, + 0x000100fdu, 0x00010038u, }; } // namespace leonida diff --git a/runtime/src/vulkan_indirect_clamp.h b/runtime/src/vulkan_indirect_clamp.h index 1822d96146..8bccf2e62f 100644 --- a/runtime/src/vulkan_indirect_clamp.h +++ b/runtime/src/vulkan_indirect_clamp.h @@ -5,9 +5,10 @@ // or garbage record makes a dispatch of billions of groups or a draw of four billion vertices run until the host // resets the display driver (TDR, device loss). So, just before the indirect command, one tiny compute pass copies // the active records into device-local scratch with their values bounded - 2^24 vertices or indices, 2^26 vertex -// instances, 65 535 groups per dimension, 2^20 groups per dispatch, and a 2^27-unit work budget per command -// list (the shader is indirect_clamp.comp) - and the indirect command reads that scratch. The application's argument -// and count buffers are left untouched, so values within the limits replay bit-identically. +// instances, the device's maxComputeWorkGroupCount per dimension (65 535 for a mesh dispatch), 2^20 groups per +// dispatch, and a 2^27-unit work budget per command list (the shader is indirect_clamp.comp) - and the indirect +// command reads that scratch. The application's argument and count buffers are left untouched, so values within the +// limits replay bit-identically. // // One pass covers all four argument kinds the layer can emit (draw, draw indexed, dispatch, mesh dispatch) and the // counted variants, whose count is clamped to max_command_count as well (a *Count draw then reads a count the scratch @@ -62,10 +63,21 @@ inline constexpr std::uint32_t indirect_clamp_mesh = 3; // What the pass bounds, as indirect_clamp.comp states them. inline constexpr std::uint32_t indirect_clamp_max_vertices = 1u << 24; inline constexpr std::uint32_t indirect_clamp_max_vertex_instances = 1u << 26; +// Groups in a mesh dispatch's x. A compute dispatch is bounded by the device's maxComputeWorkGroupCount instead +// (indirect_clamp_dispatch_limit), which on NVIDIA, for one, is far above Vulkan's guaranteed 65 535 in x. inline constexpr std::uint32_t indirect_clamp_max_group_dimension = 65535u; inline constexpr std::uint32_t indirect_clamp_max_groups = 1u << 20; inline constexpr std::uint32_t indirect_clamp_budget = 1u << 27; +// What the pass lets a dispatch record ask for in x, y and z: the device's own maxComputeWorkGroupCount. A fixed +// 65 535 cut a dispatch of more groups in x short on a device that runs them, and the groups past the cut never wrote +// their output (blocky patches; the idea is from codec-d/cool_fox docs/findings.md). A limit the device reports as 0 +// is taken as Vulkan's guaranteed minimum. +inline std::uint32_t indirect_clamp_dispatch_limit(const VkPhysicalDeviceLimits& limits, int axis) { + const std::uint32_t limit = limits.maxComputeWorkGroupCount[axis]; + return limit ? limit : indirect_clamp_max_group_dimension; +} + // The largest scratch allocation accepted for one ExecuteIndirect call. inline constexpr std::uint64_t indirect_clamp_max_scratch_bytes = std::uint64_t(64) << 20; @@ -269,7 +281,7 @@ class IndirectArgumentClamp { namespace detail { -// One clamp pass's push-constant block. The shader's block is the same: five device addresses, then the six words. +// One clamp pass's push-constant block. The shader's block is the same: six device addresses, then the ten words. struct IndirectClampPush { VkDeviceAddress arguments; VkDeviceAddress count; @@ -283,8 +295,12 @@ struct IndirectClampPush { std::uint32_t first_record; std::uint32_t max_records; std::uint32_t flags; + std::uint32_t max_x; // indirect_clamp_dispatch_limit per axis + std::uint32_t max_y; + std::uint32_t max_z; + std::uint32_t reserved; }; -static_assert(sizeof(IndirectClampPush) == 72); +static_assert(sizeof(IndirectClampPush) == 88); inline constexpr VkBufferUsageFlags indirect_clamp_scratch_usage = VK_BUFFER_USAGE_STORAGE_BUFFER_BIT | VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT | @@ -615,7 +631,11 @@ inline void IndirectArgumentClamp::emit(VkCommandBuffer cb, const ClampedIndirec std::uint32_t(first), job.max_records, (job.kind == indirect_clamp_dispatch ? indirect_group_budget() << 1 : 0u) | - (job.counted ? 1u : 0u)}; + (job.counted ? 1u : 0u), + indirect_clamp_dispatch_limit(limits_, 0), + indirect_clamp_dispatch_limit(limits_, 1), + indirect_clamp_dispatch_limit(limits_, 2), + 0u}; push(cb, layout_, VK_SHADER_STAGE_COMPUTE_BIT, 0, sizeof(constants), &constants); dispatch(cb, (records - 1u) / 64u + 1u, 1, 1); first += records; diff --git a/runtime/test/cs_group_marker_spv.h b/runtime/test/cs_group_marker_spv.h new file mode 100644 index 0000000000..6cd135cfe2 --- /dev/null +++ b/runtime/test/cs_group_marker_spv.h @@ -0,0 +1,43 @@ +// Generated with glslangValidator -V --target-env vulkan1.2 -Os --spirv-val cs_group_marker.comp +#pragma once +#include +namespace leonida { +inline constexpr std::uint32_t cs_group_marker_spirv[] = { + 0x07230203u, 0x00010500u, 0x0008000bu, 0x0000002du, 0x00000000u, 0x00020011u, 0x00000001u, 0x00020011u, + 0x000014e3u, 0x0006000bu, 0x00000001u, 0x4c534c47u, 0x6474732eu, 0x3035342eu, 0x00000000u, 0x0003000eu, + 0x000014e4u, 0x00000001u, 0x0007000fu, 0x00000005u, 0x00000004u, 0x6e69616du, 0x00000000u, 0x0000000bu, + 0x0000001du, 0x00060010u, 0x00000004u, 0x00000011u, 0x00000001u, 0x00000001u, 0x00000001u, 0x00030003u, + 0x00000002u, 0x000001ccu, 0x00070004u, 0x455f4c47u, 0x625f5458u, 0x65666675u, 0x65725f72u, 0x65726566u, + 0x0065636eu, 0x00040005u, 0x00000004u, 0x6e69616du, 0x00000000u, 0x00060005u, 0x0000000bu, 0x575f6c67u, + 0x476b726fu, 0x70756f72u, 0x00004449u, 0x00040005u, 0x00000019u, 0x61726150u, 0x0000736du, 0x00050006u, + 0x00000019u, 0x00000000u, 0x6b72616du, 0x00000073u, 0x00050006u, 0x00000019u, 0x00000001u, 0x756f7267u, + 0x00007370u, 0x00040005u, 0x0000001bu, 0x6b72614du, 0x00000073u, 0x00050006u, 0x0000001bu, 0x00000000u, + 0x61746164u, 0x00000000u, 0x00030005u, 0x0000001du, 0x00000070u, 0x00040047u, 0x0000000bu, 0x0000000bu, + 0x0000001au, 0x00030047u, 0x00000019u, 0x00000002u, 0x00050048u, 0x00000019u, 0x00000000u, 0x00000023u, + 0x00000000u, 0x00050048u, 0x00000019u, 0x00000001u, 0x00000023u, 0x00000008u, 0x00040047u, 0x0000001au, + 0x00000006u, 0x00000004u, 0x00030047u, 0x0000001bu, 0x00000002u, 0x00050048u, 0x0000001bu, 0x00000000u, + 0x00000023u, 0x00000000u, 0x00040047u, 0x0000002cu, 0x0000000bu, 0x00000019u, 0x00020013u, 0x00000002u, + 0x00030021u, 0x00000003u, 0x00000002u, 0x00040015u, 0x00000006u, 0x00000020u, 0x00000000u, 0x00040017u, + 0x00000009u, 0x00000006u, 0x00000003u, 0x00040020u, 0x0000000au, 0x00000001u, 0x00000009u, 0x0004003bu, + 0x0000000au, 0x0000000bu, 0x00000001u, 0x0004002bu, 0x00000006u, 0x0000000cu, 0x00000000u, 0x00040020u, + 0x0000000du, 0x00000001u, 0x00000006u, 0x0004002bu, 0x00000006u, 0x00000010u, 0x00000001u, 0x0004002bu, + 0x00000006u, 0x00000014u, 0x00000002u, 0x00030027u, 0x00000018u, 0x000014e5u, 0x0004001eu, 0x00000019u, + 0x00000018u, 0x00000006u, 0x0003001du, 0x0000001au, 0x00000006u, 0x0003001eu, 0x0000001bu, 0x0000001au, + 0x00040020u, 0x00000018u, 0x000014e5u, 0x0000001bu, 0x00040020u, 0x0000001cu, 0x00000009u, 0x00000019u, + 0x0004003bu, 0x0000001cu, 0x0000001du, 0x00000009u, 0x00040015u, 0x0000001eu, 0x00000020u, 0x00000001u, + 0x0004002bu, 0x0000001eu, 0x0000001fu, 0x00000000u, 0x00040020u, 0x00000020u, 0x00000009u, 0x00000018u, + 0x0004002bu, 0x0000001eu, 0x00000024u, 0x00000001u, 0x00040020u, 0x00000025u, 0x00000009u, 0x00000006u, + 0x00040020u, 0x00000029u, 0x000014e5u, 0x00000006u, 0x0006002cu, 0x00000009u, 0x0000002cu, 0x00000010u, + 0x00000010u, 0x00000010u, 0x00050036u, 0x00000002u, 0x00000004u, 0x00000000u, 0x00000003u, 0x000200f8u, + 0x00000005u, 0x00050041u, 0x0000000du, 0x0000000eu, 0x0000000bu, 0x0000000cu, 0x0004003du, 0x00000006u, + 0x0000000fu, 0x0000000eu, 0x00050041u, 0x0000000du, 0x00000011u, 0x0000000bu, 0x00000010u, 0x0004003du, + 0x00000006u, 0x00000012u, 0x00000011u, 0x00050080u, 0x00000006u, 0x00000013u, 0x0000000fu, 0x00000012u, + 0x00050041u, 0x0000000du, 0x00000015u, 0x0000000bu, 0x00000014u, 0x0004003du, 0x00000006u, 0x00000016u, + 0x00000015u, 0x00050080u, 0x00000006u, 0x00000017u, 0x00000013u, 0x00000016u, 0x00050041u, 0x00000020u, + 0x00000021u, 0x0000001du, 0x0000001fu, 0x0004003du, 0x00000018u, 0x00000022u, 0x00000021u, 0x00050041u, + 0x00000025u, 0x00000026u, 0x0000001du, 0x00000024u, 0x0004003du, 0x00000006u, 0x00000027u, 0x00000026u, + 0x0007000cu, 0x00000006u, 0x00000028u, 0x00000001u, 0x00000026u, 0x00000017u, 0x00000027u, 0x00060041u, + 0x00000029u, 0x0000002au, 0x00000022u, 0x0000001fu, 0x00000028u, 0x000700eau, 0x00000006u, 0x0000002bu, + 0x0000002au, 0x00000010u, 0x0000000cu, 0x00000010u, 0x000100fdu, 0x00010038u, +}; +} // namespace leonida diff --git a/runtime/test/glsl/cs_group_marker.comp b/runtime/test/glsl/cs_group_marker.comp new file mode 100644 index 0000000000..f98d089aa2 --- /dev/null +++ b/runtime/test/glsl/cs_group_marker.comp @@ -0,0 +1,16 @@ +// indirect_clamp_test's marker: every workgroup adds 1 to its own word, so a dispatch whose groups all ran exactly +// once leaves 1 in each of its words. Only one dimension of a test dispatch is larger than 1, so x + y + z names the +// group; a group past `groups` (which the dispatch should never run) counts in the word after them. +// SPIR-V: runtime/test/cs_group_marker_spv.h (glslangValidator -V --target-env vulkan1.2 -Os). +#version 460 +#extension GL_EXT_buffer_reference : require +layout(local_size_x = 1) in; +layout(buffer_reference, std430, buffer_reference_align = 4) buffer Marks { uint data[]; }; +layout(push_constant) uniform Params { + Marks marks; + uint groups; +} p; +void main() { + const uint group = gl_WorkGroupID.x + gl_WorkGroupID.y + gl_WorkGroupID.z; + atomicAdd(p.marks.data[min(group, p.groups)], 1u); +} diff --git a/runtime/test/indirect_clamp_test.cpp b/runtime/test/indirect_clamp_test.cpp index 3f34d4c43a..7c31246675 100644 --- a/runtime/test/indirect_clamp_test.cpp +++ b/runtime/test/indirect_clamp_test.cpp @@ -6,7 +6,11 @@ // dispatch) instead of asking for billions of groups; // - a counted batch clamps the count to max_command_count and empties the records past it; // - a batch whose records fit but whose total work passes the 2^27 budget runs all but the records that no longer -// fit, so thousands of garbage records cannot run for seconds. +// fit, so thousands of garbage records cannot run for seconds; +// - a dispatch is bounded by the device's own maxComputeWorkGroupCount, not by Vulkan's minimum of 65 535: a real +// indirect dispatch of 70 000 x 1 x 1 groups (and of 65 535 in x or y, the old limit) through the clamped scratch +// runs every group exactly once (cs_group_marker.comp marks each one). The idea is from codec-d/cool_fox +// docs/findings.md ("blocky patches: indirect dispatches cut at 65,535 groups"); no code of theirs is used. // // A record that asks for billions of groups or vertices would run until the host resets the driver, so this test is // about the values the pass writes, never about running such a dispatch here: every case ends in a copy of the @@ -17,6 +21,7 @@ #include "vk_test_device.h" #include "../src/vulkan_indirect_clamp.h" +#include "cs_group_marker_spv.h" #include #include @@ -241,18 +246,34 @@ int main() { CHECK(out.counters.records_clamped == 1); } - // 6b. A dispatch over the per-dimension limit is cut there, and one over 2^20 groups in all runs empty. + // 6b. A dispatch over the device's per-dimension limit is cut there (y here; a device whose y limit is above 2^20 + // runs it empty instead, as more than 2^20 groups), and one over 2^20 groups in all runs empty. { - const std::uint32_t values[3 * 2] = {0x10000000u, 1, 1, 65535, 65535, 1}; + const std::uint32_t max_y = leonida::indirect_clamp_dispatch_limit(properties.limits, 1); + const std::uint32_t values[3 * 2] = {1, 0x10000000u, 1, 65535, 65535, 1}; Clamped out{}; CHECK(env.run(leonida::indirect_clamp_dispatch, 12, 2, 3, values, nullptr, out)); const auto per_dimension = record(out, 0, 3); - CHECK(per_dimension[0] == leonida::indirect_clamp_max_group_dimension && per_dimension[1] == 1 && - per_dimension[2] == 1); + if (max_y <= leonida::indirect_clamp_max_groups) + CHECK(per_dimension[0] == 1 && per_dimension[1] == max_y && per_dimension[2] == 1); + else + CHECK(all_zero(per_dimension)); CHECK(all_zero(record(out, 1, 3))); CHECK(out.counters.records_clamped == 2); } + // 6c. x within the device's limit is not cut at 65 535: 70 000 groups (fewer than 2^20) come back as asked on a + // device that runs them, and are cut at its limit on one that does not. + { + const std::uint32_t max_x = leonida::indirect_clamp_dispatch_limit(properties.limits, 0); + const std::uint32_t values[3] = {70000, 1, 1}; + Clamped out{}; + CHECK(env.run(leonida::indirect_clamp_dispatch, 12, 1, 3, values, nullptr, out)); + const auto words = record(out, 0, 3); + CHECK(words[0] == std::min(70000, max_x) && words[1] == 1 && words[2] == 1); + CHECK(out.counters.records_clamped == (max_x >= 70000 ? 0u : 1u)); + } + // 7. A console mesh dispatch uses only x. { const std::uint32_t values[3] = {0x12345678u, 3, 1}; @@ -368,6 +389,104 @@ int main() { clamp.collect(); } + // 10. Real indirect dispatches through the clamped scratch: every group runs exactly once. 70 000 x 1 x 1 is past + // the old fixed 65 535 (the groups past it never ran, leaving their output stale); 65 535 in x and in y are + // exactly at it. A size past this device's own limit is skipped: the clamp cuts it there by design. + { + const auto vkfn = [&](const char* name) { return device.device_proc(device.device, name); }; + VkShaderModuleCreateInfo module_info{VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO}; + module_info.codeSize = sizeof(leonida::cs_group_marker_spirv); + module_info.pCode = leonida::cs_group_marker_spirv; + VkShaderModule module = VK_NULL_HANDLE; + CHECK(reinterpret_cast(vkfn("vkCreateShaderModule"))(device.device, &module_info, + nullptr, &module) == VK_SUCCESS); + struct MarkerPush { + VkDeviceAddress marks; + std::uint32_t groups; + std::uint32_t pad; + }; + const VkPushConstantRange range{VK_SHADER_STAGE_COMPUTE_BIT, 0, sizeof(MarkerPush)}; + VkPipelineLayoutCreateInfo layout_info{VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO}; + layout_info.pushConstantRangeCount = 1; + layout_info.pPushConstantRanges = ⦥ + VkPipelineLayout layout = VK_NULL_HANDLE; + CHECK(reinterpret_cast(vkfn("vkCreatePipelineLayout"))( + device.device, &layout_info, nullptr, &layout) == VK_SUCCESS); + VkComputePipelineCreateInfo pipeline_info{VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO}; + pipeline_info.stage = {VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO}; + pipeline_info.stage.stage = VK_SHADER_STAGE_COMPUTE_BIT; + pipeline_info.stage.module = module; + pipeline_info.stage.pName = "main"; + pipeline_info.layout = layout; + VkPipeline pipeline = VK_NULL_HANDLE; + CHECK(reinterpret_cast(vkfn("vkCreateComputePipelines"))( + device.device, VK_NULL_HANDLE, 1, &pipeline_info, nullptr, &pipeline) == VK_SUCCESS); + + constexpr std::uint32_t kMostGroups = 70000; + void* marks_map = nullptr; + const VkBuffer marks = device.buffer(VkDeviceSize(kMostGroups + 1) * 4, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT, + &marks_map); + CHECK(marks && marks_map && pipeline); + struct Case { + std::uint32_t x, y, z; + }; + const Case cases[] = {{70000, 1, 1}, {65535, 1, 1}, {1, 65535, 1}}; + for (const Case& c : cases) { + if (!marks || !pipeline) break; + const std::uint32_t groups = c.x * c.y * c.z; + if (c.x > leonida::indirect_clamp_dispatch_limit(properties.limits, 0) || + c.y > leonida::indirect_clamp_dispatch_limit(properties.limits, 1) || + c.z > leonida::indirect_clamp_dispatch_limit(properties.limits, 2)) { + std::printf("indirect_clamp_test: %u x %u x %u is past this device's maxComputeWorkGroupCount; " + "skipped\n", c.x, c.y, c.z); + continue; + } + const std::uint32_t args[3] = {c.x, c.y, c.z}; + std::memset(env.arguments_map, 0, size_t(env.argument_bytes)); + std::memcpy(env.arguments_map, args, sizeof args); + std::memset(marks_map, 0, size_t(kMostGroups + 1) * 4); + { + auto batch = clamp.batch(); + leonida::ClampedIndirect job{}; + CHECK(batch->prepare(env.arguments, 0, VK_NULL_HANDLE, 0, leonida::indirect_clamp_dispatch, 12, 1, + job)); + const MarkerPush push{device.device_address(marks), groups, 0}; + CHECK(device.run([&](VkCommandBuffer cb) { + clamp.emit(cb, job); // its last barrier orders the records before the indirect read + reinterpret_cast(vkfn("vkCmdBindPipeline"))( + cb, VK_PIPELINE_BIND_POINT_COMPUTE, pipeline); + reinterpret_cast(vkfn("vkCmdPushConstants"))( + cb, layout, VK_SHADER_STAGE_COMPUTE_BIT, 0, sizeof push, &push); + reinterpret_cast(vkfn("vkCmdDispatchIndirect"))(cb, job.buffer, + job.offset); + VkMemoryBarrier host{VK_STRUCTURE_TYPE_MEMORY_BARRIER}; + host.srcAccessMask = VK_ACCESS_SHADER_WRITE_BIT; + host.dstAccessMask = VK_ACCESS_HOST_READ_BIT; + device.fn("vkCmdPipelineBarrier")( + cb, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_HOST_BIT, 0, 1, &host, 0, nullptr, + 0, nullptr); + return true; + })); + } + clamp.retire(VK_NULL_HANDLE, 0); + clamp.collect(); + const auto* m = static_cast(marks_map); + std::uint32_t once = 0, never = 0, twice = 0; + for (std::uint32_t g = 0; g < groups; ++g) { + if (m[g] == 1) ++once; + else if (m[g] == 0) ++never; + else ++twice; + } + if (once != groups || m[groups] != 0) + std::fprintf(stderr, "indirect_clamp_test: %u x %u x %u: %u group(s) ran once, %u never, %u more than " + "once, %u past the end\n", c.x, c.y, c.z, once, never, twice, m[groups]); + CHECK(once == groups && never == 0 && twice == 0 && m[groups] == 0); + } + reinterpret_cast(vkfn("vkDestroyPipeline"))(device.device, pipeline, nullptr); + reinterpret_cast(vkfn("vkDestroyPipelineLayout"))(device.device, layout, nullptr); + reinterpret_cast(vkfn("vkDestroyShaderModule"))(device.device, module, nullptr); + } + // Every case above ran under validation when LEONIDA_VK_VALIDATION=1. CHECK(device.validation_errors() == device.known_validation_errors());