diffneusim 1.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (682) hide show
  1. diffneusim/__init__.py +1 -0
  2. diffneusim/_cache.py +42 -0
  3. diffneusim/_paths.py +5 -0
  4. diffneusim/bindings/rew14_ext.cu +115 -0
  5. diffneusim/bindings/soft14_capi.cpp +443 -0
  6. diffneusim/bindings/soft14_engine_ext.cu +596 -0
  7. diffneusim/bindings/soft_capi.cpp +782 -0
  8. diffneusim/bindings/soft_engine_ext.cu +495 -0
  9. diffneusim/core/cpu_engine/build.sh +40 -0
  10. diffneusim/core/cpu_engine/fiber/cuda_runtime.h +445 -0
  11. diffneusim/core/cpu_engine/x14_cpu.cpp +283 -0
  12. diffneusim/core/diff/dual.h +126 -0
  13. diffneusim/core/include/diffneusim/macros.h +35 -0
  14. diffneusim/core/kin/kinematic_tree.h +273 -0
  15. diffneusim/core/math/so3.h +182 -0
  16. diffneusim/core/soft/adj/out_adj.h +102 -0
  17. diffneusim/core/soft/adj/rnea_adj.h +425 -0
  18. diffneusim/core/soft/adj/rows_adj.h +439 -0
  19. diffneusim/core/soft/adj/rows_functor.h +89 -0
  20. diffneusim/core/soft/adj/rows_lanes.h +443 -0
  21. diffneusim/core/soft/adj/shell_adj.h +243 -0
  22. diffneusim/core/soft/adj/tree_adj.h +356 -0
  23. diffneusim/core/soft/collide.h +183 -0
  24. diffneusim/core/soft/gpu/adj14.cuh +233 -0
  25. diffneusim/core/soft/gpu/adj14_mus.cuh +98 -0
  26. diffneusim/core/soft/gpu/adj_shell.cuh +50 -0
  27. diffneusim/core/soft/gpu/adj_tab.cuh +49 -0
  28. diffneusim/core/soft/gpu/body14.cuh +47 -0
  29. diffneusim/core/soft/gpu/chol_rn.cuh +458 -0
  30. diffneusim/core/soft/gpu/chol_small.cuh +123 -0
  31. diffneusim/core/soft/gpu/chol_split.cuh +193 -0
  32. diffneusim/core/soft/gpu/engine_launch.cuh +263 -0
  33. diffneusim/core/soft/gpu/fk_rn.cuh +109 -0
  34. diffneusim/core/soft/gpu/generated/body_019e20820f86_mmfloor.cuh +28 -0
  35. diffneusim/core/soft/gpu/generated/body_62f77a4bb16b_mmfloor.cuh +52 -0
  36. diffneusim/core/soft/gpu/generated/body_77dbb7213f26_mmfloor_rampsb3l_n6t12.cuh +28 -0
  37. diffneusim/core/soft/gpu/generated/body_8989b60e4486_mmfloor_rampsb3l_n6t12.cuh +28 -0
  38. diffneusim/core/soft/gpu/generated/body_8989b60e4486_mmfloor_rhlsd05_n6t12.cuh +28 -0
  39. diffneusim/core/soft/gpu/generated/body_8989b60e4486_mmfloor_rhlsdef_n6t12.cuh +28 -0
  40. diffneusim/core/soft/gpu/generated/body_8989b60e4486_mmfloor_rhlsmjd_n6t12.cuh +28 -0
  41. diffneusim/core/soft/gpu/generated/body_a1e8b196b2cd_mmfloor_rampsb3l_n6t12.cuh +52 -0
  42. diffneusim/core/soft/gpu/generated/body_a944653edd64_mmfloor.cuh +25 -0
  43. diffneusim/core/soft/gpu/generated/body_a944653edd64_mmfloor_rampsb3l_n6t12.cuh +25 -0
  44. diffneusim/core/soft/gpu/generated/g1_soft_5db44fd45286.cuh +74 -0
  45. diffneusim/core/soft/gpu/generated/split_62f77a4bb16b_mmfloor.cuh +18 -0
  46. diffneusim/core/soft/gpu/generated/split_a1e8b196b2cd_mmfloor_rampsb3l_n6t12.cuh +18 -0
  47. diffneusim/core/soft/gpu/generated/x14_soft_019e20820f86_mmfloor.cuh +123 -0
  48. diffneusim/core/soft/gpu/generated/x14_soft_62f77a4bb16b_mmfloor.cuh +129 -0
  49. diffneusim/core/soft/gpu/generated/x14_soft_77dbb7213f26_mmfloor_rampsb3l_n6t12.cuh +123 -0
  50. diffneusim/core/soft/gpu/generated/x14_soft_8989b60e4486_mmfloor_rampsb3l_n6t12.cuh +123 -0
  51. diffneusim/core/soft/gpu/generated/x14_soft_8989b60e4486_mmfloor_rhlsd05_n6t12.cuh +123 -0
  52. diffneusim/core/soft/gpu/generated/x14_soft_8989b60e4486_mmfloor_rhlsdef_n6t12.cuh +123 -0
  53. diffneusim/core/soft/gpu/generated/x14_soft_8989b60e4486_mmfloor_rhlsmjd_n6t12.cuh +123 -0
  54. diffneusim/core/soft/gpu/generated/x14_soft_a1e8b196b2cd_mmfloor_rampsb3l_n6t12.cuh +129 -0
  55. diffneusim/core/soft/gpu/generated/x14_soft_a944653edd64_mmfloor.cuh +123 -0
  56. diffneusim/core/soft/gpu/generated/x14_soft_a944653edd64_mmfloor_rampsb3l_n6t12.cuh +123 -0
  57. diffneusim/core/soft/gpu/k_mus.cuh +1038 -0
  58. diffneusim/core/soft/gpu/k_mus_host.cuh +377 -0
  59. diffneusim/core/soft/gpu/k_pre.cuh +52 -0
  60. diffneusim/core/soft/gpu/kernel_p.cuh +490 -0
  61. diffneusim/core/soft/gpu/kp14.cuh +465 -0
  62. diffneusim/core/soft/gpu/l2v2.cuh +367 -0
  63. diffneusim/core/soft/gpu/l2x14.cuh +319 -0
  64. diffneusim/core/soft/gpu/l3.cuh +1483 -0
  65. diffneusim/core/soft/gpu/model_view.cuh +48 -0
  66. diffneusim/core/soft/gpu/mus_case_fits.h +15 -0
  67. diffneusim/core/soft/gpu/mus_classes.h +182 -0
  68. diffneusim/core/soft/gpu/mus_row_cf.h +44 -0
  69. diffneusim/core/soft/gpu/rew14.cuh +177 -0
  70. diffneusim/core/soft/gpu/rows_ctab.cuh +44 -0
  71. diffneusim/core/soft/gpu/tree_m.cuh +247 -0
  72. diffneusim/core/soft/gpu/x14_engine_kernels.cuh +260 -0
  73. diffneusim/core/soft/gpu/x14_rowcf.h +14 -0
  74. diffneusim/core/soft/hand.h +124 -0
  75. diffneusim/core/soft/impedance.h +115 -0
  76. diffneusim/core/soft/jvp.h +202 -0
  77. diffneusim/core/soft/kin.h +250 -0
  78. diffneusim/core/soft/muscle.h +1208 -0
  79. diffneusim/core/soft/newton.h +371 -0
  80. diffneusim/core/soft/rows.h +176 -0
  81. diffneusim/core/soft/step.h +188 -0
  82. diffneusim/core/soft/tape.h +313 -0
  83. diffneusim/core/soft/x14/collide14.h +69 -0
  84. diffneusim/core/soft/x14/jvp14.h +182 -0
  85. diffneusim/core/soft/x14/law14.h +453 -0
  86. diffneusim/core/soft/x14adj/collide14_adj.h +134 -0
  87. diffneusim/core/soft/x14adj/passive14_adj.h +162 -0
  88. diffneusim/core/soft/x14adj/reward14.h +484 -0
  89. diffneusim/core/soft/x14adj/rows14_adj.h +400 -0
  90. diffneusim/core/soft/x14adj/scan14.h +349 -0
  91. diffneusim/core/soft/x14adj/shell14_adj.h +122 -0
  92. diffneusim/core/soft/x14adj/sweep14.h +255 -0
  93. diffneusim/core/soft/x14adj/tree14_adj.h +500 -0
  94. diffneusim/core/soft/x14adj/x14adj_common.h +96 -0
  95. diffneusim/data/mirror/H1622v2k_geyer_hfdeq.npz +0 -0
  96. diffneusim/data/mirror/H1622v2k_hfd.npz +0 -0
  97. diffneusim/data/mirror/H1622v2k_millard_hfdeq.npz +0 -0
  98. diffneusim/data/mirror/fullbody_contact.npz +0 -0
  99. diffneusim/data/mirror/fullbody_contact_spinecoupled_armless_ball_lspine_millard.npz +0 -0
  100. diffneusim/data/mirror/fullbody_contact_spinecoupled_armless_ball_lspine_millard_stickspin_wrapvia_mtp60k25_trunkfix_toepair_n1_p2str.npz +0 -0
  101. diffneusim/data/mirror/fullbody_contact_spinecoupled_armless_ball_lspine_millard_stickspin_wrapvia_mtp60k25_trunkfix_toepair_n1_p2str_rigid.npz +0 -0
  102. diffneusim/data/mirror/fullbody_contact_spinecoupled_armless_ball_lspine_millard_stickspin_wrapvia_mtp60k25_trunkfix_toepair_n1_src.npz +0 -0
  103. diffneusim/data/mirror/fullbody_contact_spinecoupled_armless_ball_lspine_millard_stickspin_wrapvia_mtp60k25_trunkfix_toepair_n1_src_rigid.npz +0 -0
  104. diffneusim/data/mirror/fullbody_contact_spinecoupled_armless_ball_lspine_osimeq.npz +0 -0
  105. diffneusim/data/mirror/fullbody_contact_spinecoupled_armless_ball_lspine_osimeq_stickspin.npz +0 -0
  106. diffneusim/data/mirror/fullbody_contact_spinecoupled_armless_ball_lspine_osimeq_stickspin_wrapvia_mtp60k25_calf2_pe.npz +0 -0
  107. diffneusim/data/mirror/fullbody_contact_spinecoupled_armless_ball_lspine_osimeq_stickspin_wrapvia_mtp60k25_trunkfix_calf2_pe_toepair_flsrc.npz +0 -0
  108. diffneusim/data/mirror/fullbody_contact_spinecoupled_armless_ball_lspine_osimeq_stickspin_wrapvia_mtp60k25_trunkfix_calf2_pe_toepair_flsrc_axfix.npz +0 -0
  109. diffneusim/data/mirror/fullbody_contact_spinecoupled_armless_ball_lspine_osimeq_stickspin_wrapvia_mtp60k25_trunkfix_calf2_pe_toepair_flsrc_axfixlegs01.npz +0 -0
  110. diffneusim/data/mirror/fullbody_contact_spinecoupled_armless_ball_lspine_osimeq_stickspin_wrapvia_mtp60k25_trunkfix_calf2_pe_toepair_flsrc_jd01.npz +0 -0
  111. diffneusim/data/mirror/fullbody_contact_spinecoupled_armless_ball_lspine_osimeq_stickspin_wrapvia_mtp60k25_trunkfix_calf2_pe_toepair_flsrc_jd01legs.npz +0 -0
  112. diffneusim/data/mirror/fullbody_contact_spinecoupled_armless_ball_lspine_osimeq_stickspin_wrapvia_mtp60k25_trunkfix_calf2_pe_toepair_flsrc_jd01lumbar.npz +0 -0
  113. diffneusim/data/mirror/fullbody_contact_spinecoupled_armless_ball_lspine_osimeq_stickspin_wrapvia_mtp60k25_trunkfix_calf2_pe_toepair_flsrc_lumbfix.npz +0 -0
  114. diffneusim/data/mirror/fullbody_contact_spinecoupled_armless_ball_lspine_osimeq_stickspin_wrapvia_mtp60k25_trunkfix_calf2_pe_toepair_flsrc_lumbfixlegs01.npz +0 -0
  115. diffneusim/data/mirror/fullbody_contact_spinecoupled_armless_ball_lspine_osimeq_stickspin_wrapvia_mtp60k25_trunkfix_calf2_pe_toepair_flsrc_n1.npz +0 -0
  116. diffneusim/data/mirror/fullbody_contact_spinecoupled_armless_ball_lspine_osimeq_stickspin_wrapvia_mtp60k25_trunkfix_calf2_pe_toepair_flsrc_n1a.npz +0 -0
  117. diffneusim/data/mirror/fullbody_contact_spinecoupled_armless_ball_lspine_osimeq_stickspin_wrapvia_mtp60k25_trunkfix_calf2_pe_toepair_flsrc_n2.npz +0 -0
  118. diffneusim/data/mirror/fullbody_contact_spinecoupled_armless_ball_lspine_osimeq_stickspin_wrapvia_mtp60k25_trunkfix_calf2_pe_toepair_flsrc_rom23.npz +0 -0
  119. diffneusim/data/mirror/fullbody_contact_spinecoupled_fusedhand_ball_lspine_girdle_millard_stickspin_wrapvia_mtp60k25_trunkfix_toepair.npz +0 -0
  120. diffneusim/data/mirror/fullbody_contact_spinecoupled_fusedhand_ball_lspine_girdle_osimeq_stickspin_wrapvia_mtp60k25_trunkfix_calf2_pe_toepair_flsrc.npz +0 -0
  121. diffneusim/data/mirror/fullbody_contact_spinecoupled_fusedhand_ball_lspine_girdle_osimeq_stickspin_wrapvia_mtp60k25_trunkfix_calf2_pe_toepair_flsrc_hinge.npz +0 -0
  122. diffneusim/data/mirror/fullbody_contact_spinecoupled_fusedhand_ball_lspine_girdle_osimeq_stickspin_wrapvia_mtp60k25_trunkfix_calf2_pe_toepair_flsrc_n1.npz +0 -0
  123. diffneusim/data/mirror/fullbody_contact_spinecoupled_fusedhand_ball_lspine_girdle_osimeq_stickspin_wrapvia_mtp60k25_trunkfix_calf2_pe_toepair_flsrc_n1a.npz +0 -0
  124. diffneusim/data/mirror/fullbody_contact_spinecoupled_fusedhand_ball_lspine_girdle_osimeq_stickspin_wrapvia_mtp60k25_trunkfix_calf2_pe_toepair_flsrc_n2.npz +0 -0
  125. diffneusim/data/mirror/fullbody_contact_spinecoupled_fusedhand_ball_lspine_girdle_osimeq_stickspin_wrapvia_mtp60k25_trunkfix_calf2_pe_toepair_flsrc_rom23.npz +0 -0
  126. diffneusim/data/mirror/fullbody_contact_spinecoupled_fusedhand_lspine_girdle_osimeq.npz +0 -0
  127. diffneusim/data/mirror/fullbody_contact_spinecoupled_lspine_girdle_millard.npz +0 -0
  128. diffneusim/data/mirror/fullbody_contact_spinecoupled_lspine_girdle_osimeq.npz +0 -0
  129. diffneusim/data/mirror/myoleg26_3d_compound_g14eq.npz +0 -0
  130. diffneusim/data/mirror/myoleg26_3d_kneeexp_g14eq.npz +0 -0
  131. diffneusim/data/mirror/myoleg26_3d_kneeexp_g14eq_trunkpose.npz +0 -0
  132. diffneusim/data/mirror/myoleg26_3d_kneeexp_g14eq_trunkpose_spin.npz +0 -0
  133. diffneusim/data/mirror/myoleg26_3d_kneeexp_g14eq_trunkpose_spin_ank30.npz +0 -0
  134. diffneusim/data/mirror/myoleg26_3d_kneeexp_g14eq_trunkpose_spin_ank30_hip30.npz +0 -0
  135. diffneusim/data/mirror/myoleg26_3d_kneeexp_g14eq_trunkpose_spin_ank30_hip30_luispe.npz +0 -0
  136. diffneusim/data/mirror/myoleg26_3d_kneeexp_g14eq_trunkpose_spin_ank30_hip30_trunk0701.npz +0 -0
  137. diffneusim/data/muscle_fit/wang_mass_volume_14t.json +91 -0
  138. diffneusim/data/muscle_fit/wang_mass_volume_14t_axfix.json +91 -0
  139. diffneusim/data/muscle_fit/wang_mass_volume_14t_axfixlegs01.json +91 -0
  140. diffneusim/data/muscle_fit/wang_mass_volume_14t_jd01.json +91 -0
  141. diffneusim/data/muscle_fit/wang_mass_volume_14t_jd01legs.json +91 -0
  142. diffneusim/data/muscle_fit/wang_mass_volume_14t_jd01lumbar.json +91 -0
  143. diffneusim/data/muscle_fit/wang_mass_volume_14t_lumbfix.json +91 -0
  144. diffneusim/data/muscle_fit/wang_mass_volume_14t_lumbfixlegs01.json +91 -0
  145. diffneusim/data/muscle_fit/wang_mass_volume_14t_n1.json +91 -0
  146. diffneusim/data/muscle_fit/wang_mass_volume_14t_n1a.json +91 -0
  147. diffneusim/data/muscle_fit/wang_mass_volume_14t_n2.json +91 -0
  148. diffneusim/data/muscle_fit/wang_mass_volume_14t_rom23.json +91 -0
  149. diffneusim/data/reference/musclemimic/myofullbody_mimic_sites.json +261 -0
  150. diffneusim/data/reference/pose3/pose3_scone.json +305 -0
  151. diffneusim/data/reference/pose3/pose3_scone.txt +3 -0
  152. diffneusim/data/reference/pose3/pose3_scone_gait.npz +0 -0
  153. diffneusim/data/reference/pose3/pose3_scone_mirror.npz +0 -0
  154. diffneusim/data/reference/pose3/pose3_scone_stand.npz +0 -0
  155. diffneusim/data/reference/x016run/MD5SUMS +241 -0
  156. diffneusim/data/reference/x016run/x016run_states.txt +240 -0
  157. diffneusim/data/reference/x016run/x016run_v3p00_s0_l0.npz +0 -0
  158. diffneusim/data/reference/x016run/x016run_v3p00_s0_l1.npz +0 -0
  159. diffneusim/data/reference/x016run/x016run_v3p00_s0_l2.npz +0 -0
  160. diffneusim/data/reference/x016run/x016run_v3p00_s0_l3.npz +0 -0
  161. diffneusim/data/reference/x016run/x016run_v3p00_s0_r0.npz +0 -0
  162. diffneusim/data/reference/x016run/x016run_v3p00_s0_r1.npz +0 -0
  163. diffneusim/data/reference/x016run/x016run_v3p00_s0_r2.npz +0 -0
  164. diffneusim/data/reference/x016run/x016run_v3p00_s0_r3.npz +0 -0
  165. diffneusim/data/reference/x016run/x016run_v3p00_s1_l0.npz +0 -0
  166. diffneusim/data/reference/x016run/x016run_v3p00_s1_l1.npz +0 -0
  167. diffneusim/data/reference/x016run/x016run_v3p00_s1_l2.npz +0 -0
  168. diffneusim/data/reference/x016run/x016run_v3p00_s1_l3.npz +0 -0
  169. diffneusim/data/reference/x016run/x016run_v3p00_s1_r0.npz +0 -0
  170. diffneusim/data/reference/x016run/x016run_v3p00_s1_r1.npz +0 -0
  171. diffneusim/data/reference/x016run/x016run_v3p00_s1_r2.npz +0 -0
  172. diffneusim/data/reference/x016run/x016run_v3p00_s1_r3.npz +0 -0
  173. diffneusim/data/reference/x016run/x016run_v3p00_s2_l0.npz +0 -0
  174. diffneusim/data/reference/x016run/x016run_v3p00_s2_l1.npz +0 -0
  175. diffneusim/data/reference/x016run/x016run_v3p00_s2_l2.npz +0 -0
  176. diffneusim/data/reference/x016run/x016run_v3p00_s2_l3.npz +0 -0
  177. diffneusim/data/reference/x016run/x016run_v3p00_s2_r0.npz +0 -0
  178. diffneusim/data/reference/x016run/x016run_v3p00_s2_r1.npz +0 -0
  179. diffneusim/data/reference/x016run/x016run_v3p00_s2_r2.npz +0 -0
  180. diffneusim/data/reference/x016run/x016run_v3p00_s2_r3.npz +0 -0
  181. diffneusim/data/reference/x016run/x016run_v3p00_s3_l0.npz +0 -0
  182. diffneusim/data/reference/x016run/x016run_v3p00_s3_l1.npz +0 -0
  183. diffneusim/data/reference/x016run/x016run_v3p00_s3_l2.npz +0 -0
  184. diffneusim/data/reference/x016run/x016run_v3p00_s3_l3.npz +0 -0
  185. diffneusim/data/reference/x016run/x016run_v3p00_s3_r0.npz +0 -0
  186. diffneusim/data/reference/x016run/x016run_v3p00_s3_r1.npz +0 -0
  187. diffneusim/data/reference/x016run/x016run_v3p00_s3_r2.npz +0 -0
  188. diffneusim/data/reference/x016run/x016run_v3p00_s3_r3.npz +0 -0
  189. diffneusim/data/reference/x016run/x016run_v3p00_s4_l0.npz +0 -0
  190. diffneusim/data/reference/x016run/x016run_v3p00_s4_l1.npz +0 -0
  191. diffneusim/data/reference/x016run/x016run_v3p00_s4_l2.npz +0 -0
  192. diffneusim/data/reference/x016run/x016run_v3p00_s4_l3.npz +0 -0
  193. diffneusim/data/reference/x016run/x016run_v3p00_s4_r0.npz +0 -0
  194. diffneusim/data/reference/x016run/x016run_v3p00_s4_r1.npz +0 -0
  195. diffneusim/data/reference/x016run/x016run_v3p00_s4_r2.npz +0 -0
  196. diffneusim/data/reference/x016run/x016run_v3p00_s4_r3.npz +0 -0
  197. diffneusim/data/reference/x016run/x016run_v3p00_s5_l0.npz +0 -0
  198. diffneusim/data/reference/x016run/x016run_v3p00_s5_l1.npz +0 -0
  199. diffneusim/data/reference/x016run/x016run_v3p00_s5_l2.npz +0 -0
  200. diffneusim/data/reference/x016run/x016run_v3p00_s5_l3.npz +0 -0
  201. diffneusim/data/reference/x016run/x016run_v3p00_s5_r0.npz +0 -0
  202. diffneusim/data/reference/x016run/x016run_v3p00_s5_r1.npz +0 -0
  203. diffneusim/data/reference/x016run/x016run_v3p00_s5_r2.npz +0 -0
  204. diffneusim/data/reference/x016run/x016run_v3p00_s5_r3.npz +0 -0
  205. diffneusim/data/reference/x016run/x016run_v3p00_s6_l0.npz +0 -0
  206. diffneusim/data/reference/x016run/x016run_v3p00_s6_l1.npz +0 -0
  207. diffneusim/data/reference/x016run/x016run_v3p00_s6_l2.npz +0 -0
  208. diffneusim/data/reference/x016run/x016run_v3p00_s6_l3.npz +0 -0
  209. diffneusim/data/reference/x016run/x016run_v3p00_s6_r0.npz +0 -0
  210. diffneusim/data/reference/x016run/x016run_v3p00_s6_r1.npz +0 -0
  211. diffneusim/data/reference/x016run/x016run_v3p00_s6_r2.npz +0 -0
  212. diffneusim/data/reference/x016run/x016run_v3p00_s6_r3.npz +0 -0
  213. diffneusim/data/reference/x016run/x016run_v3p00_s7_l0.npz +0 -0
  214. diffneusim/data/reference/x016run/x016run_v3p00_s7_l1.npz +0 -0
  215. diffneusim/data/reference/x016run/x016run_v3p00_s7_l2.npz +0 -0
  216. diffneusim/data/reference/x016run/x016run_v3p00_s7_l3.npz +0 -0
  217. diffneusim/data/reference/x016run/x016run_v3p00_s7_r0.npz +0 -0
  218. diffneusim/data/reference/x016run/x016run_v3p00_s7_r1.npz +0 -0
  219. diffneusim/data/reference/x016run/x016run_v3p00_s7_r2.npz +0 -0
  220. diffneusim/data/reference/x016run/x016run_v3p00_s7_r3.npz +0 -0
  221. diffneusim/data/reference/x016run/x016run_v3p25_s0_l0.npz +0 -0
  222. diffneusim/data/reference/x016run/x016run_v3p25_s0_l1.npz +0 -0
  223. diffneusim/data/reference/x016run/x016run_v3p25_s0_l2.npz +0 -0
  224. diffneusim/data/reference/x016run/x016run_v3p25_s0_l3.npz +0 -0
  225. diffneusim/data/reference/x016run/x016run_v3p25_s0_r0.npz +0 -0
  226. diffneusim/data/reference/x016run/x016run_v3p25_s0_r1.npz +0 -0
  227. diffneusim/data/reference/x016run/x016run_v3p25_s0_r2.npz +0 -0
  228. diffneusim/data/reference/x016run/x016run_v3p25_s0_r3.npz +0 -0
  229. diffneusim/data/reference/x016run/x016run_v3p25_s1_l0.npz +0 -0
  230. diffneusim/data/reference/x016run/x016run_v3p25_s1_l1.npz +0 -0
  231. diffneusim/data/reference/x016run/x016run_v3p25_s1_l2.npz +0 -0
  232. diffneusim/data/reference/x016run/x016run_v3p25_s1_l3.npz +0 -0
  233. diffneusim/data/reference/x016run/x016run_v3p25_s1_r0.npz +0 -0
  234. diffneusim/data/reference/x016run/x016run_v3p25_s1_r1.npz +0 -0
  235. diffneusim/data/reference/x016run/x016run_v3p25_s1_r2.npz +0 -0
  236. diffneusim/data/reference/x016run/x016run_v3p25_s1_r3.npz +0 -0
  237. diffneusim/data/reference/x016run/x016run_v3p25_s2_l0.npz +0 -0
  238. diffneusim/data/reference/x016run/x016run_v3p25_s2_l1.npz +0 -0
  239. diffneusim/data/reference/x016run/x016run_v3p25_s2_l2.npz +0 -0
  240. diffneusim/data/reference/x016run/x016run_v3p25_s2_l3.npz +0 -0
  241. diffneusim/data/reference/x016run/x016run_v3p25_s2_r0.npz +0 -0
  242. diffneusim/data/reference/x016run/x016run_v3p25_s2_r1.npz +0 -0
  243. diffneusim/data/reference/x016run/x016run_v3p25_s2_r2.npz +0 -0
  244. diffneusim/data/reference/x016run/x016run_v3p25_s2_r3.npz +0 -0
  245. diffneusim/data/reference/x016run/x016run_v3p25_s3_l0.npz +0 -0
  246. diffneusim/data/reference/x016run/x016run_v3p25_s3_l1.npz +0 -0
  247. diffneusim/data/reference/x016run/x016run_v3p25_s3_l2.npz +0 -0
  248. diffneusim/data/reference/x016run/x016run_v3p25_s3_l3.npz +0 -0
  249. diffneusim/data/reference/x016run/x016run_v3p25_s3_r0.npz +0 -0
  250. diffneusim/data/reference/x016run/x016run_v3p25_s3_r1.npz +0 -0
  251. diffneusim/data/reference/x016run/x016run_v3p25_s3_r2.npz +0 -0
  252. diffneusim/data/reference/x016run/x016run_v3p25_s3_r3.npz +0 -0
  253. diffneusim/data/reference/x016run/x016run_v3p25_s4_l0.npz +0 -0
  254. diffneusim/data/reference/x016run/x016run_v3p25_s4_l1.npz +0 -0
  255. diffneusim/data/reference/x016run/x016run_v3p25_s4_l2.npz +0 -0
  256. diffneusim/data/reference/x016run/x016run_v3p25_s4_l3.npz +0 -0
  257. diffneusim/data/reference/x016run/x016run_v3p25_s4_r0.npz +0 -0
  258. diffneusim/data/reference/x016run/x016run_v3p25_s4_r1.npz +0 -0
  259. diffneusim/data/reference/x016run/x016run_v3p25_s4_r2.npz +0 -0
  260. diffneusim/data/reference/x016run/x016run_v3p25_s4_r3.npz +0 -0
  261. diffneusim/data/reference/x016run/x016run_v3p25_s5_l0.npz +0 -0
  262. diffneusim/data/reference/x016run/x016run_v3p25_s5_l1.npz +0 -0
  263. diffneusim/data/reference/x016run/x016run_v3p25_s5_l2.npz +0 -0
  264. diffneusim/data/reference/x016run/x016run_v3p25_s5_l3.npz +0 -0
  265. diffneusim/data/reference/x016run/x016run_v3p25_s5_r0.npz +0 -0
  266. diffneusim/data/reference/x016run/x016run_v3p25_s5_r1.npz +0 -0
  267. diffneusim/data/reference/x016run/x016run_v3p25_s5_r2.npz +0 -0
  268. diffneusim/data/reference/x016run/x016run_v3p25_s5_r3.npz +0 -0
  269. diffneusim/data/reference/x016run/x016run_v3p25_s6_l0.npz +0 -0
  270. diffneusim/data/reference/x016run/x016run_v3p25_s6_l1.npz +0 -0
  271. diffneusim/data/reference/x016run/x016run_v3p25_s6_l2.npz +0 -0
  272. diffneusim/data/reference/x016run/x016run_v3p25_s6_l3.npz +0 -0
  273. diffneusim/data/reference/x016run/x016run_v3p25_s6_r0.npz +0 -0
  274. diffneusim/data/reference/x016run/x016run_v3p25_s6_r1.npz +0 -0
  275. diffneusim/data/reference/x016run/x016run_v3p25_s6_r2.npz +0 -0
  276. diffneusim/data/reference/x016run/x016run_v3p25_s6_r3.npz +0 -0
  277. diffneusim/data/reference/x016run/x016run_v3p25_s7_l0.npz +0 -0
  278. diffneusim/data/reference/x016run/x016run_v3p25_s7_l1.npz +0 -0
  279. diffneusim/data/reference/x016run/x016run_v3p25_s7_l2.npz +0 -0
  280. diffneusim/data/reference/x016run/x016run_v3p25_s7_l3.npz +0 -0
  281. diffneusim/data/reference/x016run/x016run_v3p25_s7_r0.npz +0 -0
  282. diffneusim/data/reference/x016run/x016run_v3p25_s7_r1.npz +0 -0
  283. diffneusim/data/reference/x016run/x016run_v3p25_s7_r2.npz +0 -0
  284. diffneusim/data/reference/x016run/x016run_v3p25_s7_r3.npz +0 -0
  285. diffneusim/data/reference/x016run/x016run_v3p50_s0_l0.npz +0 -0
  286. diffneusim/data/reference/x016run/x016run_v3p50_s0_l1.npz +0 -0
  287. diffneusim/data/reference/x016run/x016run_v3p50_s0_l2.npz +0 -0
  288. diffneusim/data/reference/x016run/x016run_v3p50_s0_l3.npz +0 -0
  289. diffneusim/data/reference/x016run/x016run_v3p50_s0_r0.npz +0 -0
  290. diffneusim/data/reference/x016run/x016run_v3p50_s0_r1.npz +0 -0
  291. diffneusim/data/reference/x016run/x016run_v3p50_s0_r2.npz +0 -0
  292. diffneusim/data/reference/x016run/x016run_v3p50_s0_r3.npz +0 -0
  293. diffneusim/data/reference/x016run/x016run_v3p50_s1_l0.npz +0 -0
  294. diffneusim/data/reference/x016run/x016run_v3p50_s1_l1.npz +0 -0
  295. diffneusim/data/reference/x016run/x016run_v3p50_s1_l2.npz +0 -0
  296. diffneusim/data/reference/x016run/x016run_v3p50_s1_l3.npz +0 -0
  297. diffneusim/data/reference/x016run/x016run_v3p50_s1_r0.npz +0 -0
  298. diffneusim/data/reference/x016run/x016run_v3p50_s1_r1.npz +0 -0
  299. diffneusim/data/reference/x016run/x016run_v3p50_s1_r2.npz +0 -0
  300. diffneusim/data/reference/x016run/x016run_v3p50_s1_r3.npz +0 -0
  301. diffneusim/data/reference/x016run/x016run_v3p50_s2_l0.npz +0 -0
  302. diffneusim/data/reference/x016run/x016run_v3p50_s2_l1.npz +0 -0
  303. diffneusim/data/reference/x016run/x016run_v3p50_s2_l2.npz +0 -0
  304. diffneusim/data/reference/x016run/x016run_v3p50_s2_l3.npz +0 -0
  305. diffneusim/data/reference/x016run/x016run_v3p50_s2_r0.npz +0 -0
  306. diffneusim/data/reference/x016run/x016run_v3p50_s2_r1.npz +0 -0
  307. diffneusim/data/reference/x016run/x016run_v3p50_s2_r2.npz +0 -0
  308. diffneusim/data/reference/x016run/x016run_v3p50_s2_r3.npz +0 -0
  309. diffneusim/data/reference/x016run/x016run_v3p50_s3_l0.npz +0 -0
  310. diffneusim/data/reference/x016run/x016run_v3p50_s3_l1.npz +0 -0
  311. diffneusim/data/reference/x016run/x016run_v3p50_s3_l2.npz +0 -0
  312. diffneusim/data/reference/x016run/x016run_v3p50_s3_l3.npz +0 -0
  313. diffneusim/data/reference/x016run/x016run_v3p50_s3_r0.npz +0 -0
  314. diffneusim/data/reference/x016run/x016run_v3p50_s3_r1.npz +0 -0
  315. diffneusim/data/reference/x016run/x016run_v3p50_s3_r2.npz +0 -0
  316. diffneusim/data/reference/x016run/x016run_v3p50_s3_r3.npz +0 -0
  317. diffneusim/data/reference/x016run/x016run_v3p50_s5_l0.npz +0 -0
  318. diffneusim/data/reference/x016run/x016run_v3p50_s5_l1.npz +0 -0
  319. diffneusim/data/reference/x016run/x016run_v3p50_s5_l2.npz +0 -0
  320. diffneusim/data/reference/x016run/x016run_v3p50_s5_l3.npz +0 -0
  321. diffneusim/data/reference/x016run/x016run_v3p50_s5_r0.npz +0 -0
  322. diffneusim/data/reference/x016run/x016run_v3p50_s5_r1.npz +0 -0
  323. diffneusim/data/reference/x016run/x016run_v3p50_s5_r2.npz +0 -0
  324. diffneusim/data/reference/x016run/x016run_v3p50_s5_r3.npz +0 -0
  325. diffneusim/data/reference/x016run/x016run_v3p50_s6_l0.npz +0 -0
  326. diffneusim/data/reference/x016run/x016run_v3p50_s6_l1.npz +0 -0
  327. diffneusim/data/reference/x016run/x016run_v3p50_s6_l2.npz +0 -0
  328. diffneusim/data/reference/x016run/x016run_v3p50_s6_l3.npz +0 -0
  329. diffneusim/data/reference/x016run/x016run_v3p50_s6_r0.npz +0 -0
  330. diffneusim/data/reference/x016run/x016run_v3p50_s6_r1.npz +0 -0
  331. diffneusim/data/reference/x016run/x016run_v3p50_s6_r2.npz +0 -0
  332. diffneusim/data/reference/x016run/x016run_v3p50_s6_r3.npz +0 -0
  333. diffneusim/data/reference/x016run/x016run_v3p50_s7_l0.npz +0 -0
  334. diffneusim/data/reference/x016run/x016run_v3p50_s7_l1.npz +0 -0
  335. diffneusim/data/reference/x016run/x016run_v3p50_s7_l2.npz +0 -0
  336. diffneusim/data/reference/x016run/x016run_v3p50_s7_l3.npz +0 -0
  337. diffneusim/data/reference/x016run/x016run_v3p50_s7_r0.npz +0 -0
  338. diffneusim/data/reference/x016run/x016run_v3p50_s7_r1.npz +0 -0
  339. diffneusim/data/reference/x016run/x016run_v3p50_s7_r2.npz +0 -0
  340. diffneusim/data/reference/x016run/x016run_v3p50_s7_r3.npz +0 -0
  341. diffneusim/data/reference/x016run/x016run_v3p75_s0_l0.npz +0 -0
  342. diffneusim/data/reference/x016run/x016run_v3p75_s0_l1.npz +0 -0
  343. diffneusim/data/reference/x016run/x016run_v3p75_s0_l2.npz +0 -0
  344. diffneusim/data/reference/x016run/x016run_v3p75_s0_l3.npz +0 -0
  345. diffneusim/data/reference/x016run/x016run_v3p75_s0_r0.npz +0 -0
  346. diffneusim/data/reference/x016run/x016run_v3p75_s0_r1.npz +0 -0
  347. diffneusim/data/reference/x016run/x016run_v3p75_s0_r2.npz +0 -0
  348. diffneusim/data/reference/x016run/x016run_v3p75_s0_r3.npz +0 -0
  349. diffneusim/data/reference/x016run/x016run_v3p75_s1_l0.npz +0 -0
  350. diffneusim/data/reference/x016run/x016run_v3p75_s1_l1.npz +0 -0
  351. diffneusim/data/reference/x016run/x016run_v3p75_s1_l2.npz +0 -0
  352. diffneusim/data/reference/x016run/x016run_v3p75_s1_l3.npz +0 -0
  353. diffneusim/data/reference/x016run/x016run_v3p75_s1_r0.npz +0 -0
  354. diffneusim/data/reference/x016run/x016run_v3p75_s1_r1.npz +0 -0
  355. diffneusim/data/reference/x016run/x016run_v3p75_s1_r2.npz +0 -0
  356. diffneusim/data/reference/x016run/x016run_v3p75_s1_r3.npz +0 -0
  357. diffneusim/data/reference/x016run/x016run_v3p75_s2_l0.npz +0 -0
  358. diffneusim/data/reference/x016run/x016run_v3p75_s2_l1.npz +0 -0
  359. diffneusim/data/reference/x016run/x016run_v3p75_s2_l2.npz +0 -0
  360. diffneusim/data/reference/x016run/x016run_v3p75_s2_l3.npz +0 -0
  361. diffneusim/data/reference/x016run/x016run_v3p75_s2_r0.npz +0 -0
  362. diffneusim/data/reference/x016run/x016run_v3p75_s2_r1.npz +0 -0
  363. diffneusim/data/reference/x016run/x016run_v3p75_s2_r2.npz +0 -0
  364. diffneusim/data/reference/x016run/x016run_v3p75_s2_r3.npz +0 -0
  365. diffneusim/data/reference/x016run/x016run_v3p75_s3_l0.npz +0 -0
  366. diffneusim/data/reference/x016run/x016run_v3p75_s3_l1.npz +0 -0
  367. diffneusim/data/reference/x016run/x016run_v3p75_s3_l2.npz +0 -0
  368. diffneusim/data/reference/x016run/x016run_v3p75_s3_l3.npz +0 -0
  369. diffneusim/data/reference/x016run/x016run_v3p75_s3_r0.npz +0 -0
  370. diffneusim/data/reference/x016run/x016run_v3p75_s3_r1.npz +0 -0
  371. diffneusim/data/reference/x016run/x016run_v3p75_s3_r2.npz +0 -0
  372. diffneusim/data/reference/x016run/x016run_v3p75_s3_r3.npz +0 -0
  373. diffneusim/data/reference/x016run/x016run_v3p75_s5_l0.npz +0 -0
  374. diffneusim/data/reference/x016run/x016run_v3p75_s5_l1.npz +0 -0
  375. diffneusim/data/reference/x016run/x016run_v3p75_s5_l2.npz +0 -0
  376. diffneusim/data/reference/x016run/x016run_v3p75_s5_l3.npz +0 -0
  377. diffneusim/data/reference/x016run/x016run_v3p75_s5_r0.npz +0 -0
  378. diffneusim/data/reference/x016run/x016run_v3p75_s5_r1.npz +0 -0
  379. diffneusim/data/reference/x016run/x016run_v3p75_s5_r2.npz +0 -0
  380. diffneusim/data/reference/x016run/x016run_v3p75_s5_r3.npz +0 -0
  381. diffneusim/data/reference/x016run/x016run_v3p75_s6_l0.npz +0 -0
  382. diffneusim/data/reference/x016run/x016run_v3p75_s6_l1.npz +0 -0
  383. diffneusim/data/reference/x016run/x016run_v3p75_s6_l2.npz +0 -0
  384. diffneusim/data/reference/x016run/x016run_v3p75_s6_l3.npz +0 -0
  385. diffneusim/data/reference/x016run/x016run_v3p75_s6_r0.npz +0 -0
  386. diffneusim/data/reference/x016run/x016run_v3p75_s6_r1.npz +0 -0
  387. diffneusim/data/reference/x016run/x016run_v3p75_s6_r2.npz +0 -0
  388. diffneusim/data/reference/x016run/x016run_v3p75_s6_r3.npz +0 -0
  389. diffneusim/data/reference/x016run/x016run_v3p75_s7_l0.npz +0 -0
  390. diffneusim/data/reference/x016run/x016run_v3p75_s7_l1.npz +0 -0
  391. diffneusim/data/reference/x016run/x016run_v3p75_s7_l2.npz +0 -0
  392. diffneusim/data/reference/x016run/x016run_v3p75_s7_l3.npz +0 -0
  393. diffneusim/data/reference/x016run/x016run_v3p75_s7_r0.npz +0 -0
  394. diffneusim/data/reference/x016run/x016run_v3p75_s7_r1.npz +0 -0
  395. diffneusim/data/reference/x016run/x016run_v3p75_s7_r2.npz +0 -0
  396. diffneusim/data/reference/x016run/x016run_v3p75_s7_r3.npz +0 -0
  397. diffneusim/data/state_prior/lumbar_poly_fullbody_contact_spinecoupled_armless_ball_lspine_osimeq_stickspin_wrapvia_mtp60k25_trunkfix_calf2_pe_toepair_flsrc.npz +0 -0
  398. diffneusim/engine/__init__.py +0 -0
  399. diffneusim/engine/build_tag.py +52 -0
  400. diffneusim/engine/case_tables.py +46 -0
  401. diffneusim/engine/d16_body.py +80 -0
  402. diffneusim/engine/engine14.py +367 -0
  403. diffneusim/engine/gen_split.py +159 -0
  404. diffneusim/engine/hand_format.py +69 -0
  405. diffneusim/engine/live14.py +149 -0
  406. diffneusim/engine/phase_b_tree.py +137 -0
  407. diffneusim/engine/soft14.py +130 -0
  408. diffneusim/engine/soft_capi.py +373 -0
  409. diffneusim/engine/soft_engine.py +165 -0
  410. diffneusim/engine/step14.py +132 -0
  411. diffneusim/engine/tape_format.py +89 -0
  412. diffneusim/engine/x14cpu.py +163 -0
  413. diffneusim/env/__init__.py +0 -0
  414. diffneusim/env/absent.py +20 -0
  415. diffneusim/env/cpu14.py +105 -0
  416. diffneusim/env/e0loop14.py +224 -0
  417. diffneusim/env/env14.py +568 -0
  418. diffneusim/env/kin_contact14.py +193 -0
  419. diffneusim/env/mimic_sites_x14.json +366 -0
  420. diffneusim/env/old_count.py +78 -0
  421. diffneusim/env/rew14.py +114 -0
  422. diffneusim/env/rew14_hook.py +105 -0
  423. diffneusim/g1/__init__.py +1 -0
  424. diffneusim/g1/arm_a2.py +165 -0
  425. diffneusim/g1/arm_a3.py +576 -0
  426. diffneusim/g1/read_a3.py +79 -0
  427. diffneusim/g1/rg1_read.py +89 -0
  428. diffneusim/model/__init__.py +66 -0
  429. diffneusim/model/case.py +17 -0
  430. diffneusim/model/dnmodel.py +79 -0
  431. diffneusim/model/fuse_fixed.py +281 -0
  432. diffneusim/model/monitor.py +834 -0
  433. diffneusim/models/BODIES.toml +48 -0
  434. diffneusim/models/MANIFEST.toml +979 -0
  435. diffneusim/models/cases/G290/case.bin +0 -0
  436. diffneusim/models/cases/G290/case.json +1 -0
  437. diffneusim/models/cases/G356-SRC/case.bin +0 -0
  438. diffneusim/models/cases/G356-SRC/case.json +1 -0
  439. diffneusim/models/cases/G416/case.bin +0 -0
  440. diffneusim/models/cases/G416/case.json +1 -0
  441. diffneusim/models/cases/M290C-SRC/case.bin +0 -0
  442. diffneusim/models/cases/M290C-SRC/case.json +1 -0
  443. diffneusim/models/cases/M290R-SRC/case.bin +0 -0
  444. diffneusim/models/cases/M290R-SRC/case.json +1 -0
  445. diffneusim/models/cases/M356C-SRC/case.bin +0 -0
  446. diffneusim/models/cases/M356C-SRC/case.json +1 -0
  447. diffneusim/models/cases/M356R-SRC/case.bin +0 -0
  448. diffneusim/models/cases/M356R-SRC/case.json +1 -0
  449. diffneusim/models/cases/M416C-SRC/case.bin +0 -0
  450. diffneusim/models/cases/M416C-SRC/case.json +1 -0
  451. diffneusim/models/derived/d16_expanded_62f77a4bb16b1e67_mmfloor.xml +673 -0
  452. diffneusim/models/derived/d16_expanded_a1e8b196b2cd7b3c_mmfloor.xml +673 -0
  453. diffneusim/models/derived/d16_soft_law_019e20820f8633b9_mmfloor.json +7844 -0
  454. diffneusim/models/derived/d16_soft_law_62f77a4bb16b1e67_mmfloor.json +16855 -0
  455. diffneusim/models/derived/d16_soft_law_77dbb7213f26e821_mmfloor_rampsb3l_n6t12.json +7883 -0
  456. diffneusim/models/derived/d16_soft_law_8989b60e44860c5b_mmfloor_rampsb3l_n6t12.json +7883 -0
  457. diffneusim/models/derived/d16_soft_law_8989b60e44860c5b_mmfloor_rhlsd05_n6t12.json +7868 -0
  458. diffneusim/models/derived/d16_soft_law_8989b60e44860c5b_mmfloor_rhlsdef_n6t12.json +7868 -0
  459. diffneusim/models/derived/d16_soft_law_8989b60e44860c5b_mmfloor_rhlsmjd_n6t12.json +7868 -0
  460. diffneusim/models/derived/d16_soft_law_a1e8b196b2cd7b3c_mmfloor_rampsb3l_n6t12.json +16894 -0
  461. diffneusim/models/derived/d16_soft_law_a944653edd642082_mmfloor.json +12655 -0
  462. diffneusim/models/derived/d16_soft_law_a944653edd642082_mmfloor_rampsb3l_n6t12.json +12700 -0
  463. diffneusim/models/derived/unitree_g1_soft_law.json +15580 -0
  464. diffneusim/models/fullbody_contact_spinecoupled_armless_ball_lspine_millard_stickspin_wrapvia_mtp60k25_trunkfix_toepair_n1_src.dnmodel +28913 -0
  465. diffneusim/models/fullbody_contact_spinecoupled_armless_ball_lspine_millard_stickspin_wrapvia_mtp60k25_trunkfix_toepair_n1_src_qk.txt +1 -0
  466. diffneusim/models/fullbody_contact_spinecoupled_armless_ball_lspine_millard_stickspin_wrapvia_mtp60k25_trunkfix_toepair_n1_src_rigid.dnmodel +29202 -0
  467. diffneusim/models/fullbody_contact_spinecoupled_armless_ball_lspine_millard_stickspin_wrapvia_mtp60k25_trunkfix_toepair_n1_src_rigid_qk.txt +1 -0
  468. diffneusim/models/fullbody_contact_spinecoupled_armless_ball_lspine_osimeq_stickspin_wrapvia_mtp60k25_trunkfix_calf2_pe_toepair_flsrc_axfixlegs01.dnmodel +1 -0
  469. diffneusim/models/fullbody_contact_spinecoupled_armless_ball_lspine_osimeq_stickspin_wrapvia_mtp60k25_trunkfix_calf2_pe_toepair_flsrc_n1.dnmodel +1 -0
  470. diffneusim/models/fullbody_contact_spinecoupled_armless_ball_lspine_osimeq_stickspin_wrapvia_mtp60k25_trunkfix_calf2_pe_toepair_flsrc_n1_qk.txt +1 -0
  471. diffneusim/models/fullbody_contact_spinecoupled_ball_lspine_girdle_millard_stickspin_wrapvia_mtp60k25_trunkfix_toepair_n1_src.dnmodel +46970 -0
  472. diffneusim/models/fullbody_contact_spinecoupled_ball_lspine_girdle_millard_stickspin_wrapvia_mtp60k25_trunkfix_toepair_n1_src_qk.txt +1 -0
  473. diffneusim/models/fullbody_contact_spinecoupled_ball_lspine_girdle_osimeq_stickspin_wrapvia_mtp60k25_trunkfix_calf2_pe_toepair_flsrc_n1.dnmodel +1 -0
  474. diffneusim/models/fullbody_contact_spinecoupled_ball_lspine_girdle_osimeq_stickspin_wrapvia_mtp60k25_trunkfix_calf2_pe_toepair_flsrc_n1_qk.txt +1 -0
  475. diffneusim/models/fullbody_contact_spinecoupled_fusedhand_ball_lspine_girdle_millard_stickspin_wrapvia_mtp60k25_trunkfix_toepair_n1_src.dnmodel +38570 -0
  476. diffneusim/models/fullbody_contact_spinecoupled_fusedhand_ball_lspine_girdle_millard_stickspin_wrapvia_mtp60k25_trunkfix_toepair_n1_src_qk.txt +1 -0
  477. diffneusim/models/fullbody_contact_spinecoupled_fusedhand_ball_lspine_girdle_millard_stickspin_wrapvia_mtp60k25_trunkfix_toepair_n1_src_rigid.dnmodel +38923 -0
  478. diffneusim/models/fullbody_contact_spinecoupled_fusedhand_ball_lspine_girdle_millard_stickspin_wrapvia_mtp60k25_trunkfix_toepair_n1_src_rigid_qk.txt +1 -0
  479. diffneusim/models/fullbody_contact_spinecoupled_fusedhand_ball_lspine_girdle_osimeq_stickspin_wrapvia_mtp60k25_trunkfix_calf2_pe_toepair_flsrc_n1.dnmodel +1 -0
  480. diffneusim/models/fullbody_contact_spinecoupled_fusedhand_ball_lspine_girdle_osimeq_stickspin_wrapvia_mtp60k25_trunkfix_calf2_pe_toepair_flsrc_n1_qk.txt +1 -0
  481. diffneusim/models/fullbody_meshes/1mc.stl +0 -0
  482. diffneusim/models/fullbody_meshes/2distph.stl +0 -0
  483. diffneusim/models/fullbody_meshes/2mc.stl +0 -0
  484. diffneusim/models/fullbody_meshes/2midph.stl +0 -0
  485. diffneusim/models/fullbody_meshes/2proxph.stl +0 -0
  486. diffneusim/models/fullbody_meshes/3distph.stl +0 -0
  487. diffneusim/models/fullbody_meshes/3mc.stl +0 -0
  488. diffneusim/models/fullbody_meshes/3midph.stl +0 -0
  489. diffneusim/models/fullbody_meshes/3proxph.stl +0 -0
  490. diffneusim/models/fullbody_meshes/4distph.stl +0 -0
  491. diffneusim/models/fullbody_meshes/4mc.stl +0 -0
  492. diffneusim/models/fullbody_meshes/4midph.stl +0 -0
  493. diffneusim/models/fullbody_meshes/4proxph.stl +0 -0
  494. diffneusim/models/fullbody_meshes/5distph.stl +0 -0
  495. diffneusim/models/fullbody_meshes/5mc.stl +0 -0
  496. diffneusim/models/fullbody_meshes/5midph.stl +0 -0
  497. diffneusim/models/fullbody_meshes/5proxph.stl +0 -0
  498. diffneusim/models/fullbody_meshes/NOTICE +2 -0
  499. diffneusim/models/fullbody_meshes/capitate.stl +0 -0
  500. diffneusim/models/fullbody_meshes/clavicle.stl +0 -0
  501. diffneusim/models/fullbody_meshes/hamate.stl +0 -0
  502. diffneusim/models/fullbody_meshes/hat_cervical.stl +0 -0
  503. diffneusim/models/fullbody_meshes/hat_jaw.stl +0 -0
  504. diffneusim/models/fullbody_meshes/hat_skull.stl +0 -0
  505. diffneusim/models/fullbody_meshes/humerus.stl +0 -0
  506. diffneusim/models/fullbody_meshes/l_bofoot.stl +0 -0
  507. diffneusim/models/fullbody_meshes/l_femur.stl +0 -0
  508. diffneusim/models/fullbody_meshes/l_fibula.stl +0 -0
  509. diffneusim/models/fullbody_meshes/l_foot.stl +0 -0
  510. diffneusim/models/fullbody_meshes/l_patella.stl +0 -0
  511. diffneusim/models/fullbody_meshes/l_pelvis.stl +0 -0
  512. diffneusim/models/fullbody_meshes/l_talus.stl +0 -0
  513. diffneusim/models/fullbody_meshes/l_tibia.stl +0 -0
  514. diffneusim/models/fullbody_meshes/lumbar1.stl +0 -0
  515. diffneusim/models/fullbody_meshes/lumbar2.stl +0 -0
  516. diffneusim/models/fullbody_meshes/lumbar3.stl +0 -0
  517. diffneusim/models/fullbody_meshes/lumbar4.stl +0 -0
  518. diffneusim/models/fullbody_meshes/lumbar5.stl +0 -0
  519. diffneusim/models/fullbody_meshes/lunate.stl +0 -0
  520. diffneusim/models/fullbody_meshes/pisiform.stl +0 -0
  521. diffneusim/models/fullbody_meshes/r_bofoot.stl +0 -0
  522. diffneusim/models/fullbody_meshes/r_femur.stl +0 -0
  523. diffneusim/models/fullbody_meshes/r_fibula.stl +0 -0
  524. diffneusim/models/fullbody_meshes/r_foot.stl +0 -0
  525. diffneusim/models/fullbody_meshes/r_patella.stl +0 -0
  526. diffneusim/models/fullbody_meshes/r_pelvis.stl +0 -0
  527. diffneusim/models/fullbody_meshes/r_talus.stl +0 -0
  528. diffneusim/models/fullbody_meshes/r_tibia.stl +0 -0
  529. diffneusim/models/fullbody_meshes/radius.stl +0 -0
  530. diffneusim/models/fullbody_meshes/sacrum.stl +0 -0
  531. diffneusim/models/fullbody_meshes/scaphoid.stl +0 -0
  532. diffneusim/models/fullbody_meshes/scapula.stl +0 -0
  533. diffneusim/models/fullbody_meshes/thoracic10_s.stl +0 -0
  534. diffneusim/models/fullbody_meshes/thoracic11_s.stl +0 -0
  535. diffneusim/models/fullbody_meshes/thoracic12_s.stl +0 -0
  536. diffneusim/models/fullbody_meshes/thoracic1_s.stl +0 -0
  537. diffneusim/models/fullbody_meshes/thoracic2_s.stl +0 -0
  538. diffneusim/models/fullbody_meshes/thoracic3_s.stl +0 -0
  539. diffneusim/models/fullbody_meshes/thoracic4_s.stl +0 -0
  540. diffneusim/models/fullbody_meshes/thoracic5_s.stl +0 -0
  541. diffneusim/models/fullbody_meshes/thoracic6_s.stl +0 -0
  542. diffneusim/models/fullbody_meshes/thoracic7_s.stl +0 -0
  543. diffneusim/models/fullbody_meshes/thoracic8_s.stl +0 -0
  544. diffneusim/models/fullbody_meshes/thoracic9_s.stl +0 -0
  545. diffneusim/models/fullbody_meshes/thorax.stl +0 -0
  546. diffneusim/models/fullbody_meshes/thumbdist.stl +0 -0
  547. diffneusim/models/fullbody_meshes/thumbprox.stl +0 -0
  548. diffneusim/models/fullbody_meshes/trapezium.stl +0 -0
  549. diffneusim/models/fullbody_meshes/trapezoid.stl +0 -0
  550. diffneusim/models/fullbody_meshes/triquetrum.stl +0 -0
  551. diffneusim/models/fullbody_meshes/ulna.stl +0 -0
  552. diffneusim/models/source/myo_fullbody/UPSTREAM.md +91 -0
  553. diffneusim/models/source/myoleg/UPSTREAM.md +52 -0
  554. diffneusim/models/source/unitree_g1/LICENSE.mjlab +202 -0
  555. diffneusim/models/source/unitree_g1/UPSTREAM.md +38 -0
  556. diffneusim/models/source/unitree_g1/assets/head_link.STL +0 -0
  557. diffneusim/models/source/unitree_g1/assets/left_ankle_pitch_link.STL +0 -0
  558. diffneusim/models/source/unitree_g1/assets/left_ankle_roll_link.STL +0 -0
  559. diffneusim/models/source/unitree_g1/assets/left_elbow_link.STL +0 -0
  560. diffneusim/models/source/unitree_g1/assets/left_hip_pitch_link.STL +0 -0
  561. diffneusim/models/source/unitree_g1/assets/left_hip_roll_link.STL +0 -0
  562. diffneusim/models/source/unitree_g1/assets/left_hip_yaw_link.STL +0 -0
  563. diffneusim/models/source/unitree_g1/assets/left_knee_link.STL +0 -0
  564. diffneusim/models/source/unitree_g1/assets/left_rubber_hand.STL +0 -0
  565. diffneusim/models/source/unitree_g1/assets/left_shoulder_pitch_link.STL +0 -0
  566. diffneusim/models/source/unitree_g1/assets/left_shoulder_roll_link.STL +0 -0
  567. diffneusim/models/source/unitree_g1/assets/left_shoulder_yaw_link.STL +0 -0
  568. diffneusim/models/source/unitree_g1/assets/left_wrist_pitch_link.STL +0 -0
  569. diffneusim/models/source/unitree_g1/assets/left_wrist_roll_link.STL +0 -0
  570. diffneusim/models/source/unitree_g1/assets/left_wrist_yaw_link.STL +0 -0
  571. diffneusim/models/source/unitree_g1/assets/logo_link.STL +0 -0
  572. diffneusim/models/source/unitree_g1/assets/pelvis.STL +0 -0
  573. diffneusim/models/source/unitree_g1/assets/pelvis_contour_link.STL +0 -0
  574. diffneusim/models/source/unitree_g1/assets/right_ankle_pitch_link.STL +0 -0
  575. diffneusim/models/source/unitree_g1/assets/right_ankle_roll_link.STL +0 -0
  576. diffneusim/models/source/unitree_g1/assets/right_elbow_link.STL +0 -0
  577. diffneusim/models/source/unitree_g1/assets/right_hip_pitch_link.STL +0 -0
  578. diffneusim/models/source/unitree_g1/assets/right_hip_roll_link.STL +0 -0
  579. diffneusim/models/source/unitree_g1/assets/right_hip_yaw_link.STL +0 -0
  580. diffneusim/models/source/unitree_g1/assets/right_knee_link.STL +0 -0
  581. diffneusim/models/source/unitree_g1/assets/right_rubber_hand.STL +0 -0
  582. diffneusim/models/source/unitree_g1/assets/right_shoulder_pitch_link.STL +0 -0
  583. diffneusim/models/source/unitree_g1/assets/right_shoulder_roll_link.STL +0 -0
  584. diffneusim/models/source/unitree_g1/assets/right_shoulder_yaw_link.STL +0 -0
  585. diffneusim/models/source/unitree_g1/assets/right_wrist_pitch_link.STL +0 -0
  586. diffneusim/models/source/unitree_g1/assets/right_wrist_roll_link.STL +0 -0
  587. diffneusim/models/source/unitree_g1/assets/right_wrist_yaw_link.STL +0 -0
  588. diffneusim/models/source/unitree_g1/assets/torso_link_rev_1_0.STL +0 -0
  589. diffneusim/models/source/unitree_g1/assets/waist_roll_link_rev_1_0.STL +0 -0
  590. diffneusim/models/source/unitree_g1/assets/waist_yaw_link_rev_1_0.STL +0 -0
  591. diffneusim/models/source/unitree_g1/dump_mjlab_reference.py +30 -0
  592. diffneusim/models/source/unitree_g1/g1.xml +308 -0
  593. diffneusim/models/source/unitree_g1/g1_constants.py +298 -0
  594. diffneusim/models/source/unitree_g1/mjlab_compiled_reference.json +857 -0
  595. diffneusim/models/unitree_g1.dnmodel +4393 -0
  596. diffneusim/models/unitree_g1_selfcol.dnmodel +20824 -0
  597. diffneusim/rl/__init__.py +2 -0
  598. diffneusim/rl/dynsyn_layer.py +146 -0
  599. diffneusim/rl/footstep_plan.py +337 -0
  600. diffneusim/rl/g1_bm_env.py +572 -0
  601. diffneusim/rl/g1_bm_eval.py +168 -0
  602. diffneusim/rl/g1_bm_fused.py +275 -0
  603. diffneusim/rl/g1_bm_ppo.py +622 -0
  604. diffneusim/rl/g1_bm_sapo.py +551 -0
  605. diffneusim/rl/g1_ppo.py +395 -0
  606. diffneusim/rl/g1_sapo_soft.py +240 -0
  607. diffneusim/rl/g1_soft_env.py +452 -0
  608. diffneusim/rl/g1_soft_grad.py +145 -0
  609. diffneusim/rl/geyer_curves_torch.py +108 -0
  610. diffneusim/rl/gpu_fullbody_vec_env.py +1241 -0
  611. diffneusim/rl/imitation.py +2027 -0
  612. diffneusim/rl/imitation_reward_v2.py +248 -0
  613. diffneusim/rl/imitation_reward_v3.py +349 -0
  614. diffneusim/rl/latent_task.py +175 -0
  615. diffneusim/rl/llc_reward.py +316 -0
  616. diffneusim/rl/millard_curves_torch.py +154 -0
  617. diffneusim/rl/mirror_symmetry.py +212 -0
  618. diffneusim/rl/model_path.py +35 -0
  619. diffneusim/rl/mvae_recon.py +123 -0
  620. diffneusim/rl/nets_shac.py +599 -0
  621. diffneusim/rl/reset_pool.py +154 -0
  622. diffneusim/rl/sapo_capture.py +873 -0
  623. diffneusim/rl/sapo_vec.py +1051 -0
  624. diffneusim/rl/shac_vec.py +346 -0
  625. diffneusim/rl/state_prior.py +151 -0
  626. diffneusim/rl/step_library.py +105 -0
  627. diffneusim/rl/task_walk_env.py +1793 -0
  628. diffneusim/rl/task_walk_reward.py +3300 -0
  629. diffneusim/run.py +23 -0
  630. diffneusim/run_env.py +46 -0
  631. diffneusim/tasks/__init__.py +147 -0
  632. diffneusim/tasks/legacy_names.py +63 -0
  633. diffneusim/tasks/paths.py +79 -0
  634. diffneusim/tasks/settings.py +202 -0
  635. diffneusim/third_party/instantmimic_947430ee/LICENSE +202 -0
  636. diffneusim/third_party/instantmimic_947430ee/NOTICE +19 -0
  637. diffneusim/third_party/instantmimic_947430ee/README.md +31 -0
  638. diffneusim/third_party/instantmimic_947430ee/instantmimic/envs/unitree_g1/tasks/beyondmimic_tracking/benchmark_protocol.py +106 -0
  639. diffneusim/third_party/instantmimic_947430ee/instantmimic/envs/unitree_g1/tasks/beyondmimic_tracking/metrics.py +214 -0
  640. diffneusim/third_party/instantmimic_947430ee/instantmimic/envs/unitree_g1/tasks/beyondmimic_tracking/reference.py +513 -0
  641. diffneusim/third_party/instantmimic_947430ee/instantmimic/motion/quaternion.py +193 -0
  642. diffneusim/train/__init__.py +0 -0
  643. diffneusim/train/eval_ckpt.py +239 -0
  644. diffneusim/train/eval_mimic.py +133 -0
  645. diffneusim/train/gait_report.py +203 -0
  646. diffneusim/train/gcot_chain.py +51 -0
  647. diffneusim/train/levers.py +135 -0
  648. diffneusim/train/masked_reset.py +314 -0
  649. diffneusim/train/rl_algorithm_suite.py +917 -0
  650. diffneusim/train/train14.py +240 -0
  651. diffneusim/train/train_tw14.py +674 -0
  652. diffneusim/viz/__init__.py +5 -0
  653. diffneusim/viz/__main__.py +41 -0
  654. diffneusim/viz/camera.py +115 -0
  655. diffneusim/viz/dnrec.py +118 -0
  656. diffneusim/viz/dnrec_io.py +686 -0
  657. diffneusim/viz/hud.py +565 -0
  658. diffneusim/viz/meshes.py +458 -0
  659. diffneusim/viz/play.py +237 -0
  660. diffneusim/viz/record.py +74 -0
  661. diffneusim/viz/render.py +1402 -0
  662. diffneusim/viz/renderer.py +268 -0
  663. diffneusim/viz/rl_env_render.py +635 -0
  664. diffneusim/viz/snapshot.py +54 -0
  665. diffneusim/viz/strobe.py +124 -0
  666. diffneusim/viz/to_mp4.py +58 -0
  667. diffneusim/viz/ui.py +481 -0
  668. diffneusim/viz/viewer.py +2086 -0
  669. diffneusim-1.0.0.dist-info/METADATA +226 -0
  670. diffneusim-1.0.0.dist-info/RECORD +682 -0
  671. diffneusim-1.0.0.dist-info/WHEEL +5 -0
  672. diffneusim-1.0.0.dist-info/licenses/LICENSE +201 -0
  673. diffneusim-1.0.0.dist-info/licenses/LICENSES/BSD-3-Clause-NC-ARMS-hand-wrist-4.3.txt +20 -0
  674. diffneusim-1.0.0.dist-info/licenses/LICENSES/BSD-3-Clause-NC-MoBL-ARMS.txt +25 -0
  675. diffneusim-1.0.0.dist-info/licenses/LICENSES/CC-BY-3.0-OpenSim-geometry.txt +25 -0
  676. diffneusim-1.0.0.dist-info/licenses/LICENSES/MIT-Christophy2012-lumbarspine.txt +10 -0
  677. diffneusim-1.0.0.dist-info/licenses/LICENSES/MIT-Lai2017-model-high-flex.txt +10 -0
  678. diffneusim-1.0.0.dist-info/licenses/LICENSES/MIT-Lee2015-hand_muscle.txt +11 -0
  679. diffneusim-1.0.0.dist-info/licenses/LICENSES/MIT-Rajagopal2016-full_body.txt +11 -0
  680. diffneusim-1.0.0.dist-info/licenses/LICENSES/MIT-Uhlrich2022-fbmodpassivecal.txt +10 -0
  681. diffneusim-1.0.0.dist-info/licenses/NOTICE +274 -0
  682. diffneusim-1.0.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,28 @@
1
+ #pragma once
2
+ // Generated by tools/d16_bodies/gen_body.py from x14_soft_77dbb7213f26_mmfloor_rampsb3l_n6t12.cuh and the case with case.bin md5 fc1cd9c8. Do not edit.
3
+ // model: fullbody_contact_spinecoupled_armless_ball_lspine_millard_stickspin_wrapvia_mtp60k25_trunkfix_toepair_n1_src_rigid.dnmodel
4
+ #ifndef D16_NV_LE32
5
+ #define D16_NV_LE32
6
+ #endif
7
+ #include "soft/gpu/generated/x14_soft_77dbb7213f26_mmfloor_rampsb3l_n6t12.cuh"
8
+ #define D16_X14_NS d16::x14_soft_77dbb7213f26_mmfloor_rampsb3l_n6t12
9
+ #define D16_BODY_NQ 26
10
+ #define D16_BODY_NV 23
11
+ #define D16_BODY_NM 290
12
+ #define D16_BODY_NS 8
13
+ #define D16_BODY_MKD 4
14
+ #define D16_BODY_NSLOT 68
15
+ #define D16_BODY_NPOSE 30
16
+ #define D16_BODY_NBALL 2
17
+ #define D16_BODY_BQ0 10
18
+ #define D16_BODY_BQ1 18
19
+ #define D16_BODY_BD0 9
20
+ #define D16_BODY_BD1 16
21
+ #define D16_BODY_NPR 112
22
+ #define D16_BODY_NTRI 276
23
+ #define D16_BODY_NTRI4 276
24
+ #define D16_BODY_TAPE_WORDS 992
25
+ #define D16_BODY_TAPE_LH 160
26
+ #define D16_BODY_TAPE_POSE 448
27
+ #define D16_BODY_TAPE_MUS 672
28
+ #define D16_BODY_CTL_WORDS 608
@@ -0,0 +1,28 @@
1
+ #pragma once
2
+ // Generated by tools/d16_bodies/gen_body.py from x14_soft_8989b60e4486_mmfloor_rampsb3l_n6t12.cuh and the case with case.bin md5 e6a318a0. Do not edit.
3
+ // model: fullbody_contact_spinecoupled_armless_ball_lspine_millard_stickspin_wrapvia_mtp60k25_trunkfix_toepair_n1_src.dnmodel
4
+ #ifndef D16_NV_LE32
5
+ #define D16_NV_LE32
6
+ #endif
7
+ #include "soft/gpu/generated/x14_soft_8989b60e4486_mmfloor_rampsb3l_n6t12.cuh"
8
+ #define D16_X14_NS d16::x14_soft_8989b60e4486_mmfloor_rampsb3l_n6t12
9
+ #define D16_BODY_NQ 26
10
+ #define D16_BODY_NV 23
11
+ #define D16_BODY_NM 290
12
+ #define D16_BODY_NS 8
13
+ #define D16_BODY_MKD 4
14
+ #define D16_BODY_NSLOT 68
15
+ #define D16_BODY_NPOSE 30
16
+ #define D16_BODY_NBALL 2
17
+ #define D16_BODY_BQ0 10
18
+ #define D16_BODY_BQ1 18
19
+ #define D16_BODY_BD0 9
20
+ #define D16_BODY_BD1 16
21
+ #define D16_BODY_NPR 112
22
+ #define D16_BODY_NTRI 276
23
+ #define D16_BODY_NTRI4 276
24
+ #define D16_BODY_TAPE_WORDS 992
25
+ #define D16_BODY_TAPE_LH 160
26
+ #define D16_BODY_TAPE_POSE 448
27
+ #define D16_BODY_TAPE_MUS 672
28
+ #define D16_BODY_CTL_WORDS 608
@@ -0,0 +1,28 @@
1
+ #pragma once
2
+ // Generated by tools/d16_bodies/gen_body.py from x14_soft_8989b60e4486_mmfloor_rhlsd05_n6t12.cuh and the case with case.bin md5 e6a318a0. Do not edit.
3
+ // model: fullbody_contact_spinecoupled_armless_ball_lspine_millard_stickspin_wrapvia_mtp60k25_trunkfix_toepair_n1_src.dnmodel
4
+ #ifndef D16_NV_LE32
5
+ #define D16_NV_LE32
6
+ #endif
7
+ #include "soft/gpu/generated/x14_soft_8989b60e4486_mmfloor_rhlsd05_n6t12.cuh"
8
+ #define D16_X14_NS d16::x14_soft_8989b60e4486_mmfloor_rhlsd05_n6t12
9
+ #define D16_BODY_NQ 26
10
+ #define D16_BODY_NV 23
11
+ #define D16_BODY_NM 290
12
+ #define D16_BODY_NS 8
13
+ #define D16_BODY_MKD 4
14
+ #define D16_BODY_NSLOT 68
15
+ #define D16_BODY_NPOSE 30
16
+ #define D16_BODY_NBALL 2
17
+ #define D16_BODY_BQ0 10
18
+ #define D16_BODY_BQ1 18
19
+ #define D16_BODY_BD0 9
20
+ #define D16_BODY_BD1 16
21
+ #define D16_BODY_NPR 112
22
+ #define D16_BODY_NTRI 276
23
+ #define D16_BODY_NTRI4 276
24
+ #define D16_BODY_TAPE_WORDS 992
25
+ #define D16_BODY_TAPE_LH 160
26
+ #define D16_BODY_TAPE_POSE 448
27
+ #define D16_BODY_TAPE_MUS 672
28
+ #define D16_BODY_CTL_WORDS 608
@@ -0,0 +1,28 @@
1
+ #pragma once
2
+ // Generated by tools/d16_bodies/gen_body.py from x14_soft_8989b60e4486_mmfloor_rhlsdef_n6t12.cuh and the case with case.bin md5 e6a318a0. Do not edit.
3
+ // model: fullbody_contact_spinecoupled_armless_ball_lspine_millard_stickspin_wrapvia_mtp60k25_trunkfix_toepair_n1_src.dnmodel
4
+ #ifndef D16_NV_LE32
5
+ #define D16_NV_LE32
6
+ #endif
7
+ #include "soft/gpu/generated/x14_soft_8989b60e4486_mmfloor_rhlsdef_n6t12.cuh"
8
+ #define D16_X14_NS d16::x14_soft_8989b60e4486_mmfloor_rhlsdef_n6t12
9
+ #define D16_BODY_NQ 26
10
+ #define D16_BODY_NV 23
11
+ #define D16_BODY_NM 290
12
+ #define D16_BODY_NS 8
13
+ #define D16_BODY_MKD 4
14
+ #define D16_BODY_NSLOT 68
15
+ #define D16_BODY_NPOSE 30
16
+ #define D16_BODY_NBALL 2
17
+ #define D16_BODY_BQ0 10
18
+ #define D16_BODY_BQ1 18
19
+ #define D16_BODY_BD0 9
20
+ #define D16_BODY_BD1 16
21
+ #define D16_BODY_NPR 112
22
+ #define D16_BODY_NTRI 276
23
+ #define D16_BODY_NTRI4 276
24
+ #define D16_BODY_TAPE_WORDS 992
25
+ #define D16_BODY_TAPE_LH 160
26
+ #define D16_BODY_TAPE_POSE 448
27
+ #define D16_BODY_TAPE_MUS 672
28
+ #define D16_BODY_CTL_WORDS 608
@@ -0,0 +1,28 @@
1
+ #pragma once
2
+ // Generated by tools/d16_bodies/gen_body.py from x14_soft_8989b60e4486_mmfloor_rhlsmjd_n6t12.cuh and the case with case.bin md5 e6a318a0. Do not edit.
3
+ // model: fullbody_contact_spinecoupled_armless_ball_lspine_millard_stickspin_wrapvia_mtp60k25_trunkfix_toepair_n1_src.dnmodel
4
+ #ifndef D16_NV_LE32
5
+ #define D16_NV_LE32
6
+ #endif
7
+ #include "soft/gpu/generated/x14_soft_8989b60e4486_mmfloor_rhlsmjd_n6t12.cuh"
8
+ #define D16_X14_NS d16::x14_soft_8989b60e4486_mmfloor_rhlsmjd_n6t12
9
+ #define D16_BODY_NQ 26
10
+ #define D16_BODY_NV 23
11
+ #define D16_BODY_NM 290
12
+ #define D16_BODY_NS 8
13
+ #define D16_BODY_MKD 4
14
+ #define D16_BODY_NSLOT 68
15
+ #define D16_BODY_NPOSE 30
16
+ #define D16_BODY_NBALL 2
17
+ #define D16_BODY_BQ0 10
18
+ #define D16_BODY_BQ1 18
19
+ #define D16_BODY_BD0 9
20
+ #define D16_BODY_BD1 16
21
+ #define D16_BODY_NPR 112
22
+ #define D16_BODY_NTRI 276
23
+ #define D16_BODY_NTRI4 276
24
+ #define D16_BODY_TAPE_WORDS 992
25
+ #define D16_BODY_TAPE_LH 160
26
+ #define D16_BODY_TAPE_POSE 448
27
+ #define D16_BODY_TAPE_MUS 672
28
+ #define D16_BODY_CTL_WORDS 608
@@ -0,0 +1,52 @@
1
+ #pragma once
2
+ // Generated by tools/d16_bodies/gen_body.py from x14_soft_a1e8b196b2cd_mmfloor_rampsb3l_n6t12.cuh and the case with case.bin md5 32380ea1. Do not edit.
3
+ // model: fullbody_contact_spinecoupled_ball_lspine_girdle_millard_stickspin_wrapvia_mtp60k25_trunkfix_toepair_n1_src.dnmodel
4
+ #include "soft/gpu/generated/x14_soft_a1e8b196b2cd_mmfloor_rampsb3l_n6t12.cuh"
5
+ #define D16_X14_NS d16::x14_soft_a1e8b196b2cd_mmfloor_rampsb3l_n6t12
6
+ #define D16_BODY_NQ 80
7
+ #define D16_BODY_NV 77
8
+ #define D16_BODY_NM 416
9
+ #define D16_BODY_NS 12
10
+ #define D16_BODY_MKD 8
11
+ #define D16_BODY_NSLOT 264
12
+ #define D16_BODY_NPOSE 106
13
+ #define D16_BODY_NBALL 2
14
+ #define D16_BODY_BQ0 64
15
+ #define D16_BODY_BQ1 72
16
+ #define D16_BODY_BD0 63
17
+ #define D16_BODY_BD1 70
18
+ #define D16_BODY_NPR 155
19
+ #define D16_BODY_NTRI 3003
20
+ #define D16_BODY_NTRI4 3004
21
+ #define D16_BODY_TAPE_WORDS 3040
22
+ #define D16_BODY_TAPE_LH 384
23
+ #define D16_BODY_TAPE_POSE 1856
24
+ #define D16_BODY_TAPE_MUS 2624
25
+ #define D16_BODY_CTL_WORDS 832
26
+ #if defined(D16_KMUS_INCLUDED)
27
+ #error "this body header comes before k_mus.cuh (its body macros select k_mus.cuh's code)"
28
+ #endif
29
+ #define D16_BODY_ROW_CF 1
30
+ #if !defined(D16_NV_GT64)
31
+ #error "a muscle-split body is a phase B body: build it with -DD16_NV_GT64"
32
+ #endif
33
+ #define D16_BODY_MUS_SPLIT 1
34
+ #define D16_BODY_MC_FILL 1
35
+ #define D16_BODY_MUS_W2 1
36
+ #define D16_BODY_MC0_NM 384
37
+ #define D16_BODY_MC0_NS 10
38
+ #define D16_BODY_MC0_KD 6
39
+ #define D16_BODY_MC0_NSLOT 204
40
+ #define D16_BODY_MC1_NM 32
41
+ #define D16_BODY_MC1_NS 12
42
+ #define D16_BODY_MC1_KD 8
43
+ #define D16_BODY_MC1_NSLOT 88
44
+ #if !defined(D16_NV_GT64)
45
+ #error "the fused level sweep is a phase B body's UP: build it with -DD16_NV_GT64"
46
+ #endif
47
+ #define D16_BODY_UP_SWEEP 1
48
+ namespace d16::x14_soft_a1e8b196b2cd_mmfloor_rampsb3l_n6t12 {
49
+ // U2 (up/PREREG_U2.md): body b's children in body order, 4 signed bytes to a word, -1 bytes past the last (scan14.h's t14_dj reads them)
50
+ constexpr int kKidB14[106][2] = {{-1, -1}, {-10133502, -1}, {-253, -1}, {-252, -1}, {-63483, -1}, {-250, -1}, {-249, -1}, {-1, -1}, {-247, -1}, {-246, -1}, {-245, -1}, {-244, -1}, {-243, -1}, {-242, -1}, {-241, -1}, {-240, -1}, {-239, -1}, {-238, -1}, {-237, -1}, {-50668, -1}, {-235, -1}, {-234, -1}, {-233, -1}, {-232, -1}, {-231, -1}, {-230, -1}, {-229, -1}, {-228, -1}, {-227, -1}, {-226, -1}, {-225, -1}, {-224, -1}, {-223, -1}, {-222, -1}, {-221, -1}, {-220, -1}, {-219, -1}, {841886246, -202}, {-217, -1}, {-216, -1}, {-215, -1}, {-1, -1}, {-213, -1}, {-212, -1}, {-211, -1}, {-1, -1}, {-209, -1}, {-208, -1}, {-207, -1}, {-1, -1}, {-205, -1}, {-204, -1}, {-203, -1}, {-1, -1}, {-201, -1}, {-200, -1}, {-199, -1}, {-1, -1}, {-197, -1}, {-196, -1}, {-195, -1}, {-194, -1}, {-193, -1}, {-192, -1}, {-191, -1}, {-190, -1}, {-189, -1}, {-188, -1}, {-187, -1}, {-186, -1}, {-185, -1}, {-184, -1}, {-183, -1}, {-182, -1}, {-181, -1}, {1481920588, -164}, {-179, -1}, {-178, -1}, {-177, -1}, {-1, -1}, {-175, -1}, {-174, -1}, {-173, -1}, {-1, -1}, {-171, -1}, {-170, -1}, {-169, -1}, {-1, -1}, {-167, -1}, {-166, -1}, {-165, -1}, {-1, -1}, {-163, -1}, {-162, -1}, {-161, -1}, {-1, -1}, {-159, -1}, {-158, -1}, {-157, -1}, {-156, -1}, {-1, -1}, {-154, -1}, {-153, -1}, {-152, -1}, {-151, -1}, {-1, -1}};
51
+ __device__ const int gKidB14[106][2] = {{-1, -1}, {-10133502, -1}, {-253, -1}, {-252, -1}, {-63483, -1}, {-250, -1}, {-249, -1}, {-1, -1}, {-247, -1}, {-246, -1}, {-245, -1}, {-244, -1}, {-243, -1}, {-242, -1}, {-241, -1}, {-240, -1}, {-239, -1}, {-238, -1}, {-237, -1}, {-50668, -1}, {-235, -1}, {-234, -1}, {-233, -1}, {-232, -1}, {-231, -1}, {-230, -1}, {-229, -1}, {-228, -1}, {-227, -1}, {-226, -1}, {-225, -1}, {-224, -1}, {-223, -1}, {-222, -1}, {-221, -1}, {-220, -1}, {-219, -1}, {841886246, -202}, {-217, -1}, {-216, -1}, {-215, -1}, {-1, -1}, {-213, -1}, {-212, -1}, {-211, -1}, {-1, -1}, {-209, -1}, {-208, -1}, {-207, -1}, {-1, -1}, {-205, -1}, {-204, -1}, {-203, -1}, {-1, -1}, {-201, -1}, {-200, -1}, {-199, -1}, {-1, -1}, {-197, -1}, {-196, -1}, {-195, -1}, {-194, -1}, {-193, -1}, {-192, -1}, {-191, -1}, {-190, -1}, {-189, -1}, {-188, -1}, {-187, -1}, {-186, -1}, {-185, -1}, {-184, -1}, {-183, -1}, {-182, -1}, {-181, -1}, {1481920588, -164}, {-179, -1}, {-178, -1}, {-177, -1}, {-1, -1}, {-175, -1}, {-174, -1}, {-173, -1}, {-1, -1}, {-171, -1}, {-170, -1}, {-169, -1}, {-1, -1}, {-167, -1}, {-166, -1}, {-165, -1}, {-1, -1}, {-163, -1}, {-162, -1}, {-161, -1}, {-1, -1}, {-159, -1}, {-158, -1}, {-157, -1}, {-156, -1}, {-1, -1}, {-154, -1}, {-153, -1}, {-152, -1}, {-151, -1}, {-1, -1}};
52
+ }
@@ -0,0 +1,25 @@
1
+ #pragma once
2
+ // Generated by tools/d16_bodies/gen_body.py from x14_soft_a944653edd64_mmfloor.cuh and the case with case.bin md5 9d49a6f6. Do not edit.
3
+ // model: fullbody_contact_spinecoupled_fusedhand_ball_lspine_girdle_osimeq_stickspin_wrapvia_mtp60k25_trunkfix_calf2_pe_toepair_flsrc_n1.dnmodel
4
+ #include "soft/gpu/generated/x14_soft_a944653edd64_mmfloor.cuh"
5
+ #define D16_X14_NS d16::x14_soft_a944653edd64_mmfloor
6
+ #define D16_BODY_NQ 40
7
+ #define D16_BODY_NV 37
8
+ #define D16_BODY_NM 356
9
+ #define D16_BODY_NS 10
10
+ #define D16_BODY_MKD 6
11
+ #define D16_BODY_NSLOT 152
12
+ #define D16_BODY_NPOSE 66
13
+ #define D16_BODY_NBALL 2
14
+ #define D16_BODY_BQ0 24
15
+ #define D16_BODY_BQ1 32
16
+ #define D16_BODY_BD0 23
17
+ #define D16_BODY_BD1 30
18
+ #define D16_BODY_NPR 155
19
+ #define D16_BODY_NTRI 703
20
+ #define D16_BODY_NTRI4 704
21
+ #define D16_BODY_TAPE_WORDS 1792
22
+ #define D16_BODY_TAPE_LH 224
23
+ #define D16_BODY_TAPE_POSE 928
24
+ #define D16_BODY_TAPE_MUS 1408
25
+ #define D16_BODY_CTL_WORDS 736
@@ -0,0 +1,25 @@
1
+ #pragma once
2
+ // Generated by tools/d16_bodies/gen_body.py from x14_soft_a944653edd64_mmfloor_rampsb3l_n6t12.cuh and the case with case.bin md5 9d49a6f6. Do not edit.
3
+ // model: fullbody_contact_spinecoupled_fusedhand_ball_lspine_girdle_osimeq_stickspin_wrapvia_mtp60k25_trunkfix_calf2_pe_toepair_flsrc_n1.dnmodel
4
+ #include "soft/gpu/generated/x14_soft_a944653edd64_mmfloor_rampsb3l_n6t12.cuh"
5
+ #define D16_X14_NS d16::x14_soft_a944653edd64_mmfloor_rampsb3l_n6t12
6
+ #define D16_BODY_NQ 40
7
+ #define D16_BODY_NV 37
8
+ #define D16_BODY_NM 356
9
+ #define D16_BODY_NS 10
10
+ #define D16_BODY_MKD 6
11
+ #define D16_BODY_NSLOT 152
12
+ #define D16_BODY_NPOSE 66
13
+ #define D16_BODY_NBALL 2
14
+ #define D16_BODY_BQ0 24
15
+ #define D16_BODY_BQ1 32
16
+ #define D16_BODY_BD0 23
17
+ #define D16_BODY_BD1 30
18
+ #define D16_BODY_NPR 155
19
+ #define D16_BODY_NTRI 703
20
+ #define D16_BODY_NTRI4 704
21
+ #define D16_BODY_TAPE_WORDS 1792
22
+ #define D16_BODY_TAPE_LH 224
23
+ #define D16_BODY_TAPE_POSE 928
24
+ #define D16_BODY_TAPE_MUS 1408
25
+ #define D16_BODY_CTL_WORDS 736
@@ -0,0 +1,74 @@
1
+ #pragma once
2
+ // GENERATED by tools/d16/l1_gen.py from unitree_g1_soft_law.json (sha256 5db44fd45286a9077fcf5830253325488cb7ca844bc5ad10108bfbf4b22989b3). Do not edit.
3
+ // D16 L1 kernel P's model header: structure as constexpr, values as one float array (uploaded to global memory).
4
+ #define D16_MODEL_NAME "g1_soft_5db44fd45286"
5
+ namespace d16 {
6
+ namespace g1_soft_5db44fd45286 {
7
+ constexpr int NB = 32, NQ = 36, NV = 35, NU = 29, MAXD = 11, ROOT = 2, MAXA = 16, ROOT_DADR = 0;
8
+ constexpr int NTRI = NV * (NV + 1) / 2;
9
+ constexpr int kParent[32] = {0, 0, 0, 2, 3, 4, 5, 6, 7, 2, 9, 10, 11, 12, 13, 2, 15, 16, 17, 18, 19, 20, 21, 22, 23, 17, 25, 26, 27, 28, 29, 30};
10
+ __device__ const int dParent[32] = {0, 0, 0, 2, 3, 4, 5, 6, 7, 2, 9, 10, 11, 12, 13, 2, 15, 16, 17, 18, 19, 20, 21, 22, 23, 17, 25, 26, 27, 28, 29, 30};
11
+ constexpr int kDepth[32] = {0, 1, 1, 2, 3, 4, 5, 6, 7, 2, 3, 4, 5, 6, 7, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 5, 6, 7, 8, 9, 10, 11};
12
+ __device__ const int dDepth[32] = {0, 1, 1, 2, 3, 4, 5, 6, 7, 2, 3, 4, 5, 6, 7, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 5, 6, 7, 8, 9, 10, 11};
13
+ constexpr int kJtype[32] = {-1, -1, 0, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3};
14
+ __device__ const int dJtype[32] = {-1, -1, 0, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3};
15
+ constexpr int kQadr[32] = {-1, -1, 0, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35};
16
+ __device__ const int dQadr[32] = {-1, -1, 0, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35};
17
+ constexpr int kDadr[32] = {-1, -1, 0, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34};
18
+ __device__ const int dDadr[32] = {-1, -1, 0, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34};
19
+ constexpr int kLevel[32] = {0, 1, 2, 3, 9, 15, 4, 10, 16, 5, 11, 17, 6, 12, 18, 25, 7, 13, 19, 26, 8, 14, 20, 27, 21, 28, 22, 29, 23, 30, 24, 31};
20
+ __device__ const int dLevel[32] = {0, 1, 2, 3, 9, 15, 4, 10, 16, 5, 11, 17, 6, 12, 18, 25, 7, 13, 19, 26, 8, 14, 20, 27, 21, 28, 22, 29, 23, 30, 24, 31};
21
+ constexpr int kLevelOff[13] = {0, 1, 3, 6, 9, 12, 16, 20, 24, 26, 28, 30, 32};
22
+ __device__ const int dLevelOff[13] = {0, 1, 3, 6, 9, 12, 16, 20, 24, 26, 28, 30, 32};
23
+ constexpr int kNChild[32] = {2, 0, 3, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 2, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0};
24
+ __device__ const int dNChild[32] = {2, 0, 3, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 2, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0};
25
+ constexpr int kChild[96] = {1, 2, -1, -1, -1, -1, 3, 9, 15, 4, -1, -1, 5, -1, -1, 6, -1, -1, 7, -1, -1, 8, -1, -1, -1, -1, -1, 10, -1, -1, 11, -1, -1, 12, -1, -1, 13, -1, -1, 14, -1, -1, -1, -1, -1, 16, -1, -1, 17, -1, -1, 18, 25, -1, 19, -1, -1, 20, -1, -1, 21, -1, -1, 22, -1, -1, 23, -1, -1, 24, -1, -1, -1, -1, -1, 26, -1, -1, 27, -1, -1, 28, -1, -1, 29, -1, -1, 30, -1, -1, 31, -1, -1, -1, -1, -1};
26
+ __device__ const int dChild[96] = {1, 2, -1, -1, -1, -1, 3, 9, 15, 4, -1, -1, 5, -1, -1, 6, -1, -1, 7, -1, -1, 8, -1, -1, -1, -1, -1, 10, -1, -1, 11, -1, -1, 12, -1, -1, 13, -1, -1, 14, -1, -1, -1, -1, -1, 16, -1, -1, 17, -1, -1, 18, 25, -1, 19, -1, -1, 20, -1, -1, 21, -1, -1, 22, -1, -1, 23, -1, -1, 24, -1, -1, -1, -1, -1, 26, -1, -1, 27, -1, -1, 28, -1, -1, 29, -1, -1, 30, -1, -1, 31, -1, -1, -1, -1, -1};
27
+ constexpr int kDofBody[35] = {2, 2, 2, 2, 2, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31};
28
+ __device__ const int dDofBody[35] = {2, 2, 2, 2, 2, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31};
29
+ constexpr int kNAnc[35] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 7, 8, 9, 10, 11, 12, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 10, 11, 12, 13, 14, 15, 16};
30
+ __device__ const int dNAnc[35] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 7, 8, 9, 10, 11, 12, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 10, 11, 12, 13, 14, 15, 16};
31
+ constexpr int kAnc[560] = {0, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 2, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 6, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 6, 7, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, -1, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 12, 13, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 12, 13, 14, -1, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 12, 13, 14, 15, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 12, 13, 14, 15, 16, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 12, 13, 14, 15, 16, 17, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 18, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 18, 19, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 18, 19, 20, -1, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 18, 19, 20, 21, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 18, 19, 20, 21, 22, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 18, 19, 20, 21, 22, 23, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 18, 19, 20, 21, 22, 23, 24, -1, -1, -1, 0, 1, 2, 3, 4, 5, 18, 19, 20, 21, 22, 23, 24, 25, -1, -1, 0, 1, 2, 3, 4, 5, 18, 19, 20, 21, 22, 23, 24, 25, 26, -1, 0, 1, 2, 3, 4, 5, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 0, 1, 2, 3, 4, 5, 18, 19, 20, 28, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 18, 19, 20, 28, 29, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 18, 19, 20, 28, 29, 30, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 18, 19, 20, 28, 29, 30, 31, -1, -1, -1, 0, 1, 2, 3, 4, 5, 18, 19, 20, 28, 29, 30, 31, 32, -1, -1, 0, 1, 2, 3, 4, 5, 18, 19, 20, 28, 29, 30, 31, 32, 33, -1, 0, 1, 2, 3, 4, 5, 18, 19, 20, 28, 29, 30, 31, 32, 33, 34};
32
+ __device__ const int dAnc[560] = {0, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 2, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 6, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 6, 7, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, -1, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 12, 13, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 12, 13, 14, -1, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 12, 13, 14, 15, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 12, 13, 14, 15, 16, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 12, 13, 14, 15, 16, 17, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 18, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 18, 19, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 18, 19, 20, -1, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 18, 19, 20, 21, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 18, 19, 20, 21, 22, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 18, 19, 20, 21, 22, 23, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 18, 19, 20, 21, 22, 23, 24, -1, -1, -1, 0, 1, 2, 3, 4, 5, 18, 19, 20, 21, 22, 23, 24, 25, -1, -1, 0, 1, 2, 3, 4, 5, 18, 19, 20, 21, 22, 23, 24, 25, 26, -1, 0, 1, 2, 3, 4, 5, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 0, 1, 2, 3, 4, 5, 18, 19, 20, 28, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 18, 19, 20, 28, 29, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 18, 19, 20, 28, 29, 30, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 18, 19, 20, 28, 29, 30, 31, -1, -1, -1, 0, 1, 2, 3, 4, 5, 18, 19, 20, 28, 29, 30, 31, 32, -1, -1, 0, 1, 2, 3, 4, 5, 18, 19, 20, 28, 29, 30, 31, 32, 33, -1, 0, 1, 2, 3, 4, 5, 18, 19, 20, 28, 29, 30, 31, 32, 33, 34};
33
+ constexpr int kActDof[29] = {21, 22, 23, 24, 25, 28, 29, 30, 31, 32, 6, 8, 12, 14, 18, 7, 9, 13, 15, 26, 27, 33, 34, 19, 20, 10, 11, 16, 17};
34
+ __device__ const int dActDof[29] = {21, 22, 23, 24, 25, 28, 29, 30, 31, 32, 6, 8, 12, 14, 18, 7, 9, 13, 15, 26, 27, 33, 34, 19, 20, 10, 11, 16, 17};
35
+ constexpr unsigned long long kAncMask[35] = {1, 3, 7, 15, 31, 63, 127, 255, 511, 1023, 2047, 4095, 4159, 12351, 28735, 61503, 127039, 258111, 262207, 786495, 1835071, 3932223, 8126527, 16515135, 33292351, 66846783, 133955647, 268173375, 270270527, 807141439, 1880883263, 4028366911, 8323334207, 16913268799, 34093137983};
36
+ __device__ const unsigned long long dAncMask[35] = {1, 3, 7, 15, 31, 63, 127, 255, 511, 1023, 2047, 4095, 4159, 12351, 28735, 61503, 127039, 258111, 262207, 786495, 1835071, 3932223, 8126527, 16515135, 33292351, 66846783, 133955647, 268173375, 270270527, 807141439, 1880883263, 4028366911, 8323334207, 16913268799, 34093137983};
37
+ constexpr int NNZ = 341, NH = 16, MAXDEP = 15;
38
+ constexpr int kRowOff[36] = {0, 1, 3, 6, 10, 15, 21, 28, 36, 45, 55, 66, 78, 85, 93, 102, 112, 123, 135, 142, 150, 159, 169, 180, 192, 205, 219, 234, 250, 260, 271, 283, 296, 310, 325, 341};
39
+ __device__ const int dRowOff[36] = {0, 1, 3, 6, 10, 15, 21, 28, 36, 45, 55, 66, 78, 85, 93, 102, 112, 123, 135, 142, 150, 159, 169, 180, 192, 205, 219, 234, 250, 260, 271, 283, 296, 310, 325, 341};
40
+ constexpr int kDofDepth[35] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 6, 7, 8, 9, 10, 11, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 9, 10, 11, 12, 13, 14, 15};
41
+ __device__ const int dDofDepth[35] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 6, 7, 8, 9, 10, 11, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 9, 10, 11, 12, 13, 14, 15};
42
+ constexpr int kHLev[35] = {11, 17, 27, 34, 10, 16, 26, 33, 9, 15, 25, 32, 8, 14, 24, 31, 7, 13, 23, 30, 6, 12, 22, 29, 21, 28, 20, 19, 18, 5, 4, 3, 2, 1, 0};
43
+ __device__ const int dHLev[35] = {11, 17, 27, 34, 10, 16, 26, 33, 9, 15, 25, 32, 8, 14, 24, 31, 7, 13, 23, 30, 6, 12, 22, 29, 21, 28, 20, 19, 18, 5, 4, 3, 2, 1, 0};
44
+ constexpr int kHOff[17] = {0, 4, 8, 12, 16, 20, 24, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35};
45
+ __device__ const int dHOff[17] = {0, 4, 8, 12, 16, 20, 24, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35};
46
+ constexpr int kItemOff[16] = {0, 384, 704, 992, 1248, 1440, 1632, 1760, 1824, 1856, 1888, 1920, 1952, 1984, 2016, 2048};
47
+ __device__ const int dItemOff[16] = {0, 384, 704, 992, 1248, 1440, 1632, 1760, 1824, 1856, 1888, 1920, 1952, 1984, 2016, 2048};
48
+ constexpr int kItemRows[16] = {12, 10, 9, 8, 6, 6, 4, 2, 1, 1, 1, 1, 1, 1, 1, 0};
49
+ __device__ const int dItemRows[16] = {12, 10, 9, 8, 6, 6, 4, 2, 1, 1, 1, 1, 1, 1, 1, 0};
50
+ constexpr unsigned int kItems[2048] = {2131010, 6325315, 10520131, 14713924, 18908740, 23103556, 27296837, 31491653, 35686469, 39881285, 44074054, 48268870, 52463686, 56658502, 60853318, 65045575, 69240391, 73435207, 77630023, 81824839, 86019655, 568972528, 573167344, 577362160, 581556976, 585751792, 589946608, 594141424, 598332657, 602527473, 606722289, 610917105, 2422395, 6616700, 10811516, 15005309, 19200125, 23394941, 27588222, 31783038, 35977854, 40172670, 44365439, 48560255, 52755071, 56949887, 61144703, 65336960, 69531776, 73726592, 77921408, 82116224, 86311040, 570329931, 574524747, 578719563, 582914379, 587109195, 591304011, 595498827, 599690060, 603884876, 608079692, 612274508, 2741482, 6935787, 11130603, 15324396, 19519212, 23714028, 27907309, 32102125, 36296941, 40491757, 44684526, 48879342, 53074158, 57268974, 61463790, 65656047, 69850863, 74045679, 78240495, 82435311, 86630127, 615111921, 619306737, 623501553, 627696369, 631887090, 636081906, 640276722, 644471538, 648666354, 652861170, 657055986, 4098885, 8293190, 12488006, 16681799, 20876615, 25071431, 29264712, 33459528, 37654344, 41849160, 46041929, 50236745, 54431561, 58626377, 62821193, 67013450, 71208266, 75403082, 79597898, 83792714, 87987530, 616469324, 620664140, 624858956, 629053772, 633244493, 637439309, 641634125, 645828941, 650023757, 654218573, 658413389, 661250802, 665445618, 91259976, 95454792, 99649608, 103844424, 108039240, 112234056, 116428872, 120620105, 124814921, 129009737, 133204553, 137399369, 141594185, 145789001, 149983817, 154174538, 158369354, 162564170, 166758986, 170953802, 175148618, 179343434, 183538250, 187733066, 191923275, 196118091, 200312907, 204507723, 208702539, 212897355, 662608205, 666803021, 217092171, 221286987, 225481803, 229676619, 233866316, 238061132, 242255948, 246450764, 250645580, 254840396, 259035212, 263230028, 267424844, 271619660, 275814476, 330626689, 334821505, 339016321, 343211137, 347405953, 351600769, 355795585, 359986818, 364181634, 368376450, 372571266, 376766082, 380960898, 385155714, 389350530, 393541251, 397736067, 401930883, 406125699, 410320515, 414515331, 418710147, 422904963, 427099779, 431289988, 435484804, 439679620, 443874436, 448069252, 452264068, 456458884, 460653700, 464848516, 469043332, 473233029, 477427845, 481622661, 485817477, 490012293, 494207109, 498401925, 502596741, 506791557, 510986373, 515181189, 670684403, 674879219, 679074035, 683268851, 687463667, 691658483, 695853299, 700048115, 704242931, 708437747, 712627444, 716822260, 721017076, 725211892, 729406708, 733601524, 737796340, 741991156, 746185972, 750380788, 754575604, 758764789, 762959605, 767154421, 771349237, 775544053, 779738869, 783933685, 788128501, 792323317, 796518133, 800712949, 804907765, 809096438, 813291254, 817486070, 821680886, 825875702, 830070518, 834265334, 838460150, 842654966, 846849782, 851044598, 855239414, 859434230, 863622391, 867817207, 872012023, 876206839, 880401655, 884596471, 888791287, 892986103, 897180919, 901375735, 905570551, 909765367, 913960183, 918154999, 922342648, 926537464, 930732280, 934927096, 939121912, 943316728, 947511544, 951706360, 955901176, 960095992, 964290808, 968485624, 972680440, 976875256, 981070072, 1052674894, 1056869710, 1061064526, 1065259342, 1069454158, 1073648974, 1077843790, 1082038606, 1086233422, 1090428238, 1094617935, 1098812751, 1103007567, 1107202383, 1111397199, 1115592015, 1119786831, 1123981647, 1128176463, 1132371279, 1136566095, 1140755280, 1144950096, 1149144912, 1153339728, 1157534544, 1161729360, 1165924176, 1170118992, 1174313808, 1178508624, 1182703440, 1186898256, 1191086929, 1195281745, 1199476561, 1203671377, 1207866193, 1212061009, 1216255825, 1220450641, 1224645457, 1228840273, 1233035089, 1237229905, 1241424721, 1245612882, 1249807698, 1254002514, 1258197330, 1262392146, 1266586962, 1270781778, 1274976594, 1279171410, 1283366226, 1287561042, 1291755858, 1295950674, 1300145490, 1304333139, 1308527955, 1312722771, 1316917587, 1321112403, 1325307219, 1329502035, 1333696851, 1337891667, 1342086483, 1346281299, 1350476115, 1354670931, 1358865747, 1363060563, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2125367, 6319672, 10514488, 14708281, 18903097, 23097913, 27291194, 31486010, 35680826, 39875642, 44068411, 48263227, 52458043, 56652859, 60847675, 65039932, 69234748, 73429564, 77624380, 81819196, 86014012, 568964833, 573159649, 577354465, 581549281, 585744097, 589938913, 594133729, 598324962, 602519778, 606714594, 610909410, 2416752, 6611057, 10805873, 14999666, 19194482, 23389298, 27582579, 31777395, 35972211, 40167027, 44359796, 48554612, 52749428, 56944244, 61139060, 65331317, 69526133, 73720949, 77915765, 82110581, 86305397, 570322236, 574517052, 578711868, 582906684, 587101500, 591296316, 595491132, 599682365, 603877181, 608071997, 612266813, 2733787, 6928092, 11122908, 15316701, 19511517, 23706333, 27899614, 32094430, 36289246, 40484062, 44676831, 48871647, 53066463, 57261279, 61456095, 65648352, 69843168, 74037984, 78232800, 82427616, 86622432, 615104226, 619299042, 623493858, 627688674, 631879395, 636074211, 640269027, 644463843, 648658659, 652853475, 657048291, 4091190, 8285495, 12480311, 16674104, 20868920, 25063736, 29257017, 33451833, 37646649, 41841465, 46034234, 50229050, 54423866, 58618682, 62813498, 67005755, 71200571, 75395387, 79590203, 83785019, 87979835, 616461629, 620656445, 624851261, 629046077, 633236798, 637431614, 641626430, 645821246, 650016062, 654210878, 658405694, 661243107, 665437923, 91254333, 95449149, 99643965, 103838781, 108033597, 112228413, 116423229, 120614462, 124809278, 129004094, 133198910, 137393726, 141588542, 145783358, 149978174, 154168895, 158363711, 162558527, 166753343, 170948159, 175142975, 179337791, 183532607, 187727423, 191917632, 196112448, 200307264, 204502080, 208696896, 212891712, 662600510, 666795326, 217086528, 221281344, 225476160, 229670976, 330621046, 334815862, 339010678, 343205494, 347400310, 351595126, 355789942, 359981175, 364175991, 368370807, 372565623, 376760439, 380955255, 385150071, 389344887, 393535608, 397730424, 401925240, 406120056, 410314872, 414509688, 418704504, 422899320, 427094136, 431284345, 435479161, 439673977, 443868793, 448063609, 452258425, 456453241, 460648057, 464842873, 469037689, 670676708, 674871524, 679066340, 683261156, 687455972, 691650788, 695845604, 700040420, 704235236, 708430052, 712619749, 716814565, 721009381, 725204197, 729399013, 733593829, 737788645, 741983461, 746178277, 750373093, 754567909, 758757094, 762951910, 767146726, 771341542, 775536358, 779731174, 783925990, 788120806, 792315622, 796510438, 800705254, 804900070, 809088743, 813283559, 817478375, 821673191, 825868007, 830062823, 834257639, 838452455, 842647271, 846842087, 851036903, 855231719, 859426535, 863614696, 867809512, 872004328, 876199144, 880393960, 884588776, 888783592, 892978408, 897173224, 901368040, 905562856, 909757672, 913952488, 918147304, 1052667199, 1056862015, 1061056831, 1065251647, 1069446463, 1073641279, 1077836095, 1082030911, 1086225727, 1090420543, 1094610240, 1098805056, 1102999872, 1107194688, 1111389504, 1115584320, 1119779136, 1123973952, 1128168768, 1132363584, 1136558400, 1140747585, 1144942401, 1149137217, 1153332033, 1157526849, 1161721665, 1165916481, 1170111297, 1174306113, 1178500929, 1182695745, 1186890561, 1191079234, 1195274050, 1199468866, 1203663682, 1207858498, 1212053314, 1216248130, 1220442946, 1224637762, 1228832578, 1233027394, 1237222210, 1241417026, 1245605187, 1249800003, 1253994819, 1258189635, 1262384451, 1266579267, 1270774083, 1274968899, 1279163715, 1283358531, 1287553347, 1291748163, 1295942979, 1300137795, 2120237, 6314542, 10509358, 14703151, 18897967, 23092783, 27286064, 31480880, 35675696, 39870512, 44063281, 48258097, 52452913, 56647729, 60842545, 65034802, 69229618, 73424434, 77619250, 81814066, 86008882, 568957651, 573152467, 577347283, 581542099, 585736915, 589931731, 594126547, 598317780, 602512596, 606707412, 610902228, 2411622, 6605927, 10800743, 14994536, 19189352, 23384168, 27577449, 31772265, 35967081, 40161897, 44354666, 48549482, 52744298, 56939114, 61133930, 65326187, 69521003, 73715819, 77910635, 82105451, 86300267, 570315054, 574509870, 578704686, 582899502, 587094318, 591289134, 595483950, 599675183, 603869999, 608064815, 612259631, 2726605, 6920910, 11115726, 15309519, 19504335, 23699151, 27892432, 32087248, 36282064, 40476880, 44669649, 48864465, 53059281, 57254097, 61448913, 65641170, 69835986, 74030802, 78225618, 82420434, 86615250, 615097044, 619291860, 623486676, 627681492, 631872213, 636067029, 640261845, 644456661, 648651477, 652846293, 657041109, 4084008, 8278313, 12473129, 16666922, 20861738, 25056554, 29249835, 33444651, 37639467, 41834283, 46027052, 50221868, 54416684, 58611500, 62806316, 66998573, 71193389, 75388205, 79583021, 83777837, 87972653, 616454447, 620649263, 624844079, 629038895, 633229616, 637424432, 641619248, 645814064, 650008880, 654203696, 658398512, 661235925, 665430741, 91249203, 95444019, 99638835, 103833651, 108028467, 112223283, 116418099, 120609332, 124804148, 128998964, 133193780, 137388596, 141583412, 145778228, 149973044, 154163765, 158358581, 162553397, 166748213, 170943029, 175137845, 179332661, 183527477, 187722293, 330615916, 334810732, 339005548, 343200364, 347395180, 351589996, 662593328, 666788144, 355784812, 359976045, 364170861, 368365677, 372560493, 376755309, 380950125, 385144941, 389339757, 393530478, 397725294, 401920110, 406114926, 410309742, 414504558, 418699374, 422894190, 427089006, 670669526, 674864342, 679059158, 683253974, 687448790, 691643606, 695838422, 700033238, 704228054, 708422870, 712612567, 716807383, 721002199, 725197015, 729391831, 733586647, 737781463, 741976279, 746171095, 750365911, 754560727, 758749912, 762944728, 767139544, 771334360, 775529176, 779723992, 783918808, 788113624, 792308440, 796503256, 800698072, 804892888, 809081561, 813276377, 817471193, 821666009, 825860825, 830055641, 834250457, 838445273, 842640089, 846834905, 851029721, 855224537, 859419353, 1052660017, 1056854833, 1061049649, 1065244465, 1069439281, 1073634097, 1077828913, 1082023729, 1086218545, 1090413361, 1094603058, 1098797874, 1102992690, 1107187506, 1111382322, 1115577138, 1119771954, 1123966770, 1128161586, 1132356402, 1136551218, 1140740403, 1144935219, 1149130035, 1153324851, 1157519667, 1161714483, 1165909299, 1170104115, 1174298931, 1178493747, 1182688563, 1186883379, 1191072052, 1195266868, 1199461684, 1203656500, 1207851316, 1212046132, 1216240948, 1220435764, 1224630580, 1228825396, 1233020212, 1237215028, 1241409844, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2115620, 6309925, 10504741, 14698534, 18893350, 23088166, 27281447, 31476263, 35671079, 39865895, 44058664, 48253480, 52448296, 56643112, 60837928, 65030185, 69225001, 73419817, 77614633, 81809449, 86004265, 568950982, 573145798, 577340614, 581535430, 585730246, 589925062, 594119878, 598311111, 602505927, 606700743, 610895559, 2407005, 6601310, 10796126, 14989919, 19184735, 23379551, 27572832, 31767648, 35962464, 40157280, 44350049, 48544865, 52739681, 56934497, 61129313, 65321570, 69516386, 73711202, 77906018, 82100834, 86295650, 570308385, 574503201, 578698017, 582892833, 587087649, 591282465, 595477281, 599668514, 603863330, 608058146, 612252962, 2719936, 6914241, 11109057, 15302850, 19497666, 23692482, 27885763, 32080579, 36275395, 40470211, 44662980, 48857796, 53052612, 57247428, 61442244, 65634501, 69829317, 74024133, 78218949, 82413765, 86608581, 615090375, 619285191, 623480007, 627674823, 631865544, 636060360, 640255176, 644449992, 648644808, 652839624, 657034440, 4077339, 8271644, 12466460, 16660253, 20855069, 25049885, 29243166, 33437982, 37632798, 41827614, 46020383, 50215199, 54410015, 58604831, 62799647, 66991904, 71186720, 75381536, 79576352, 83771168, 87965984, 616447778, 620642594, 624837410, 629032226, 633222947, 637417763, 641612579, 645807395, 650002211, 654197027, 658391843, 661229256, 665424072, 91244586, 95439402, 99634218, 103829034, 108023850, 112218666, 116413482, 120604715, 124799531, 128994347, 133189163, 137383979, 141578795, 145773611, 149968427, 330611299, 334806115, 339000931, 343195747, 347390563, 351585379, 355780195, 359971428, 364166244, 368361060, 372555876, 376750692, 380945508, 385140324, 389335140, 662586659, 666781475, 670662857, 674857673, 679052489, 683247305, 687442121, 691636937, 695831753, 700026569, 704221385, 708416201, 712605898, 716800714, 720995530, 725190346, 729385162, 733579978, 737774794, 741969610, 746164426, 750359242, 754554058, 758743243, 762938059, 767132875, 771327691, 775522507, 779717323, 783912139, 788106955, 792301771, 796496587, 800691403, 804886219, 1052653348, 1056848164, 1061042980, 1065237796, 1069432612, 1073627428, 1077822244, 1082017060, 1086211876, 1090406692, 1094596389, 1098791205, 1102986021, 1107180837, 1111375653, 1115570469, 1119765285, 1123960101, 1128154917, 1132349733, 1136544549, 1140733734, 1144928550, 1149123366, 1153318182, 1157512998, 1161707814, 1165902630, 1170097446, 1174292262, 1178487078, 1182681894, 1186876710, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2111516, 6305821, 10500637, 14694430, 18889246, 23084062, 27277343, 31472159, 35666975, 39861791, 44054560, 48249376, 52444192, 56639008, 60833824, 65026081, 69220897, 73415713, 77610529, 81805345, 86000161, 568944826, 573139642, 577334458, 581529274, 585724090, 589918906, 594113722, 598304955, 602499771, 606694587, 610889403, 2402901, 6597206, 10792022, 14985815, 19180631, 23375447, 27568728, 31763544, 35958360, 40153176, 44345945, 48540761, 52735577, 56930393, 61125209, 65317466, 69512282, 73707098, 77901914, 82096730, 86291546, 570302229, 574497045, 578691861, 582886677, 587081493, 591276309, 595471125, 599662358, 603857174, 608051990, 612246806, 2713780, 6908085, 11102901, 15296694, 19491510, 23686326, 27879607, 32074423, 36269239, 40464055, 44656824, 48851640, 53046456, 57241272, 61436088, 65628345, 69823161, 74017977, 78212793, 82407609, 86602425, 615084219, 619279035, 623473851, 627668667, 631859388, 636054204, 640249020, 644443836, 648638652, 652833468, 657028284, 4071183, 8265488, 12460304, 16654097, 20848913, 25043729, 29237010, 33431826, 37626642, 41821458, 46014227, 50209043, 54403859, 58598675, 62793491, 66985748, 71180564, 75375380, 79570196, 83765012, 87959828, 616441622, 620636438, 624831254, 629026070, 633216791, 637411607, 641606423, 645801239, 649996055, 654190871, 658385687, 661223100, 665417916, 91240482, 95435298, 99630114, 103824930, 108019746, 112214562, 116409378, 330607195, 334802011, 338996827, 343191643, 347386459, 351581275, 355776091, 670656701, 674851517, 679046333, 683241149, 687435965, 691630781, 695825597, 700020413, 704215229, 708410045, 712599742, 716794558, 720989374, 725184190, 729379006, 733573822, 662580503, 666775319, 737768638, 741963454, 746158270, 750353086, 754547902, 1052647192, 1056842008, 1061036824, 1065231640, 1069426456, 1073621272, 1077816088, 1082010904, 1086205720, 1090400536, 1094590233, 1098785049, 1102979865, 1107174681, 1111369497, 1115564313, 1119759129, 1123953945, 1128148761, 1132343577, 1136538393, 0, 0, 0, 0, 2107925, 6302230, 10497046, 14690839, 18885655, 23080471, 27273752, 31468568, 35663384, 39858200, 44050969, 48245785, 52440601, 56635417, 60830233, 65022490, 69217306, 73412122, 77606938, 81801754, 85996570, 568939183, 573133999, 577328815, 581523631, 585718447, 589913263, 594108079, 598299312, 602494128, 606688944, 610883760, 2399310, 6593615, 10788431, 14982224, 19177040, 23371856, 27565137, 31759953, 35954769, 40149585, 44342354, 48537170, 52731986, 56926802, 61121618, 65313875, 69508691, 73703507, 77898323, 82093139, 86287955, 570296586, 574491402, 578686218, 582881034, 587075850, 591270666, 595465482, 599656715, 603851531, 608046347, 612241163, 2708137, 6902442, 11097258, 15291051, 19485867, 23680683, 27873964, 32068780, 36263596, 40458412, 44651181, 48845997, 53040813, 57235629, 61430445, 65622702, 69817518, 74012334, 78207150, 82401966, 86596782, 615078576, 619273392, 623468208, 627663024, 631853745, 636048561, 640243377, 644438193, 648633009, 652827825, 657022641, 4065540, 8259845, 12454661, 16648454, 20843270, 25038086, 29231367, 33426183, 37620999, 41815815, 46008584, 50203400, 54398216, 58593032, 62787848, 66980105, 71174921, 75369737, 79564553, 83759369, 87954185, 616435979, 620630795, 624825611, 629020427, 633211148, 637405964, 641600780, 645795596, 649990412, 654185228, 658380044, 661217457, 665412273, 670651058, 674845874, 679040690, 683235506, 687430322, 691625138, 695819954, 700014770, 704209586, 708404402, 1052641549, 1056836365, 1061031181, 1065225997, 1069420813, 1073615629, 1077810445, 1082005261, 1086200077, 1090394893, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 662574860, 666769676, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2178719, 6373024, 10567840, 14761633, 18956449, 23151265, 27344546, 31539362, 35734178, 39928994, 44121763, 48316579, 52511395, 56706211, 60901027, 65093284, 69288100, 73482916, 77677732, 81872548, 86067364, 568409765, 572604581, 576799397, 580994213, 585189029, 589383845, 593578661, 597769894, 601964710, 606159526, 610354342, 3536122, 7730427, 11925243, 16119036, 20313852, 24508668, 28701949, 32896765, 37091581, 41286397, 45479166, 49673982, 53868798, 58063614, 62258430, 66450687, 70645503, 74840319, 79035135, 83229951, 87424767, 569767168, 573961984, 578156800, 582351616, 586546432, 590741248, 594936064, 599127297, 603322113, 607516929, 611711745, 614549158, 618743974, 622938790, 627133606, 631324327, 635519143, 639713959, 643908775, 648103591, 652298407, 656493223, 660688039, 664882855, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 615906561, 620101377, 624296193, 628491009, 632681730, 636876546, 641071362, 645266178, 649460994, 653655810, 657850626, 662045442, 666240258, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3222678, 7416983, 11611799, 15805592, 20000408, 24195224, 28388505, 32583321, 36778137, 40972953, 45165722, 49360538, 53555354, 57750170, 61944986, 66137243, 70332059, 74526875, 78721691, 82916507, 87111323, 569453724, 573648540, 577843356, 582038172, 586232988, 590427804, 594622620, 598813853, 603008669, 607203485, 611398301, 615593117, 619787933, 623982749, 628177565, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3218574, 7412879, 11607695, 15801488, 19996304, 24191120, 28384401, 32579217, 36774033, 40968849, 45161618, 49356434, 53551250, 57746066, 61940882, 66133139, 70327955, 74522771, 78717587, 82912403, 87107219, 569449620, 573644436, 577839252, 582034068, 586228884, 590423700, 594618516, 0, 0, 0, 0, 3214983, 7409288, 11604104, 15797897, 19992713, 24187529, 28380810, 32575626, 36770442, 40965258, 45158027, 49352843, 53547659, 57742475, 61937291, 66129548, 70324364, 74519180, 78713996, 82908812, 87103628, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3153423, 7347728, 11542544, 15736337, 19931153, 24125969, 28319250, 32514066, 36708882, 40903698, 45096467, 49291283, 53486099, 57680915, 61875731, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3150858, 7345163, 11539979, 15733772, 19928588, 24123404, 28316685, 32511501, 36706317, 40901133, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3148806, 7343111, 11537927, 15731720, 19926536, 24121352, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3147267, 7341572, 11536388, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3146241, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
51
+ __device__ const unsigned int dItems[2048] = {2131010, 6325315, 10520131, 14713924, 18908740, 23103556, 27296837, 31491653, 35686469, 39881285, 44074054, 48268870, 52463686, 56658502, 60853318, 65045575, 69240391, 73435207, 77630023, 81824839, 86019655, 568972528, 573167344, 577362160, 581556976, 585751792, 589946608, 594141424, 598332657, 602527473, 606722289, 610917105, 2422395, 6616700, 10811516, 15005309, 19200125, 23394941, 27588222, 31783038, 35977854, 40172670, 44365439, 48560255, 52755071, 56949887, 61144703, 65336960, 69531776, 73726592, 77921408, 82116224, 86311040, 570329931, 574524747, 578719563, 582914379, 587109195, 591304011, 595498827, 599690060, 603884876, 608079692, 612274508, 2741482, 6935787, 11130603, 15324396, 19519212, 23714028, 27907309, 32102125, 36296941, 40491757, 44684526, 48879342, 53074158, 57268974, 61463790, 65656047, 69850863, 74045679, 78240495, 82435311, 86630127, 615111921, 619306737, 623501553, 627696369, 631887090, 636081906, 640276722, 644471538, 648666354, 652861170, 657055986, 4098885, 8293190, 12488006, 16681799, 20876615, 25071431, 29264712, 33459528, 37654344, 41849160, 46041929, 50236745, 54431561, 58626377, 62821193, 67013450, 71208266, 75403082, 79597898, 83792714, 87987530, 616469324, 620664140, 624858956, 629053772, 633244493, 637439309, 641634125, 645828941, 650023757, 654218573, 658413389, 661250802, 665445618, 91259976, 95454792, 99649608, 103844424, 108039240, 112234056, 116428872, 120620105, 124814921, 129009737, 133204553, 137399369, 141594185, 145789001, 149983817, 154174538, 158369354, 162564170, 166758986, 170953802, 175148618, 179343434, 183538250, 187733066, 191923275, 196118091, 200312907, 204507723, 208702539, 212897355, 662608205, 666803021, 217092171, 221286987, 225481803, 229676619, 233866316, 238061132, 242255948, 246450764, 250645580, 254840396, 259035212, 263230028, 267424844, 271619660, 275814476, 330626689, 334821505, 339016321, 343211137, 347405953, 351600769, 355795585, 359986818, 364181634, 368376450, 372571266, 376766082, 380960898, 385155714, 389350530, 393541251, 397736067, 401930883, 406125699, 410320515, 414515331, 418710147, 422904963, 427099779, 431289988, 435484804, 439679620, 443874436, 448069252, 452264068, 456458884, 460653700, 464848516, 469043332, 473233029, 477427845, 481622661, 485817477, 490012293, 494207109, 498401925, 502596741, 506791557, 510986373, 515181189, 670684403, 674879219, 679074035, 683268851, 687463667, 691658483, 695853299, 700048115, 704242931, 708437747, 712627444, 716822260, 721017076, 725211892, 729406708, 733601524, 737796340, 741991156, 746185972, 750380788, 754575604, 758764789, 762959605, 767154421, 771349237, 775544053, 779738869, 783933685, 788128501, 792323317, 796518133, 800712949, 804907765, 809096438, 813291254, 817486070, 821680886, 825875702, 830070518, 834265334, 838460150, 842654966, 846849782, 851044598, 855239414, 859434230, 863622391, 867817207, 872012023, 876206839, 880401655, 884596471, 888791287, 892986103, 897180919, 901375735, 905570551, 909765367, 913960183, 918154999, 922342648, 926537464, 930732280, 934927096, 939121912, 943316728, 947511544, 951706360, 955901176, 960095992, 964290808, 968485624, 972680440, 976875256, 981070072, 1052674894, 1056869710, 1061064526, 1065259342, 1069454158, 1073648974, 1077843790, 1082038606, 1086233422, 1090428238, 1094617935, 1098812751, 1103007567, 1107202383, 1111397199, 1115592015, 1119786831, 1123981647, 1128176463, 1132371279, 1136566095, 1140755280, 1144950096, 1149144912, 1153339728, 1157534544, 1161729360, 1165924176, 1170118992, 1174313808, 1178508624, 1182703440, 1186898256, 1191086929, 1195281745, 1199476561, 1203671377, 1207866193, 1212061009, 1216255825, 1220450641, 1224645457, 1228840273, 1233035089, 1237229905, 1241424721, 1245612882, 1249807698, 1254002514, 1258197330, 1262392146, 1266586962, 1270781778, 1274976594, 1279171410, 1283366226, 1287561042, 1291755858, 1295950674, 1300145490, 1304333139, 1308527955, 1312722771, 1316917587, 1321112403, 1325307219, 1329502035, 1333696851, 1337891667, 1342086483, 1346281299, 1350476115, 1354670931, 1358865747, 1363060563, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2125367, 6319672, 10514488, 14708281, 18903097, 23097913, 27291194, 31486010, 35680826, 39875642, 44068411, 48263227, 52458043, 56652859, 60847675, 65039932, 69234748, 73429564, 77624380, 81819196, 86014012, 568964833, 573159649, 577354465, 581549281, 585744097, 589938913, 594133729, 598324962, 602519778, 606714594, 610909410, 2416752, 6611057, 10805873, 14999666, 19194482, 23389298, 27582579, 31777395, 35972211, 40167027, 44359796, 48554612, 52749428, 56944244, 61139060, 65331317, 69526133, 73720949, 77915765, 82110581, 86305397, 570322236, 574517052, 578711868, 582906684, 587101500, 591296316, 595491132, 599682365, 603877181, 608071997, 612266813, 2733787, 6928092, 11122908, 15316701, 19511517, 23706333, 27899614, 32094430, 36289246, 40484062, 44676831, 48871647, 53066463, 57261279, 61456095, 65648352, 69843168, 74037984, 78232800, 82427616, 86622432, 615104226, 619299042, 623493858, 627688674, 631879395, 636074211, 640269027, 644463843, 648658659, 652853475, 657048291, 4091190, 8285495, 12480311, 16674104, 20868920, 25063736, 29257017, 33451833, 37646649, 41841465, 46034234, 50229050, 54423866, 58618682, 62813498, 67005755, 71200571, 75395387, 79590203, 83785019, 87979835, 616461629, 620656445, 624851261, 629046077, 633236798, 637431614, 641626430, 645821246, 650016062, 654210878, 658405694, 661243107, 665437923, 91254333, 95449149, 99643965, 103838781, 108033597, 112228413, 116423229, 120614462, 124809278, 129004094, 133198910, 137393726, 141588542, 145783358, 149978174, 154168895, 158363711, 162558527, 166753343, 170948159, 175142975, 179337791, 183532607, 187727423, 191917632, 196112448, 200307264, 204502080, 208696896, 212891712, 662600510, 666795326, 217086528, 221281344, 225476160, 229670976, 330621046, 334815862, 339010678, 343205494, 347400310, 351595126, 355789942, 359981175, 364175991, 368370807, 372565623, 376760439, 380955255, 385150071, 389344887, 393535608, 397730424, 401925240, 406120056, 410314872, 414509688, 418704504, 422899320, 427094136, 431284345, 435479161, 439673977, 443868793, 448063609, 452258425, 456453241, 460648057, 464842873, 469037689, 670676708, 674871524, 679066340, 683261156, 687455972, 691650788, 695845604, 700040420, 704235236, 708430052, 712619749, 716814565, 721009381, 725204197, 729399013, 733593829, 737788645, 741983461, 746178277, 750373093, 754567909, 758757094, 762951910, 767146726, 771341542, 775536358, 779731174, 783925990, 788120806, 792315622, 796510438, 800705254, 804900070, 809088743, 813283559, 817478375, 821673191, 825868007, 830062823, 834257639, 838452455, 842647271, 846842087, 851036903, 855231719, 859426535, 863614696, 867809512, 872004328, 876199144, 880393960, 884588776, 888783592, 892978408, 897173224, 901368040, 905562856, 909757672, 913952488, 918147304, 1052667199, 1056862015, 1061056831, 1065251647, 1069446463, 1073641279, 1077836095, 1082030911, 1086225727, 1090420543, 1094610240, 1098805056, 1102999872, 1107194688, 1111389504, 1115584320, 1119779136, 1123973952, 1128168768, 1132363584, 1136558400, 1140747585, 1144942401, 1149137217, 1153332033, 1157526849, 1161721665, 1165916481, 1170111297, 1174306113, 1178500929, 1182695745, 1186890561, 1191079234, 1195274050, 1199468866, 1203663682, 1207858498, 1212053314, 1216248130, 1220442946, 1224637762, 1228832578, 1233027394, 1237222210, 1241417026, 1245605187, 1249800003, 1253994819, 1258189635, 1262384451, 1266579267, 1270774083, 1274968899, 1279163715, 1283358531, 1287553347, 1291748163, 1295942979, 1300137795, 2120237, 6314542, 10509358, 14703151, 18897967, 23092783, 27286064, 31480880, 35675696, 39870512, 44063281, 48258097, 52452913, 56647729, 60842545, 65034802, 69229618, 73424434, 77619250, 81814066, 86008882, 568957651, 573152467, 577347283, 581542099, 585736915, 589931731, 594126547, 598317780, 602512596, 606707412, 610902228, 2411622, 6605927, 10800743, 14994536, 19189352, 23384168, 27577449, 31772265, 35967081, 40161897, 44354666, 48549482, 52744298, 56939114, 61133930, 65326187, 69521003, 73715819, 77910635, 82105451, 86300267, 570315054, 574509870, 578704686, 582899502, 587094318, 591289134, 595483950, 599675183, 603869999, 608064815, 612259631, 2726605, 6920910, 11115726, 15309519, 19504335, 23699151, 27892432, 32087248, 36282064, 40476880, 44669649, 48864465, 53059281, 57254097, 61448913, 65641170, 69835986, 74030802, 78225618, 82420434, 86615250, 615097044, 619291860, 623486676, 627681492, 631872213, 636067029, 640261845, 644456661, 648651477, 652846293, 657041109, 4084008, 8278313, 12473129, 16666922, 20861738, 25056554, 29249835, 33444651, 37639467, 41834283, 46027052, 50221868, 54416684, 58611500, 62806316, 66998573, 71193389, 75388205, 79583021, 83777837, 87972653, 616454447, 620649263, 624844079, 629038895, 633229616, 637424432, 641619248, 645814064, 650008880, 654203696, 658398512, 661235925, 665430741, 91249203, 95444019, 99638835, 103833651, 108028467, 112223283, 116418099, 120609332, 124804148, 128998964, 133193780, 137388596, 141583412, 145778228, 149973044, 154163765, 158358581, 162553397, 166748213, 170943029, 175137845, 179332661, 183527477, 187722293, 330615916, 334810732, 339005548, 343200364, 347395180, 351589996, 662593328, 666788144, 355784812, 359976045, 364170861, 368365677, 372560493, 376755309, 380950125, 385144941, 389339757, 393530478, 397725294, 401920110, 406114926, 410309742, 414504558, 418699374, 422894190, 427089006, 670669526, 674864342, 679059158, 683253974, 687448790, 691643606, 695838422, 700033238, 704228054, 708422870, 712612567, 716807383, 721002199, 725197015, 729391831, 733586647, 737781463, 741976279, 746171095, 750365911, 754560727, 758749912, 762944728, 767139544, 771334360, 775529176, 779723992, 783918808, 788113624, 792308440, 796503256, 800698072, 804892888, 809081561, 813276377, 817471193, 821666009, 825860825, 830055641, 834250457, 838445273, 842640089, 846834905, 851029721, 855224537, 859419353, 1052660017, 1056854833, 1061049649, 1065244465, 1069439281, 1073634097, 1077828913, 1082023729, 1086218545, 1090413361, 1094603058, 1098797874, 1102992690, 1107187506, 1111382322, 1115577138, 1119771954, 1123966770, 1128161586, 1132356402, 1136551218, 1140740403, 1144935219, 1149130035, 1153324851, 1157519667, 1161714483, 1165909299, 1170104115, 1174298931, 1178493747, 1182688563, 1186883379, 1191072052, 1195266868, 1199461684, 1203656500, 1207851316, 1212046132, 1216240948, 1220435764, 1224630580, 1228825396, 1233020212, 1237215028, 1241409844, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2115620, 6309925, 10504741, 14698534, 18893350, 23088166, 27281447, 31476263, 35671079, 39865895, 44058664, 48253480, 52448296, 56643112, 60837928, 65030185, 69225001, 73419817, 77614633, 81809449, 86004265, 568950982, 573145798, 577340614, 581535430, 585730246, 589925062, 594119878, 598311111, 602505927, 606700743, 610895559, 2407005, 6601310, 10796126, 14989919, 19184735, 23379551, 27572832, 31767648, 35962464, 40157280, 44350049, 48544865, 52739681, 56934497, 61129313, 65321570, 69516386, 73711202, 77906018, 82100834, 86295650, 570308385, 574503201, 578698017, 582892833, 587087649, 591282465, 595477281, 599668514, 603863330, 608058146, 612252962, 2719936, 6914241, 11109057, 15302850, 19497666, 23692482, 27885763, 32080579, 36275395, 40470211, 44662980, 48857796, 53052612, 57247428, 61442244, 65634501, 69829317, 74024133, 78218949, 82413765, 86608581, 615090375, 619285191, 623480007, 627674823, 631865544, 636060360, 640255176, 644449992, 648644808, 652839624, 657034440, 4077339, 8271644, 12466460, 16660253, 20855069, 25049885, 29243166, 33437982, 37632798, 41827614, 46020383, 50215199, 54410015, 58604831, 62799647, 66991904, 71186720, 75381536, 79576352, 83771168, 87965984, 616447778, 620642594, 624837410, 629032226, 633222947, 637417763, 641612579, 645807395, 650002211, 654197027, 658391843, 661229256, 665424072, 91244586, 95439402, 99634218, 103829034, 108023850, 112218666, 116413482, 120604715, 124799531, 128994347, 133189163, 137383979, 141578795, 145773611, 149968427, 330611299, 334806115, 339000931, 343195747, 347390563, 351585379, 355780195, 359971428, 364166244, 368361060, 372555876, 376750692, 380945508, 385140324, 389335140, 662586659, 666781475, 670662857, 674857673, 679052489, 683247305, 687442121, 691636937, 695831753, 700026569, 704221385, 708416201, 712605898, 716800714, 720995530, 725190346, 729385162, 733579978, 737774794, 741969610, 746164426, 750359242, 754554058, 758743243, 762938059, 767132875, 771327691, 775522507, 779717323, 783912139, 788106955, 792301771, 796496587, 800691403, 804886219, 1052653348, 1056848164, 1061042980, 1065237796, 1069432612, 1073627428, 1077822244, 1082017060, 1086211876, 1090406692, 1094596389, 1098791205, 1102986021, 1107180837, 1111375653, 1115570469, 1119765285, 1123960101, 1128154917, 1132349733, 1136544549, 1140733734, 1144928550, 1149123366, 1153318182, 1157512998, 1161707814, 1165902630, 1170097446, 1174292262, 1178487078, 1182681894, 1186876710, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2111516, 6305821, 10500637, 14694430, 18889246, 23084062, 27277343, 31472159, 35666975, 39861791, 44054560, 48249376, 52444192, 56639008, 60833824, 65026081, 69220897, 73415713, 77610529, 81805345, 86000161, 568944826, 573139642, 577334458, 581529274, 585724090, 589918906, 594113722, 598304955, 602499771, 606694587, 610889403, 2402901, 6597206, 10792022, 14985815, 19180631, 23375447, 27568728, 31763544, 35958360, 40153176, 44345945, 48540761, 52735577, 56930393, 61125209, 65317466, 69512282, 73707098, 77901914, 82096730, 86291546, 570302229, 574497045, 578691861, 582886677, 587081493, 591276309, 595471125, 599662358, 603857174, 608051990, 612246806, 2713780, 6908085, 11102901, 15296694, 19491510, 23686326, 27879607, 32074423, 36269239, 40464055, 44656824, 48851640, 53046456, 57241272, 61436088, 65628345, 69823161, 74017977, 78212793, 82407609, 86602425, 615084219, 619279035, 623473851, 627668667, 631859388, 636054204, 640249020, 644443836, 648638652, 652833468, 657028284, 4071183, 8265488, 12460304, 16654097, 20848913, 25043729, 29237010, 33431826, 37626642, 41821458, 46014227, 50209043, 54403859, 58598675, 62793491, 66985748, 71180564, 75375380, 79570196, 83765012, 87959828, 616441622, 620636438, 624831254, 629026070, 633216791, 637411607, 641606423, 645801239, 649996055, 654190871, 658385687, 661223100, 665417916, 91240482, 95435298, 99630114, 103824930, 108019746, 112214562, 116409378, 330607195, 334802011, 338996827, 343191643, 347386459, 351581275, 355776091, 670656701, 674851517, 679046333, 683241149, 687435965, 691630781, 695825597, 700020413, 704215229, 708410045, 712599742, 716794558, 720989374, 725184190, 729379006, 733573822, 662580503, 666775319, 737768638, 741963454, 746158270, 750353086, 754547902, 1052647192, 1056842008, 1061036824, 1065231640, 1069426456, 1073621272, 1077816088, 1082010904, 1086205720, 1090400536, 1094590233, 1098785049, 1102979865, 1107174681, 1111369497, 1115564313, 1119759129, 1123953945, 1128148761, 1132343577, 1136538393, 0, 0, 0, 0, 2107925, 6302230, 10497046, 14690839, 18885655, 23080471, 27273752, 31468568, 35663384, 39858200, 44050969, 48245785, 52440601, 56635417, 60830233, 65022490, 69217306, 73412122, 77606938, 81801754, 85996570, 568939183, 573133999, 577328815, 581523631, 585718447, 589913263, 594108079, 598299312, 602494128, 606688944, 610883760, 2399310, 6593615, 10788431, 14982224, 19177040, 23371856, 27565137, 31759953, 35954769, 40149585, 44342354, 48537170, 52731986, 56926802, 61121618, 65313875, 69508691, 73703507, 77898323, 82093139, 86287955, 570296586, 574491402, 578686218, 582881034, 587075850, 591270666, 595465482, 599656715, 603851531, 608046347, 612241163, 2708137, 6902442, 11097258, 15291051, 19485867, 23680683, 27873964, 32068780, 36263596, 40458412, 44651181, 48845997, 53040813, 57235629, 61430445, 65622702, 69817518, 74012334, 78207150, 82401966, 86596782, 615078576, 619273392, 623468208, 627663024, 631853745, 636048561, 640243377, 644438193, 648633009, 652827825, 657022641, 4065540, 8259845, 12454661, 16648454, 20843270, 25038086, 29231367, 33426183, 37620999, 41815815, 46008584, 50203400, 54398216, 58593032, 62787848, 66980105, 71174921, 75369737, 79564553, 83759369, 87954185, 616435979, 620630795, 624825611, 629020427, 633211148, 637405964, 641600780, 645795596, 649990412, 654185228, 658380044, 661217457, 665412273, 670651058, 674845874, 679040690, 683235506, 687430322, 691625138, 695819954, 700014770, 704209586, 708404402, 1052641549, 1056836365, 1061031181, 1065225997, 1069420813, 1073615629, 1077810445, 1082005261, 1086200077, 1090394893, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 662574860, 666769676, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2178719, 6373024, 10567840, 14761633, 18956449, 23151265, 27344546, 31539362, 35734178, 39928994, 44121763, 48316579, 52511395, 56706211, 60901027, 65093284, 69288100, 73482916, 77677732, 81872548, 86067364, 568409765, 572604581, 576799397, 580994213, 585189029, 589383845, 593578661, 597769894, 601964710, 606159526, 610354342, 3536122, 7730427, 11925243, 16119036, 20313852, 24508668, 28701949, 32896765, 37091581, 41286397, 45479166, 49673982, 53868798, 58063614, 62258430, 66450687, 70645503, 74840319, 79035135, 83229951, 87424767, 569767168, 573961984, 578156800, 582351616, 586546432, 590741248, 594936064, 599127297, 603322113, 607516929, 611711745, 614549158, 618743974, 622938790, 627133606, 631324327, 635519143, 639713959, 643908775, 648103591, 652298407, 656493223, 660688039, 664882855, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 615906561, 620101377, 624296193, 628491009, 632681730, 636876546, 641071362, 645266178, 649460994, 653655810, 657850626, 662045442, 666240258, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3222678, 7416983, 11611799, 15805592, 20000408, 24195224, 28388505, 32583321, 36778137, 40972953, 45165722, 49360538, 53555354, 57750170, 61944986, 66137243, 70332059, 74526875, 78721691, 82916507, 87111323, 569453724, 573648540, 577843356, 582038172, 586232988, 590427804, 594622620, 598813853, 603008669, 607203485, 611398301, 615593117, 619787933, 623982749, 628177565, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3218574, 7412879, 11607695, 15801488, 19996304, 24191120, 28384401, 32579217, 36774033, 40968849, 45161618, 49356434, 53551250, 57746066, 61940882, 66133139, 70327955, 74522771, 78717587, 82912403, 87107219, 569449620, 573644436, 577839252, 582034068, 586228884, 590423700, 594618516, 0, 0, 0, 0, 3214983, 7409288, 11604104, 15797897, 19992713, 24187529, 28380810, 32575626, 36770442, 40965258, 45158027, 49352843, 53547659, 57742475, 61937291, 66129548, 70324364, 74519180, 78713996, 82908812, 87103628, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3153423, 7347728, 11542544, 15736337, 19931153, 24125969, 28319250, 32514066, 36708882, 40903698, 45096467, 49291283, 53486099, 57680915, 61875731, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3150858, 7345163, 11539979, 15733772, 19928588, 24123404, 28316685, 32511501, 36706317, 40901133, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3148806, 7343111, 11537927, 15731720, 19926536, 24121352, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3147267, 7341572, 11536388, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3146241, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
52
+ constexpr int kD2S[630] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, -1, -1, -1, -1, -1, -1, 84, 85, 86, 87, 88, 89, 90, -1, -1, -1, -1, -1, -1, 91, 92, 93, 94, 95, 96, 97, 98, -1, -1, -1, -1, -1, -1, 99, 100, 101, 102, 103, 104, 105, 106, 107, -1, -1, -1, -1, -1, -1, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, -1, -1, -1, -1, -1, -1, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, -1, -1, -1, -1, -1, -1, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 141, 142, 143, 144, 145, 146, 147, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 148, 149, 150, 151, 152, 153, 154, 155, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 156, 157, 158, 159, 160, 161, 162, 163, 164, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 256, 257, 258, -1, -1, -1, -1, -1, -1, -1, 259, 260, 261, 262, 263, 264, 265, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 266, 267, 268, -1, -1, -1, -1, -1, -1, -1, 269, 270, 271, 272, 273, 274, 275, 276, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 277, 278, 279, -1, -1, -1, -1, -1, -1, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 289, 290, 291, -1, -1, -1, -1, -1, -1, -1, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 302, 303, 304, -1, -1, -1, -1, -1, -1, -1, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 316, 317, 318, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 331, 332, 333, -1, -1, -1, -1, -1, -1, -1, 334, 335, 336, 337, 338, 339, 340};
53
+ __device__ const int dD2S[630] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, -1, -1, -1, -1, -1, -1, 84, 85, 86, 87, 88, 89, 90, -1, -1, -1, -1, -1, -1, 91, 92, 93, 94, 95, 96, 97, 98, -1, -1, -1, -1, -1, -1, 99, 100, 101, 102, 103, 104, 105, 106, 107, -1, -1, -1, -1, -1, -1, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, -1, -1, -1, -1, -1, -1, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, -1, -1, -1, -1, -1, -1, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 141, 142, 143, 144, 145, 146, 147, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 148, 149, 150, 151, 152, 153, 154, 155, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 156, 157, 158, 159, 160, 161, 162, 163, 164, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 256, 257, 258, -1, -1, -1, -1, -1, -1, -1, 259, 260, 261, 262, 263, 264, 265, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 266, 267, 268, -1, -1, -1, -1, -1, -1, -1, 269, 270, 271, 272, 273, 274, 275, 276, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 277, 278, 279, -1, -1, -1, -1, -1, -1, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 289, 290, 291, -1, -1, -1, -1, -1, -1, -1, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 302, 303, 304, -1, -1, -1, -1, -1, -1, -1, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 316, 317, 318, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 331, 332, 333, -1, -1, -1, -1, -1, -1, -1, 334, 335, 336, 337, 338, 339, 340};
54
+ constexpr int ND2SR = 20, ND2SW = 10;
55
+ constexpr unsigned int kD2SP[320] = {2097152, 2162689, 2228226, 2293763, 2359300, 2424837, 2490374, 2555911, 2621448, 2686985, 2752522, 2818059, 2883596, 2949133, 3014670, 3080207, 3145744, 3211281, 3276818, 3342355, 3407892, 3473429, 3538966, 3604503, 3670040, 3735577, 3801114, 3866651, 3932188, 3997725, 4063262, 4128799, 5898304, 4294901825, 4294901826, 4294901827, 4294901828, 4294901829, 4294901830, 5963847, 6029384, 6094921, 6160458, 6225995, 6291532, 6357069, 6422606, 4294901839, 4294901840, 4294901841, 4294901842, 4294901843, 4294967295, 6553599, 6619135, 6684671, 6750207, 6815743, 6815828, 6881365, 6946902, 7012439, 4294901848, 4294901849, 4294967295, 4294967295, 4294967295, 4294967295, 4294901868, 8454253, 8519790, 8585327, 8650864, 8716401, 8781938, 8847475, 8913012, 8978549, 9109503, 9175039, 9240575, 4294967295, 4294967295, 4294967295, 4294901878, 4294901879, 4294901880, 4294901881, 4294901882, 4294901883, 4294901884, 4294901885, 4294901886, 9240703, 9306240, 9437183, 4294901904, 4294901905, 4294901906, 4294901907, 10289151, 10354687, 10420223, 10485759, 10551295, 10616831, 10682367, 10747903, 10813439, 4294967295, 4294967295, 4294967295, 4294901908, 4294901909, 4294901910, 4294901911, 4294901912, 4294901913, 4294901914, 4294901915, 4294967295, 10878975, 10944511, 11010047, 11075583, 11141119, 11206655, 11272191, 4294901932, 4294901933, 4294901934, 4294967295, 4294967295, 4294967295, 12255231, 12320767, 12386303, 12451839, 12517375, 12582911, 12648447, 12713983, 12779519, 12779695, 12845232, 12910769, 4294901938, 4294901939, 4294901940, 4294901941, 4294901942, 4294901943, 4294901944, 4294901945, 4294967295, 4294967295, 4294967295, 4294967295, 13041663, 13107199, 14418120, 14483657, 14549194, 14614731, 14680268, 4294901965, 4294901966, 4294901967, 4294901968, 4294901969, 4294901970, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 14811135, 14876671, 14942207, 15007743, 15073279, 15138815, 15139027, 15204564, 15270101, 15335638, 15401175, 15466712, 15532249, 15597786, 15663323, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 16842751, 16908287, 16973823, 4294967295, 4294902000, 4294902001, 4294902002, 4294902003, 4294902004, 4294902005, 16974070, 17039607, 17105144, 17170681, 17236218, 17301755, 17367292, 4294902013, 4294902014, 4294902015, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 18219007, 18284543, 18284810, 4294902027, 4294902028, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 18415615, 18481151, 18481421, 18546958, 18612495, 18678032, 18743569, 18809106, 18874643, 4294902036, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 19792161, 19857698, 19923235, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 19988772, 20054309, 20119846, 20185383, 20250920, 20316457, 20381994, 20447531, 20513068, 20578605, 20709375, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294902076, 4294902077, 21692734, 21823487, 21889023, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294902079, 4294902080, 21889345, 21954882, 22020419, 22085956, 22151493, 22217030, 22282567, 4294902088, 4294902089, 4294902090, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295};
56
+ __device__ const unsigned int dD2SP[320] = {2097152, 2162689, 2228226, 2293763, 2359300, 2424837, 2490374, 2555911, 2621448, 2686985, 2752522, 2818059, 2883596, 2949133, 3014670, 3080207, 3145744, 3211281, 3276818, 3342355, 3407892, 3473429, 3538966, 3604503, 3670040, 3735577, 3801114, 3866651, 3932188, 3997725, 4063262, 4128799, 5898304, 4294901825, 4294901826, 4294901827, 4294901828, 4294901829, 4294901830, 5963847, 6029384, 6094921, 6160458, 6225995, 6291532, 6357069, 6422606, 4294901839, 4294901840, 4294901841, 4294901842, 4294901843, 4294967295, 6553599, 6619135, 6684671, 6750207, 6815743, 6815828, 6881365, 6946902, 7012439, 4294901848, 4294901849, 4294967295, 4294967295, 4294967295, 4294967295, 4294901868, 8454253, 8519790, 8585327, 8650864, 8716401, 8781938, 8847475, 8913012, 8978549, 9109503, 9175039, 9240575, 4294967295, 4294967295, 4294967295, 4294901878, 4294901879, 4294901880, 4294901881, 4294901882, 4294901883, 4294901884, 4294901885, 4294901886, 9240703, 9306240, 9437183, 4294901904, 4294901905, 4294901906, 4294901907, 10289151, 10354687, 10420223, 10485759, 10551295, 10616831, 10682367, 10747903, 10813439, 4294967295, 4294967295, 4294967295, 4294901908, 4294901909, 4294901910, 4294901911, 4294901912, 4294901913, 4294901914, 4294901915, 4294967295, 10878975, 10944511, 11010047, 11075583, 11141119, 11206655, 11272191, 4294901932, 4294901933, 4294901934, 4294967295, 4294967295, 4294967295, 12255231, 12320767, 12386303, 12451839, 12517375, 12582911, 12648447, 12713983, 12779519, 12779695, 12845232, 12910769, 4294901938, 4294901939, 4294901940, 4294901941, 4294901942, 4294901943, 4294901944, 4294901945, 4294967295, 4294967295, 4294967295, 4294967295, 13041663, 13107199, 14418120, 14483657, 14549194, 14614731, 14680268, 4294901965, 4294901966, 4294901967, 4294901968, 4294901969, 4294901970, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 14811135, 14876671, 14942207, 15007743, 15073279, 15138815, 15139027, 15204564, 15270101, 15335638, 15401175, 15466712, 15532249, 15597786, 15663323, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 16842751, 16908287, 16973823, 4294967295, 4294902000, 4294902001, 4294902002, 4294902003, 4294902004, 4294902005, 16974070, 17039607, 17105144, 17170681, 17236218, 17301755, 17367292, 4294902013, 4294902014, 4294902015, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 18219007, 18284543, 18284810, 4294902027, 4294902028, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 18415615, 18481151, 18481421, 18546958, 18612495, 18678032, 18743569, 18809106, 18874643, 4294902036, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 19792161, 19857698, 19923235, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 19988772, 20054309, 20119846, 20185383, 20250920, 20316457, 20381994, 20447531, 20513068, 20578605, 20709375, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294902076, 4294902077, 21692734, 21823487, 21889023, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294902079, 4294902080, 21889345, 21954882, 22020419, 22085956, 22151493, 22217030, 22282567, 4294902088, 4294902089, 4294902090, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295};
57
+ constexpr int OFF_POS = 0;
58
+ constexpr int OFF_QUAT = 96;
59
+ constexpr int OFF_AXIS = 224;
60
+ constexpr int OFF_IPOS = 320;
61
+ constexpr int OFF_IQUAT = 416;
62
+ constexpr int OFF_MASS = 544;
63
+ constexpr int OFF_INERT = 576;
64
+ constexpr int OFF_ARM = 672;
65
+ constexpr int OFF_KP = 707;
66
+ constexpr int OFF_KD = 736;
67
+ constexpr int OFF_FLO = 765;
68
+ constexpr int OFF_FHI = 794;
69
+ constexpr int OFF_GRAV = 823;
70
+ constexpr int NVALS = 826;
71
+ static const float kValues[NVALS] = {0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.793f, 0.0f, 0.064452f, -0.1027f, 0.0f, 0.052f, -0.030465f, 0.025001f, 0.0f, -0.12412f, -0.078273f, 0.0021489f, -0.17734f, 0.0f, -9.4445e-05f, -0.30001f, 0.0f, 0.0f, -0.017558f, 0.0f, -0.064452f, -0.1027f, 0.0f, -0.052f, -0.030465f, 0.025001f, 0.0f, -0.12412f, -0.078273f, -0.0021489f, -0.17734f, 0.0f, 9.4445e-05f, -0.30001f, 0.0f, 0.0f, -0.017558f, 0.0f, 0.0f, 0.0f, -0.0039635f, 0.0f, 0.044f, 0.0f, 0.0f, 0.0f, 0.0039563f, 0.10022f, 0.24778f, 0.0f, 0.038f, -0.013831f, 0.0f, 0.00624f, -0.1032f, 0.015783f, 0.0f, -0.080518f, 0.1f, 0.00188791f, -0.01f, 0.038f, 0.0f, 0.0f, 0.046f, 0.0f, 0.0f, 0.0039563f, -0.10021f, 0.24778f, 0.0f, -0.038f, -0.013831f, 0.0f, -0.00624f, -0.1032f, 0.015783f, 0.0f, -0.080518f, 0.1f, -0.00188791f, -0.01f, 0.038f, 0.0f, 0.0f, 0.046f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.996178685660368f, 0.0f, -0.08733857244071258f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.996178685660368f, 0.0f, 0.08733857244071258f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.996178685660368f, 0.0f, -0.08733857244071258f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.996178685660368f, 0.0f, 0.08733857244071258f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.9902641396131312f, 0.13920101962535997f, 1.387220195578278e-05f, -9.868681391343435e-05f, 0.9902682191424201f, -0.13917203079821713f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.9902641396131312f, -0.13920101962535997f, 1.387220195578278e-05f, 9.868681391343435e-05f, 0.9902682191424201f, 0.13917203079821713f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, -0.07605f, 0.002741f, 0.047791f, -0.02606f, 0.029812f, -0.001045f, -0.087934f, -0.057709f, -0.010981f, -0.15078f, 0.005457f, 0.003964f, -0.12074f, -0.007269f, 0.0f, 0.011137f, 0.026505f, 0.0f, -0.016425f, 0.002741f, -0.047791f, -0.02606f, 0.029812f, 0.001045f, -0.087934f, -0.057709f, 0.010981f, -0.15078f, 0.005457f, -0.003964f, -0.12074f, -0.007269f, 0.0f, 0.011137f, 0.026505f, 0.0f, -0.016425f, 0.003494f, 0.000233f, 0.018034f, 0.0f, 2.3e-05f, 0.0f, 0.00203158f, 0.000339683f, 0.184568f, 0.0f, 0.035892f, -0.011628f, -0.000227f, 0.00727f, -0.063243f, 0.010773f, -0.002949f, -0.072009f, 0.064956f, 0.004454f, -0.010062f, 0.0171394f, 0.000537591f, 4.8864e-07f, 0.0229999f, -0.00111685f, -0.00111658f, 0.0708244f, 0.000191745f, 0.00161742f, 0.0f, -0.035892f, -0.011628f, -0.000227f, -0.00727f, -0.063243f, 0.010773f, 0.002949f, -0.072009f, 0.064956f, -0.004454f, -0.010062f, 0.0171394f, -0.000537591f, 4.8864e-07f, 0.0229999f, 0.00111685f, -0.00111658f, 0.0708244f, -0.000191745f, 0.00161742f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.9999999203404465f, 0.0f, -0.00039914796820404854f, 0.0f, 0.9548624733467579f, 0.2939641457246244f, 0.03025561499838738f, 0.030122014932158825f, 0.9778077727100524f, -1.9711895417999528e-05f, 0.2055759522141788f, -0.040379290613894565f, 0.6005979161898699f, 0.1583199779073194f, 0.22348196881432258f, 0.7511808951768449f, 0.923417870941202f, -0.03276989542001141f, 0.015824597788321373f, 0.3820669466015307f, 0.6030529870741624f, 0.36922499208603166f, 0.36922499208603166f, 0.6030529870741624f, -0.0004810918332731656f, 0.7284817475378975f, -0.0006189667854913228f, 0.6850647625844561f, 0.9548624733467579f, -0.2939641457246244f, 0.03025561499838738f, -0.030122014932158825f, 0.9778077727100524f, 1.9711895417999528e-05f, 0.2055759522141788f, 0.040379290613894565f, 0.7511808951768449f, 0.22348196881432258f, 0.1583199779073194f, 0.6005979161898699f, 0.9234388874809869f, 0.034527595792887805f, 0.011633298582507955f, -0.3820119534526772f, 0.6030529870741624f, 0.36922499208603166f, 0.36922499208603166f, 0.6030529870741624f, 0.0004810918332731656f, 0.7284817475378975f, 0.0006189667854913228f, 0.6850647625844561f, 0.2896969864022031f, 0.5910009722595969f, -0.33779498414457937f, 0.6728209684191301f, 0.5f, 0.5f, -0.5f, 0.5f, 0.9998025806355361f, -6.033187469395981e-05f, 0.01982559168420967f, 0.0013198594463885572f, 0.6541519182994919f, 0.01304579837064094f, -0.32626695925078625f, 0.682249914790184f, 0.7012560252335278f, -0.019622300706075745f, -0.0071031702555957275f, 0.7126040256418666f, 0.7168787147457542f, -0.09648286160836504f, -0.06799417294434035f, 0.6871337265816254f, 0.5417652363909151f, 0.6361322775665198f, 0.3888211696561277f, 0.38812916935418396f, 0.5753383685604386f, 0.41166726371310447f, -0.5749063682837002f, 0.41109426334604177f, 0.24999782840992438f, 0.6613625460630598f, 0.2930357988701134f, 0.6436075582494845f, 0.5105708492555107f, 0.5262948446130489f, 0.4680778618014359f, 0.49318785438778706f, 0.682249914790184f, -0.32626695925078625f, 0.01304579837064094f, 0.6541519182994919f, 0.7126040256418666f, -0.0071031702555957275f, -0.019622300706075745f, 0.7012560252335278f, 0.6871337265816254f, -0.06799417294434035f, -0.09648286160836504f, 0.7168787147457542f, 0.38812916935418396f, 0.3888211696561277f, 0.6361322775665198f, 0.5417652363909151f, 0.41166726371310447f, 0.5753383685604386f, -0.41109426334604177f, 0.5749063682837002f, 0.6436075582494845f, 0.2930357988701134f, 0.6613625460630598f, 0.24999782840992438f, 0.49318785438778706f, 0.4680778618014359f, 0.5262948446130489f, 0.5105708492555107f, 0.0f, 0.0f, 3.813f, 1.35f, 1.52f, 1.702f, 1.932f, 0.074f, 0.608f, 1.35f, 1.52f, 1.702f, 1.932f, 0.074f, 0.608f, 0.214f, 0.086f, 7.818f, 0.718f, 0.643f, 0.734f, 0.6f, 0.085445f, 0.48405f, 0.254576f, 0.718f, 0.643f, 0.734f, 0.6f, 0.085445f, 0.48405f, 0.254576f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.010549f, 0.0093089f, 0.0079184f, 0.00181517f, 0.00153422f, 0.00116212f, 0.00254986f, 0.00241169f, 0.00148755f, 0.00776166f, 0.00717575f, 0.00160139f, 0.0113804f, 0.0112778f, 0.00146458f, 1.89e-05f, 1.40805e-05f, 6.9195e-06f, 0.00167218f, 0.0016161f, 0.000217621f, 0.00181517f, 0.00153422f, 0.00116212f, 0.00254986f, 0.00241169f, 0.00148755f, 0.00776166f, 0.00717575f, 0.00160139f, 0.011374f, 0.0112843f, 0.00146452f, 1.89e-05f, 1.40805e-05f, 6.9195e-06f, 0.00167218f, 0.0016161f, 0.000217621f, 0.000163531f, 0.000107714f, 0.000102205f, 8.245e-06f, 7.079e-06f, 6.339e-06f, 0.121847f, 0.109825f, 0.0273735f, 0.000465864f, 0.000432842f, 0.000406394f, 0.000691311f, 0.000618011f, 0.000388977f, 0.00106187f, 0.00103217f, 0.000400661f, 0.000443035f, 0.000421612f, 0.000259353f, 5.48211e-05f, 4.96646e-05f, 3.57798e-05f, 0.000430353f, 0.000429873f, 0.000164648f, 0.000646113f, 0.000559993f, 0.000147566f, 0.000465864f, 0.000432842f, 0.000406394f, 0.000691311f, 0.000618011f, 0.000388977f, 0.00106187f, 0.00103217f, 0.000400661f, 0.000443035f, 0.000421612f, 0.000259353f, 5.48211e-05f, 4.96646e-05f, 3.57798e-05f, 0.000430353f, 0.000429873f, 0.000164648f, 0.000646113f, 0.000559993f, 0.000147566f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.01017752004132231f, 0.025101924999999997f, 0.01017752004132231f, 0.025101924999999997f, 0.00721945f, 0.00721945f, 0.01017752004132231f, 0.025101924999999997f, 0.01017752004132231f, 0.025101924999999997f, 0.00721945f, 0.00721945f, 0.01017752004132231f, 0.00721945f, 0.00721945f, 0.003609725f, 0.003609725f, 0.003609725f, 0.003609725f, 0.003609725f, 0.00425f, 0.00425f, 0.003609725f, 0.003609725f, 0.003609725f, 0.003609725f, 0.003609725f, 0.00425f, 0.00425f, 14.25062309787429f, 14.25062309787429f, 14.25062309787429f, 14.25062309787429f, 14.25062309787429f, 14.25062309787429f, 14.25062309787429f, 14.25062309787429f, 14.25062309787429f, 14.25062309787429f, 40.17923863450712f, 40.17923863450712f, 40.17923863450712f, 40.17923863450712f, 40.17923863450712f, 99.09842777666111f, 99.09842777666111f, 99.09842777666111f, 99.09842777666111f, 16.77832748089279f, 16.77832748089279f, 16.77832748089279f, 16.77832748089279f, 28.50124619574858f, 28.50124619574858f, 28.50124619574858f, 28.50124619574858f, 28.50124619574858f, 28.50124619574858f, 0.907222843292423f, 0.907222843292423f, 0.907222843292423f, 0.907222843292423f, 0.907222843292423f, 0.907222843292423f, 0.907222843292423f, 0.907222843292423f, 0.907222843292423f, 0.907222843292423f, 2.557889775413375f, 2.557889775413375f, 2.557889775413375f, 2.557889775413375f, 2.557889775413375f, 6.308801853496639f, 6.308801853496639f, 6.308801853496639f, 6.308801853496639f, 1.06814150219f, 1.06814150219f, 1.06814150219f, 1.06814150219f, 1.814445686584846f, 1.814445686584846f, 1.814445686584846f, 1.814445686584846f, 1.814445686584846f, 1.814445686584846f, -25.0f, -25.0f, -25.0f, -25.0f, -25.0f, -25.0f, -25.0f, -25.0f, -25.0f, -25.0f, -88.0f, -88.0f, -88.0f, -88.0f, -88.0f, -139.0f, -139.0f, -139.0f, -139.0f, -5.0f, -5.0f, -5.0f, -5.0f, -50.0f, -50.0f, -50.0f, -50.0f, -50.0f, -50.0f, 25.0f, 25.0f, 25.0f, 25.0f, 25.0f, 25.0f, 25.0f, 25.0f, 25.0f, 25.0f, 88.0f, 88.0f, 88.0f, 88.0f, 88.0f, 139.0f, 139.0f, 139.0f, 139.0f, 5.0f, 5.0f, 5.0f, 5.0f, 50.0f, 50.0f, 50.0f, 50.0f, 50.0f, 50.0f, 0.0f, 0.0f, -9.81f};
72
+ static const double kValuesD[NVALS] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.793, 0.0, 0.064452, -0.1027, 0.0, 0.052, -0.030465, 0.025001, 0.0, -0.12412, -0.078273, 0.0021489, -0.17734, 0.0, -9.4445e-05, -0.30001, 0.0, 0.0, -0.017558, 0.0, -0.064452, -0.1027, 0.0, -0.052, -0.030465, 0.025001, 0.0, -0.12412, -0.078273, -0.0021489, -0.17734, 0.0, 9.4445e-05, -0.30001, 0.0, 0.0, -0.017558, 0.0, 0.0, 0.0, -0.0039635, 0.0, 0.044, 0.0, 0.0, 0.0, 0.0039563, 0.10022, 0.24778, 0.0, 0.038, -0.013831, 0.0, 0.00624, -0.1032, 0.015783, 0.0, -0.080518, 0.1, 0.00188791, -0.01, 0.038, 0.0, 0.0, 0.046, 0.0, 0.0, 0.0039563, -0.10021, 0.24778, 0.0, -0.038, -0.013831, 0.0, -0.00624, -0.1032, 0.015783, 0.0, -0.080518, 0.1, -0.00188791, -0.01, 0.038, 0.0, 0.0, 0.046, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.996178685660368, 0.0, -0.08733857244071258, 0.0, 1.0, 0.0, 0.0, 0.0, 0.996178685660368, 0.0, 0.08733857244071258, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.996178685660368, 0.0, -0.08733857244071258, 0.0, 1.0, 0.0, 0.0, 0.0, 0.996178685660368, 0.0, 0.08733857244071258, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.9902641396131312, 0.13920101962535997, 1.387220195578278e-05, -9.868681391343435e-05, 0.9902682191424201, -0.13917203079821713, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.9902641396131312, -0.13920101962535997, 1.387220195578278e-05, 9.868681391343435e-05, 0.9902682191424201, 0.13917203079821713, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 1.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 1.0, 0.0, 0.0, 1.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 1.0, 0.0, 0.0, 1.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 1.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 1.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 1.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.07605, 0.002741, 0.047791, -0.02606, 0.029812, -0.001045, -0.087934, -0.057709, -0.010981, -0.15078, 0.005457, 0.003964, -0.12074, -0.007269, 0.0, 0.011137, 0.026505, 0.0, -0.016425, 0.002741, -0.047791, -0.02606, 0.029812, 0.001045, -0.087934, -0.057709, 0.010981, -0.15078, 0.005457, -0.003964, -0.12074, -0.007269, 0.0, 0.011137, 0.026505, 0.0, -0.016425, 0.003494, 0.000233, 0.018034, 0.0, 2.3e-05, 0.0, 0.00203158, 0.000339683, 0.184568, 0.0, 0.035892, -0.011628, -0.000227, 0.00727, -0.063243, 0.010773, -0.002949, -0.072009, 0.064956, 0.004454, -0.010062, 0.0171394, 0.000537591, 4.8864e-07, 0.0229999, -0.00111685, -0.00111658, 0.0708244, 0.000191745, 0.00161742, 0.0, -0.035892, -0.011628, -0.000227, -0.00727, -0.063243, 0.010773, 0.002949, -0.072009, 0.064956, -0.004454, -0.010062, 0.0171394, -0.000537591, 4.8864e-07, 0.0229999, 0.00111685, -0.00111658, 0.0708244, -0.000191745, 0.00161742, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.9999999203404465, 0.0, -0.00039914796820404854, 0.0, 0.9548624733467579, 0.2939641457246244, 0.03025561499838738, 0.030122014932158825, 0.9778077727100524, -1.9711895417999528e-05, 0.2055759522141788, -0.040379290613894565, 0.6005979161898699, 0.1583199779073194, 0.22348196881432258, 0.7511808951768449, 0.923417870941202, -0.03276989542001141, 0.015824597788321373, 0.3820669466015307, 0.6030529870741624, 0.36922499208603166, 0.36922499208603166, 0.6030529870741624, -0.0004810918332731656, 0.7284817475378975, -0.0006189667854913228, 0.6850647625844561, 0.9548624733467579, -0.2939641457246244, 0.03025561499838738, -0.030122014932158825, 0.9778077727100524, 1.9711895417999528e-05, 0.2055759522141788, 0.040379290613894565, 0.7511808951768449, 0.22348196881432258, 0.1583199779073194, 0.6005979161898699, 0.9234388874809869, 0.034527595792887805, 0.011633298582507955, -0.3820119534526772, 0.6030529870741624, 0.36922499208603166, 0.36922499208603166, 0.6030529870741624, 0.0004810918332731656, 0.7284817475378975, 0.0006189667854913228, 0.6850647625844561, 0.2896969864022031, 0.5910009722595969, -0.33779498414457937, 0.6728209684191301, 0.5, 0.5, -0.5, 0.5, 0.9998025806355361, -6.033187469395981e-05, 0.01982559168420967, 0.0013198594463885572, 0.6541519182994919, 0.01304579837064094, -0.32626695925078625, 0.682249914790184, 0.7012560252335278, -0.019622300706075745, -0.0071031702555957275, 0.7126040256418666, 0.7168787147457542, -0.09648286160836504, -0.06799417294434035, 0.6871337265816254, 0.5417652363909151, 0.6361322775665198, 0.3888211696561277, 0.38812916935418396, 0.5753383685604386, 0.41166726371310447, -0.5749063682837002, 0.41109426334604177, 0.24999782840992438, 0.6613625460630598, 0.2930357988701134, 0.6436075582494845, 0.5105708492555107, 0.5262948446130489, 0.4680778618014359, 0.49318785438778706, 0.682249914790184, -0.32626695925078625, 0.01304579837064094, 0.6541519182994919, 0.7126040256418666, -0.0071031702555957275, -0.019622300706075745, 0.7012560252335278, 0.6871337265816254, -0.06799417294434035, -0.09648286160836504, 0.7168787147457542, 0.38812916935418396, 0.3888211696561277, 0.6361322775665198, 0.5417652363909151, 0.41166726371310447, 0.5753383685604386, -0.41109426334604177, 0.5749063682837002, 0.6436075582494845, 0.2930357988701134, 0.6613625460630598, 0.24999782840992438, 0.49318785438778706, 0.4680778618014359, 0.5262948446130489, 0.5105708492555107, 0.0, 0.0, 3.813, 1.35, 1.52, 1.702, 1.932, 0.074, 0.608, 1.35, 1.52, 1.702, 1.932, 0.074, 0.608, 0.214, 0.086, 7.818, 0.718, 0.643, 0.734, 0.6, 0.085445, 0.48405, 0.254576, 0.718, 0.643, 0.734, 0.6, 0.085445, 0.48405, 0.254576, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.010549, 0.0093089, 0.0079184, 0.00181517, 0.00153422, 0.00116212, 0.00254986, 0.00241169, 0.00148755, 0.00776166, 0.00717575, 0.00160139, 0.0113804, 0.0112778, 0.00146458, 1.89e-05, 1.40805e-05, 6.9195e-06, 0.00167218, 0.0016161, 0.000217621, 0.00181517, 0.00153422, 0.00116212, 0.00254986, 0.00241169, 0.00148755, 0.00776166, 0.00717575, 0.00160139, 0.011374, 0.0112843, 0.00146452, 1.89e-05, 1.40805e-05, 6.9195e-06, 0.00167218, 0.0016161, 0.000217621, 0.000163531, 0.000107714, 0.000102205, 8.245e-06, 7.079e-06, 6.339e-06, 0.121847, 0.109825, 0.0273735, 0.000465864, 0.000432842, 0.000406394, 0.000691311, 0.000618011, 0.000388977, 0.00106187, 0.00103217, 0.000400661, 0.000443035, 0.000421612, 0.000259353, 5.48211e-05, 4.96646e-05, 3.57798e-05, 0.000430353, 0.000429873, 0.000164648, 0.000646113, 0.000559993, 0.000147566, 0.000465864, 0.000432842, 0.000406394, 0.000691311, 0.000618011, 0.000388977, 0.00106187, 0.00103217, 0.000400661, 0.000443035, 0.000421612, 0.000259353, 5.48211e-05, 4.96646e-05, 3.57798e-05, 0.000430353, 0.000429873, 0.000164648, 0.000646113, 0.000559993, 0.000147566, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.01017752004132231, 0.025101924999999997, 0.01017752004132231, 0.025101924999999997, 0.00721945, 0.00721945, 0.01017752004132231, 0.025101924999999997, 0.01017752004132231, 0.025101924999999997, 0.00721945, 0.00721945, 0.01017752004132231, 0.00721945, 0.00721945, 0.003609725, 0.003609725, 0.003609725, 0.003609725, 0.003609725, 0.00425, 0.00425, 0.003609725, 0.003609725, 0.003609725, 0.003609725, 0.003609725, 0.00425, 0.00425, 14.25062309787429, 14.25062309787429, 14.25062309787429, 14.25062309787429, 14.25062309787429, 14.25062309787429, 14.25062309787429, 14.25062309787429, 14.25062309787429, 14.25062309787429, 40.17923863450712, 40.17923863450712, 40.17923863450712, 40.17923863450712, 40.17923863450712, 99.09842777666111, 99.09842777666111, 99.09842777666111, 99.09842777666111, 16.77832748089279, 16.77832748089279, 16.77832748089279, 16.77832748089279, 28.50124619574858, 28.50124619574858, 28.50124619574858, 28.50124619574858, 28.50124619574858, 28.50124619574858, 0.907222843292423, 0.907222843292423, 0.907222843292423, 0.907222843292423, 0.907222843292423, 0.907222843292423, 0.907222843292423, 0.907222843292423, 0.907222843292423, 0.907222843292423, 2.557889775413375, 2.557889775413375, 2.557889775413375, 2.557889775413375, 2.557889775413375, 6.308801853496639, 6.308801853496639, 6.308801853496639, 6.308801853496639, 1.06814150219, 1.06814150219, 1.06814150219, 1.06814150219, 1.814445686584846, 1.814445686584846, 1.814445686584846, 1.814445686584846, 1.814445686584846, 1.814445686584846, -25.0, -25.0, -25.0, -25.0, -25.0, -25.0, -25.0, -25.0, -25.0, -25.0, -88.0, -88.0, -88.0, -88.0, -88.0, -139.0, -139.0, -139.0, -139.0, -5.0, -5.0, -5.0, -5.0, -50.0, -50.0, -50.0, -50.0, -50.0, -50.0, 25.0, 25.0, 25.0, 25.0, 25.0, 25.0, 25.0, 25.0, 25.0, 25.0, 88.0, 88.0, 88.0, 88.0, 88.0, 139.0, 139.0, 139.0, 139.0, 5.0, 5.0, 5.0, 5.0, 50.0, 50.0, 50.0, 50.0, 50.0, 50.0, 0.0, 0.0, -9.81}; // the same values in f64 (an f64 reference / gate)
73
+ } // namespace
74
+ } // namespace d16
@@ -0,0 +1,18 @@
1
+ #pragma once
2
+ // Generated by tools/d16_bodies/gen_split.py from d16_soft_law_62f77a4bb16b1e67_mmfloor.json. Do not edit. The split factor's layout (tools/d16_bodies/PHASE_B.md section 4): the dofs below the wrists in
3
+ // 10 chains of 4, eliminated leaf first, each coupled to 16 core ancestors; the 37-dof core factored dense after their Schur updates. Exact on this law (gen_split.py's asserts).
4
+ #ifndef D16_SPLIT_DEVICE
5
+ #define D16_SPLIT_DEVICE __device__
6
+ #endif
7
+ namespace d16::split {
8
+ constexpr int NV = 77, NC = 37, NCH = 10, CL = 4, NA = 16;
9
+ constexpr int NTRI_C = 703, CEE = 10, CW = 74, WORDS = 1443, NUPD = 1360, NRU = 160, NTRI = 3003;
10
+ D16_SPLIT_DEVICE const int gSplitCore[NC] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 36, 37, 38, 39, 40, 41, 42, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76};
11
+ D16_SPLIT_DEVICE const int gSplitChain[NCH * CL] = {19, 18, 17, 16, 23, 22, 21, 20, 27, 26, 25, 24, 31, 30, 29, 28, 35, 34, 33, 32, 46, 45, 44, 43, 50, 49, 48, 47, 54, 53, 52, 51, 58, 57, 56, 55, 62, 61, 60, 59};
12
+ D16_SPLIT_DEVICE const int gSplitAnc[NCH * NA] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 0, 1, 2, 3, 4, 5, 6, 7, 8, 16, 17, 18, 19, 20, 21, 22, 0, 1, 2, 3, 4, 5, 6, 7, 8, 16, 17, 18, 19, 20, 21, 22, 0, 1, 2, 3, 4, 5, 6, 7, 8, 16, 17, 18, 19, 20, 21, 22, 0, 1, 2, 3, 4, 5, 6, 7, 8, 16, 17, 18, 19, 20, 21, 22, 0, 1, 2, 3, 4, 5, 6, 7, 8, 16, 17, 18, 19, 20, 21, 22};
13
+ D16_SPLIT_DEVICE const int gSplitUpdOff[NTRI_C + 1] = {0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 210, 220, 230, 240, 250, 260, 270, 280, 290, 300, 310, 320, 330, 340, 350, 360, 370, 380, 390, 400, 410, 420, 430, 440, 450, 455, 460, 465, 470, 475, 480, 485, 490, 495, 500, 505, 510, 515, 520, 525, 530, 535, 540, 545, 550, 555, 560, 565, 570, 575, 580, 585, 590, 595, 600, 605, 610, 615, 620, 625, 630, 635, 640, 645, 650, 655, 660, 665, 670, 675, 680, 685, 690, 695, 700, 705, 710, 715, 720, 725, 730, 735, 740, 745, 750, 755, 760, 765, 770, 775, 780, 785, 790, 795, 800, 805, 810, 815, 820, 825, 830, 835, 840, 845, 850, 855, 860, 865, 870, 875, 880, 885, 890, 895, 900, 905, 910, 915, 920, 925, 930, 935, 940, 945, 950, 950, 950, 950, 950, 950, 950, 950, 955, 960, 965, 970, 975, 980, 985, 990, 995, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1005, 1010, 1015, 1020, 1025, 1030, 1035, 1040, 1045, 1050, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1060, 1065, 1070, 1075, 1080, 1085, 1090, 1095, 1100, 1105, 1110, 1115, 1115, 1115, 1115, 1115, 1115, 1115, 1115, 1120, 1125, 1130, 1135, 1140, 1145, 1150, 1155, 1160, 1165, 1170, 1175, 1180, 1180, 1180, 1180, 1180, 1180, 1180, 1180, 1185, 1190, 1195, 1200, 1205, 1210, 1215, 1220, 1225, 1230, 1235, 1240, 1245, 1250, 1250, 1250, 1250, 1250, 1250, 1250, 1250, 1255, 1260, 1265, 1270, 1275, 1280, 1285, 1290, 1295, 1300, 1305, 1310, 1315, 1320, 1325, 1325, 1325, 1325, 1325, 1325, 1325, 1325, 1330, 1335, 1340, 1345, 1350, 1355, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360, 1360};
14
+ D16_SPLIT_DEVICE const int gSplitUpd[NUPD] = {0, 65536, 131072, 196608, 262144, 327680, 393216, 458752, 524288, 589824, 256, 65792, 131328, 196864, 262400, 327936, 393472, 459008, 524544, 590080, 257, 65793, 131329, 196865, 262401, 327937, 393473, 459009, 524545, 590081, 512, 66048, 131584, 197120, 262656, 328192, 393728, 459264, 524800, 590336, 513, 66049, 131585, 197121, 262657, 328193, 393729, 459265, 524801, 590337, 514, 66050, 131586, 197122, 262658, 328194, 393730, 459266, 524802, 590338, 768, 66304, 131840, 197376, 262912, 328448, 393984, 459520, 525056, 590592, 769, 66305, 131841, 197377, 262913, 328449, 393985, 459521, 525057, 590593, 770, 66306, 131842, 197378, 262914, 328450, 393986, 459522, 525058, 590594, 771, 66307, 131843, 197379, 262915, 328451, 393987, 459523, 525059, 590595, 1024, 66560, 132096, 197632, 263168, 328704, 394240, 459776, 525312, 590848, 1025, 66561, 132097, 197633, 263169, 328705, 394241, 459777, 525313, 590849, 1026, 66562, 132098, 197634, 263170, 328706, 394242, 459778, 525314, 590850, 1027, 66563, 132099, 197635, 263171, 328707, 394243, 459779, 525315, 590851, 1028, 66564, 132100, 197636, 263172, 328708, 394244, 459780, 525316, 590852, 1280, 66816, 132352, 197888, 263424, 328960, 394496, 460032, 525568, 591104, 1281, 66817, 132353, 197889, 263425, 328961, 394497, 460033, 525569, 591105, 1282, 66818, 132354, 197890, 263426, 328962, 394498, 460034, 525570, 591106, 1283, 66819, 132355, 197891, 263427, 328963, 394499, 460035, 525571, 591107, 1284, 66820, 132356, 197892, 263428, 328964, 394500, 460036, 525572, 591108, 1285, 66821, 132357, 197893, 263429, 328965, 394501, 460037, 525573, 591109, 1536, 67072, 132608, 198144, 263680, 329216, 394752, 460288, 525824, 591360, 1537, 67073, 132609, 198145, 263681, 329217, 394753, 460289, 525825, 591361, 1538, 67074, 132610, 198146, 263682, 329218, 394754, 460290, 525826, 591362, 1539, 67075, 132611, 198147, 263683, 329219, 394755, 460291, 525827, 591363, 1540, 67076, 132612, 198148, 263684, 329220, 394756, 460292, 525828, 591364, 1541, 67077, 132613, 198149, 263685, 329221, 394757, 460293, 525829, 591365, 1542, 67078, 132614, 198150, 263686, 329222, 394758, 460294, 525830, 591366, 1792, 67328, 132864, 198400, 263936, 329472, 395008, 460544, 526080, 591616, 1793, 67329, 132865, 198401, 263937, 329473, 395009, 460545, 526081, 591617, 1794, 67330, 132866, 198402, 263938, 329474, 395010, 460546, 526082, 591618, 1795, 67331, 132867, 198403, 263939, 329475, 395011, 460547, 526083, 591619, 1796, 67332, 132868, 198404, 263940, 329476, 395012, 460548, 526084, 591620, 1797, 67333, 132869, 198405, 263941, 329477, 395013, 460549, 526085, 591621, 1798, 67334, 132870, 198406, 263942, 329478, 395014, 460550, 526086, 591622, 1799, 67335, 132871, 198407, 263943, 329479, 395015, 460551, 526087, 591623, 2048, 67584, 133120, 198656, 264192, 329728, 395264, 460800, 526336, 591872, 2049, 67585, 133121, 198657, 264193, 329729, 395265, 460801, 526337, 591873, 2050, 67586, 133122, 198658, 264194, 329730, 395266, 460802, 526338, 591874, 2051, 67587, 133123, 198659, 264195, 329731, 395267, 460803, 526339, 591875, 2052, 67588, 133124, 198660, 264196, 329732, 395268, 460804, 526340, 591876, 2053, 67589, 133125, 198661, 264197, 329733, 395269, 460805, 526341, 591877, 2054, 67590, 133126, 198662, 264198, 329734, 395270, 460806, 526342, 591878, 2055, 67591, 133127, 198663, 264199, 329735, 395271, 460807, 526343, 591879, 2056, 67592, 133128, 198664, 264200, 329736, 395272, 460808, 526344, 591880, 2304, 67840, 133376, 198912, 264448, 2305, 67841, 133377, 198913, 264449, 2306, 67842, 133378, 198914, 264450, 2307, 67843, 133379, 198915, 264451, 2308, 67844, 133380, 198916, 264452, 2309, 67845, 133381, 198917, 264453, 2310, 67846, 133382, 198918, 264454, 2311, 67847, 133383, 198919, 264455, 2312, 67848, 133384, 198920, 264456, 2313, 67849, 133385, 198921, 264457, 2560, 68096, 133632, 199168, 264704, 2561, 68097, 133633, 199169, 264705, 2562, 68098, 133634, 199170, 264706, 2563, 68099, 133635, 199171, 264707, 2564, 68100, 133636, 199172, 264708, 2565, 68101, 133637, 199173, 264709, 2566, 68102, 133638, 199174, 264710, 2567, 68103, 133639, 199175, 264711, 2568, 68104, 133640, 199176, 264712, 2569, 68105, 133641, 199177, 264713, 2570, 68106, 133642, 199178, 264714, 2816, 68352, 133888, 199424, 264960, 2817, 68353, 133889, 199425, 264961, 2818, 68354, 133890, 199426, 264962, 2819, 68355, 133891, 199427, 264963, 2820, 68356, 133892, 199428, 264964, 2821, 68357, 133893, 199429, 264965, 2822, 68358, 133894, 199430, 264966, 2823, 68359, 133895, 199431, 264967, 2824, 68360, 133896, 199432, 264968, 2825, 68361, 133897, 199433, 264969, 2826, 68362, 133898, 199434, 264970, 2827, 68363, 133899, 199435, 264971, 3072, 68608, 134144, 199680, 265216, 3073, 68609, 134145, 199681, 265217, 3074, 68610, 134146, 199682, 265218, 3075, 68611, 134147, 199683, 265219, 3076, 68612, 134148, 199684, 265220, 3077, 68613, 134149, 199685, 265221, 3078, 68614, 134150, 199686, 265222, 3079, 68615, 134151, 199687, 265223, 3080, 68616, 134152, 199688, 265224, 3081, 68617, 134153, 199689, 265225, 3082, 68618, 134154, 199690, 265226, 3083, 68619, 134155, 199691, 265227, 3084, 68620, 134156, 199692, 265228, 3328, 68864, 134400, 199936, 265472, 3329, 68865, 134401, 199937, 265473, 3330, 68866, 134402, 199938, 265474, 3331, 68867, 134403, 199939, 265475, 3332, 68868, 134404, 199940, 265476, 3333, 68869, 134405, 199941, 265477, 3334, 68870, 134406, 199942, 265478, 3335, 68871, 134407, 199943, 265479, 3336, 68872, 134408, 199944, 265480, 3337, 68873, 134409, 199945, 265481, 3338, 68874, 134410, 199946, 265482, 3339, 68875, 134411, 199947, 265483, 3340, 68876, 134412, 199948, 265484, 3341, 68877, 134413, 199949, 265485, 3584, 69120, 134656, 200192, 265728, 3585, 69121, 134657, 200193, 265729, 3586, 69122, 134658, 200194, 265730, 3587, 69123, 134659, 200195, 265731, 3588, 69124, 134660, 200196, 265732, 3589, 69125, 134661, 200197, 265733, 3590, 69126, 134662, 200198, 265734, 3591, 69127, 134663, 200199, 265735, 3592, 69128, 134664, 200200, 265736, 3593, 69129, 134665, 200201, 265737, 3594, 69130, 134666, 200202, 265738, 3595, 69131, 134667, 200203, 265739, 3596, 69132, 134668, 200204, 265740, 3597, 69133, 134669, 200205, 265741, 3598, 69134, 134670, 200206, 265742, 3840, 69376, 134912, 200448, 265984, 3841, 69377, 134913, 200449, 265985, 3842, 69378, 134914, 200450, 265986, 3843, 69379, 134915, 200451, 265987, 3844, 69380, 134916, 200452, 265988, 3845, 69381, 134917, 200453, 265989, 3846, 69382, 134918, 200454, 265990, 3847, 69383, 134919, 200455, 265991, 3848, 69384, 134920, 200456, 265992, 3849, 69385, 134921, 200457, 265993, 3850, 69386, 134922, 200458, 265994, 3851, 69387, 134923, 200459, 265995, 3852, 69388, 134924, 200460, 265996, 3853, 69389, 134925, 200461, 265997, 3854, 69390, 134926, 200462, 265998, 3855, 69391, 134927, 200463, 265999, 329984, 395520, 461056, 526592, 592128, 329985, 395521, 461057, 526593, 592129, 329986, 395522, 461058, 526594, 592130, 329987, 395523, 461059, 526595, 592131, 329988, 395524, 461060, 526596, 592132, 329989, 395525, 461061, 526597, 592133, 329990, 395526, 461062, 526598, 592134, 329991, 395527, 461063, 526599, 592135, 329992, 395528, 461064, 526600, 592136, 329993, 395529, 461065, 526601, 592137, 330240, 395776, 461312, 526848, 592384, 330241, 395777, 461313, 526849, 592385, 330242, 395778, 461314, 526850, 592386, 330243, 395779, 461315, 526851, 592387, 330244, 395780, 461316, 526852, 592388, 330245, 395781, 461317, 526853, 592389, 330246, 395782, 461318, 526854, 592390, 330247, 395783, 461319, 526855, 592391, 330248, 395784, 461320, 526856, 592392, 330249, 395785, 461321, 526857, 592393, 330250, 395786, 461322, 526858, 592394, 330496, 396032, 461568, 527104, 592640, 330497, 396033, 461569, 527105, 592641, 330498, 396034, 461570, 527106, 592642, 330499, 396035, 461571, 527107, 592643, 330500, 396036, 461572, 527108, 592644, 330501, 396037, 461573, 527109, 592645, 330502, 396038, 461574, 527110, 592646, 330503, 396039, 461575, 527111, 592647, 330504, 396040, 461576, 527112, 592648, 330505, 396041, 461577, 527113, 592649, 330506, 396042, 461578, 527114, 592650, 330507, 396043, 461579, 527115, 592651, 330752, 396288, 461824, 527360, 592896, 330753, 396289, 461825, 527361, 592897, 330754, 396290, 461826, 527362, 592898, 330755, 396291, 461827, 527363, 592899, 330756, 396292, 461828, 527364, 592900, 330757, 396293, 461829, 527365, 592901, 330758, 396294, 461830, 527366, 592902, 330759, 396295, 461831, 527367, 592903, 330760, 396296, 461832, 527368, 592904, 330761, 396297, 461833, 527369, 592905, 330762, 396298, 461834, 527370, 592906, 330763, 396299, 461835, 527371, 592907, 330764, 396300, 461836, 527372, 592908, 331008, 396544, 462080, 527616, 593152, 331009, 396545, 462081, 527617, 593153, 331010, 396546, 462082, 527618, 593154, 331011, 396547, 462083, 527619, 593155, 331012, 396548, 462084, 527620, 593156, 331013, 396549, 462085, 527621, 593157, 331014, 396550, 462086, 527622, 593158, 331015, 396551, 462087, 527623, 593159, 331016, 396552, 462088, 527624, 593160, 331017, 396553, 462089, 527625, 593161, 331018, 396554, 462090, 527626, 593162, 331019, 396555, 462091, 527627, 593163, 331020, 396556, 462092, 527628, 593164, 331021, 396557, 462093, 527629, 593165, 331264, 396800, 462336, 527872, 593408, 331265, 396801, 462337, 527873, 593409, 331266, 396802, 462338, 527874, 593410, 331267, 396803, 462339, 527875, 593411, 331268, 396804, 462340, 527876, 593412, 331269, 396805, 462341, 527877, 593413, 331270, 396806, 462342, 527878, 593414, 331271, 396807, 462343, 527879, 593415, 331272, 396808, 462344, 527880, 593416, 331273, 396809, 462345, 527881, 593417, 331274, 396810, 462346, 527882, 593418, 331275, 396811, 462347, 527883, 593419, 331276, 396812, 462348, 527884, 593420, 331277, 396813, 462349, 527885, 593421, 331278, 396814, 462350, 527886, 593422, 331520, 397056, 462592, 528128, 593664, 331521, 397057, 462593, 528129, 593665, 331522, 397058, 462594, 528130, 593666, 331523, 397059, 462595, 528131, 593667, 331524, 397060, 462596, 528132, 593668, 331525, 397061, 462597, 528133, 593669, 331526, 397062, 462598, 528134, 593670, 331527, 397063, 462599, 528135, 593671, 331528, 397064, 462600, 528136, 593672, 331529, 397065, 462601, 528137, 593673, 331530, 397066, 462602, 528138, 593674, 331531, 397067, 462603, 528139, 593675, 331532, 397068, 462604, 528140, 593676, 331533, 397069, 462605, 528141, 593677, 331534, 397070, 462606, 528142, 593678, 331535, 397071, 462607, 528143, 593679};
15
+ D16_SPLIT_DEVICE const int gSplitRuOff[NC + 1] = {0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 95, 100, 105, 110, 115, 120, 125, 130, 135, 140, 145, 150, 155, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160};
16
+ D16_SPLIT_DEVICE const int gSplitRu[NRU] = {0, 256, 512, 768, 1024, 1280, 1536, 1792, 2048, 2304, 1, 257, 513, 769, 1025, 1281, 1537, 1793, 2049, 2305, 2, 258, 514, 770, 1026, 1282, 1538, 1794, 2050, 2306, 3, 259, 515, 771, 1027, 1283, 1539, 1795, 2051, 2307, 4, 260, 516, 772, 1028, 1284, 1540, 1796, 2052, 2308, 5, 261, 517, 773, 1029, 1285, 1541, 1797, 2053, 2309, 6, 262, 518, 774, 1030, 1286, 1542, 1798, 2054, 2310, 7, 263, 519, 775, 1031, 1287, 1543, 1799, 2055, 2311, 8, 264, 520, 776, 1032, 1288, 1544, 1800, 2056, 2312, 9, 265, 521, 777, 1033, 10, 266, 522, 778, 1034, 11, 267, 523, 779, 1035, 12, 268, 524, 780, 1036, 13, 269, 525, 781, 1037, 14, 270, 526, 782, 1038, 15, 271, 527, 783, 1039, 1289, 1545, 1801, 2057, 2313, 1290, 1546, 1802, 2058, 2314, 1291, 1547, 1803, 2059, 2315, 1292, 1548, 1804, 2060, 2316, 1293, 1549, 1805, 2061, 2317, 1294, 1550, 1806, 2062, 2318, 1295, 1551, 1807, 2063, 2319};
17
+ D16_SPLIT_DEVICE const int gSplitWord[NTRI] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 716, 720, 724, 728, 732, 736, 740, 744, 748, 752, 756, 760, 764, 768, 772, 776, 712, 715, 719, 723, 727, 731, 735, 739, 743, 747, 751, 755, 759, 763, 767, 771, 775, 711, 708, 714, 718, 722, 726, 730, 734, 738, 742, 746, 750, 754, 758, 762, 766, 770, 774, 710, 707, 705, 713, 717, 721, 725, 729, 733, 737, 741, 745, 749, 753, 757, 761, 765, 769, 773, 709, 706, 704, 703, 790, 794, 798, 802, 806, 810, 814, 818, 822, 826, 830, 834, 838, 842, 846, 850, -1, -1, -1, -1, 786, 789, 793, 797, 801, 805, 809, 813, 817, 821, 825, 829, 833, 837, 841, 845, 849, -1, -1, -1, -1, 785, 782, 788, 792, 796, 800, 804, 808, 812, 816, 820, 824, 828, 832, 836, 840, 844, 848, -1, -1, -1, -1, 784, 781, 779, 787, 791, 795, 799, 803, 807, 811, 815, 819, 823, 827, 831, 835, 839, 843, 847, -1, -1, -1, -1, 783, 780, 778, 777, 864, 868, 872, 876, 880, 884, 888, 892, 896, 900, 904, 908, 912, 916, 920, 924, -1, -1, -1, -1, -1, -1, -1, -1, 860, 863, 867, 871, 875, 879, 883, 887, 891, 895, 899, 903, 907, 911, 915, 919, 923, -1, -1, -1, -1, -1, -1, -1, -1, 859, 856, 862, 866, 870, 874, 878, 882, 886, 890, 894, 898, 902, 906, 910, 914, 918, 922, -1, -1, -1, -1, -1, -1, -1, -1, 858, 855, 853, 861, 865, 869, 873, 877, 881, 885, 889, 893, 897, 901, 905, 909, 913, 917, 921, -1, -1, -1, -1, -1, -1, -1, -1, 857, 854, 852, 851, 938, 942, 946, 950, 954, 958, 962, 966, 970, 974, 978, 982, 986, 990, 994, 998, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 934, 937, 941, 945, 949, 953, 957, 961, 965, 969, 973, 977, 981, 985, 989, 993, 997, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 933, 930, 936, 940, 944, 948, 952, 956, 960, 964, 968, 972, 976, 980, 984, 988, 992, 996, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 932, 929, 927, 935, 939, 943, 947, 951, 955, 959, 963, 967, 971, 975, 979, 983, 987, 991, 995, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 931, 928, 926, 925, 1012, 1016, 1020, 1024, 1028, 1032, 1036, 1040, 1044, 1048, 1052, 1056, 1060, 1064, 1068, 1072, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1008, 1011, 1015, 1019, 1023, 1027, 1031, 1035, 1039, 1043, 1047, 1051, 1055, 1059, 1063, 1067, 1071, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1007, 1004, 1010, 1014, 1018, 1022, 1026, 1030, 1034, 1038, 1042, 1046, 1050, 1054, 1058, 1062, 1066, 1070, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1006, 1003, 1001, 1009, 1013, 1017, 1021, 1025, 1029, 1033, 1037, 1041, 1045, 1049, 1053, 1057, 1061, 1065, 1069, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1005, 1002, 1000, 999, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 269, 270, 271, 272, 273, 274, 275, 1086, 1090, 1094, 1098, 1102, 1106, 1110, 1114, 1118, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1122, 1126, 1130, 1134, 1138, 1142, 1146, 1082, 1085, 1089, 1093, 1097, 1101, 1105, 1109, 1113, 1117, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1121, 1125, 1129, 1133, 1137, 1141, 1145, 1081, 1078, 1084, 1088, 1092, 1096, 1100, 1104, 1108, 1112, 1116, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1120, 1124, 1128, 1132, 1136, 1140, 1144, 1080, 1077, 1075, 1083, 1087, 1091, 1095, 1099, 1103, 1107, 1111, 1115, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1119, 1123, 1127, 1131, 1135, 1139, 1143, 1079, 1076, 1074, 1073, 1160, 1164, 1168, 1172, 1176, 1180, 1184, 1188, 1192, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1196, 1200, 1204, 1208, 1212, 1216, 1220, -1, -1, -1, -1, 1156, 1159, 1163, 1167, 1171, 1175, 1179, 1183, 1187, 1191, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1195, 1199, 1203, 1207, 1211, 1215, 1219, -1, -1, -1, -1, 1155, 1152, 1158, 1162, 1166, 1170, 1174, 1178, 1182, 1186, 1190, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1194, 1198, 1202, 1206, 1210, 1214, 1218, -1, -1, -1, -1, 1154, 1151, 1149, 1157, 1161, 1165, 1169, 1173, 1177, 1181, 1185, 1189, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1193, 1197, 1201, 1205, 1209, 1213, 1217, -1, -1, -1, -1, 1153, 1150, 1148, 1147, 1234, 1238, 1242, 1246, 1250, 1254, 1258, 1262, 1266, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1270, 1274, 1278, 1282, 1286, 1290, 1294, -1, -1, -1, -1, -1, -1, -1, -1, 1230, 1233, 1237, 1241, 1245, 1249, 1253, 1257, 1261, 1265, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1269, 1273, 1277, 1281, 1285, 1289, 1293, -1, -1, -1, -1, -1, -1, -1, -1, 1229, 1226, 1232, 1236, 1240, 1244, 1248, 1252, 1256, 1260, 1264, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1268, 1272, 1276, 1280, 1284, 1288, 1292, -1, -1, -1, -1, -1, -1, -1, -1, 1228, 1225, 1223, 1231, 1235, 1239, 1243, 1247, 1251, 1255, 1259, 1263, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1267, 1271, 1275, 1279, 1283, 1287, 1291, -1, -1, -1, -1, -1, -1, -1, -1, 1227, 1224, 1222, 1221, 1308, 1312, 1316, 1320, 1324, 1328, 1332, 1336, 1340, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1344, 1348, 1352, 1356, 1360, 1364, 1368, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1304, 1307, 1311, 1315, 1319, 1323, 1327, 1331, 1335, 1339, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1343, 1347, 1351, 1355, 1359, 1363, 1367, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1303, 1300, 1306, 1310, 1314, 1318, 1322, 1326, 1330, 1334, 1338, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1342, 1346, 1350, 1354, 1358, 1362, 1366, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1302, 1299, 1297, 1305, 1309, 1313, 1317, 1321, 1325, 1329, 1333, 1337, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1341, 1345, 1349, 1353, 1357, 1361, 1365, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1301, 1298, 1296, 1295, 1382, 1386, 1390, 1394, 1398, 1402, 1406, 1410, 1414, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1418, 1422, 1426, 1430, 1434, 1438, 1442, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1378, 1381, 1385, 1389, 1393, 1397, 1401, 1405, 1409, 1413, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1417, 1421, 1425, 1429, 1433, 1437, 1441, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1377, 1374, 1380, 1384, 1388, 1392, 1396, 1400, 1404, 1408, 1412, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1416, 1420, 1424, 1428, 1432, 1436, 1440, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1376, 1373, 1371, 1379, 1383, 1387, 1391, 1395, 1399, 1403, 1407, 1411, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1415, 1419, 1423, 1427, 1431, 1435, 1439, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1375, 1372, 1370, 1369, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 292, 293, 294, 295, 296, 297, 298, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 316, 317, 318, 319, 320, 321, 322, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 341, 342, 343, 344, 345, 346, 347, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 367, 368, 369, 370, 371, 372, 373, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 394, 395, 396, 397, 398, 399, 400, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 422, 423, 424, 425, 426, 427, 428, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 451, 452, 453, 454, 455, 456, 457, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 481, 482, 483, 484, 485, 486, 487, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 512, 513, 514, 515, 516, 517, 518, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 544, 545, 546, 547, 548, 549, 550, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 577, 578, 579, 580, 581, 582, 583, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 611, 612, 613, 614, 615, 616, 617, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 646, 647, 648, 649, 650, 651, 652, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 682, 683, 684, 685, 686, 687, 688, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702};
18
+ } // namespace d16::split