casadi 3.7.2__cp314-none-manylinux2014_x86_64.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 (2377) hide show
  1. casadi/__init__.py +92 -0
  2. casadi/_casadi.so +0 -0
  3. casadi/casadi-cli +0 -0
  4. casadi/casadi.py +54468 -0
  5. casadi/cbc +0 -0
  6. casadi/clp +0 -0
  7. casadi/cmake/alpaqa/alpaqaConfig.cmake +24 -0
  8. casadi/cmake/alpaqa/alpaqaConfigVersion.cmake +65 -0
  9. casadi/cmake/alpaqa/alpaqaTargets-release.cmake +29 -0
  10. casadi/cmake/alpaqa/alpaqaTargets.cmake +131 -0
  11. casadi/cmake/casadi-config-version.cmake +11 -0
  12. casadi/cmake/casadi-config.cmake +8 -0
  13. casadi/cmake/casadi-targets-release.cmake +19 -0
  14. casadi/cmake/casadi-targets.cmake +107 -0
  15. casadi/cmake/highs/highs-config.cmake +17 -0
  16. casadi/cmake/highs/highs-targets-release.cmake +28 -0
  17. casadi/cmake/highs/highs-targets.cmake +117 -0
  18. casadi/cmake/libzip/libzip-config-version.cmake +43 -0
  19. casadi/cmake/libzip/libzip-config.cmake +69 -0
  20. casadi/cmake/libzip/libzip-targets-release.cmake +19 -0
  21. casadi/cmake/libzip/libzip-targets.cmake +107 -0
  22. casadi/cmake/libzip/modules/FindMbedTLS.cmake +141 -0
  23. casadi/cmake/libzip/modules/FindNettle.cmake +141 -0
  24. casadi/cmake/libzip/modules/Findzstd.cmake +186 -0
  25. casadi/cmake/osqp/osqp-config.cmake +1 -0
  26. casadi/cmake/osqp/osqp-targets-noconfig.cmake +29 -0
  27. casadi/cmake/osqp/osqp-targets.cmake +113 -0
  28. casadi/cmake/qdldl/qdldl-config.cmake +1 -0
  29. casadi/cmake/qdldl/qdldl-targets-noconfig.cmake +29 -0
  30. casadi/cmake/qdldl/qdldl-targets.cmake +113 -0
  31. casadi/cmake/sleqp/sleqp-config-version.cmake +65 -0
  32. casadi/cmake/sleqp/sleqp-config.cmake +1 -0
  33. casadi/cmake/sleqp/sleqp-targets-release.cmake +20 -0
  34. casadi/cmake/sleqp/sleqp-targets.cmake +106 -0
  35. casadi/highs +0 -0
  36. casadi/include/alpaqa/accelerators/anderson.hpp +133 -0
  37. casadi/include/alpaqa/accelerators/internal/anderson-helpers.hpp +92 -0
  38. casadi/include/alpaqa/accelerators/internal/limited-memory-qr.hpp +295 -0
  39. casadi/include/alpaqa/accelerators/lbfgs.hpp +244 -0
  40. casadi/include/alpaqa/accelerators/steihaugcg.hpp +143 -0
  41. casadi/include/alpaqa/alpaqa.hpp +3 -0
  42. casadi/include/alpaqa/casadi/CasADiControlProblem.hpp +185 -0
  43. casadi/include/alpaqa/casadi/CasADiFunctionWrapper.hpp +104 -0
  44. casadi/include/alpaqa/casadi/CasADiProblem.hpp +102 -0
  45. casadi/include/alpaqa/casadi-loader-export.hpp +15 -0
  46. casadi/include/alpaqa/casadi-ocp-loader-export.hpp +15 -0
  47. casadi/include/alpaqa/config/config.hpp +165 -0
  48. casadi/include/alpaqa/dl/dl-problem.h +476 -0
  49. casadi/include/alpaqa/dl/dl-problem.hpp +301 -0
  50. casadi/include/alpaqa/export.h +43 -0
  51. casadi/include/alpaqa/export.hpp +30 -0
  52. casadi/include/alpaqa/implementation/accelerators/lbfgs.tpp +240 -0
  53. casadi/include/alpaqa/implementation/casadi/CasADiControlProblem.tpp +594 -0
  54. casadi/include/alpaqa/implementation/casadi/CasADiLoader-util.hpp +50 -0
  55. casadi/include/alpaqa/implementation/casadi/CasADiProblem.tpp +425 -0
  56. casadi/include/alpaqa/implementation/inner/directions/panoc/structured-lbfgs.tpp +164 -0
  57. casadi/include/alpaqa/implementation/inner/panoc-helpers.tpp +389 -0
  58. casadi/include/alpaqa/implementation/inner/panoc-ocp.tpp +798 -0
  59. casadi/include/alpaqa/implementation/inner/panoc.tpp +448 -0
  60. casadi/include/alpaqa/implementation/inner/pantr.tpp +474 -0
  61. casadi/include/alpaqa/implementation/inner/zerofpr.tpp +482 -0
  62. casadi/include/alpaqa/implementation/outer/alm.tpp +228 -0
  63. casadi/include/alpaqa/implementation/outer/internal/alm-helpers.tpp +80 -0
  64. casadi/include/alpaqa/implementation/params/params.tpp +158 -0
  65. casadi/include/alpaqa/implementation/problem/ocproblem.tpp +56 -0
  66. casadi/include/alpaqa/implementation/problem/type-erased-problem.tpp +211 -0
  67. casadi/include/alpaqa/implementation/util/io/csv.tpp +120 -0
  68. casadi/include/alpaqa/implementation/util/print.tpp +151 -0
  69. casadi/include/alpaqa/inner/directions/panoc/anderson.hpp +98 -0
  70. casadi/include/alpaqa/inner/directions/panoc/lbfgs.hpp +94 -0
  71. casadi/include/alpaqa/inner/directions/panoc/structured-lbfgs.hpp +146 -0
  72. casadi/include/alpaqa/inner/directions/panoc/structured-newton.hpp +264 -0
  73. casadi/include/alpaqa/inner/directions/panoc-direction-update.hpp +96 -0
  74. casadi/include/alpaqa/inner/directions/panoc-ocp/lqr.hpp +181 -0
  75. casadi/include/alpaqa/inner/directions/panoc-ocp/ocp-vars.hpp +492 -0
  76. casadi/include/alpaqa/inner/directions/pantr/newton-tr.hpp +192 -0
  77. casadi/include/alpaqa/inner/directions/pantr/pantr-direction.hpp +99 -0
  78. casadi/include/alpaqa/inner/inner-solve-options.hpp +30 -0
  79. casadi/include/alpaqa/inner/internal/lipschitz.hpp +27 -0
  80. casadi/include/alpaqa/inner/internal/panoc-helpers.hpp +10 -0
  81. casadi/include/alpaqa/inner/internal/panoc-stop-crit.hpp +124 -0
  82. casadi/include/alpaqa/inner/internal/solverstatus.hpp +42 -0
  83. casadi/include/alpaqa/inner/panoc-ocp.hpp +302 -0
  84. casadi/include/alpaqa/inner/panoc.hpp +274 -0
  85. casadi/include/alpaqa/inner/pantr.hpp +284 -0
  86. casadi/include/alpaqa/inner/zerofpr.hpp +274 -0
  87. casadi/include/alpaqa/ipopt/ipopt-adapter.hpp +81 -0
  88. casadi/include/alpaqa/ipopt/ipopt-enums.hpp +35 -0
  89. casadi/include/alpaqa/lbfgsb/lbfgsb-adapter.hpp +111 -0
  90. casadi/include/alpaqa/newton-tr-pantr-alm.hpp +27 -0
  91. casadi/include/alpaqa/outer/alm.hpp +190 -0
  92. casadi/include/alpaqa/outer/internal/alm-helpers.hpp +10 -0
  93. casadi/include/alpaqa/panoc-alm.hpp +27 -0
  94. casadi/include/alpaqa/panoc-anderson-alm.hpp +27 -0
  95. casadi/include/alpaqa/params/params.hpp +60 -0
  96. casadi/include/alpaqa/problem/box-constr-problem.hpp +220 -0
  97. casadi/include/alpaqa/problem/box.hpp +82 -0
  98. casadi/include/alpaqa/problem/functional-problem.hpp +73 -0
  99. casadi/include/alpaqa/problem/kkt-error.hpp +43 -0
  100. casadi/include/alpaqa/problem/ocproblem-counters.hpp +116 -0
  101. casadi/include/alpaqa/problem/ocproblem.hpp +662 -0
  102. casadi/include/alpaqa/problem/problem-counters.hpp +116 -0
  103. casadi/include/alpaqa/problem/problem-with-counters.hpp +141 -0
  104. casadi/include/alpaqa/problem/type-erased-problem.hpp +874 -0
  105. casadi/include/alpaqa/problem/unconstr-problem.hpp +37 -0
  106. casadi/include/alpaqa/structured-panoc-alm.hpp +27 -0
  107. casadi/include/alpaqa/structured-zerofpr-alm.hpp +27 -0
  108. casadi/include/alpaqa/util/alloc-check.hpp +23 -0
  109. casadi/include/alpaqa/util/atomic-stop-signal.hpp +24 -0
  110. casadi/include/alpaqa/util/check-dim.hpp +64 -0
  111. casadi/include/alpaqa/util/copyable_unique_ptr.hpp +32 -0
  112. casadi/include/alpaqa/util/demangled-typename.hpp +9 -0
  113. casadi/include/alpaqa/util/enumerate.hpp +70 -0
  114. casadi/include/alpaqa/util/float.hpp +25 -0
  115. casadi/include/alpaqa/util/index-set.hpp +97 -0
  116. casadi/include/alpaqa/util/io/csv.hpp +43 -0
  117. casadi/include/alpaqa/util/iter-adapter.hpp +68 -0
  118. casadi/include/alpaqa/util/max-history.hpp +47 -0
  119. casadi/include/alpaqa/util/noop-delete.hpp +15 -0
  120. casadi/include/alpaqa/util/not-implemented.hpp +12 -0
  121. casadi/include/alpaqa/util/print.hpp +78 -0
  122. casadi/include/alpaqa/util/quadmath/quadmath-print.hpp +20 -0
  123. casadi/include/alpaqa/util/quadmath/quadmath.hpp +137 -0
  124. casadi/include/alpaqa/util/required-method.hpp +29 -0
  125. casadi/include/alpaqa/util/ringbuffer.hpp +212 -0
  126. casadi/include/alpaqa/util/set-intersection.hpp +129 -0
  127. casadi/include/alpaqa/util/sparse-ops.hpp +164 -0
  128. casadi/include/alpaqa/util/timed.hpp +22 -0
  129. casadi/include/alpaqa/util/type-erasure.hpp +568 -0
  130. casadi/include/alpaqa/util/type-traits.hpp +58 -0
  131. casadi/include/alpaqa/zerofpr-alm.hpp +27 -0
  132. casadi/include/alpaqa/zerofpr-anderson-alm.hpp +27 -0
  133. casadi/include/alpaqa-version.h +8 -0
  134. casadi/include/blasfeo.h +52 -0
  135. casadi/include/blasfeo_block_size.h +447 -0
  136. casadi/include/blasfeo_common.h +274 -0
  137. casadi/include/blasfeo_d_aux.h +255 -0
  138. casadi/include/blasfeo_d_aux_ext_dep.h +145 -0
  139. casadi/include/blasfeo_d_aux_ext_dep_ref.h +84 -0
  140. casadi/include/blasfeo_d_aux_old.h +75 -0
  141. casadi/include/blasfeo_d_aux_ref.h +208 -0
  142. casadi/include/blasfeo_d_aux_test.h +226 -0
  143. casadi/include/blasfeo_d_blas.h +46 -0
  144. casadi/include/blasfeo_d_blas_api.h +281 -0
  145. casadi/include/blasfeo_d_blasfeo_api.h +364 -0
  146. casadi/include/blasfeo_d_blasfeo_api_ref.h +147 -0
  147. casadi/include/blasfeo_d_blasfeo_hp_api.h +84 -0
  148. casadi/include/blasfeo_d_blasfeo_ref_api.h +283 -0
  149. casadi/include/blasfeo_d_kernel.h +1321 -0
  150. casadi/include/blasfeo_i_aux_ext_dep.h +69 -0
  151. casadi/include/blasfeo_m_aux.h +57 -0
  152. casadi/include/blasfeo_memory.h +62 -0
  153. casadi/include/blasfeo_naming.h +77 -0
  154. casadi/include/blasfeo_processor_features.h +88 -0
  155. casadi/include/blasfeo_s_aux.h +168 -0
  156. casadi/include/blasfeo_s_aux_ext_dep.h +141 -0
  157. casadi/include/blasfeo_s_aux_ext_dep_ref.h +82 -0
  158. casadi/include/blasfeo_s_aux_old.h +64 -0
  159. casadi/include/blasfeo_s_aux_ref.h +147 -0
  160. casadi/include/blasfeo_s_aux_test.h +177 -0
  161. casadi/include/blasfeo_s_blas.h +46 -0
  162. casadi/include/blasfeo_s_blas_api.h +182 -0
  163. casadi/include/blasfeo_s_blasfeo_api.h +284 -0
  164. casadi/include/blasfeo_s_blasfeo_api_ref.h +135 -0
  165. casadi/include/blasfeo_s_blasfeo_ref_api.h +252 -0
  166. casadi/include/blasfeo_s_kernel.h +692 -0
  167. casadi/include/blasfeo_stdlib.h +62 -0
  168. casadi/include/blasfeo_target.h +73 -0
  169. casadi/include/blasfeo_timing.h +114 -0
  170. casadi/include/blasfeo_v_aux_ext_dep.h +83 -0
  171. casadi/include/casadi/casadi.hpp +31 -0
  172. casadi/include/casadi/casadi.i +4920 -0
  173. casadi/include/casadi/casadi_c.h +138 -0
  174. casadi/include/casadi/casadi_numpy.hpp +97 -0
  175. casadi/include/casadi/config.h +46 -0
  176. casadi/include/casadi/core/archiver.hpp +58 -0
  177. casadi/include/casadi/core/blazing_spline.hpp +47 -0
  178. casadi/include/casadi/core/calculus.hpp +1805 -0
  179. casadi/include/casadi/core/callback.hpp +235 -0
  180. casadi/include/casadi/core/casadi_common.hpp +355 -0
  181. casadi/include/casadi/core/casadi_enum.hpp +90 -0
  182. casadi/include/casadi/core/casadi_export.h +43 -0
  183. casadi/include/casadi/core/casadi_interrupt.hpp +83 -0
  184. casadi/include/casadi/core/casadi_limits.hpp +104 -0
  185. casadi/include/casadi/core/casadi_logger.hpp +134 -0
  186. casadi/include/casadi/core/casadi_meta.hpp +122 -0
  187. casadi/include/casadi/core/casadi_misc.hpp +1022 -0
  188. casadi/include/casadi/core/casadi_types.hpp +66 -0
  189. casadi/include/casadi/core/code_generator.hpp +1071 -0
  190. casadi/include/casadi/core/conic.hpp +213 -0
  191. casadi/include/casadi/core/core.hpp +75 -0
  192. casadi/include/casadi/core/dae_builder.hpp +885 -0
  193. casadi/include/casadi/core/dm.hpp +90 -0
  194. casadi/include/casadi/core/dm_fwd.hpp +39 -0
  195. casadi/include/casadi/core/dple.hpp +138 -0
  196. casadi/include/casadi/core/exception.hpp +167 -0
  197. casadi/include/casadi/core/expm.hpp +84 -0
  198. casadi/include/casadi/core/external.hpp +70 -0
  199. casadi/include/casadi/core/filesystem.hpp +58 -0
  200. casadi/include/casadi/core/fmu.hpp +270 -0
  201. casadi/include/casadi/core/function.hpp +1389 -0
  202. casadi/include/casadi/core/generic_expression.hpp +760 -0
  203. casadi/include/casadi/core/generic_matrix.hpp +1805 -0
  204. casadi/include/casadi/core/generic_shared.hpp +395 -0
  205. casadi/include/casadi/core/generic_shared_impl.hpp +218 -0
  206. casadi/include/casadi/core/generic_shared_internal.hpp +215 -0
  207. casadi/include/casadi/core/generic_type.hpp +314 -0
  208. casadi/include/casadi/core/global_options.hpp +107 -0
  209. casadi/include/casadi/core/im.hpp +52 -0
  210. casadi/include/casadi/core/im_fwd.hpp +35 -0
  211. casadi/include/casadi/core/importer.hpp +221 -0
  212. casadi/include/casadi/core/integration_tools.hpp +292 -0
  213. casadi/include/casadi/core/integrator.hpp +290 -0
  214. casadi/include/casadi/core/interpolant.hpp +163 -0
  215. casadi/include/casadi/core/linsol.hpp +171 -0
  216. casadi/include/casadi/core/matrix_decl.hpp +1423 -0
  217. casadi/include/casadi/core/matrix_fwd.hpp +37 -0
  218. casadi/include/casadi/core/mx.hpp +1014 -0
  219. casadi/include/casadi/core/nlp_builder.hpp +163 -0
  220. casadi/include/casadi/core/nlp_tools.hpp +124 -0
  221. casadi/include/casadi/core/nlpsol.hpp +234 -0
  222. casadi/include/casadi/core/nonzeros.hpp +111 -0
  223. casadi/include/casadi/core/options.hpp +122 -0
  224. casadi/include/casadi/core/optistack.hpp +704 -0
  225. casadi/include/casadi/core/polynomial.hpp +126 -0
  226. casadi/include/casadi/core/printable.hpp +81 -0
  227. casadi/include/casadi/core/resource.hpp +107 -0
  228. casadi/include/casadi/core/rootfinder.hpp +176 -0
  229. casadi/include/casadi/core/runtime/casadi_axpy.hpp +8 -0
  230. casadi/include/casadi/core/runtime/casadi_bfgs.hpp +49 -0
  231. casadi/include/casadi/core/runtime/casadi_bilin.hpp +42 -0
  232. casadi/include/casadi/core/runtime/casadi_blazing_1d_boor_eval.hpp +112 -0
  233. casadi/include/casadi/core/runtime/casadi_blazing_2d_boor_eval.hpp +311 -0
  234. casadi/include/casadi/core/runtime/casadi_blazing_3d_boor_eval.hpp +645 -0
  235. casadi/include/casadi/core/runtime/casadi_blazing_de_boor.hpp +101 -0
  236. casadi/include/casadi/core/runtime/casadi_bound_consistency.hpp +51 -0
  237. casadi/include/casadi/core/runtime/casadi_cache.hpp +59 -0
  238. casadi/include/casadi/core/runtime/casadi_clear.hpp +27 -0
  239. casadi/include/casadi/core/runtime/casadi_clip_max.hpp +33 -0
  240. casadi/include/casadi/core/runtime/casadi_clip_min.hpp +33 -0
  241. casadi/include/casadi/core/runtime/casadi_convexify.hpp +182 -0
  242. casadi/include/casadi/core/runtime/casadi_copy.hpp +31 -0
  243. casadi/include/casadi/core/runtime/casadi_cvx.hpp +463 -0
  244. casadi/include/casadi/core/runtime/casadi_de_boor.hpp +36 -0
  245. casadi/include/casadi/core/runtime/casadi_dense_lsqr.hpp +247 -0
  246. casadi/include/casadi/core/runtime/casadi_densify.hpp +48 -0
  247. casadi/include/casadi/core/runtime/casadi_dot.hpp +27 -0
  248. casadi/include/casadi/core/runtime/casadi_feasiblesqpmethod.hpp +208 -0
  249. casadi/include/casadi/core/runtime/casadi_file_slurp.hpp +32 -0
  250. casadi/include/casadi/core/runtime/casadi_fill.hpp +27 -0
  251. casadi/include/casadi/core/runtime/casadi_finite_diff.hpp +345 -0
  252. casadi/include/casadi/core/runtime/casadi_flip.hpp +33 -0
  253. casadi/include/casadi/core/runtime/casadi_getu.hpp +35 -0
  254. casadi/include/casadi/core/runtime/casadi_iamax.hpp +36 -0
  255. casadi/include/casadi/core/runtime/casadi_interpn.hpp +39 -0
  256. casadi/include/casadi/core/runtime/casadi_interpn_grad.hpp +72 -0
  257. casadi/include/casadi/core/runtime/casadi_interpn_interpolate.hpp +43 -0
  258. casadi/include/casadi/core/runtime/casadi_interpn_weights.hpp +39 -0
  259. casadi/include/casadi/core/runtime/casadi_ipqp.hpp +868 -0
  260. casadi/include/casadi/core/runtime/casadi_jac.hpp +186 -0
  261. casadi/include/casadi/core/runtime/casadi_kkt.hpp +67 -0
  262. casadi/include/casadi/core/runtime/casadi_kron.hpp +50 -0
  263. casadi/include/casadi/core/runtime/casadi_ldl.hpp +109 -0
  264. casadi/include/casadi/core/runtime/casadi_logsumexp.hpp +41 -0
  265. casadi/include/casadi/core/runtime/casadi_low.hpp +65 -0
  266. casadi/include/casadi/core/runtime/casadi_lsqr.hpp +247 -0
  267. casadi/include/casadi/core/runtime/casadi_masked_norm_inf.hpp +33 -0
  268. casadi/include/casadi/core/runtime/casadi_max_viol.hpp +37 -0
  269. casadi/include/casadi/core/runtime/casadi_mmax.hpp +28 -0
  270. casadi/include/casadi/core/runtime/casadi_mmin.hpp +29 -0
  271. casadi/include/casadi/core/runtime/casadi_mtimes.hpp +75 -0
  272. casadi/include/casadi/core/runtime/casadi_mv.hpp +46 -0
  273. casadi/include/casadi/core/runtime/casadi_mv_dense.hpp +39 -0
  274. casadi/include/casadi/core/runtime/casadi_nd_boor_dual_eval.hpp +127 -0
  275. casadi/include/casadi/core/runtime/casadi_nd_boor_eval.hpp +120 -0
  276. casadi/include/casadi/core/runtime/casadi_newton.hpp +66 -0
  277. casadi/include/casadi/core/runtime/casadi_nlp.hpp +295 -0
  278. casadi/include/casadi/core/runtime/casadi_norm_1.hpp +29 -0
  279. casadi/include/casadi/core/runtime/casadi_norm_2.hpp +24 -0
  280. casadi/include/casadi/core/runtime/casadi_norm_inf.hpp +28 -0
  281. casadi/include/casadi/core/runtime/casadi_norm_inf_mul.hpp +105 -0
  282. casadi/include/casadi/core/runtime/casadi_ocp_block.hpp +55 -0
  283. casadi/include/casadi/core/runtime/casadi_oracle.hpp +44 -0
  284. casadi/include/casadi/core/runtime/casadi_oracle_callback.hpp +39 -0
  285. casadi/include/casadi/core/runtime/casadi_polyval.hpp +29 -0
  286. casadi/include/casadi/core/runtime/casadi_print_canonical.hpp +55 -0
  287. casadi/include/casadi/core/runtime/casadi_print_scalar.hpp +25 -0
  288. casadi/include/casadi/core/runtime/casadi_print_vector.hpp +32 -0
  289. casadi/include/casadi/core/runtime/casadi_printme.hpp +26 -0
  290. casadi/include/casadi/core/runtime/casadi_project.hpp +39 -0
  291. casadi/include/casadi/core/runtime/casadi_qp.hpp +86 -0
  292. casadi/include/casadi/core/runtime/casadi_qr.hpp +272 -0
  293. casadi/include/casadi/core/runtime/casadi_qrqp.hpp +1239 -0
  294. casadi/include/casadi/core/runtime/casadi_rank1.hpp +40 -0
  295. casadi/include/casadi/core/runtime/casadi_regularize.hpp +73 -0
  296. casadi/include/casadi/core/runtime/casadi_runtime.hpp +318 -0
  297. casadi/include/casadi/core/runtime/casadi_scal.hpp +26 -0
  298. casadi/include/casadi/core/runtime/casadi_scaled_copy.hpp +31 -0
  299. casadi/include/casadi/core/runtime/casadi_sparsify.hpp +42 -0
  300. casadi/include/casadi/core/runtime/casadi_sparsity.hpp +24 -0
  301. casadi/include/casadi/core/runtime/casadi_sqpmethod.hpp +178 -0
  302. casadi/include/casadi/core/runtime/casadi_sum.hpp +31 -0
  303. casadi/include/casadi/core/runtime/casadi_sum_viol.hpp +37 -0
  304. casadi/include/casadi/core/runtime/casadi_swap.hpp +32 -0
  305. casadi/include/casadi/core/runtime/casadi_trans.hpp +35 -0
  306. casadi/include/casadi/core/runtime/casadi_tri_project.hpp +37 -0
  307. casadi/include/casadi/core/runtime/casadi_trilsolve.hpp +81 -0
  308. casadi/include/casadi/core/runtime/casadi_triusolve.hpp +81 -0
  309. casadi/include/casadi/core/runtime/casadi_vector_fmax.hpp +28 -0
  310. casadi/include/casadi/core/runtime/casadi_vector_fmin.hpp +28 -0
  311. casadi/include/casadi/core/runtime/casadi_vfmax.hpp +28 -0
  312. casadi/include/casadi/core/runtime/casadi_vfmin.hpp +28 -0
  313. casadi/include/casadi/core/runtime/shared.hpp +261 -0
  314. casadi/include/casadi/core/serializer.hpp +264 -0
  315. casadi/include/casadi/core/serializing_stream.hpp +336 -0
  316. casadi/include/casadi/core/shared_object.hpp +182 -0
  317. casadi/include/casadi/core/slice.hpp +149 -0
  318. casadi/include/casadi/core/sparsity.hpp +1507 -0
  319. casadi/include/casadi/core/sparsity_interface.hpp +763 -0
  320. casadi/include/casadi/core/submatrix.hpp +156 -0
  321. casadi/include/casadi/core/sx.hpp +244 -0
  322. casadi/include/casadi/core/sx_elem.hpp +376 -0
  323. casadi/include/casadi/core/sx_fwd.hpp +45 -0
  324. casadi/include/casadi/core/timing.hpp +98 -0
  325. casadi/include/casadi/core/tools.hpp +67 -0
  326. casadi/include/casadi/core/xml_file.hpp +93 -0
  327. casadi/include/casadi/core/xml_node.hpp +212 -0
  328. casadi/include/casadi/doc.i +62244 -0
  329. casadi/include/casadi/doc_merged.i +38499 -0
  330. casadi/include/casadi/mem.h +311 -0
  331. casadi/include/casadi/valgrind-casadi.supp +649 -0
  332. casadi/include/casadi/valgrind-python.supp +3886 -0
  333. casadi/include/coin/BonArraysHelpers.hpp +52 -0
  334. casadi/include/coin/BonAuxInfos.hpp +110 -0
  335. casadi/include/coin/BonBabInfos.hpp +57 -0
  336. casadi/include/coin/BonBabSetupBase.hpp +386 -0
  337. casadi/include/coin/BonBonminSetup.hpp +95 -0
  338. casadi/include/coin/BonBranchingTQP.hpp +197 -0
  339. casadi/include/coin/BonCbc.hpp +127 -0
  340. casadi/include/coin/BonCbcLpStrategy.hpp +45 -0
  341. casadi/include/coin/BonCbcNlpStrategy.hpp +98 -0
  342. casadi/include/coin/BonCbcNode.hpp +133 -0
  343. casadi/include/coin/BonChooseVariable.hpp +345 -0
  344. casadi/include/coin/BonCurvBranchingSolver.hpp +77 -0
  345. casadi/include/coin/BonCutStrengthener.hpp +244 -0
  346. casadi/include/coin/BonDiver.hpp +424 -0
  347. casadi/include/coin/BonDummyHeuristic.hpp +53 -0
  348. casadi/include/coin/BonDummyPump.hpp +43 -0
  349. casadi/include/coin/BonEcpCuts.hpp +97 -0
  350. casadi/include/coin/BonExitCodes.hpp +12 -0
  351. casadi/include/coin/BonFixAndSolveHeuristic.hpp +43 -0
  352. casadi/include/coin/BonGuessHeuristic.hpp +46 -0
  353. casadi/include/coin/BonHeuristicDive.hpp +88 -0
  354. casadi/include/coin/BonHeuristicDiveFractional.hpp +67 -0
  355. casadi/include/coin/BonHeuristicDiveMIP.hpp +83 -0
  356. casadi/include/coin/BonHeuristicDiveMIPFractional.hpp +67 -0
  357. casadi/include/coin/BonHeuristicDiveMIPVectorLength.hpp +74 -0
  358. casadi/include/coin/BonHeuristicDiveVectorLength.hpp +74 -0
  359. casadi/include/coin/BonHeuristicFPump.hpp +111 -0
  360. casadi/include/coin/BonHeuristicLocalBranching.hpp +59 -0
  361. casadi/include/coin/BonHeuristicRINS.hpp +55 -0
  362. casadi/include/coin/BonIpoptInteriorWarmStarter.hpp +103 -0
  363. casadi/include/coin/BonIpoptSolver.hpp +188 -0
  364. casadi/include/coin/BonIpoptWarmStart.hpp +148 -0
  365. casadi/include/coin/BonLinearCutsGenerator.hpp +75 -0
  366. casadi/include/coin/BonLocalSolverBasedHeuristic.hpp +102 -0
  367. casadi/include/coin/BonLpBranchingSolver.hpp +80 -0
  368. casadi/include/coin/BonMilpRounding.hpp +74 -0
  369. casadi/include/coin/BonOACutGenerator2.hpp +56 -0
  370. casadi/include/coin/BonOAMessages.hpp +44 -0
  371. casadi/include/coin/BonOaDecBase.hpp +297 -0
  372. casadi/include/coin/BonOaFeasChecker.hpp +73 -0
  373. casadi/include/coin/BonOaNlpOptim.hpp +116 -0
  374. casadi/include/coin/BonOsiTMINLPInterface.hpp +1342 -0
  375. casadi/include/coin/BonOuterApprox.hpp +123 -0
  376. casadi/include/coin/BonPseudoCosts.hpp +91 -0
  377. casadi/include/coin/BonPumpForMinlp.hpp +45 -0
  378. casadi/include/coin/BonQuadCut.hpp +217 -0
  379. casadi/include/coin/BonQuadRow.hpp +122 -0
  380. casadi/include/coin/BonRegisteredOptions.hpp +225 -0
  381. casadi/include/coin/BonStrongBranchingSolver.hpp +69 -0
  382. casadi/include/coin/BonSubMipSolver.hpp +143 -0
  383. casadi/include/coin/BonTMINLP.hpp +420 -0
  384. casadi/include/coin/BonTMINLP2OsiLP.hpp +164 -0
  385. casadi/include/coin/BonTMINLP2Quad.hpp +191 -0
  386. casadi/include/coin/BonTMINLP2TNLP.hpp +509 -0
  387. casadi/include/coin/BonTMINLPLinObj.hpp +216 -0
  388. casadi/include/coin/BonTMatrix.hpp +167 -0
  389. casadi/include/coin/BonTNLP2FPNLP.hpp +264 -0
  390. casadi/include/coin/BonTNLPSolver.hpp +241 -0
  391. casadi/include/coin/BonTypes.hpp +95 -0
  392. casadi/include/coin/BonminConfig.h +19 -0
  393. casadi/include/coin/CbcBranchActual.hpp +26 -0
  394. casadi/include/coin/CbcBranchAllDifferent.hpp +61 -0
  395. casadi/include/coin/CbcBranchBase.hpp +79 -0
  396. casadi/include/coin/CbcBranchCut.hpp +182 -0
  397. casadi/include/coin/CbcBranchDecision.hpp +135 -0
  398. casadi/include/coin/CbcBranchDefaultDecision.hpp +101 -0
  399. casadi/include/coin/CbcBranchDynamic.hpp +210 -0
  400. casadi/include/coin/CbcBranchLotsize.hpp +249 -0
  401. casadi/include/coin/CbcBranchToFixLots.hpp +94 -0
  402. casadi/include/coin/CbcBranchingObject.hpp +245 -0
  403. casadi/include/coin/CbcClique.hpp +309 -0
  404. casadi/include/coin/CbcCompare.hpp +46 -0
  405. casadi/include/coin/CbcCompareActual.hpp +16 -0
  406. casadi/include/coin/CbcCompareBase.hpp +155 -0
  407. casadi/include/coin/CbcCompareDefault.hpp +129 -0
  408. casadi/include/coin/CbcCompareDepth.hpp +48 -0
  409. casadi/include/coin/CbcCompareEstimate.hpp +48 -0
  410. casadi/include/coin/CbcCompareObjective.hpp +50 -0
  411. casadi/include/coin/CbcConfig.h +18 -0
  412. casadi/include/coin/CbcConsequence.hpp +50 -0
  413. casadi/include/coin/CbcCountRowCut.hpp +176 -0
  414. casadi/include/coin/CbcCutGenerator.hpp +550 -0
  415. casadi/include/coin/CbcCutModifier.hpp +59 -0
  416. casadi/include/coin/CbcCutSubsetModifier.hpp +69 -0
  417. casadi/include/coin/CbcDummyBranchingObject.hpp +83 -0
  418. casadi/include/coin/CbcEventHandler.hpp +250 -0
  419. casadi/include/coin/CbcFathom.hpp +136 -0
  420. casadi/include/coin/CbcFathomDynamicProgramming.hpp +177 -0
  421. casadi/include/coin/CbcFeasibilityBase.hpp +60 -0
  422. casadi/include/coin/CbcFixVariable.hpp +68 -0
  423. casadi/include/coin/CbcFollowOn.hpp +207 -0
  424. casadi/include/coin/CbcFullNodeInfo.hpp +171 -0
  425. casadi/include/coin/CbcGeneral.hpp +60 -0
  426. casadi/include/coin/CbcGeneralDepth.hpp +289 -0
  427. casadi/include/coin/CbcHeuristic.hpp +735 -0
  428. casadi/include/coin/CbcHeuristicDINS.hpp +98 -0
  429. casadi/include/coin/CbcHeuristicDW.hpp +374 -0
  430. casadi/include/coin/CbcHeuristicDive.hpp +198 -0
  431. casadi/include/coin/CbcHeuristicDiveCoefficient.hpp +52 -0
  432. casadi/include/coin/CbcHeuristicDiveFractional.hpp +52 -0
  433. casadi/include/coin/CbcHeuristicDiveGuided.hpp +55 -0
  434. casadi/include/coin/CbcHeuristicDiveLineSearch.hpp +52 -0
  435. casadi/include/coin/CbcHeuristicDivePseudoCost.hpp +60 -0
  436. casadi/include/coin/CbcHeuristicDiveVectorLength.hpp +52 -0
  437. casadi/include/coin/CbcHeuristicFPump.hpp +375 -0
  438. casadi/include/coin/CbcHeuristicGreedy.hpp +289 -0
  439. casadi/include/coin/CbcHeuristicLocal.hpp +276 -0
  440. casadi/include/coin/CbcHeuristicPivotAndFix.hpp +58 -0
  441. casadi/include/coin/CbcHeuristicRENS.hpp +79 -0
  442. casadi/include/coin/CbcHeuristicRINS.hpp +106 -0
  443. casadi/include/coin/CbcHeuristicRandRound.hpp +58 -0
  444. casadi/include/coin/CbcHeuristicVND.hpp +95 -0
  445. casadi/include/coin/CbcLinked.hpp +1443 -0
  446. casadi/include/coin/CbcMessage.hpp +94 -0
  447. casadi/include/coin/CbcMipStartIO.hpp +29 -0
  448. casadi/include/coin/CbcModel.hpp +3296 -0
  449. casadi/include/coin/CbcNWay.hpp +171 -0
  450. casadi/include/coin/CbcNode.hpp +380 -0
  451. casadi/include/coin/CbcNodeInfo.hpp +377 -0
  452. casadi/include/coin/CbcObject.hpp +288 -0
  453. casadi/include/coin/CbcObjectUpdateData.hpp +63 -0
  454. casadi/include/coin/CbcOrClpParam.cpp +4321 -0
  455. casadi/include/coin/CbcOrClpParam.hpp +585 -0
  456. casadi/include/coin/CbcParam.hpp +338 -0
  457. casadi/include/coin/CbcPartialNodeInfo.hpp +116 -0
  458. casadi/include/coin/CbcSOS.hpp +290 -0
  459. casadi/include/coin/CbcSimpleInteger.hpp +299 -0
  460. casadi/include/coin/CbcSimpleIntegerDynamicPseudoCost.hpp +619 -0
  461. casadi/include/coin/CbcSimpleIntegerPseudoCost.hpp +122 -0
  462. casadi/include/coin/CbcSolver.hpp +460 -0
  463. casadi/include/coin/CbcStrategy.hpp +269 -0
  464. casadi/include/coin/CbcSubProblem.hpp +84 -0
  465. casadi/include/coin/CbcTree.hpp +493 -0
  466. casadi/include/coin/CbcTreeLocal.hpp +393 -0
  467. casadi/include/coin/Cbc_C_Interface.h +904 -0
  468. casadi/include/coin/Cgl012cut.hpp +464 -0
  469. casadi/include/coin/CglAllDifferent.hpp +115 -0
  470. casadi/include/coin/CglClique.hpp +312 -0
  471. casadi/include/coin/CglConfig.h +19 -0
  472. casadi/include/coin/CglCutGenerator.hpp +133 -0
  473. casadi/include/coin/CglDuplicateRow.hpp +189 -0
  474. casadi/include/coin/CglFlowCover.hpp +371 -0
  475. casadi/include/coin/CglGMI.hpp +364 -0
  476. casadi/include/coin/CglGMIParam.hpp +313 -0
  477. casadi/include/coin/CglGomory.hpp +204 -0
  478. casadi/include/coin/CglKnapsackCover.hpp +310 -0
  479. casadi/include/coin/CglLandP.hpp +306 -0
  480. casadi/include/coin/CglLandPValidator.hpp +130 -0
  481. casadi/include/coin/CglLiftAndProject.hpp +104 -0
  482. casadi/include/coin/CglMessage.hpp +49 -0
  483. casadi/include/coin/CglMixedIntegerRounding.hpp +429 -0
  484. casadi/include/coin/CglMixedIntegerRounding2.hpp +427 -0
  485. casadi/include/coin/CglOddHole.hpp +160 -0
  486. casadi/include/coin/CglParam.hpp +93 -0
  487. casadi/include/coin/CglPreProcess.hpp +600 -0
  488. casadi/include/coin/CglProbing.hpp +543 -0
  489. casadi/include/coin/CglRedSplit.hpp +448 -0
  490. casadi/include/coin/CglRedSplit2.hpp +494 -0
  491. casadi/include/coin/CglRedSplit2Param.hpp +495 -0
  492. casadi/include/coin/CglRedSplitParam.hpp +272 -0
  493. casadi/include/coin/CglResidualCapacity.hpp +240 -0
  494. casadi/include/coin/CglSimpleRounding.hpp +174 -0
  495. casadi/include/coin/CglStored.hpp +140 -0
  496. casadi/include/coin/CglTreeInfo.hpp +216 -0
  497. casadi/include/coin/CglTwomir.hpp +562 -0
  498. casadi/include/coin/CglZeroHalf.hpp +133 -0
  499. casadi/include/coin/ClpAmplObjective.hpp +113 -0
  500. casadi/include/coin/ClpCholeskyBase.hpp +321 -0
  501. casadi/include/coin/ClpCholeskyDense.hpp +157 -0
  502. casadi/include/coin/ClpCholeskyMumps.hpp +65 -0
  503. casadi/include/coin/ClpCholeskyPardiso.hpp +67 -0
  504. casadi/include/coin/ClpConfig.h +17 -0
  505. casadi/include/coin/ClpConstraint.hpp +129 -0
  506. casadi/include/coin/ClpConstraintAmpl.hpp +109 -0
  507. casadi/include/coin/ClpConstraintLinear.hpp +113 -0
  508. casadi/include/coin/ClpConstraintQuadratic.hpp +123 -0
  509. casadi/include/coin/ClpDualRowDantzig.hpp +72 -0
  510. casadi/include/coin/ClpDualRowPivot.hpp +136 -0
  511. casadi/include/coin/ClpDualRowSteepest.hpp +160 -0
  512. casadi/include/coin/ClpDummyMatrix.hpp +186 -0
  513. casadi/include/coin/ClpDynamicExampleMatrix.hpp +199 -0
  514. casadi/include/coin/ClpDynamicMatrix.hpp +420 -0
  515. casadi/include/coin/ClpEventHandler.hpp +193 -0
  516. casadi/include/coin/ClpFactorization.hpp +556 -0
  517. casadi/include/coin/ClpGubDynamicMatrix.hpp +270 -0
  518. casadi/include/coin/ClpGubMatrix.hpp +373 -0
  519. casadi/include/coin/ClpInterior.hpp +622 -0
  520. casadi/include/coin/ClpLinearObjective.hpp +104 -0
  521. casadi/include/coin/ClpMatrixBase.hpp +561 -0
  522. casadi/include/coin/ClpMessage.hpp +131 -0
  523. casadi/include/coin/ClpModel.hpp +1442 -0
  524. casadi/include/coin/ClpNetworkMatrix.hpp +235 -0
  525. casadi/include/coin/ClpNode.hpp +364 -0
  526. casadi/include/coin/ClpNonLinearCost.hpp +432 -0
  527. casadi/include/coin/ClpObjective.hpp +142 -0
  528. casadi/include/coin/ClpPEDualRowDantzig.hpp +84 -0
  529. casadi/include/coin/ClpPEDualRowSteepest.hpp +100 -0
  530. casadi/include/coin/ClpPEPrimalColumnDantzig.hpp +71 -0
  531. casadi/include/coin/ClpPEPrimalColumnSteepest.hpp +107 -0
  532. casadi/include/coin/ClpPESimplex.hpp +231 -0
  533. casadi/include/coin/ClpPackedMatrix.hpp +778 -0
  534. casadi/include/coin/ClpParameters.hpp +132 -0
  535. casadi/include/coin/ClpPdcoBase.hpp +110 -0
  536. casadi/include/coin/ClpPlusMinusOneMatrix.hpp +565 -0
  537. casadi/include/coin/ClpPresolve.hpp +379 -0
  538. casadi/include/coin/ClpPrimalColumnDantzig.hpp +74 -0
  539. casadi/include/coin/ClpPrimalColumnPivot.hpp +163 -0
  540. casadi/include/coin/ClpPrimalColumnSteepest.hpp +281 -0
  541. casadi/include/coin/ClpQuadraticObjective.hpp +161 -0
  542. casadi/include/coin/ClpSimplex.hpp +2137 -0
  543. casadi/include/coin/ClpSimplexDual.hpp +304 -0
  544. casadi/include/coin/ClpSimplexNonlinear.hpp +117 -0
  545. casadi/include/coin/ClpSimplexOther.hpp +282 -0
  546. casadi/include/coin/ClpSimplexPrimal.hpp +244 -0
  547. casadi/include/coin/ClpSolve.hpp +505 -0
  548. casadi/include/coin/Clp_C_Interface.h +554 -0
  549. casadi/include/coin/CoinAlloc.hpp +179 -0
  550. casadi/include/coin/CoinBuild.hpp +159 -0
  551. casadi/include/coin/CoinDenseFactorization.hpp +452 -0
  552. casadi/include/coin/CoinDenseVector.hpp +401 -0
  553. casadi/include/coin/CoinDistance.hpp +51 -0
  554. casadi/include/coin/CoinError.hpp +274 -0
  555. casadi/include/coin/CoinFactorization.hpp +2178 -0
  556. casadi/include/coin/CoinFileIO.hpp +185 -0
  557. casadi/include/coin/CoinFinite.hpp +37 -0
  558. casadi/include/coin/CoinFloatEqual.hpp +204 -0
  559. casadi/include/coin/CoinHelperFunctions.hpp +1270 -0
  560. casadi/include/coin/CoinIndexedVector.hpp +1437 -0
  561. casadi/include/coin/CoinLpIO.hpp +836 -0
  562. casadi/include/coin/CoinMessage.hpp +95 -0
  563. casadi/include/coin/CoinMessageHandler.hpp +717 -0
  564. casadi/include/coin/CoinModel.hpp +1214 -0
  565. casadi/include/coin/CoinModelUseful.hpp +518 -0
  566. casadi/include/coin/CoinMpsIO.hpp +1142 -0
  567. casadi/include/coin/CoinOslFactorization.hpp +287 -0
  568. casadi/include/coin/CoinPackedMatrix.hpp +956 -0
  569. casadi/include/coin/CoinPackedVector.hpp +670 -0
  570. casadi/include/coin/CoinPackedVectorBase.hpp +274 -0
  571. casadi/include/coin/CoinParam.hpp +644 -0
  572. casadi/include/coin/CoinPragma.hpp +29 -0
  573. casadi/include/coin/CoinPresolveDoubleton.hpp +76 -0
  574. casadi/include/coin/CoinPresolveDual.hpp +84 -0
  575. casadi/include/coin/CoinPresolveDupcol.hpp +259 -0
  576. casadi/include/coin/CoinPresolveEmpty.hpp +120 -0
  577. casadi/include/coin/CoinPresolveFixed.hpp +185 -0
  578. casadi/include/coin/CoinPresolveForcing.hpp +69 -0
  579. casadi/include/coin/CoinPresolveImpliedFree.hpp +66 -0
  580. casadi/include/coin/CoinPresolveIsolated.hpp +59 -0
  581. casadi/include/coin/CoinPresolveMatrix.hpp +1996 -0
  582. casadi/include/coin/CoinPresolveMonitor.hpp +105 -0
  583. casadi/include/coin/CoinPresolvePsdebug.hpp +169 -0
  584. casadi/include/coin/CoinPresolveSingleton.hpp +115 -0
  585. casadi/include/coin/CoinPresolveSubst.hpp +103 -0
  586. casadi/include/coin/CoinPresolveTighten.hpp +58 -0
  587. casadi/include/coin/CoinPresolveTripleton.hpp +69 -0
  588. casadi/include/coin/CoinPresolveUseless.hpp +63 -0
  589. casadi/include/coin/CoinPresolveZeros.hpp +65 -0
  590. casadi/include/coin/CoinRational.hpp +43 -0
  591. casadi/include/coin/CoinSearchTree.hpp +523 -0
  592. casadi/include/coin/CoinShallowPackedVector.hpp +149 -0
  593. casadi/include/coin/CoinSignal.hpp +127 -0
  594. casadi/include/coin/CoinSimpFactorization.hpp +432 -0
  595. casadi/include/coin/CoinSmartPtr.hpp +548 -0
  596. casadi/include/coin/CoinSnapshot.hpp +572 -0
  597. casadi/include/coin/CoinSort.hpp +753 -0
  598. casadi/include/coin/CoinStructuredModel.hpp +270 -0
  599. casadi/include/coin/CoinTime.hpp +350 -0
  600. casadi/include/coin/CoinTypes.hpp +67 -0
  601. casadi/include/coin/CoinUtility.hpp +26 -0
  602. casadi/include/coin/CoinUtilsConfig.h +34 -0
  603. casadi/include/coin/CoinWarmStart.hpp +56 -0
  604. casadi/include/coin/CoinWarmStartBasis.hpp +468 -0
  605. casadi/include/coin/CoinWarmStartDual.hpp +180 -0
  606. casadi/include/coin/CoinWarmStartPrimalDual.hpp +233 -0
  607. casadi/include/coin/CoinWarmStartVector.hpp +523 -0
  608. casadi/include/coin/Coin_C_defines.h +149 -0
  609. casadi/include/coin/Idiot.hpp +327 -0
  610. casadi/include/coin/OsiAuxInfo.hpp +261 -0
  611. casadi/include/coin/OsiBranchingObject.hpp +1097 -0
  612. casadi/include/coin/OsiCbcSolverInterface.hpp +791 -0
  613. casadi/include/coin/OsiChooseVariable.hpp +645 -0
  614. casadi/include/coin/OsiClpSolverInterface.hpp +1604 -0
  615. casadi/include/coin/OsiColCut.hpp +322 -0
  616. casadi/include/coin/OsiCollections.hpp +34 -0
  617. casadi/include/coin/OsiConfig.h +19 -0
  618. casadi/include/coin/OsiCut.hpp +251 -0
  619. casadi/include/coin/OsiCuts.hpp +505 -0
  620. casadi/include/coin/OsiPresolve.hpp +272 -0
  621. casadi/include/coin/OsiRowCut.hpp +345 -0
  622. casadi/include/coin/OsiRowCutDebugger.hpp +190 -0
  623. casadi/include/coin/OsiSolverBranch.hpp +169 -0
  624. casadi/include/coin/OsiSolverInterface.hpp +2221 -0
  625. casadi/include/coin/OsiSolverParameters.hpp +144 -0
  626. casadi/include/coin/OsiUnitTests.hpp +390 -0
  627. casadi/include/coin-or/IpAlgBuilder.hpp +417 -0
  628. casadi/include/coin-or/IpAlgStrategy.hpp +201 -0
  629. casadi/include/coin-or/IpAlgTypes.hpp +64 -0
  630. casadi/include/coin-or/IpAugSystemSolver.hpp +212 -0
  631. casadi/include/coin-or/IpBlas.hpp +426 -0
  632. casadi/include/coin-or/IpCachedResults.hpp +897 -0
  633. casadi/include/coin-or/IpCompoundMatrix.hpp +423 -0
  634. casadi/include/coin-or/IpCompoundSymMatrix.hpp +348 -0
  635. casadi/include/coin-or/IpCompoundVector.hpp +395 -0
  636. casadi/include/coin-or/IpConvCheck.hpp +97 -0
  637. casadi/include/coin-or/IpDebug.hpp +167 -0
  638. casadi/include/coin-or/IpDenseVector.hpp +626 -0
  639. casadi/include/coin-or/IpDiagMatrix.hpp +158 -0
  640. casadi/include/coin-or/IpEqMultCalculator.hpp +76 -0
  641. casadi/include/coin-or/IpException.hpp +156 -0
  642. casadi/include/coin-or/IpExpansionMatrix.hpp +245 -0
  643. casadi/include/coin-or/IpGenTMatrix.hpp +290 -0
  644. casadi/include/coin-or/IpHessianUpdater.hpp +73 -0
  645. casadi/include/coin-or/IpIdentityMatrix.hpp +167 -0
  646. casadi/include/coin-or/IpIpoptAlg.hpp +257 -0
  647. casadi/include/coin-or/IpIpoptApplication.hpp +367 -0
  648. casadi/include/coin-or/IpIpoptCalculatedQuantities.hpp +1009 -0
  649. casadi/include/coin-or/IpIpoptData.hpp +966 -0
  650. casadi/include/coin-or/IpIpoptNLP.hpp +328 -0
  651. casadi/include/coin-or/IpIterateInitializer.hpp +68 -0
  652. casadi/include/coin-or/IpIteratesVector.hpp +840 -0
  653. casadi/include/coin-or/IpIterationOutput.hpp +78 -0
  654. casadi/include/coin-or/IpJournalist.hpp +573 -0
  655. casadi/include/coin-or/IpLapack.hpp +227 -0
  656. casadi/include/coin-or/IpLibraryLoader.hpp +76 -0
  657. casadi/include/coin-or/IpLineSearch.hpp +106 -0
  658. casadi/include/coin-or/IpLinearSolvers.h +46 -0
  659. casadi/include/coin-or/IpMatrix.hpp +434 -0
  660. casadi/include/coin-or/IpMuUpdate.hpp +77 -0
  661. casadi/include/coin-or/IpNLP.hpp +306 -0
  662. casadi/include/coin-or/IpNLPScaling.hpp +582 -0
  663. casadi/include/coin-or/IpObserver.hpp +422 -0
  664. casadi/include/coin-or/IpOptionsList.hpp +412 -0
  665. casadi/include/coin-or/IpOrigIpoptNLP.hpp +603 -0
  666. casadi/include/coin-or/IpPDSystemSolver.hpp +137 -0
  667. casadi/include/coin-or/IpReferenced.hpp +262 -0
  668. casadi/include/coin-or/IpRegOptions.hpp +1152 -0
  669. casadi/include/coin-or/IpReturnCodes.h +23 -0
  670. casadi/include/coin-or/IpReturnCodes.hpp +18 -0
  671. casadi/include/coin-or/IpReturnCodes.inc +71 -0
  672. casadi/include/coin-or/IpReturnCodes_inc.h +45 -0
  673. casadi/include/coin-or/IpScaledMatrix.hpp +291 -0
  674. casadi/include/coin-or/IpSearchDirCalculator.hpp +72 -0
  675. casadi/include/coin-or/IpSmartPtr.hpp +865 -0
  676. casadi/include/coin-or/IpSolveStatistics.hpp +210 -0
  677. casadi/include/coin-or/IpSparseSymLinearSolverInterface.hpp +260 -0
  678. casadi/include/coin-or/IpStdAugSystemSolver.cpp +555 -0
  679. casadi/include/coin-or/IpStdCInterface.h +428 -0
  680. casadi/include/coin-or/IpSumSymMatrix.hpp +186 -0
  681. casadi/include/coin-or/IpSymLinearSolver.hpp +141 -0
  682. casadi/include/coin-or/IpSymMatrix.hpp +167 -0
  683. casadi/include/coin-or/IpSymScaledMatrix.hpp +255 -0
  684. casadi/include/coin-or/IpSymTMatrix.hpp +275 -0
  685. casadi/include/coin-or/IpTNLP.hpp +820 -0
  686. casadi/include/coin-or/IpTNLPAdapter.hpp +648 -0
  687. casadi/include/coin-or/IpTNLPReducer.hpp +274 -0
  688. casadi/include/coin-or/IpTaggedObject.hpp +128 -0
  689. casadi/include/coin-or/IpTimedTask.hpp +218 -0
  690. casadi/include/coin-or/IpTimingStatistics.hpp +323 -0
  691. casadi/include/coin-or/IpTripletHelper.hpp +308 -0
  692. casadi/include/coin-or/IpTypes.h +81 -0
  693. casadi/include/coin-or/IpTypes.hpp +30 -0
  694. casadi/include/coin-or/IpUtils.hpp +166 -0
  695. casadi/include/coin-or/IpVector.hpp +892 -0
  696. casadi/include/coin-or/IpZeroSymMatrix.hpp +155 -0
  697. casadi/include/coin-or/IpoptConfig.h +45 -0
  698. casadi/include/coin-or/SensAlgorithm.hpp +114 -0
  699. casadi/include/coin-or/SensApplication.hpp +188 -0
  700. casadi/include/coin-or/SensBacksolver.hpp +36 -0
  701. casadi/include/coin-or/SensMeasurement.hpp +56 -0
  702. casadi/include/coin-or/SensPCalculator.hpp +137 -0
  703. casadi/include/coin-or/SensRegOp.hpp +21 -0
  704. casadi/include/coin-or/SensSchurData.hpp +182 -0
  705. casadi/include/coin-or/SensSchurDriver.hpp +118 -0
  706. casadi/include/coin-or/SensSimpleBacksolver.hpp +49 -0
  707. casadi/include/coin-or/SensStepCalc.hpp +85 -0
  708. casadi/include/coin-or/SensUtils.hpp +63 -0
  709. casadi/include/coin-or/metis/defs.h +161 -0
  710. casadi/include/coin-or/metis/macros.h +143 -0
  711. casadi/include/coin-or/metis/metis.h +37 -0
  712. casadi/include/coin-or/metis/proto.h +505 -0
  713. casadi/include/coin-or/metis/rename.h +418 -0
  714. casadi/include/coin-or/metis/struct.h +251 -0
  715. casadi/include/coin-or/mumps/dmumps_c.h +142 -0
  716. casadi/include/coin-or/mumps/mumps_c_types.h +72 -0
  717. casadi/include/coin-or/mumps/mumps_compat.h +27 -0
  718. casadi/include/coin-or/mumps/mumps_int_def.h +11 -0
  719. casadi/include/coin-or/mumps/mumps_mpi.h +67 -0
  720. casadi/include/d_blas.h +78 -0
  721. casadi/include/d_blas_64.h +73 -0
  722. casadi/include/daqp/api.h +46 -0
  723. casadi/include/daqp/auxiliary.h +29 -0
  724. casadi/include/daqp/bnb.h +32 -0
  725. casadi/include/daqp/codegen.h +18 -0
  726. casadi/include/daqp/constants.h +92 -0
  727. casadi/include/daqp/daqp.h +22 -0
  728. casadi/include/daqp/daqp_prox.h +18 -0
  729. casadi/include/daqp/factorization.h +18 -0
  730. casadi/include/daqp/types.h +161 -0
  731. casadi/include/daqp/utils.h +44 -0
  732. casadi/include/eigen3/Eigen/Cholesky +45 -0
  733. casadi/include/eigen3/Eigen/CholmodSupport +48 -0
  734. casadi/include/eigen3/Eigen/Core +384 -0
  735. casadi/include/eigen3/Eigen/Dense +7 -0
  736. casadi/include/eigen3/Eigen/Eigen +2 -0
  737. casadi/include/eigen3/Eigen/Eigenvalues +60 -0
  738. casadi/include/eigen3/Eigen/Geometry +59 -0
  739. casadi/include/eigen3/Eigen/Householder +29 -0
  740. casadi/include/eigen3/Eigen/IterativeLinearSolvers +48 -0
  741. casadi/include/eigen3/Eigen/Jacobi +32 -0
  742. casadi/include/eigen3/Eigen/KLUSupport +41 -0
  743. casadi/include/eigen3/Eigen/LU +47 -0
  744. casadi/include/eigen3/Eigen/MetisSupport +35 -0
  745. casadi/include/eigen3/Eigen/OrderingMethods +70 -0
  746. casadi/include/eigen3/Eigen/PaStiXSupport +49 -0
  747. casadi/include/eigen3/Eigen/PardisoSupport +35 -0
  748. casadi/include/eigen3/Eigen/QR +50 -0
  749. casadi/include/eigen3/Eigen/QtAlignedMalloc +39 -0
  750. casadi/include/eigen3/Eigen/SPQRSupport +34 -0
  751. casadi/include/eigen3/Eigen/SVD +50 -0
  752. casadi/include/eigen3/Eigen/Sparse +34 -0
  753. casadi/include/eigen3/Eigen/SparseCholesky +37 -0
  754. casadi/include/eigen3/Eigen/SparseCore +69 -0
  755. casadi/include/eigen3/Eigen/SparseLU +50 -0
  756. casadi/include/eigen3/Eigen/SparseQR +36 -0
  757. casadi/include/eigen3/Eigen/StdDeque +27 -0
  758. casadi/include/eigen3/Eigen/StdList +26 -0
  759. casadi/include/eigen3/Eigen/StdVector +27 -0
  760. casadi/include/eigen3/Eigen/SuperLUSupport +64 -0
  761. casadi/include/eigen3/Eigen/UmfPackSupport +40 -0
  762. casadi/include/eigen3/Eigen/src/Cholesky/LDLT.h +688 -0
  763. casadi/include/eigen3/Eigen/src/Cholesky/LLT.h +558 -0
  764. casadi/include/eigen3/Eigen/src/Cholesky/LLT_LAPACKE.h +99 -0
  765. casadi/include/eigen3/Eigen/src/CholmodSupport/CholmodSupport.h +682 -0
  766. casadi/include/eigen3/Eigen/src/Core/ArithmeticSequence.h +413 -0
  767. casadi/include/eigen3/Eigen/src/Core/Array.h +417 -0
  768. casadi/include/eigen3/Eigen/src/Core/ArrayBase.h +226 -0
  769. casadi/include/eigen3/Eigen/src/Core/ArrayWrapper.h +209 -0
  770. casadi/include/eigen3/Eigen/src/Core/Assign.h +90 -0
  771. casadi/include/eigen3/Eigen/src/Core/AssignEvaluator.h +1010 -0
  772. casadi/include/eigen3/Eigen/src/Core/Assign_MKL.h +178 -0
  773. casadi/include/eigen3/Eigen/src/Core/BandMatrix.h +353 -0
  774. casadi/include/eigen3/Eigen/src/Core/Block.h +448 -0
  775. casadi/include/eigen3/Eigen/src/Core/BooleanRedux.h +162 -0
  776. casadi/include/eigen3/Eigen/src/Core/CommaInitializer.h +164 -0
  777. casadi/include/eigen3/Eigen/src/Core/ConditionEstimator.h +175 -0
  778. casadi/include/eigen3/Eigen/src/Core/CoreEvaluators.h +1741 -0
  779. casadi/include/eigen3/Eigen/src/Core/CoreIterators.h +132 -0
  780. casadi/include/eigen3/Eigen/src/Core/CwiseBinaryOp.h +183 -0
  781. casadi/include/eigen3/Eigen/src/Core/CwiseNullaryOp.h +1001 -0
  782. casadi/include/eigen3/Eigen/src/Core/CwiseTernaryOp.h +197 -0
  783. casadi/include/eigen3/Eigen/src/Core/CwiseUnaryOp.h +103 -0
  784. casadi/include/eigen3/Eigen/src/Core/CwiseUnaryView.h +132 -0
  785. casadi/include/eigen3/Eigen/src/Core/DenseBase.h +701 -0
  786. casadi/include/eigen3/Eigen/src/Core/DenseCoeffsBase.h +685 -0
  787. casadi/include/eigen3/Eigen/src/Core/DenseStorage.h +652 -0
  788. casadi/include/eigen3/Eigen/src/Core/Diagonal.h +258 -0
  789. casadi/include/eigen3/Eigen/src/Core/DiagonalMatrix.h +391 -0
  790. casadi/include/eigen3/Eigen/src/Core/DiagonalProduct.h +28 -0
  791. casadi/include/eigen3/Eigen/src/Core/Dot.h +318 -0
  792. casadi/include/eigen3/Eigen/src/Core/EigenBase.h +160 -0
  793. casadi/include/eigen3/Eigen/src/Core/ForceAlignedAccess.h +150 -0
  794. casadi/include/eigen3/Eigen/src/Core/Fuzzy.h +155 -0
  795. casadi/include/eigen3/Eigen/src/Core/GeneralProduct.h +465 -0
  796. casadi/include/eigen3/Eigen/src/Core/GenericPacketMath.h +1040 -0
  797. casadi/include/eigen3/Eigen/src/Core/GlobalFunctions.h +194 -0
  798. casadi/include/eigen3/Eigen/src/Core/IO.h +258 -0
  799. casadi/include/eigen3/Eigen/src/Core/IndexedView.h +237 -0
  800. casadi/include/eigen3/Eigen/src/Core/Inverse.h +117 -0
  801. casadi/include/eigen3/Eigen/src/Core/Map.h +171 -0
  802. casadi/include/eigen3/Eigen/src/Core/MapBase.h +310 -0
  803. casadi/include/eigen3/Eigen/src/Core/MathFunctions.h +2057 -0
  804. casadi/include/eigen3/Eigen/src/Core/MathFunctionsImpl.h +200 -0
  805. casadi/include/eigen3/Eigen/src/Core/Matrix.h +565 -0
  806. casadi/include/eigen3/Eigen/src/Core/MatrixBase.h +547 -0
  807. casadi/include/eigen3/Eigen/src/Core/NestByValue.h +85 -0
  808. casadi/include/eigen3/Eigen/src/Core/NoAlias.h +109 -0
  809. casadi/include/eigen3/Eigen/src/Core/NumTraits.h +335 -0
  810. casadi/include/eigen3/Eigen/src/Core/PartialReduxEvaluator.h +232 -0
  811. casadi/include/eigen3/Eigen/src/Core/PermutationMatrix.h +605 -0
  812. casadi/include/eigen3/Eigen/src/Core/PlainObjectBase.h +1128 -0
  813. casadi/include/eigen3/Eigen/src/Core/Product.h +191 -0
  814. casadi/include/eigen3/Eigen/src/Core/ProductEvaluators.h +1179 -0
  815. casadi/include/eigen3/Eigen/src/Core/Random.h +218 -0
  816. casadi/include/eigen3/Eigen/src/Core/Redux.h +515 -0
  817. casadi/include/eigen3/Eigen/src/Core/Ref.h +381 -0
  818. casadi/include/eigen3/Eigen/src/Core/Replicate.h +142 -0
  819. casadi/include/eigen3/Eigen/src/Core/Reshaped.h +454 -0
  820. casadi/include/eigen3/Eigen/src/Core/ReturnByValue.h +119 -0
  821. casadi/include/eigen3/Eigen/src/Core/Reverse.h +217 -0
  822. casadi/include/eigen3/Eigen/src/Core/Select.h +164 -0
  823. casadi/include/eigen3/Eigen/src/Core/SelfAdjointView.h +365 -0
  824. casadi/include/eigen3/Eigen/src/Core/SelfCwiseBinaryOp.h +47 -0
  825. casadi/include/eigen3/Eigen/src/Core/Solve.h +188 -0
  826. casadi/include/eigen3/Eigen/src/Core/SolveTriangular.h +235 -0
  827. casadi/include/eigen3/Eigen/src/Core/SolverBase.h +168 -0
  828. casadi/include/eigen3/Eigen/src/Core/StableNorm.h +251 -0
  829. casadi/include/eigen3/Eigen/src/Core/StlIterators.h +463 -0
  830. casadi/include/eigen3/Eigen/src/Core/Stride.h +116 -0
  831. casadi/include/eigen3/Eigen/src/Core/Swap.h +68 -0
  832. casadi/include/eigen3/Eigen/src/Core/Transpose.h +464 -0
  833. casadi/include/eigen3/Eigen/src/Core/Transpositions.h +386 -0
  834. casadi/include/eigen3/Eigen/src/Core/TriangularMatrix.h +1001 -0
  835. casadi/include/eigen3/Eigen/src/Core/VectorBlock.h +96 -0
  836. casadi/include/eigen3/Eigen/src/Core/VectorwiseOp.h +784 -0
  837. casadi/include/eigen3/Eigen/src/Core/Visitor.h +381 -0
  838. casadi/include/eigen3/Eigen/src/Core/arch/AVX/Complex.h +372 -0
  839. casadi/include/eigen3/Eigen/src/Core/arch/AVX/MathFunctions.h +228 -0
  840. casadi/include/eigen3/Eigen/src/Core/arch/AVX/PacketMath.h +1574 -0
  841. casadi/include/eigen3/Eigen/src/Core/arch/AVX/TypeCasting.h +115 -0
  842. casadi/include/eigen3/Eigen/src/Core/arch/AVX512/Complex.h +422 -0
  843. casadi/include/eigen3/Eigen/src/Core/arch/AVX512/MathFunctions.h +362 -0
  844. casadi/include/eigen3/Eigen/src/Core/arch/AVX512/PacketMath.h +2303 -0
  845. casadi/include/eigen3/Eigen/src/Core/arch/AVX512/TypeCasting.h +89 -0
  846. casadi/include/eigen3/Eigen/src/Core/arch/AltiVec/Complex.h +417 -0
  847. casadi/include/eigen3/Eigen/src/Core/arch/AltiVec/MathFunctions.h +90 -0
  848. casadi/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProduct.h +2937 -0
  849. casadi/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductCommon.h +221 -0
  850. casadi/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h +629 -0
  851. casadi/include/eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h +2711 -0
  852. casadi/include/eigen3/Eigen/src/Core/arch/CUDA/Complex.h +258 -0
  853. casadi/include/eigen3/Eigen/src/Core/arch/Default/BFloat16.h +700 -0
  854. casadi/include/eigen3/Eigen/src/Core/arch/Default/ConjHelper.h +117 -0
  855. casadi/include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h +1649 -0
  856. casadi/include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h +110 -0
  857. casadi/include/eigen3/Eigen/src/Core/arch/Default/Half.h +942 -0
  858. casadi/include/eigen3/Eigen/src/Core/arch/Default/Settings.h +49 -0
  859. casadi/include/eigen3/Eigen/src/Core/arch/Default/TypeCasting.h +120 -0
  860. casadi/include/eigen3/Eigen/src/Core/arch/GPU/MathFunctions.h +103 -0
  861. casadi/include/eigen3/Eigen/src/Core/arch/GPU/PacketMath.h +1685 -0
  862. casadi/include/eigen3/Eigen/src/Core/arch/GPU/TypeCasting.h +80 -0
  863. casadi/include/eigen3/Eigen/src/Core/arch/HIP/hcc/math_constants.h +23 -0
  864. casadi/include/eigen3/Eigen/src/Core/arch/MSA/Complex.h +648 -0
  865. casadi/include/eigen3/Eigen/src/Core/arch/MSA/MathFunctions.h +387 -0
  866. casadi/include/eigen3/Eigen/src/Core/arch/MSA/PacketMath.h +1233 -0
  867. casadi/include/eigen3/Eigen/src/Core/arch/NEON/Complex.h +584 -0
  868. casadi/include/eigen3/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h +183 -0
  869. casadi/include/eigen3/Eigen/src/Core/arch/NEON/MathFunctions.h +75 -0
  870. casadi/include/eigen3/Eigen/src/Core/arch/NEON/PacketMath.h +4587 -0
  871. casadi/include/eigen3/Eigen/src/Core/arch/NEON/TypeCasting.h +1419 -0
  872. casadi/include/eigen3/Eigen/src/Core/arch/SSE/Complex.h +351 -0
  873. casadi/include/eigen3/Eigen/src/Core/arch/SSE/MathFunctions.h +199 -0
  874. casadi/include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h +1505 -0
  875. casadi/include/eigen3/Eigen/src/Core/arch/SSE/TypeCasting.h +142 -0
  876. casadi/include/eigen3/Eigen/src/Core/arch/SVE/MathFunctions.h +44 -0
  877. casadi/include/eigen3/Eigen/src/Core/arch/SVE/PacketMath.h +752 -0
  878. casadi/include/eigen3/Eigen/src/Core/arch/SVE/TypeCasting.h +49 -0
  879. casadi/include/eigen3/Eigen/src/Core/arch/SYCL/InteropHeaders.h +232 -0
  880. casadi/include/eigen3/Eigen/src/Core/arch/SYCL/MathFunctions.h +301 -0
  881. casadi/include/eigen3/Eigen/src/Core/arch/SYCL/PacketMath.h +670 -0
  882. casadi/include/eigen3/Eigen/src/Core/arch/SYCL/SyclMemoryModel.h +694 -0
  883. casadi/include/eigen3/Eigen/src/Core/arch/SYCL/TypeCasting.h +85 -0
  884. casadi/include/eigen3/Eigen/src/Core/arch/ZVector/Complex.h +426 -0
  885. casadi/include/eigen3/Eigen/src/Core/arch/ZVector/MathFunctions.h +233 -0
  886. casadi/include/eigen3/Eigen/src/Core/arch/ZVector/PacketMath.h +1060 -0
  887. casadi/include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h +177 -0
  888. casadi/include/eigen3/Eigen/src/Core/functors/BinaryFunctors.h +541 -0
  889. casadi/include/eigen3/Eigen/src/Core/functors/NullaryFunctors.h +189 -0
  890. casadi/include/eigen3/Eigen/src/Core/functors/StlFunctors.h +166 -0
  891. casadi/include/eigen3/Eigen/src/Core/functors/TernaryFunctors.h +25 -0
  892. casadi/include/eigen3/Eigen/src/Core/functors/UnaryFunctors.h +1131 -0
  893. casadi/include/eigen3/Eigen/src/Core/products/GeneralBlockPanelKernel.h +2645 -0
  894. casadi/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix.h +517 -0
  895. casadi/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h +317 -0
  896. casadi/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular_BLAS.h +145 -0
  897. casadi/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix_BLAS.h +124 -0
  898. casadi/include/eigen3/Eigen/src/Core/products/GeneralMatrixVector.h +518 -0
  899. casadi/include/eigen3/Eigen/src/Core/products/GeneralMatrixVector_BLAS.h +136 -0
  900. casadi/include/eigen3/Eigen/src/Core/products/Parallelizer.h +180 -0
  901. casadi/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +544 -0
  902. casadi/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix_BLAS.h +295 -0
  903. casadi/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector.h +262 -0
  904. casadi/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector_BLAS.h +118 -0
  905. casadi/include/eigen3/Eigen/src/Core/products/SelfadjointProduct.h +133 -0
  906. casadi/include/eigen3/Eigen/src/Core/products/SelfadjointRank2Update.h +94 -0
  907. casadi/include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix.h +472 -0
  908. casadi/include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix_BLAS.h +317 -0
  909. casadi/include/eigen3/Eigen/src/Core/products/TriangularMatrixVector.h +350 -0
  910. casadi/include/eigen3/Eigen/src/Core/products/TriangularMatrixVector_BLAS.h +255 -0
  911. casadi/include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix.h +337 -0
  912. casadi/include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix_BLAS.h +167 -0
  913. casadi/include/eigen3/Eigen/src/Core/products/TriangularSolverVector.h +148 -0
  914. casadi/include/eigen3/Eigen/src/Core/util/BlasUtil.h +583 -0
  915. casadi/include/eigen3/Eigen/src/Core/util/ConfigureVectorization.h +512 -0
  916. casadi/include/eigen3/Eigen/src/Core/util/Constants.h +563 -0
  917. casadi/include/eigen3/Eigen/src/Core/util/DisableStupidWarnings.h +106 -0
  918. casadi/include/eigen3/Eigen/src/Core/util/ForwardDeclarations.h +322 -0
  919. casadi/include/eigen3/Eigen/src/Core/util/IndexedViewHelper.h +186 -0
  920. casadi/include/eigen3/Eigen/src/Core/util/IntegralConstant.h +272 -0
  921. casadi/include/eigen3/Eigen/src/Core/util/MKL_support.h +137 -0
  922. casadi/include/eigen3/Eigen/src/Core/util/Macros.h +1464 -0
  923. casadi/include/eigen3/Eigen/src/Core/util/Memory.h +1163 -0
  924. casadi/include/eigen3/Eigen/src/Core/util/Meta.h +812 -0
  925. casadi/include/eigen3/Eigen/src/Core/util/NonMPL2.h +3 -0
  926. casadi/include/eigen3/Eigen/src/Core/util/ReenableStupidWarnings.h +31 -0
  927. casadi/include/eigen3/Eigen/src/Core/util/ReshapedHelper.h +51 -0
  928. casadi/include/eigen3/Eigen/src/Core/util/StaticAssert.h +221 -0
  929. casadi/include/eigen3/Eigen/src/Core/util/SymbolicIndex.h +293 -0
  930. casadi/include/eigen3/Eigen/src/Core/util/XprHelper.h +856 -0
  931. casadi/include/eigen3/Eigen/src/Eigenvalues/ComplexEigenSolver.h +346 -0
  932. casadi/include/eigen3/Eigen/src/Eigenvalues/ComplexSchur.h +462 -0
  933. casadi/include/eigen3/Eigen/src/Eigenvalues/ComplexSchur_LAPACKE.h +91 -0
  934. casadi/include/eigen3/Eigen/src/Eigenvalues/EigenSolver.h +622 -0
  935. casadi/include/eigen3/Eigen/src/Eigenvalues/GeneralizedEigenSolver.h +418 -0
  936. casadi/include/eigen3/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h +226 -0
  937. casadi/include/eigen3/Eigen/src/Eigenvalues/HessenbergDecomposition.h +374 -0
  938. casadi/include/eigen3/Eigen/src/Eigenvalues/MatrixBaseEigenvalues.h +158 -0
  939. casadi/include/eigen3/Eigen/src/Eigenvalues/RealQZ.h +657 -0
  940. casadi/include/eigen3/Eigen/src/Eigenvalues/RealSchur.h +558 -0
  941. casadi/include/eigen3/Eigen/src/Eigenvalues/RealSchur_LAPACKE.h +77 -0
  942. casadi/include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h +904 -0
  943. casadi/include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver_LAPACKE.h +87 -0
  944. casadi/include/eigen3/Eigen/src/Eigenvalues/Tridiagonalization.h +561 -0
  945. casadi/include/eigen3/Eigen/src/Geometry/AlignedBox.h +486 -0
  946. casadi/include/eigen3/Eigen/src/Geometry/AngleAxis.h +247 -0
  947. casadi/include/eigen3/Eigen/src/Geometry/EulerAngles.h +114 -0
  948. casadi/include/eigen3/Eigen/src/Geometry/Homogeneous.h +501 -0
  949. casadi/include/eigen3/Eigen/src/Geometry/Hyperplane.h +282 -0
  950. casadi/include/eigen3/Eigen/src/Geometry/OrthoMethods.h +235 -0
  951. casadi/include/eigen3/Eigen/src/Geometry/ParametrizedLine.h +232 -0
  952. casadi/include/eigen3/Eigen/src/Geometry/Quaternion.h +870 -0
  953. casadi/include/eigen3/Eigen/src/Geometry/Rotation2D.h +199 -0
  954. casadi/include/eigen3/Eigen/src/Geometry/RotationBase.h +206 -0
  955. casadi/include/eigen3/Eigen/src/Geometry/Scaling.h +188 -0
  956. casadi/include/eigen3/Eigen/src/Geometry/Transform.h +1563 -0
  957. casadi/include/eigen3/Eigen/src/Geometry/Translation.h +202 -0
  958. casadi/include/eigen3/Eigen/src/Geometry/Umeyama.h +166 -0
  959. casadi/include/eigen3/Eigen/src/Geometry/arch/Geometry_SIMD.h +168 -0
  960. casadi/include/eigen3/Eigen/src/Householder/BlockHouseholder.h +110 -0
  961. casadi/include/eigen3/Eigen/src/Householder/Householder.h +176 -0
  962. casadi/include/eigen3/Eigen/src/Householder/HouseholderSequence.h +545 -0
  963. casadi/include/eigen3/Eigen/src/IterativeLinearSolvers/BasicPreconditioners.h +226 -0
  964. casadi/include/eigen3/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h +212 -0
  965. casadi/include/eigen3/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h +229 -0
  966. casadi/include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h +394 -0
  967. casadi/include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteLUT.h +453 -0
  968. casadi/include/eigen3/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h +444 -0
  969. casadi/include/eigen3/Eigen/src/IterativeLinearSolvers/LeastSquareConjugateGradient.h +198 -0
  970. casadi/include/eigen3/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h +117 -0
  971. casadi/include/eigen3/Eigen/src/Jacobi/Jacobi.h +483 -0
  972. casadi/include/eigen3/Eigen/src/KLUSupport/KLUSupport.h +358 -0
  973. casadi/include/eigen3/Eigen/src/LU/Determinant.h +117 -0
  974. casadi/include/eigen3/Eigen/src/LU/FullPivLU.h +877 -0
  975. casadi/include/eigen3/Eigen/src/LU/InverseImpl.h +432 -0
  976. casadi/include/eigen3/Eigen/src/LU/PartialPivLU.h +624 -0
  977. casadi/include/eigen3/Eigen/src/LU/PartialPivLU_LAPACKE.h +83 -0
  978. casadi/include/eigen3/Eigen/src/LU/arch/InverseSize4.h +351 -0
  979. casadi/include/eigen3/Eigen/src/MetisSupport/MetisSupport.h +137 -0
  980. casadi/include/eigen3/Eigen/src/OrderingMethods/Amd.h +435 -0
  981. casadi/include/eigen3/Eigen/src/OrderingMethods/Eigen_Colamd.h +1863 -0
  982. casadi/include/eigen3/Eigen/src/OrderingMethods/Ordering.h +153 -0
  983. casadi/include/eigen3/Eigen/src/PaStiXSupport/PaStiXSupport.h +678 -0
  984. casadi/include/eigen3/Eigen/src/PardisoSupport/PardisoSupport.h +545 -0
  985. casadi/include/eigen3/Eigen/src/QR/ColPivHouseholderQR.h +674 -0
  986. casadi/include/eigen3/Eigen/src/QR/ColPivHouseholderQR_LAPACKE.h +97 -0
  987. casadi/include/eigen3/Eigen/src/QR/CompleteOrthogonalDecomposition.h +635 -0
  988. casadi/include/eigen3/Eigen/src/QR/FullPivHouseholderQR.h +713 -0
  989. casadi/include/eigen3/Eigen/src/QR/HouseholderQR.h +434 -0
  990. casadi/include/eigen3/Eigen/src/QR/HouseholderQR_LAPACKE.h +68 -0
  991. casadi/include/eigen3/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h +335 -0
  992. casadi/include/eigen3/Eigen/src/SVD/BDCSVD.h +1366 -0
  993. casadi/include/eigen3/Eigen/src/SVD/JacobiSVD.h +812 -0
  994. casadi/include/eigen3/Eigen/src/SVD/JacobiSVD_LAPACKE.h +91 -0
  995. casadi/include/eigen3/Eigen/src/SVD/SVDBase.h +376 -0
  996. casadi/include/eigen3/Eigen/src/SVD/UpperBidiagonalization.h +414 -0
  997. casadi/include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky.h +697 -0
  998. casadi/include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h +174 -0
  999. casadi/include/eigen3/Eigen/src/SparseCore/AmbiVector.h +378 -0
  1000. casadi/include/eigen3/Eigen/src/SparseCore/CompressedStorage.h +274 -0
  1001. casadi/include/eigen3/Eigen/src/SparseCore/ConservativeSparseSparseProduct.h +352 -0
  1002. casadi/include/eigen3/Eigen/src/SparseCore/MappedSparseMatrix.h +67 -0
  1003. casadi/include/eigen3/Eigen/src/SparseCore/SparseAssign.h +270 -0
  1004. casadi/include/eigen3/Eigen/src/SparseCore/SparseBlock.h +571 -0
  1005. casadi/include/eigen3/Eigen/src/SparseCore/SparseColEtree.h +206 -0
  1006. casadi/include/eigen3/Eigen/src/SparseCore/SparseCompressedBase.h +370 -0
  1007. casadi/include/eigen3/Eigen/src/SparseCore/SparseCwiseBinaryOp.h +722 -0
  1008. casadi/include/eigen3/Eigen/src/SparseCore/SparseCwiseUnaryOp.h +150 -0
  1009. casadi/include/eigen3/Eigen/src/SparseCore/SparseDenseProduct.h +342 -0
  1010. casadi/include/eigen3/Eigen/src/SparseCore/SparseDiagonalProduct.h +138 -0
  1011. casadi/include/eigen3/Eigen/src/SparseCore/SparseDot.h +98 -0
  1012. casadi/include/eigen3/Eigen/src/SparseCore/SparseFuzzy.h +29 -0
  1013. casadi/include/eigen3/Eigen/src/SparseCore/SparseMap.h +305 -0
  1014. casadi/include/eigen3/Eigen/src/SparseCore/SparseMatrix.h +1518 -0
  1015. casadi/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h +398 -0
  1016. casadi/include/eigen3/Eigen/src/SparseCore/SparsePermutation.h +178 -0
  1017. casadi/include/eigen3/Eigen/src/SparseCore/SparseProduct.h +181 -0
  1018. casadi/include/eigen3/Eigen/src/SparseCore/SparseRedux.h +49 -0
  1019. casadi/include/eigen3/Eigen/src/SparseCore/SparseRef.h +397 -0
  1020. casadi/include/eigen3/Eigen/src/SparseCore/SparseSelfAdjointView.h +659 -0
  1021. casadi/include/eigen3/Eigen/src/SparseCore/SparseSolverBase.h +124 -0
  1022. casadi/include/eigen3/Eigen/src/SparseCore/SparseSparseProductWithPruning.h +198 -0
  1023. casadi/include/eigen3/Eigen/src/SparseCore/SparseTranspose.h +92 -0
  1024. casadi/include/eigen3/Eigen/src/SparseCore/SparseTriangularView.h +189 -0
  1025. casadi/include/eigen3/Eigen/src/SparseCore/SparseUtil.h +186 -0
  1026. casadi/include/eigen3/Eigen/src/SparseCore/SparseVector.h +478 -0
  1027. casadi/include/eigen3/Eigen/src/SparseCore/SparseView.h +254 -0
  1028. casadi/include/eigen3/Eigen/src/SparseCore/TriangularSolver.h +315 -0
  1029. casadi/include/eigen3/Eigen/src/SparseLU/SparseLU.h +923 -0
  1030. casadi/include/eigen3/Eigen/src/SparseLU/SparseLUImpl.h +66 -0
  1031. casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_Memory.h +226 -0
  1032. casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_Structs.h +110 -0
  1033. casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_SupernodalMatrix.h +375 -0
  1034. casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_Utils.h +80 -0
  1035. casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_column_bmod.h +181 -0
  1036. casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_column_dfs.h +179 -0
  1037. casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_copy_to_ucol.h +107 -0
  1038. casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_gemm_kernel.h +280 -0
  1039. casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h +126 -0
  1040. casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_kernel_bmod.h +130 -0
  1041. casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_panel_bmod.h +223 -0
  1042. casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_panel_dfs.h +258 -0
  1043. casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_pivotL.h +137 -0
  1044. casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_pruneL.h +136 -0
  1045. casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_relax_snode.h +83 -0
  1046. casadi/include/eigen3/Eigen/src/SparseQR/SparseQR.h +758 -0
  1047. casadi/include/eigen3/Eigen/src/StlSupport/StdDeque.h +116 -0
  1048. casadi/include/eigen3/Eigen/src/StlSupport/StdList.h +106 -0
  1049. casadi/include/eigen3/Eigen/src/StlSupport/StdVector.h +131 -0
  1050. casadi/include/eigen3/Eigen/src/StlSupport/details.h +84 -0
  1051. casadi/include/eigen3/Eigen/src/SuperLUSupport/SuperLUSupport.h +1025 -0
  1052. casadi/include/eigen3/Eigen/src/UmfPackSupport/UmfPackSupport.h +642 -0
  1053. casadi/include/eigen3/Eigen/src/misc/Image.h +82 -0
  1054. casadi/include/eigen3/Eigen/src/misc/Kernel.h +79 -0
  1055. casadi/include/eigen3/Eigen/src/misc/RealSvd2x2.h +55 -0
  1056. casadi/include/eigen3/Eigen/src/misc/blas.h +440 -0
  1057. casadi/include/eigen3/Eigen/src/misc/lapack.h +152 -0
  1058. casadi/include/eigen3/Eigen/src/misc/lapacke.h +16292 -0
  1059. casadi/include/eigen3/Eigen/src/misc/lapacke_mangling.h +17 -0
  1060. casadi/include/eigen3/Eigen/src/plugins/ArrayCwiseBinaryOps.h +358 -0
  1061. casadi/include/eigen3/Eigen/src/plugins/ArrayCwiseUnaryOps.h +696 -0
  1062. casadi/include/eigen3/Eigen/src/plugins/BlockMethods.h +1442 -0
  1063. casadi/include/eigen3/Eigen/src/plugins/CommonCwiseBinaryOps.h +115 -0
  1064. casadi/include/eigen3/Eigen/src/plugins/CommonCwiseUnaryOps.h +177 -0
  1065. casadi/include/eigen3/Eigen/src/plugins/IndexedViewMethods.h +262 -0
  1066. casadi/include/eigen3/Eigen/src/plugins/MatrixCwiseBinaryOps.h +152 -0
  1067. casadi/include/eigen3/Eigen/src/plugins/MatrixCwiseUnaryOps.h +95 -0
  1068. casadi/include/eigen3/Eigen/src/plugins/ReshapedMethods.h +149 -0
  1069. casadi/include/eigen3/signature_of_eigen3_matrix_library +1 -0
  1070. casadi/include/eigen3/unsupported/Eigen/AdolcForward +159 -0
  1071. casadi/include/eigen3/unsupported/Eigen/AlignedVector3 +234 -0
  1072. casadi/include/eigen3/unsupported/Eigen/ArpackSupport +30 -0
  1073. casadi/include/eigen3/unsupported/Eigen/AutoDiff +46 -0
  1074. casadi/include/eigen3/unsupported/Eigen/BVH +95 -0
  1075. casadi/include/eigen3/unsupported/Eigen/CXX11/Tensor +137 -0
  1076. casadi/include/eigen3/unsupported/Eigen/CXX11/TensorSymmetry +42 -0
  1077. casadi/include/eigen3/unsupported/Eigen/CXX11/ThreadPool +74 -0
  1078. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/Tensor.h +554 -0
  1079. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h +329 -0
  1080. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h +247 -0
  1081. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBase.h +1176 -0
  1082. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h +1559 -0
  1083. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h +1093 -0
  1084. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h +518 -0
  1085. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h +377 -0
  1086. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h +1023 -0
  1087. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionBlocking.h +73 -0
  1088. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionCuda.h +6 -0
  1089. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionGpu.h +1413 -0
  1090. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h +575 -0
  1091. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionSycl.h +1650 -0
  1092. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h +1679 -0
  1093. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h +456 -0
  1094. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +1132 -0
  1095. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolutionSycl.h +544 -0
  1096. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCostModel.h +214 -0
  1097. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCustomOp.h +347 -0
  1098. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDevice.h +137 -0
  1099. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceCuda.h +6 -0
  1100. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceDefault.h +104 -0
  1101. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceGpu.h +389 -0
  1102. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h +1048 -0
  1103. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h +409 -0
  1104. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h +236 -0
  1105. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h +490 -0
  1106. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvalTo.h +236 -0
  1107. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h +983 -0
  1108. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h +703 -0
  1109. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h +388 -0
  1110. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFFT.h +669 -0
  1111. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h +379 -0
  1112. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForcedEval.h +237 -0
  1113. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h +191 -0
  1114. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h +488 -0
  1115. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGenerator.h +302 -0
  1116. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGlobalFunctions.h +33 -0
  1117. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaDefines.h +99 -0
  1118. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaUndefines.h +44 -0
  1119. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIO.h +79 -0
  1120. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h +603 -0
  1121. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h +738 -0
  1122. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInflation.h +247 -0
  1123. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInitializer.h +82 -0
  1124. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h +263 -0
  1125. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorLayoutSwap.h +216 -0
  1126. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMacros.h +98 -0
  1127. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMap.h +327 -0
  1128. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h +311 -0
  1129. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h +1102 -0
  1130. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPadding.h +708 -0
  1131. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPatch.h +291 -0
  1132. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h +322 -0
  1133. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h +998 -0
  1134. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionCuda.h +6 -0
  1135. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionGpu.h +966 -0
  1136. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionSycl.h +582 -0
  1137. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRef.h +454 -0
  1138. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReverse.h +465 -0
  1139. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorScan.h +528 -0
  1140. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorScanSycl.h +513 -0
  1141. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorShuffling.h +471 -0
  1142. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h +161 -0
  1143. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStriding.h +346 -0
  1144. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTrace.h +303 -0
  1145. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h +264 -0
  1146. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h +249 -0
  1147. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorVolumePatch.h +629 -0
  1148. casadi/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/DynamicSymmetry.h +293 -0
  1149. casadi/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/StaticSymmetry.h +236 -0
  1150. casadi/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/Symmetry.h +338 -0
  1151. casadi/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/util/TemplateGroupTheory.h +669 -0
  1152. casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/Barrier.h +67 -0
  1153. casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/EventCount.h +249 -0
  1154. casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/NonBlockingThreadPool.h +486 -0
  1155. casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/RunQueue.h +236 -0
  1156. casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadCancel.h +23 -0
  1157. casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadEnvironment.h +40 -0
  1158. casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadLocal.h +301 -0
  1159. casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadPoolInterface.h +48 -0
  1160. casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadYield.h +20 -0
  1161. casadi/include/eigen3/unsupported/Eigen/CXX11/src/util/CXX11Meta.h +537 -0
  1162. casadi/include/eigen3/unsupported/Eigen/CXX11/src/util/CXX11Workarounds.h +88 -0
  1163. casadi/include/eigen3/unsupported/Eigen/CXX11/src/util/EmulateArray.h +261 -0
  1164. casadi/include/eigen3/unsupported/Eigen/CXX11/src/util/MaxSizeVector.h +158 -0
  1165. casadi/include/eigen3/unsupported/Eigen/EulerAngles +43 -0
  1166. casadi/include/eigen3/unsupported/Eigen/FFT +419 -0
  1167. casadi/include/eigen3/unsupported/Eigen/IterativeSolvers +51 -0
  1168. casadi/include/eigen3/unsupported/Eigen/KroneckerProduct +36 -0
  1169. casadi/include/eigen3/unsupported/Eigen/LevenbergMarquardt +49 -0
  1170. casadi/include/eigen3/unsupported/Eigen/MPRealSupport +213 -0
  1171. casadi/include/eigen3/unsupported/Eigen/MatrixFunctions +504 -0
  1172. casadi/include/eigen3/unsupported/Eigen/MoreVectorization +24 -0
  1173. casadi/include/eigen3/unsupported/Eigen/NonLinearOptimization +140 -0
  1174. casadi/include/eigen3/unsupported/Eigen/NumericalDiff +56 -0
  1175. casadi/include/eigen3/unsupported/Eigen/OpenGLSupport +322 -0
  1176. casadi/include/eigen3/unsupported/Eigen/Polynomials +137 -0
  1177. casadi/include/eigen3/unsupported/Eigen/Skyline +39 -0
  1178. casadi/include/eigen3/unsupported/Eigen/SparseExtra +54 -0
  1179. casadi/include/eigen3/unsupported/Eigen/SpecialFunctions +103 -0
  1180. casadi/include/eigen3/unsupported/Eigen/Splines +35 -0
  1181. casadi/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffJacobian.h +108 -0
  1182. casadi/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h +730 -0
  1183. casadi/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffVector.h +220 -0
  1184. casadi/include/eigen3/unsupported/Eigen/src/BVH/BVAlgorithms.h +293 -0
  1185. casadi/include/eigen3/unsupported/Eigen/src/BVH/KdBVH.h +223 -0
  1186. casadi/include/eigen3/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h +790 -0
  1187. casadi/include/eigen3/unsupported/Eigen/src/EulerAngles/EulerAngles.h +355 -0
  1188. casadi/include/eigen3/unsupported/Eigen/src/EulerAngles/EulerSystem.h +305 -0
  1189. casadi/include/eigen3/unsupported/Eigen/src/FFT/ei_fftw_impl.h +261 -0
  1190. casadi/include/eigen3/unsupported/Eigen/src/FFT/ei_kissfft_impl.h +449 -0
  1191. casadi/include/eigen3/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h +187 -0
  1192. casadi/include/eigen3/unsupported/Eigen/src/IterativeSolvers/DGMRES.h +511 -0
  1193. casadi/include/eigen3/unsupported/Eigen/src/IterativeSolvers/GMRES.h +335 -0
  1194. casadi/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IDRS.h +436 -0
  1195. casadi/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IncompleteLU.h +90 -0
  1196. casadi/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IterationController.h +154 -0
  1197. casadi/include/eigen3/unsupported/Eigen/src/IterativeSolvers/MINRES.h +267 -0
  1198. casadi/include/eigen3/unsupported/Eigen/src/IterativeSolvers/Scaling.h +193 -0
  1199. casadi/include/eigen3/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h +305 -0
  1200. casadi/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMcovar.h +84 -0
  1201. casadi/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMonestep.h +202 -0
  1202. casadi/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMpar.h +160 -0
  1203. casadi/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMqrsolv.h +188 -0
  1204. casadi/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LevenbergMarquardt.h +396 -0
  1205. casadi/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h +441 -0
  1206. casadi/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixFunction.h +569 -0
  1207. casadi/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixLogarithm.h +373 -0
  1208. casadi/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixPower.h +705 -0
  1209. casadi/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h +368 -0
  1210. casadi/include/eigen3/unsupported/Eigen/src/MatrixFunctions/StemFunction.h +117 -0
  1211. casadi/include/eigen3/unsupported/Eigen/src/MoreVectorization/MathFunctions.h +95 -0
  1212. casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h +601 -0
  1213. casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h +657 -0
  1214. casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/chkder.h +66 -0
  1215. casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/covar.h +70 -0
  1216. casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/dogleg.h +107 -0
  1217. casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/fdjac1.h +79 -0
  1218. casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/lmpar.h +298 -0
  1219. casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/qrsolv.h +91 -0
  1220. casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1mpyq.h +30 -0
  1221. casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1updt.h +99 -0
  1222. casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/rwupdt.h +49 -0
  1223. casadi/include/eigen3/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h +130 -0
  1224. casadi/include/eigen3/unsupported/Eigen/src/Polynomials/Companion.h +280 -0
  1225. casadi/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h +428 -0
  1226. casadi/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h +143 -0
  1227. casadi/include/eigen3/unsupported/Eigen/src/Skyline/SkylineInplaceLU.h +352 -0
  1228. casadi/include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrix.h +862 -0
  1229. casadi/include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrixBase.h +212 -0
  1230. casadi/include/eigen3/unsupported/Eigen/src/Skyline/SkylineProduct.h +295 -0
  1231. casadi/include/eigen3/unsupported/Eigen/src/Skyline/SkylineStorage.h +259 -0
  1232. casadi/include/eigen3/unsupported/Eigen/src/Skyline/SkylineUtil.h +89 -0
  1233. casadi/include/eigen3/unsupported/Eigen/src/SparseExtra/BlockOfDynamicSparseMatrix.h +122 -0
  1234. casadi/include/eigen3/unsupported/Eigen/src/SparseExtra/BlockSparseMatrix.h +1079 -0
  1235. casadi/include/eigen3/unsupported/Eigen/src/SparseExtra/DynamicSparseMatrix.h +404 -0
  1236. casadi/include/eigen3/unsupported/Eigen/src/SparseExtra/MarketIO.h +282 -0
  1237. casadi/include/eigen3/unsupported/Eigen/src/SparseExtra/MatrixMarketIterator.h +247 -0
  1238. casadi/include/eigen3/unsupported/Eigen/src/SparseExtra/RandomSetter.h +349 -0
  1239. casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsArrayAPI.h +286 -0
  1240. casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsBFloat16.h +68 -0
  1241. casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsFunctors.h +357 -0
  1242. casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsHalf.h +66 -0
  1243. casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsImpl.h +1959 -0
  1244. casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsPacketMath.h +118 -0
  1245. casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/HipVectorCompatibility.h +67 -0
  1246. casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsArrayAPI.h +167 -0
  1247. casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsBFloat16.h +58 -0
  1248. casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsFunctors.h +330 -0
  1249. casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsHalf.h +58 -0
  1250. casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h +2045 -0
  1251. casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsPacketMath.h +79 -0
  1252. casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX/BesselFunctions.h +46 -0
  1253. casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX/SpecialFunctions.h +16 -0
  1254. casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/BesselFunctions.h +46 -0
  1255. casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/SpecialFunctions.h +16 -0
  1256. casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/GPU/SpecialFunctions.h +369 -0
  1257. casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/NEON/BesselFunctions.h +54 -0
  1258. casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/NEON/SpecialFunctions.h +34 -0
  1259. casadi/include/eigen3/unsupported/Eigen/src/Splines/Spline.h +507 -0
  1260. casadi/include/eigen3/unsupported/Eigen/src/Splines/SplineFitting.h +431 -0
  1261. casadi/include/eigen3/unsupported/Eigen/src/Splines/SplineFwd.h +93 -0
  1262. casadi/include/fatrop/auxiliary/Common.hpp +34 -0
  1263. casadi/include/fatrop/auxiliary/DynamicLib.hpp +34 -0
  1264. casadi/include/fatrop/auxiliary/FatropOptions.hpp +68 -0
  1265. casadi/include/fatrop/auxiliary/FatropVector.hpp +143 -0
  1266. casadi/include/fatrop/auxiliary/LinearAlgebra.hpp +88 -0
  1267. casadi/include/fatrop/auxiliary/VectorUtils.hpp +54 -0
  1268. casadi/include/fatrop/blasfeo_wrapper/LinearAlgebraBlasfeo.hpp +496 -0
  1269. casadi/include/fatrop/fatrop.hpp +39 -0
  1270. casadi/include/fatrop/function_evaluation/CasadiCodegen.hpp +104 -0
  1271. casadi/include/fatrop/function_evaluation/FunctionEvaluation.hpp +60 -0
  1272. casadi/include/fatrop/json/json.h +946 -0
  1273. casadi/include/fatrop/ocp/CasadiCApiUserdataWrap.hpp +87 -0
  1274. casadi/include/fatrop/ocp/DuInfEvaluator.hpp +38 -0
  1275. casadi/include/fatrop/ocp/FatropOCP.hpp +161 -0
  1276. casadi/include/fatrop/ocp/FatropOCPBuilder.hpp +52 -0
  1277. casadi/include/fatrop/ocp/FatropOCPResto.hpp +299 -0
  1278. casadi/include/fatrop/ocp/OCP.hpp +82 -0
  1279. casadi/include/fatrop/ocp/OCPAbstract.hpp +254 -0
  1280. casadi/include/fatrop/ocp/OCPAdapter.hpp +197 -0
  1281. casadi/include/fatrop/ocp/OCPCInterface.h +289 -0
  1282. casadi/include/fatrop/ocp/OCPDims.hpp +60 -0
  1283. casadi/include/fatrop/ocp/OCPInitializer.hpp +41 -0
  1284. casadi/include/fatrop/ocp/OCPKKT.hpp +69 -0
  1285. casadi/include/fatrop/ocp/OCPLSRiccati.hpp +198 -0
  1286. casadi/include/fatrop/ocp/OCPLSScaler.hpp +66 -0
  1287. casadi/include/fatrop/ocp/OCPLinearSolver.hpp +75 -0
  1288. casadi/include/fatrop/ocp/OCPNoScaling.hpp +42 -0
  1289. casadi/include/fatrop/ocp/OCPScalingMethod.hpp +42 -0
  1290. casadi/include/fatrop/ocp/StageOCP.hpp +592 -0
  1291. casadi/include/fatrop/ocp/StageOCPApplication.hpp +242 -0
  1292. casadi/include/fatrop/ocp/StageOCPExpressions.hpp +182 -0
  1293. casadi/include/fatrop/ocp/UStageEvalAbstract.hpp +168 -0
  1294. casadi/include/fatrop/ocp/UStageOCPImpl.hpp +152 -0
  1295. casadi/include/fatrop/quasi_newton/bfgs.hpp +159 -0
  1296. casadi/include/fatrop/solver/AlgBuilder.hpp +76 -0
  1297. casadi/include/fatrop/solver/AlgStrategy.hpp +33 -0
  1298. casadi/include/fatrop/solver/FatropAlg.hpp +121 -0
  1299. casadi/include/fatrop/solver/FatropData.hpp +188 -0
  1300. casadi/include/fatrop/solver/FatropOptions.hpp +95 -0
  1301. casadi/include/fatrop/solver/FatropPrinter.hpp +65 -0
  1302. casadi/include/fatrop/solver/FatropStats.hpp +63 -0
  1303. casadi/include/fatrop/solver/Filter.hpp +54 -0
  1304. casadi/include/fatrop/solver/IterationData.hpp +56 -0
  1305. casadi/include/fatrop/solver/LineSearch.hpp +86 -0
  1306. casadi/include/fatrop/solver/NLPL1.hpp +263 -0
  1307. casadi/include/fatrop/templates/NLPAlg.hpp +104 -0
  1308. casadi/include/ghc/filesystem.hpp +6083 -0
  1309. casadi/include/ghc/fs_fwd.hpp +38 -0
  1310. casadi/include/ghc/fs_impl.hpp +35 -0
  1311. casadi/include/ghc/fs_std.hpp +60 -0
  1312. casadi/include/ghc/fs_std_fwd.hpp +63 -0
  1313. casadi/include/ghc/fs_std_impl.hpp +46 -0
  1314. casadi/include/highs/HConfig.h +23 -0
  1315. casadi/include/highs/Highs.h +1703 -0
  1316. casadi/include/highs/filereaderlp/builder.hpp +25 -0
  1317. casadi/include/highs/filereaderlp/def.hpp +19 -0
  1318. casadi/include/highs/filereaderlp/model.hpp +68 -0
  1319. casadi/include/highs/filereaderlp/reader.hpp +10 -0
  1320. casadi/include/highs/interfaces/highs_c_api.h +2456 -0
  1321. casadi/include/highs/io/Filereader.h +45 -0
  1322. casadi/include/highs/io/FilereaderEms.h +30 -0
  1323. casadi/include/highs/io/FilereaderLp.h +51 -0
  1324. casadi/include/highs/io/FilereaderMps.h +27 -0
  1325. casadi/include/highs/io/HMPSIO.h +78 -0
  1326. casadi/include/highs/io/HMpsFF.h +238 -0
  1327. casadi/include/highs/io/HighsIO.h +114 -0
  1328. casadi/include/highs/io/LoadOptions.h +24 -0
  1329. casadi/include/highs/ipm/IpxSolution.h +32 -0
  1330. casadi/include/highs/ipm/IpxWrapper.h +70 -0
  1331. casadi/include/highs/ipm/basiclu/basiclu.h +161 -0
  1332. casadi/include/highs/ipm/basiclu/basiclu_factorize.h +247 -0
  1333. casadi/include/highs/ipm/basiclu/basiclu_get_factors.h +108 -0
  1334. casadi/include/highs/ipm/basiclu/basiclu_initialize.h +119 -0
  1335. casadi/include/highs/ipm/basiclu/basiclu_obj_factorize.h +34 -0
  1336. casadi/include/highs/ipm/basiclu/basiclu_obj_free.h +19 -0
  1337. casadi/include/highs/ipm/basiclu/basiclu_obj_get_factors.h +34 -0
  1338. casadi/include/highs/ipm/basiclu/basiclu_obj_initialize.h +46 -0
  1339. casadi/include/highs/ipm/basiclu/basiclu_obj_solve_dense.h +29 -0
  1340. casadi/include/highs/ipm/basiclu/basiclu_obj_solve_for_update.h +42 -0
  1341. casadi/include/highs/ipm/basiclu/basiclu_obj_solve_sparse.h +32 -0
  1342. casadi/include/highs/ipm/basiclu/basiclu_obj_update.h +31 -0
  1343. casadi/include/highs/ipm/basiclu/basiclu_object.h +30 -0
  1344. casadi/include/highs/ipm/basiclu/basiclu_solve_dense.h +75 -0
  1345. casadi/include/highs/ipm/basiclu/basiclu_solve_for_update.h +169 -0
  1346. casadi/include/highs/ipm/basiclu/basiclu_solve_sparse.h +112 -0
  1347. casadi/include/highs/ipm/basiclu/basiclu_update.h +125 -0
  1348. casadi/include/highs/ipm/basiclu/lu_def.h +39 -0
  1349. casadi/include/highs/ipm/basiclu/lu_file.h +21 -0
  1350. casadi/include/highs/ipm/basiclu/lu_internal.h +220 -0
  1351. casadi/include/highs/ipm/basiclu/lu_list.h +168 -0
  1352. casadi/include/highs/ipm/ipx/basiclu_kernel.h +20 -0
  1353. casadi/include/highs/ipm/ipx/basiclu_wrapper.h +47 -0
  1354. casadi/include/highs/ipm/ipx/basis.h +351 -0
  1355. casadi/include/highs/ipm/ipx/conjugate_residuals.h +74 -0
  1356. casadi/include/highs/ipm/ipx/control.h +164 -0
  1357. casadi/include/highs/ipm/ipx/crossover.h +157 -0
  1358. casadi/include/highs/ipm/ipx/diagonal_precond.h +45 -0
  1359. casadi/include/highs/ipm/ipx/forrest_tomlin.h +102 -0
  1360. casadi/include/highs/ipm/ipx/guess_basis.h +21 -0
  1361. casadi/include/highs/ipm/ipx/indexed_vector.h +113 -0
  1362. casadi/include/highs/ipm/ipx/info.h +27 -0
  1363. casadi/include/highs/ipm/ipx/ipm.h +94 -0
  1364. casadi/include/highs/ipm/ipx/ipx_c.h +47 -0
  1365. casadi/include/highs/ipm/ipx/ipx_config.h +9 -0
  1366. casadi/include/highs/ipm/ipx/ipx_info.h +111 -0
  1367. casadi/include/highs/ipm/ipx/ipx_internal.h +88 -0
  1368. casadi/include/highs/ipm/ipx/ipx_parameters.h +76 -0
  1369. casadi/include/highs/ipm/ipx/ipx_status.h +57 -0
  1370. casadi/include/highs/ipm/ipx/iterate.h +328 -0
  1371. casadi/include/highs/ipm/ipx/kkt_solver.h +70 -0
  1372. casadi/include/highs/ipm/ipx/kkt_solver_basis.h +66 -0
  1373. casadi/include/highs/ipm/ipx/kkt_solver_diag.h +48 -0
  1374. casadi/include/highs/ipm/ipx/linear_operator.h +26 -0
  1375. casadi/include/highs/ipm/ipx/lp_solver.h +202 -0
  1376. casadi/include/highs/ipm/ipx/lu_factorization.h +79 -0
  1377. casadi/include/highs/ipm/ipx/lu_update.h +129 -0
  1378. casadi/include/highs/ipm/ipx/maxvolume.h +54 -0
  1379. casadi/include/highs/ipm/ipx/model.h +413 -0
  1380. casadi/include/highs/ipm/ipx/multistream.h +52 -0
  1381. casadi/include/highs/ipm/ipx/normal_matrix.h +44 -0
  1382. casadi/include/highs/ipm/ipx/power_method.h +44 -0
  1383. casadi/include/highs/ipm/ipx/sparse_matrix.h +195 -0
  1384. casadi/include/highs/ipm/ipx/sparse_utils.h +58 -0
  1385. casadi/include/highs/ipm/ipx/splitted_normal_matrix.h +63 -0
  1386. casadi/include/highs/ipm/ipx/starting_basis.h +39 -0
  1387. casadi/include/highs/ipm/ipx/symbolic_invert.h +29 -0
  1388. casadi/include/highs/ipm/ipx/timer.h +24 -0
  1389. casadi/include/highs/ipm/ipx/utils.h +39 -0
  1390. casadi/include/highs/lp_data/HConst.h +320 -0
  1391. casadi/include/highs/lp_data/HStruct.h +182 -0
  1392. casadi/include/highs/lp_data/HighsAnalysis.h +23 -0
  1393. casadi/include/highs/lp_data/HighsCallback.h +47 -0
  1394. casadi/include/highs/lp_data/HighsCallbackStruct.h +62 -0
  1395. casadi/include/highs/lp_data/HighsDebug.h +34 -0
  1396. casadi/include/highs/lp_data/HighsIis.h +62 -0
  1397. casadi/include/highs/lp_data/HighsInfo.h +329 -0
  1398. casadi/include/highs/lp_data/HighsInfoDebug.h +27 -0
  1399. casadi/include/highs/lp_data/HighsLp.h +100 -0
  1400. casadi/include/highs/lp_data/HighsLpSolverObject.h +45 -0
  1401. casadi/include/highs/lp_data/HighsLpUtils.h +298 -0
  1402. casadi/include/highs/lp_data/HighsModelUtils.h +112 -0
  1403. casadi/include/highs/lp_data/HighsOptions.h +1469 -0
  1404. casadi/include/highs/lp_data/HighsRanging.h +43 -0
  1405. casadi/include/highs/lp_data/HighsSolution.h +144 -0
  1406. casadi/include/highs/lp_data/HighsSolutionDebug.h +87 -0
  1407. casadi/include/highs/lp_data/HighsSolve.h +23 -0
  1408. casadi/include/highs/lp_data/HighsStatus.h +29 -0
  1409. casadi/include/highs/mip/HighsCliqueTable.h +318 -0
  1410. casadi/include/highs/mip/HighsConflictPool.h +109 -0
  1411. casadi/include/highs/mip/HighsCutGeneration.h +106 -0
  1412. casadi/include/highs/mip/HighsCutPool.h +168 -0
  1413. casadi/include/highs/mip/HighsDebugSol.h +132 -0
  1414. casadi/include/highs/mip/HighsDomain.h +653 -0
  1415. casadi/include/highs/mip/HighsDomainChange.h +48 -0
  1416. casadi/include/highs/mip/HighsDynamicRowMatrix.h +104 -0
  1417. casadi/include/highs/mip/HighsGFkSolve.h +438 -0
  1418. casadi/include/highs/mip/HighsImplications.h +170 -0
  1419. casadi/include/highs/mip/HighsLpAggregator.h +50 -0
  1420. casadi/include/highs/mip/HighsLpRelaxation.h +357 -0
  1421. casadi/include/highs/mip/HighsMipAnalysis.h +52 -0
  1422. casadi/include/highs/mip/HighsMipSolver.h +112 -0
  1423. casadi/include/highs/mip/HighsMipSolverData.h +297 -0
  1424. casadi/include/highs/mip/HighsModkSeparator.h +60 -0
  1425. casadi/include/highs/mip/HighsNodeQueue.h +311 -0
  1426. casadi/include/highs/mip/HighsObjectiveFunction.h +71 -0
  1427. casadi/include/highs/mip/HighsPathSeparator.h +39 -0
  1428. casadi/include/highs/mip/HighsPrimalHeuristics.h +70 -0
  1429. casadi/include/highs/mip/HighsPseudocost.h +360 -0
  1430. casadi/include/highs/mip/HighsRedcostFixing.h +42 -0
  1431. casadi/include/highs/mip/HighsSearch.h +241 -0
  1432. casadi/include/highs/mip/HighsSeparation.h +41 -0
  1433. casadi/include/highs/mip/HighsSeparator.h +52 -0
  1434. casadi/include/highs/mip/HighsTableauSeparator.h +34 -0
  1435. casadi/include/highs/mip/HighsTransformedLp.h +63 -0
  1436. casadi/include/highs/mip/MipTimer.h +471 -0
  1437. casadi/include/highs/model/HighsHessian.h +54 -0
  1438. casadi/include/highs/model/HighsHessianUtils.h +49 -0
  1439. casadi/include/highs/model/HighsModel.h +52 -0
  1440. casadi/include/highs/parallel/HighsBinarySemaphore.h +113 -0
  1441. casadi/include/highs/parallel/HighsCacheAlign.h +87 -0
  1442. casadi/include/highs/parallel/HighsCombinable.h +121 -0
  1443. casadi/include/highs/parallel/HighsMutex.h +129 -0
  1444. casadi/include/highs/parallel/HighsParallel.h +133 -0
  1445. casadi/include/highs/parallel/HighsRaceTimer.h +43 -0
  1446. casadi/include/highs/parallel/HighsSchedulerConstants.h +24 -0
  1447. casadi/include/highs/parallel/HighsSpinMutex.h +53 -0
  1448. casadi/include/highs/parallel/HighsSplitDeque.h +583 -0
  1449. casadi/include/highs/parallel/HighsTask.h +175 -0
  1450. casadi/include/highs/parallel/HighsTaskExecutor.h +222 -0
  1451. casadi/include/highs/pdlp/CupdlpWrapper.h +104 -0
  1452. casadi/include/highs/pdlp/cupdlp/cupdlp_cs.h +40 -0
  1453. casadi/include/highs/pdlp/cupdlp/cupdlp_defs.h +433 -0
  1454. casadi/include/highs/pdlp/cupdlp/cupdlp_linalg.h +189 -0
  1455. casadi/include/highs/pdlp/cupdlp/cupdlp_proj.h +19 -0
  1456. casadi/include/highs/pdlp/cupdlp/cupdlp_restart.h +31 -0
  1457. casadi/include/highs/pdlp/cupdlp/cupdlp_scaling.h +26 -0
  1458. casadi/include/highs/pdlp/cupdlp/cupdlp_solver.h +98 -0
  1459. casadi/include/highs/pdlp/cupdlp/cupdlp_step.h +37 -0
  1460. casadi/include/highs/pdlp/cupdlp/cupdlp_utils.c +1807 -0
  1461. casadi/include/highs/pdqsort/pdqsort.h +532 -0
  1462. casadi/include/highs/presolve/HPresolve.h +405 -0
  1463. casadi/include/highs/presolve/HPresolveAnalysis.h +51 -0
  1464. casadi/include/highs/presolve/HighsPostsolveStack.h +940 -0
  1465. casadi/include/highs/presolve/HighsSymmetry.h +281 -0
  1466. casadi/include/highs/presolve/ICrash.h +124 -0
  1467. casadi/include/highs/presolve/ICrashUtil.h +62 -0
  1468. casadi/include/highs/presolve/ICrashX.h +23 -0
  1469. casadi/include/highs/presolve/PresolveComponent.h +90 -0
  1470. casadi/include/highs/qpsolver/a_asm.hpp +70 -0
  1471. casadi/include/highs/qpsolver/a_quass.hpp +15 -0
  1472. casadi/include/highs/qpsolver/basis.hpp +152 -0
  1473. casadi/include/highs/qpsolver/crashsolution.hpp +13 -0
  1474. casadi/include/highs/qpsolver/dantzigpricing.hpp +73 -0
  1475. casadi/include/highs/qpsolver/devexpricing.hpp +101 -0
  1476. casadi/include/highs/qpsolver/eventhandler.hpp +23 -0
  1477. casadi/include/highs/qpsolver/factor.hpp +401 -0
  1478. casadi/include/highs/qpsolver/feasibility_bounded.hpp +107 -0
  1479. casadi/include/highs/qpsolver/feasibility_highs.hpp +294 -0
  1480. casadi/include/highs/qpsolver/gradient.hpp +39 -0
  1481. casadi/include/highs/qpsolver/instance.hpp +63 -0
  1482. casadi/include/highs/qpsolver/matrix.hpp +335 -0
  1483. casadi/include/highs/qpsolver/perturbation.hpp +8 -0
  1484. casadi/include/highs/qpsolver/pricing.hpp +15 -0
  1485. casadi/include/highs/qpsolver/qpconst.hpp +27 -0
  1486. casadi/include/highs/qpsolver/qpvector.hpp +235 -0
  1487. casadi/include/highs/qpsolver/quass.hpp +20 -0
  1488. casadi/include/highs/qpsolver/ratiotest.hpp +19 -0
  1489. casadi/include/highs/qpsolver/runtime.hpp +38 -0
  1490. casadi/include/highs/qpsolver/scaling.hpp +8 -0
  1491. casadi/include/highs/qpsolver/settings.hpp +69 -0
  1492. casadi/include/highs/qpsolver/snippets.hpp +29 -0
  1493. casadi/include/highs/qpsolver/statistics.hpp +23 -0
  1494. casadi/include/highs/qpsolver/steepestedgepricing.hpp +166 -0
  1495. casadi/include/highs/simplex/HApp.h +476 -0
  1496. casadi/include/highs/simplex/HEkk.h +416 -0
  1497. casadi/include/highs/simplex/HEkkDual.h +513 -0
  1498. casadi/include/highs/simplex/HEkkDualRHS.h +134 -0
  1499. casadi/include/highs/simplex/HEkkDualRow.h +201 -0
  1500. casadi/include/highs/simplex/HEkkPrimal.h +191 -0
  1501. casadi/include/highs/simplex/HSimplex.h +42 -0
  1502. casadi/include/highs/simplex/HSimplexDebug.h +48 -0
  1503. casadi/include/highs/simplex/HSimplexNla.h +158 -0
  1504. casadi/include/highs/simplex/HSimplexReport.h +21 -0
  1505. casadi/include/highs/simplex/HighsSimplexAnalysis.h +500 -0
  1506. casadi/include/highs/simplex/SimplexConst.h +273 -0
  1507. casadi/include/highs/simplex/SimplexStruct.h +261 -0
  1508. casadi/include/highs/simplex/SimplexTimer.h +409 -0
  1509. casadi/include/highs/test/DevKkt.h +143 -0
  1510. casadi/include/highs/test/KktCh2.h +79 -0
  1511. casadi/include/highs/util/FactorTimer.h +199 -0
  1512. casadi/include/highs/util/HFactor.h +587 -0
  1513. casadi/include/highs/util/HFactorConst.h +81 -0
  1514. casadi/include/highs/util/HFactorDebug.h +55 -0
  1515. casadi/include/highs/util/HSet.h +89 -0
  1516. casadi/include/highs/util/HVector.h +22 -0
  1517. casadi/include/highs/util/HVectorBase.h +102 -0
  1518. casadi/include/highs/util/HighsCDouble.h +319 -0
  1519. casadi/include/highs/util/HighsComponent.h +53 -0
  1520. casadi/include/highs/util/HighsDataStack.h +83 -0
  1521. casadi/include/highs/util/HighsDisjointSets.h +107 -0
  1522. casadi/include/highs/util/HighsHash.h +1274 -0
  1523. casadi/include/highs/util/HighsHashTree.h +1447 -0
  1524. casadi/include/highs/util/HighsInt.h +36 -0
  1525. casadi/include/highs/util/HighsIntegers.h +212 -0
  1526. casadi/include/highs/util/HighsLinearSumBounds.h +157 -0
  1527. casadi/include/highs/util/HighsMatrixPic.h +37 -0
  1528. casadi/include/highs/util/HighsMatrixSlice.h +561 -0
  1529. casadi/include/highs/util/HighsMatrixUtils.h +54 -0
  1530. casadi/include/highs/util/HighsMemoryAllocation.h +63 -0
  1531. casadi/include/highs/util/HighsRandom.h +242 -0
  1532. casadi/include/highs/util/HighsRbTree.h +452 -0
  1533. casadi/include/highs/util/HighsSort.h +131 -0
  1534. casadi/include/highs/util/HighsSparseMatrix.h +150 -0
  1535. casadi/include/highs/util/HighsSparseVectorSum.h +95 -0
  1536. casadi/include/highs/util/HighsSplay.h +135 -0
  1537. casadi/include/highs/util/HighsTimer.h +381 -0
  1538. casadi/include/highs/util/HighsUtils.h +217 -0
  1539. casadi/include/highs/util/stringutil.h +46 -0
  1540. casadi/include/highs/zstr/strict_fstream.hpp +237 -0
  1541. casadi/include/highs/zstr/zstr.hpp +472 -0
  1542. casadi/include/highs_export.h +43 -0
  1543. casadi/include/hpipm_aux_mem.h +52 -0
  1544. casadi/include/hpipm_aux_string.h +50 -0
  1545. casadi/include/hpipm_common.h +76 -0
  1546. casadi/include/hpipm_d_cast_qcqp.h +71 -0
  1547. casadi/include/hpipm_d_cond.h +135 -0
  1548. casadi/include/hpipm_d_cond_aux.h +92 -0
  1549. casadi/include/hpipm_d_cond_qcqp.h +129 -0
  1550. casadi/include/hpipm_d_core_qp_ipm.h +101 -0
  1551. casadi/include/hpipm_d_core_qp_ipm_aux.h +68 -0
  1552. casadi/include/hpipm_d_dense_qcqp.h +199 -0
  1553. casadi/include/hpipm_d_dense_qcqp_dim.h +98 -0
  1554. casadi/include/hpipm_d_dense_qcqp_ipm.h +193 -0
  1555. casadi/include/hpipm_d_dense_qcqp_res.h +108 -0
  1556. casadi/include/hpipm_d_dense_qcqp_sol.h +85 -0
  1557. casadi/include/hpipm_d_dense_qcqp_utils.h +82 -0
  1558. casadi/include/hpipm_d_dense_qp.h +207 -0
  1559. casadi/include/hpipm_d_dense_qp_dim.h +92 -0
  1560. casadi/include/hpipm_d_dense_qp_ipm.h +260 -0
  1561. casadi/include/hpipm_d_dense_qp_kkt.h +72 -0
  1562. casadi/include/hpipm_d_dense_qp_res.h +106 -0
  1563. casadi/include/hpipm_d_dense_qp_sol.h +94 -0
  1564. casadi/include/hpipm_d_dense_qp_utils.h +83 -0
  1565. casadi/include/hpipm_d_ocp_qcqp.h +322 -0
  1566. casadi/include/hpipm_d_ocp_qcqp_dim.h +130 -0
  1567. casadi/include/hpipm_d_ocp_qcqp_ipm.h +192 -0
  1568. casadi/include/hpipm_d_ocp_qcqp_red.h +118 -0
  1569. casadi/include/hpipm_d_ocp_qcqp_res.h +115 -0
  1570. casadi/include/hpipm_d_ocp_qcqp_sol.h +114 -0
  1571. casadi/include/hpipm_d_ocp_qcqp_utils.h +81 -0
  1572. casadi/include/hpipm_d_ocp_qp.h +306 -0
  1573. casadi/include/hpipm_d_ocp_qp_dim.h +142 -0
  1574. casadi/include/hpipm_d_ocp_qp_ipm.h +252 -0
  1575. casadi/include/hpipm_d_ocp_qp_kkt.h +66 -0
  1576. casadi/include/hpipm_d_ocp_qp_red.h +117 -0
  1577. casadi/include/hpipm_d_ocp_qp_res.h +113 -0
  1578. casadi/include/hpipm_d_ocp_qp_sol.h +128 -0
  1579. casadi/include/hpipm_d_ocp_qp_utils.h +82 -0
  1580. casadi/include/hpipm_d_part_cond.h +115 -0
  1581. casadi/include/hpipm_d_part_cond_qcqp.h +106 -0
  1582. casadi/include/hpipm_d_sim_erk.h +122 -0
  1583. casadi/include/hpipm_d_sim_rk.h +71 -0
  1584. casadi/include/hpipm_d_tree_ocp_qcqp.h +213 -0
  1585. casadi/include/hpipm_d_tree_ocp_qcqp_dim.h +117 -0
  1586. casadi/include/hpipm_d_tree_ocp_qcqp_ipm.h +191 -0
  1587. casadi/include/hpipm_d_tree_ocp_qcqp_res.h +109 -0
  1588. casadi/include/hpipm_d_tree_ocp_qcqp_sol.h +99 -0
  1589. casadi/include/hpipm_d_tree_ocp_qcqp_utils.h +84 -0
  1590. casadi/include/hpipm_d_tree_ocp_qp.h +195 -0
  1591. casadi/include/hpipm_d_tree_ocp_qp_dim.h +111 -0
  1592. casadi/include/hpipm_d_tree_ocp_qp_ipm.h +209 -0
  1593. casadi/include/hpipm_d_tree_ocp_qp_kkt.h +52 -0
  1594. casadi/include/hpipm_d_tree_ocp_qp_res.h +107 -0
  1595. casadi/include/hpipm_d_tree_ocp_qp_sol.h +100 -0
  1596. casadi/include/hpipm_d_tree_ocp_qp_utils.h +83 -0
  1597. casadi/include/hpipm_m_dense_qp.h +68 -0
  1598. casadi/include/hpipm_m_dense_qp_dim.h +68 -0
  1599. casadi/include/hpipm_m_ocp_qp.h +49 -0
  1600. casadi/include/hpipm_m_ocp_qp_ipm_hard.h +115 -0
  1601. casadi/include/hpipm_m_ocp_qp_kkt.h +45 -0
  1602. casadi/include/hpipm_s_cast_qcqp.h +72 -0
  1603. casadi/include/hpipm_s_cond.h +137 -0
  1604. casadi/include/hpipm_s_cond_aux.h +92 -0
  1605. casadi/include/hpipm_s_cond_qcqp.h +130 -0
  1606. casadi/include/hpipm_s_core_qp_ipm.h +101 -0
  1607. casadi/include/hpipm_s_core_qp_ipm_aux.h +68 -0
  1608. casadi/include/hpipm_s_dense_qcqp.h +200 -0
  1609. casadi/include/hpipm_s_dense_qcqp_dim.h +99 -0
  1610. casadi/include/hpipm_s_dense_qcqp_ipm.h +204 -0
  1611. casadi/include/hpipm_s_dense_qcqp_res.h +109 -0
  1612. casadi/include/hpipm_s_dense_qcqp_sol.h +86 -0
  1613. casadi/include/hpipm_s_dense_qcqp_utils.h +83 -0
  1614. casadi/include/hpipm_s_dense_qp.h +207 -0
  1615. casadi/include/hpipm_s_dense_qp_dim.h +94 -0
  1616. casadi/include/hpipm_s_dense_qp_ipm.h +260 -0
  1617. casadi/include/hpipm_s_dense_qp_kkt.h +72 -0
  1618. casadi/include/hpipm_s_dense_qp_res.h +107 -0
  1619. casadi/include/hpipm_s_dense_qp_sol.h +94 -0
  1620. casadi/include/hpipm_s_dense_qp_utils.h +84 -0
  1621. casadi/include/hpipm_s_ocp_qcqp.h +322 -0
  1622. casadi/include/hpipm_s_ocp_qcqp_dim.h +131 -0
  1623. casadi/include/hpipm_s_ocp_qcqp_ipm.h +193 -0
  1624. casadi/include/hpipm_s_ocp_qcqp_red.h +119 -0
  1625. casadi/include/hpipm_s_ocp_qcqp_res.h +116 -0
  1626. casadi/include/hpipm_s_ocp_qcqp_sol.h +115 -0
  1627. casadi/include/hpipm_s_ocp_qcqp_utils.h +82 -0
  1628. casadi/include/hpipm_s_ocp_qp.h +306 -0
  1629. casadi/include/hpipm_s_ocp_qp_dim.h +141 -0
  1630. casadi/include/hpipm_s_ocp_qp_ipm.h +252 -0
  1631. casadi/include/hpipm_s_ocp_qp_kkt.h +66 -0
  1632. casadi/include/hpipm_s_ocp_qp_red.h +118 -0
  1633. casadi/include/hpipm_s_ocp_qp_res.h +115 -0
  1634. casadi/include/hpipm_s_ocp_qp_sol.h +128 -0
  1635. casadi/include/hpipm_s_ocp_qp_utils.h +83 -0
  1636. casadi/include/hpipm_s_part_cond.h +115 -0
  1637. casadi/include/hpipm_s_part_cond_qcqp.h +107 -0
  1638. casadi/include/hpipm_s_sim_erk.h +121 -0
  1639. casadi/include/hpipm_s_sim_rk.h +72 -0
  1640. casadi/include/hpipm_s_tree_ocp_qcqp.h +213 -0
  1641. casadi/include/hpipm_s_tree_ocp_qcqp_dim.h +118 -0
  1642. casadi/include/hpipm_s_tree_ocp_qcqp_ipm.h +192 -0
  1643. casadi/include/hpipm_s_tree_ocp_qcqp_res.h +110 -0
  1644. casadi/include/hpipm_s_tree_ocp_qcqp_sol.h +97 -0
  1645. casadi/include/hpipm_s_tree_ocp_qcqp_utils.h +85 -0
  1646. casadi/include/hpipm_s_tree_ocp_qp.h +196 -0
  1647. casadi/include/hpipm_s_tree_ocp_qp_dim.h +111 -0
  1648. casadi/include/hpipm_s_tree_ocp_qp_ipm.h +208 -0
  1649. casadi/include/hpipm_s_tree_ocp_qp_kkt.h +54 -0
  1650. casadi/include/hpipm_s_tree_ocp_qp_res.h +108 -0
  1651. casadi/include/hpipm_s_tree_ocp_qp_sol.h +98 -0
  1652. casadi/include/hpipm_s_tree_ocp_qp_utils.h +84 -0
  1653. casadi/include/hpipm_scenario_tree.h +70 -0
  1654. casadi/include/hpipm_timing.h +67 -0
  1655. casadi/include/hpipm_tree.h +76 -0
  1656. casadi/include/licenses/FMI-Standard-2.0.2/LICENSE.txt +473 -0
  1657. casadi/include/licenses/FMI-Standard-3.0/LICENSE.txt +464 -0
  1658. casadi/include/licenses/alpaqa-external/LICENSE +165 -0
  1659. casadi/include/licenses/blasfeo-external/LICENSE.txt +26 -0
  1660. casadi/include/licenses/bonmin-external/Bonmin/LICENSE +87 -0
  1661. casadi/include/licenses/bonmin-external/LICENSE +3 -0
  1662. casadi/include/licenses/casadi/LICENSE/LICENSE.txt +165 -0
  1663. casadi/include/licenses/casadi-sundials/LICENSE +64 -0
  1664. casadi/include/licenses/casadi-sundials/cvodes/LICENSE +60 -0
  1665. casadi/include/licenses/casadi-sundials/idas/LICENSE +59 -0
  1666. casadi/include/licenses/casadi-sundials/kinsol/LICENSE +59 -0
  1667. casadi/include/licenses/casadi-sundials/sundials/LICENSE +67 -0
  1668. casadi/include/licenses/cbc-external/Cbc/LICENSE +239 -0
  1669. casadi/include/licenses/cbc-external/LICENSE +245 -0
  1670. casadi/include/licenses/cgl-external/Cgl/LICENSE +239 -0
  1671. casadi/include/licenses/cgl-external/LICENSE +245 -0
  1672. casadi/include/licenses/clp-external/Clp/LICENSE +239 -0
  1673. casadi/include/licenses/clp-external/LICENSE +245 -0
  1674. casadi/include/licenses/coinutils-external/CoinUtils/LICENSE +239 -0
  1675. casadi/include/licenses/coinutils-external/LICENSE +245 -0
  1676. casadi/include/licenses/daqp-external/LICENSE +21 -0
  1677. casadi/include/licenses/fatrop-external/LICENSE.txt +165 -0
  1678. casadi/include/licenses/fatrop-external/external/blasfeo/LICENSE.txt +26 -0
  1679. casadi/include/licenses/fatrop-external/external/pybind11/LICENSE +29 -0
  1680. casadi/include/licenses/ghc-external/LICENSE +19 -0
  1681. casadi/include/licenses/highs-external/LICENSE.txt +21 -0
  1682. casadi/include/licenses/highs-external/extern/filereaderlp/LICENSE +19 -0
  1683. casadi/include/licenses/hpipm-external/LICENSE.txt +26 -0
  1684. casadi/include/licenses/ipopt-external/LICENSE +260 -0
  1685. casadi/include/licenses/libz-external/LICENSE +22 -0
  1686. casadi/include/licenses/libz-external/contrib/dotzlib/LICENSE_1_0.txt +23 -0
  1687. casadi/include/licenses/libzip-external/LICENSE +31 -0
  1688. casadi/include/licenses/metis-external/LICENSE +87 -0
  1689. casadi/include/licenses/metis-external/metis-4.0/LICENSE +18 -0
  1690. casadi/include/licenses/mockups-external/LICENSE +21 -0
  1691. casadi/include/licenses/mumps-external/LICENSE +87 -0
  1692. casadi/include/licenses/mumps-external/MUMPS/LICENSE +50 -0
  1693. casadi/include/licenses/openblas-external/LICENSE +29 -0
  1694. casadi/include/licenses/openblas-external/ctest/LICENSE +23 -0
  1695. casadi/include/licenses/openblas-external/lapack-netlib/LAPACKE/LICENSE +26 -0
  1696. casadi/include/licenses/openblas-external/lapack-netlib/LICENSE +48 -0
  1697. casadi/include/licenses/openblas-external/reference/LICENSE +23 -0
  1698. casadi/include/licenses/openblas-external/relapack/LICENSE +22 -0
  1699. casadi/include/licenses/openblas-external/test/LICENSE +23 -0
  1700. casadi/include/licenses/osi-external/LICENSE +245 -0
  1701. casadi/include/licenses/osi-external/Osi/LICENSE +239 -0
  1702. casadi/include/licenses/osqp-external/LICENSE +201 -0
  1703. casadi/include/licenses/osqp-external/lin_sys/direct/qdldl/amd/LICENSE +36 -0
  1704. casadi/include/licenses/osqp-external/lin_sys/direct/qdldl/qdldl_sources/LICENSE +201 -0
  1705. casadi/include/licenses/proxqp-external/LICENSE +25 -0
  1706. casadi/include/licenses/proxqp-external/bindings/python/external/pybind11/LICENSE +29 -0
  1707. casadi/include/licenses/proxqp-external/cmake-module/LICENSE +4 -0
  1708. casadi/include/licenses/proxqp-external/cmake-module/doxygen/MathJax/LICENSE +202 -0
  1709. casadi/include/licenses/proxqp-external/external/cereal/LICENSE +24 -0
  1710. casadi/include/licenses/proxqp-external/external/cereal/include/cereal/external/LICENSE +21 -0
  1711. casadi/include/licenses/proxqp-external/external/cereal/include/cereal/external/rapidjson/LICENSE +13 -0
  1712. casadi/include/licenses/proxqp-external/external/cereal/include/cereal/external/rapidjson/msinttypes/LICENSE +29 -0
  1713. casadi/include/licenses/qpOASES/LICENSE.txt +503 -0
  1714. casadi/include/licenses/sleqp-external/LICENSE +165 -0
  1715. casadi/include/licenses/superscs-external/LICENSE.txt +24 -0
  1716. casadi/include/licenses/tinyxml2-9.0.0/LICENSE.txt +18 -0
  1717. casadi/include/licenses/trlib-external/LICENSE +21 -0
  1718. casadi/include/openblas/cblas.h +411 -0
  1719. casadi/include/openblas/f77blas.h +796 -0
  1720. casadi/include/openblas/lapack.h +22997 -0
  1721. casadi/include/openblas/lapacke.h +12665 -0
  1722. casadi/include/openblas/lapacke_config.h +119 -0
  1723. casadi/include/openblas/lapacke_example_aux.h +9 -0
  1724. casadi/include/openblas/lapacke_mangling.h +17 -0
  1725. casadi/include/openblas/lapacke_utils.h +582 -0
  1726. casadi/include/openblas/openblas/lapacke_mangling.h +17 -0
  1727. casadi/include/openblas/openblas_config.h +139 -0
  1728. casadi/include/osqp/auxil.h +181 -0
  1729. casadi/include/osqp/constants.h +128 -0
  1730. casadi/include/osqp/cs.h +180 -0
  1731. casadi/include/osqp/ctrlc.h +56 -0
  1732. casadi/include/osqp/error.h +38 -0
  1733. casadi/include/osqp/glob_opts.h +167 -0
  1734. casadi/include/osqp/lin_alg.h +216 -0
  1735. casadi/include/osqp/lin_sys.h +54 -0
  1736. casadi/include/osqp/osqp.h +430 -0
  1737. casadi/include/osqp/osqp_configure.h +49 -0
  1738. casadi/include/osqp/polish.h +25 -0
  1739. casadi/include/osqp/proj.h +37 -0
  1740. casadi/include/osqp/scaling.h +44 -0
  1741. casadi/include/osqp/types.h +326 -0
  1742. casadi/include/osqp/util.h +222 -0
  1743. casadi/include/osqp/version.h +9 -0
  1744. casadi/include/proxsuite/config.hpp +68 -0
  1745. casadi/include/proxsuite/deprecated.hpp +56 -0
  1746. casadi/include/proxsuite/fwd.hpp +52 -0
  1747. casadi/include/proxsuite/helpers/common.hpp +70 -0
  1748. casadi/include/proxsuite/helpers/instruction-set.hpp +275 -0
  1749. casadi/include/proxsuite/helpers/optional.hpp +46 -0
  1750. casadi/include/proxsuite/helpers/tl-optional.hpp +2472 -0
  1751. casadi/include/proxsuite/helpers/version.hpp +39 -0
  1752. casadi/include/proxsuite/linalg/dense/core.hpp +863 -0
  1753. casadi/include/proxsuite/linalg/dense/factorize.hpp +375 -0
  1754. casadi/include/proxsuite/linalg/dense/ldlt.hpp +817 -0
  1755. casadi/include/proxsuite/linalg/dense/modify.hpp +333 -0
  1756. casadi/include/proxsuite/linalg/dense/solve.hpp +38 -0
  1757. casadi/include/proxsuite/linalg/dense/update.hpp +330 -0
  1758. casadi/include/proxsuite/linalg/sparse/core.hpp +531 -0
  1759. casadi/include/proxsuite/linalg/sparse/factorize.hpp +1303 -0
  1760. casadi/include/proxsuite/linalg/sparse/rowmod.hpp +443 -0
  1761. casadi/include/proxsuite/linalg/sparse/update.hpp +348 -0
  1762. casadi/include/proxsuite/linalg/veg/internal/assert_impl.hpp +20 -0
  1763. casadi/include/proxsuite/linalg/veg/internal/collection_algo.hpp +93 -0
  1764. casadi/include/proxsuite/linalg/veg/internal/dbg.hpp +15 -0
  1765. casadi/include/proxsuite/linalg/veg/internal/delete_special_members.hpp +77 -0
  1766. casadi/include/proxsuite/linalg/veg/internal/dyn_index.hpp +292 -0
  1767. casadi/include/proxsuite/linalg/veg/internal/epilogue.hpp +31 -0
  1768. casadi/include/proxsuite/linalg/veg/internal/external/hedley.ext.hpp +2074 -0
  1769. casadi/include/proxsuite/linalg/veg/internal/external/unhedley.ext.hpp +148 -0
  1770. casadi/include/proxsuite/linalg/veg/internal/fix_index.hpp +339 -0
  1771. casadi/include/proxsuite/linalg/veg/internal/has_asan.hpp +17 -0
  1772. casadi/include/proxsuite/linalg/veg/internal/integer_seq.hpp +248 -0
  1773. casadi/include/proxsuite/linalg/veg/internal/macros.hpp +1312 -0
  1774. casadi/include/proxsuite/linalg/veg/internal/narrow.hpp +46 -0
  1775. casadi/include/proxsuite/linalg/veg/internal/preprocessor.hpp +434 -0
  1776. casadi/include/proxsuite/linalg/veg/internal/prologue.hpp +157 -0
  1777. casadi/include/proxsuite/linalg/veg/internal/std.hpp +13 -0
  1778. casadi/include/proxsuite/linalg/veg/internal/terminate.hpp +22 -0
  1779. casadi/include/proxsuite/linalg/veg/internal/typedefs.hpp +58 -0
  1780. casadi/include/proxsuite/linalg/veg/memory/address.hpp +97 -0
  1781. casadi/include/proxsuite/linalg/veg/memory/alloc.hpp +352 -0
  1782. casadi/include/proxsuite/linalg/veg/memory/dynamic_stack.hpp +504 -0
  1783. casadi/include/proxsuite/linalg/veg/memory/placement.hpp +202 -0
  1784. casadi/include/proxsuite/linalg/veg/memory/stack_alloc.hpp +239 -0
  1785. casadi/include/proxsuite/linalg/veg/ref.hpp +148 -0
  1786. casadi/include/proxsuite/linalg/veg/slice.hpp +240 -0
  1787. casadi/include/proxsuite/linalg/veg/tuple.hpp +876 -0
  1788. casadi/include/proxsuite/linalg/veg/type_traits/alloc.hpp +169 -0
  1789. casadi/include/proxsuite/linalg/veg/type_traits/assignable.hpp +53 -0
  1790. casadi/include/proxsuite/linalg/veg/type_traits/constructible.hpp +217 -0
  1791. casadi/include/proxsuite/linalg/veg/type_traits/core.hpp +298 -0
  1792. casadi/include/proxsuite/linalg/veg/type_traits/invocable.hpp +47 -0
  1793. casadi/include/proxsuite/linalg/veg/type_traits/primitives.hpp +43 -0
  1794. casadi/include/proxsuite/linalg/veg/type_traits/tags.hpp +47 -0
  1795. casadi/include/proxsuite/linalg/veg/util/assert.hpp +48 -0
  1796. casadi/include/proxsuite/linalg/veg/util/dbg.hpp +6 -0
  1797. casadi/include/proxsuite/linalg/veg/util/defer.hpp +57 -0
  1798. casadi/include/proxsuite/linalg/veg/util/dynstack_alloc.hpp +19 -0
  1799. casadi/include/proxsuite/linalg/veg/util/get.hpp +153 -0
  1800. casadi/include/proxsuite/linalg/veg/util/index.hpp +6 -0
  1801. casadi/include/proxsuite/linalg/veg/util/unreachable.hpp +41 -0
  1802. casadi/include/proxsuite/linalg/veg/vec.hpp +1034 -0
  1803. casadi/include/proxsuite/proxqp/dense/dense.hpp +10 -0
  1804. casadi/include/proxsuite/proxqp/dense/fwd.hpp +55 -0
  1805. casadi/include/proxsuite/proxqp/dense/helpers.hpp +520 -0
  1806. casadi/include/proxsuite/proxqp/dense/linesearch.hpp +517 -0
  1807. casadi/include/proxsuite/proxqp/dense/model.hpp +147 -0
  1808. casadi/include/proxsuite/proxqp/dense/preconditioner/identity.hpp +113 -0
  1809. casadi/include/proxsuite/proxqp/dense/preconditioner/ruiz.hpp +571 -0
  1810. casadi/include/proxsuite/proxqp/dense/solver.hpp +1330 -0
  1811. casadi/include/proxsuite/proxqp/dense/utils.hpp +415 -0
  1812. casadi/include/proxsuite/proxqp/dense/views.hpp +1466 -0
  1813. casadi/include/proxsuite/proxqp/dense/workspace.hpp +264 -0
  1814. casadi/include/proxsuite/proxqp/dense/wrapper.hpp +491 -0
  1815. casadi/include/proxsuite/proxqp/results.hpp +212 -0
  1816. casadi/include/proxsuite/proxqp/settings.hpp +302 -0
  1817. casadi/include/proxsuite/proxqp/sparse/fwd.hpp +58 -0
  1818. casadi/include/proxsuite/proxqp/sparse/helpers.hpp +309 -0
  1819. casadi/include/proxsuite/proxqp/sparse/model.hpp +228 -0
  1820. casadi/include/proxsuite/proxqp/sparse/preconditioner/identity.hpp +64 -0
  1821. casadi/include/proxsuite/proxqp/sparse/preconditioner/ruiz.hpp +569 -0
  1822. casadi/include/proxsuite/proxqp/sparse/solver.hpp +1441 -0
  1823. casadi/include/proxsuite/proxqp/sparse/sparse.hpp +10 -0
  1824. casadi/include/proxsuite/proxqp/sparse/utils.hpp +815 -0
  1825. casadi/include/proxsuite/proxqp/sparse/views.hpp +63 -0
  1826. casadi/include/proxsuite/proxqp/sparse/workspace.hpp +790 -0
  1827. casadi/include/proxsuite/proxqp/sparse/wrapper.hpp +772 -0
  1828. casadi/include/proxsuite/proxqp/status.hpp +46 -0
  1829. casadi/include/proxsuite/proxqp/timings.hpp +101 -0
  1830. casadi/include/proxsuite/proxqp/utils/prints.hpp +47 -0
  1831. casadi/include/proxsuite/proxqp/utils/random_qp_problems.hpp +669 -0
  1832. casadi/include/proxsuite/serialization/archive.hpp +231 -0
  1833. casadi/include/proxsuite/serialization/eigen.hpp +107 -0
  1834. casadi/include/proxsuite/serialization/model.hpp +34 -0
  1835. casadi/include/proxsuite/serialization/results.hpp +74 -0
  1836. casadi/include/proxsuite/serialization/settings.hpp +60 -0
  1837. casadi/include/proxsuite/serialization/wrapper.hpp +24 -0
  1838. casadi/include/proxsuite/warning.hpp +35 -0
  1839. casadi/include/qdldl/qdldl.h +169 -0
  1840. casadi/include/qdldl/qdldl_types.h +23 -0
  1841. casadi/include/s_blas.h +78 -0
  1842. casadi/include/s_blas_64.h +73 -0
  1843. casadi/include/simde/arm/neon/aba.h +208 -0
  1844. casadi/include/simde/arm/neon/abd.h +384 -0
  1845. casadi/include/simde/arm/neon/abdl.h +147 -0
  1846. casadi/include/simde/arm/neon/abs.h +408 -0
  1847. casadi/include/simde/arm/neon/add.h +681 -0
  1848. casadi/include/simde/arm/neon/addl.h +127 -0
  1849. casadi/include/simde/arm/neon/addl_high.h +127 -0
  1850. casadi/include/simde/arm/neon/addlv.h +317 -0
  1851. casadi/include/simde/arm/neon/addv.h +447 -0
  1852. casadi/include/simde/arm/neon/addw.h +222 -0
  1853. casadi/include/simde/arm/neon/addw_high.h +193 -0
  1854. casadi/include/simde/arm/neon/and.h +552 -0
  1855. casadi/include/simde/arm/neon/bic.h +472 -0
  1856. casadi/include/simde/arm/neon/bsl.h +448 -0
  1857. casadi/include/simde/arm/neon/cagt.h +168 -0
  1858. casadi/include/simde/arm/neon/ceq.h +711 -0
  1859. casadi/include/simde/arm/neon/ceqz.h +335 -0
  1860. casadi/include/simde/arm/neon/cge.h +677 -0
  1861. casadi/include/simde/arm/neon/cgez.h +378 -0
  1862. casadi/include/simde/arm/neon/cgt.h +686 -0
  1863. casadi/include/simde/arm/neon/cgtz.h +380 -0
  1864. casadi/include/simde/arm/neon/cle.h +677 -0
  1865. casadi/include/simde/arm/neon/clez.h +378 -0
  1866. casadi/include/simde/arm/neon/cls.h +148 -0
  1867. casadi/include/simde/arm/neon/clt.h +679 -0
  1868. casadi/include/simde/arm/neon/cltz.h +263 -0
  1869. casadi/include/simde/arm/neon/clz.h +423 -0
  1870. casadi/include/simde/arm/neon/cnt.h +145 -0
  1871. casadi/include/simde/arm/neon/combine.h +343 -0
  1872. casadi/include/simde/arm/neon/create.h +186 -0
  1873. casadi/include/simde/arm/neon/cvt.h +492 -0
  1874. casadi/include/simde/arm/neon/dot.h +171 -0
  1875. casadi/include/simde/arm/neon/dot_lane.h +196 -0
  1876. casadi/include/simde/arm/neon/dup_lane.h +702 -0
  1877. casadi/include/simde/arm/neon/dup_n.h +534 -0
  1878. casadi/include/simde/arm/neon/eor.h +552 -0
  1879. casadi/include/simde/arm/neon/ext.h +887 -0
  1880. casadi/include/simde/arm/neon/get_high.h +260 -0
  1881. casadi/include/simde/arm/neon/get_lane.h +499 -0
  1882. casadi/include/simde/arm/neon/get_low.h +276 -0
  1883. casadi/include/simde/arm/neon/hadd.h +287 -0
  1884. casadi/include/simde/arm/neon/hsub.h +287 -0
  1885. casadi/include/simde/arm/neon/ld1.h +399 -0
  1886. casadi/include/simde/arm/neon/ld3.h +609 -0
  1887. casadi/include/simde/arm/neon/ld4.h +448 -0
  1888. casadi/include/simde/arm/neon/max.h +614 -0
  1889. casadi/include/simde/arm/neon/maxnm.h +215 -0
  1890. casadi/include/simde/arm/neon/maxv.h +400 -0
  1891. casadi/include/simde/arm/neon/min.h +660 -0
  1892. casadi/include/simde/arm/neon/minnm.h +215 -0
  1893. casadi/include/simde/arm/neon/minv.h +424 -0
  1894. casadi/include/simde/arm/neon/mla.h +530 -0
  1895. casadi/include/simde/arm/neon/mla_n.h +333 -0
  1896. casadi/include/simde/arm/neon/mlal.h +156 -0
  1897. casadi/include/simde/arm/neon/mlal_high.h +156 -0
  1898. casadi/include/simde/arm/neon/mlal_n.h +128 -0
  1899. casadi/include/simde/arm/neon/mls.h +264 -0
  1900. casadi/include/simde/arm/neon/mlsl.h +124 -0
  1901. casadi/include/simde/arm/neon/mlsl_high.h +124 -0
  1902. casadi/include/simde/arm/neon/mlsl_n.h +96 -0
  1903. casadi/include/simde/arm/neon/movl.h +208 -0
  1904. casadi/include/simde/arm/neon/movl_high.h +126 -0
  1905. casadi/include/simde/arm/neon/movn.h +195 -0
  1906. casadi/include/simde/arm/neon/movn_high.h +125 -0
  1907. casadi/include/simde/arm/neon/mul.h +594 -0
  1908. casadi/include/simde/arm/neon/mul_lane.h +472 -0
  1909. casadi/include/simde/arm/neon/mul_n.h +383 -0
  1910. casadi/include/simde/arm/neon/mull.h +236 -0
  1911. casadi/include/simde/arm/neon/mull_high.h +125 -0
  1912. casadi/include/simde/arm/neon/mull_n.h +158 -0
  1913. casadi/include/simde/arm/neon/mvn.h +426 -0
  1914. casadi/include/simde/arm/neon/neg.h +393 -0
  1915. casadi/include/simde/arm/neon/orn.h +505 -0
  1916. casadi/include/simde/arm/neon/orr.h +552 -0
  1917. casadi/include/simde/arm/neon/padal.h +211 -0
  1918. casadi/include/simde/arm/neon/padd.h +293 -0
  1919. casadi/include/simde/arm/neon/paddl.h +239 -0
  1920. casadi/include/simde/arm/neon/pmax.h +253 -0
  1921. casadi/include/simde/arm/neon/pmin.h +260 -0
  1922. casadi/include/simde/arm/neon/qabs.h +281 -0
  1923. casadi/include/simde/arm/neon/qadd.h +553 -0
  1924. casadi/include/simde/arm/neon/qdmulh.h +125 -0
  1925. casadi/include/simde/arm/neon/qdmull.h +125 -0
  1926. casadi/include/simde/arm/neon/qmovn.h +273 -0
  1927. casadi/include/simde/arm/neon/qmovn_high.h +127 -0
  1928. casadi/include/simde/arm/neon/qmovun.h +159 -0
  1929. casadi/include/simde/arm/neon/qneg.h +301 -0
  1930. casadi/include/simde/arm/neon/qrdmulh.h +165 -0
  1931. casadi/include/simde/arm/neon/qrdmulh_n.h +136 -0
  1932. casadi/include/simde/arm/neon/qshl.h +732 -0
  1933. casadi/include/simde/arm/neon/qsub.h +549 -0
  1934. casadi/include/simde/arm/neon/qtbl.h +455 -0
  1935. casadi/include/simde/arm/neon/qtbx.h +470 -0
  1936. casadi/include/simde/arm/neon/rbit.h +165 -0
  1937. casadi/include/simde/arm/neon/reinterpret.h +3101 -0
  1938. casadi/include/simde/arm/neon/rev16.h +137 -0
  1939. casadi/include/simde/arm/neon/rev32.h +235 -0
  1940. casadi/include/simde/arm/neon/rev64.h +358 -0
  1941. casadi/include/simde/arm/neon/rhadd.h +406 -0
  1942. casadi/include/simde/arm/neon/rnd.h +143 -0
  1943. casadi/include/simde/arm/neon/rndi.h +135 -0
  1944. casadi/include/simde/arm/neon/rndm.h +143 -0
  1945. casadi/include/simde/arm/neon/rndn.h +135 -0
  1946. casadi/include/simde/arm/neon/rndp.h +143 -0
  1947. casadi/include/simde/arm/neon/rshl.h +903 -0
  1948. casadi/include/simde/arm/neon/rshr_n.h +471 -0
  1949. casadi/include/simde/arm/neon/rsra_n.h +209 -0
  1950. casadi/include/simde/arm/neon/set_lane.h +422 -0
  1951. casadi/include/simde/arm/neon/shl.h +805 -0
  1952. casadi/include/simde/arm/neon/shl_n.h +560 -0
  1953. casadi/include/simde/arm/neon/shr_n.h +612 -0
  1954. casadi/include/simde/arm/neon/sra_n.h +202 -0
  1955. casadi/include/simde/arm/neon/st1.h +353 -0
  1956. casadi/include/simde/arm/neon/st1_lane.h +363 -0
  1957. casadi/include/simde/arm/neon/st3.h +426 -0
  1958. casadi/include/simde/arm/neon/st4.h +445 -0
  1959. casadi/include/simde/arm/neon/sub.h +659 -0
  1960. casadi/include/simde/arm/neon/subl.h +127 -0
  1961. casadi/include/simde/arm/neon/subw.h +221 -0
  1962. casadi/include/simde/arm/neon/subw_high.h +222 -0
  1963. casadi/include/simde/arm/neon/tbl.h +224 -0
  1964. casadi/include/simde/arm/neon/tbx.h +247 -0
  1965. casadi/include/simde/arm/neon/trn.h +252 -0
  1966. casadi/include/simde/arm/neon/trn1.h +500 -0
  1967. casadi/include/simde/arm/neon/trn2.h +499 -0
  1968. casadi/include/simde/arm/neon/tst.h +540 -0
  1969. casadi/include/simde/arm/neon/types.h +683 -0
  1970. casadi/include/simde/arm/neon/uqadd.h +325 -0
  1971. casadi/include/simde/arm/neon/uzp.h +252 -0
  1972. casadi/include/simde/arm/neon/uzp1.h +643 -0
  1973. casadi/include/simde/arm/neon/uzp2.h +647 -0
  1974. casadi/include/simde/arm/neon/zip.h +252 -0
  1975. casadi/include/simde/arm/neon/zip1.h +625 -0
  1976. casadi/include/simde/arm/neon/zip2.h +625 -0
  1977. casadi/include/simde/arm/neon.h +166 -0
  1978. casadi/include/simde/check.h +276 -0
  1979. casadi/include/simde/debug-trap.h +85 -0
  1980. casadi/include/simde/hedley.h +1971 -0
  1981. casadi/include/simde/simde-align.h +449 -0
  1982. casadi/include/simde/simde-arch.h +532 -0
  1983. casadi/include/simde/simde-common.h +890 -0
  1984. casadi/include/simde/simde-complex.h +148 -0
  1985. casadi/include/simde/simde-constify.h +397 -0
  1986. casadi/include/simde/simde-detect-clang.h +109 -0
  1987. casadi/include/simde/simde-diagnostic.h +428 -0
  1988. casadi/include/simde/simde-features.h +522 -0
  1989. casadi/include/simde/simde-math.h +1805 -0
  1990. casadi/include/simde/x86/avx.h +6193 -0
  1991. casadi/include/simde/x86/avx2.h +5660 -0
  1992. casadi/include/simde/x86/avx512/2intersect.h +250 -0
  1993. casadi/include/simde/x86/avx512/abs.h +562 -0
  1994. casadi/include/simde/x86/avx512/add.h +641 -0
  1995. casadi/include/simde/x86/avx512/adds.h +390 -0
  1996. casadi/include/simde/x86/avx512/and.h +305 -0
  1997. casadi/include/simde/x86/avx512/andnot.h +193 -0
  1998. casadi/include/simde/x86/avx512/avg.h +258 -0
  1999. casadi/include/simde/x86/avx512/blend.h +293 -0
  2000. casadi/include/simde/x86/avx512/broadcast.h +897 -0
  2001. casadi/include/simde/x86/avx512/cast.h +324 -0
  2002. casadi/include/simde/x86/avx512/cmp.h +587 -0
  2003. casadi/include/simde/x86/avx512/cmpeq.h +179 -0
  2004. casadi/include/simde/x86/avx512/cmpge.h +104 -0
  2005. casadi/include/simde/x86/avx512/cmpgt.h +189 -0
  2006. casadi/include/simde/x86/avx512/cmple.h +103 -0
  2007. casadi/include/simde/x86/avx512/cmplt.h +123 -0
  2008. casadi/include/simde/x86/avx512/copysign.h +86 -0
  2009. casadi/include/simde/x86/avx512/cvt.h +122 -0
  2010. casadi/include/simde/x86/avx512/cvts.h +723 -0
  2011. casadi/include/simde/x86/avx512/div.h +162 -0
  2012. casadi/include/simde/x86/avx512/extract.h +198 -0
  2013. casadi/include/simde/x86/avx512/fmadd.h +136 -0
  2014. casadi/include/simde/x86/avx512/fmsub.h +108 -0
  2015. casadi/include/simde/x86/avx512/fnmadd.h +108 -0
  2016. casadi/include/simde/x86/avx512/fnmsub.h +108 -0
  2017. casadi/include/simde/x86/avx512/insert.h +193 -0
  2018. casadi/include/simde/x86/avx512/kshift.h +152 -0
  2019. casadi/include/simde/x86/avx512/load.h +67 -0
  2020. casadi/include/simde/x86/avx512/loadu.h +113 -0
  2021. casadi/include/simde/x86/avx512/lzcnt.h +209 -0
  2022. casadi/include/simde/x86/avx512/madd.h +155 -0
  2023. casadi/include/simde/x86/avx512/maddubs.h +159 -0
  2024. casadi/include/simde/x86/avx512/max.h +587 -0
  2025. casadi/include/simde/x86/avx512/min.h +587 -0
  2026. casadi/include/simde/x86/avx512/mov.h +859 -0
  2027. casadi/include/simde/x86/avx512/mov_mask.h +372 -0
  2028. casadi/include/simde/x86/avx512/movm.h +460 -0
  2029. casadi/include/simde/x86/avx512/mul.h +279 -0
  2030. casadi/include/simde/x86/avx512/mulhi.h +65 -0
  2031. casadi/include/simde/x86/avx512/mulhrs.h +65 -0
  2032. casadi/include/simde/x86/avx512/mullo.h +117 -0
  2033. casadi/include/simde/x86/avx512/negate.h +88 -0
  2034. casadi/include/simde/x86/avx512/or.h +252 -0
  2035. casadi/include/simde/x86/avx512/packs.h +122 -0
  2036. casadi/include/simde/x86/avx512/packus.h +122 -0
  2037. casadi/include/simde/x86/avx512/permutex2var.h +1645 -0
  2038. casadi/include/simde/x86/avx512/permutexvar.h +1180 -0
  2039. casadi/include/simde/x86/avx512/sad.h +77 -0
  2040. casadi/include/simde/x86/avx512/set.h +477 -0
  2041. casadi/include/simde/x86/avx512/set1.h +331 -0
  2042. casadi/include/simde/x86/avx512/set4.h +140 -0
  2043. casadi/include/simde/x86/avx512/setone.h +66 -0
  2044. casadi/include/simde/x86/avx512/setr.h +144 -0
  2045. casadi/include/simde/x86/avx512/setr4.h +140 -0
  2046. casadi/include/simde/x86/avx512/setzero.h +90 -0
  2047. casadi/include/simde/x86/avx512/shuffle.h +176 -0
  2048. casadi/include/simde/x86/avx512/sll.h +247 -0
  2049. casadi/include/simde/x86/avx512/slli.h +179 -0
  2050. casadi/include/simde/x86/avx512/sllv.h +68 -0
  2051. casadi/include/simde/x86/avx512/sqrt.h +127 -0
  2052. casadi/include/simde/x86/avx512/sra.h +81 -0
  2053. casadi/include/simde/x86/avx512/srai.h +70 -0
  2054. casadi/include/simde/x86/avx512/srav.h +67 -0
  2055. casadi/include/simde/x86/avx512/srl.h +216 -0
  2056. casadi/include/simde/x86/avx512/srli.h +180 -0
  2057. casadi/include/simde/x86/avx512/srlv.h +282 -0
  2058. casadi/include/simde/x86/avx512/store.h +93 -0
  2059. casadi/include/simde/x86/avx512/storeu.h +93 -0
  2060. casadi/include/simde/x86/avx512/sub.h +351 -0
  2061. casadi/include/simde/x86/avx512/subs.h +222 -0
  2062. casadi/include/simde/x86/avx512/test.h +193 -0
  2063. casadi/include/simde/x86/avx512/types.h +380 -0
  2064. casadi/include/simde/x86/avx512/unpackhi.h +380 -0
  2065. casadi/include/simde/x86/avx512/unpacklo.h +104 -0
  2066. casadi/include/simde/x86/avx512/xor.h +263 -0
  2067. casadi/include/simde/x86/avx512/xorsign.h +72 -0
  2068. casadi/include/simde/x86/avx512.h +108 -0
  2069. casadi/include/simde/x86/clmul.h +414 -0
  2070. casadi/include/simde/x86/fma.h +724 -0
  2071. casadi/include/simde/x86/gfni.h +802 -0
  2072. casadi/include/simde/x86/mmx.h +2399 -0
  2073. casadi/include/simde/x86/sse.h +4471 -0
  2074. casadi/include/simde/x86/sse2.h +7389 -0
  2075. casadi/include/simde/x86/sse3.h +499 -0
  2076. casadi/include/simde/x86/sse4.1.h +2216 -0
  2077. casadi/include/simde/x86/sse4.2.h +347 -0
  2078. casadi/include/simde/x86/ssse3.h +1032 -0
  2079. casadi/include/simde/x86/svml.h +12139 -0
  2080. casadi/include/simde/x86/xop.h +3644 -0
  2081. casadi/include/sleqp/defs.h +58 -0
  2082. casadi/include/sleqp/export.h +43 -0
  2083. casadi/include/sleqp/pub_cmp.h +18 -0
  2084. casadi/include/sleqp/pub_dyn.h +140 -0
  2085. casadi/include/sleqp/pub_error.h +50 -0
  2086. casadi/include/sleqp/pub_func.h +257 -0
  2087. casadi/include/sleqp/pub_hess_struct.h +105 -0
  2088. casadi/include/sleqp/pub_iterate.h +88 -0
  2089. casadi/include/sleqp/pub_log.h +88 -0
  2090. casadi/include/sleqp/pub_lsq.h +158 -0
  2091. casadi/include/sleqp/pub_mem.h +52 -0
  2092. casadi/include/sleqp/pub_problem.h +213 -0
  2093. casadi/include/sleqp/pub_scale.h +150 -0
  2094. casadi/include/sleqp/pub_settings.h +162 -0
  2095. casadi/include/sleqp/pub_solver.h +155 -0
  2096. casadi/include/sleqp/pub_types.h +230 -0
  2097. casadi/include/sleqp/pub_working_set.h +135 -0
  2098. casadi/include/sleqp/sparse/pub_mat.h +153 -0
  2099. casadi/include/sleqp/sparse/pub_vec.h +336 -0
  2100. casadi/include/sleqp.h +38 -0
  2101. casadi/include/spral.h +13 -0
  2102. casadi/include/spral_lsmr.h +57 -0
  2103. casadi/include/spral_matrix_util.h +40 -0
  2104. casadi/include/spral_random.h +26 -0
  2105. casadi/include/spral_random_matrix.h +27 -0
  2106. casadi/include/spral_rutherford_boeing.h +51 -0
  2107. casadi/include/spral_scaling.h +139 -0
  2108. casadi/include/spral_ssids.h +121 -0
  2109. casadi/include/spral_ssmfe.h +268 -0
  2110. casadi/include/superscs/cones.h +185 -0
  2111. casadi/include/superscs/constants.h +144 -0
  2112. casadi/include/superscs/cs.h +109 -0
  2113. casadi/include/superscs/ctrlc.h +77 -0
  2114. casadi/include/superscs/directions.h +125 -0
  2115. casadi/include/superscs/glbopts.h +240 -0
  2116. casadi/include/superscs/linAlg.h +437 -0
  2117. casadi/include/superscs/linSys.h +205 -0
  2118. casadi/include/superscs/linsys/amatrix.h +77 -0
  2119. casadi/include/superscs/linsys/common.h +49 -0
  2120. casadi/include/superscs/normalize.h +138 -0
  2121. casadi/include/superscs/scs.h +656 -0
  2122. casadi/include/superscs/scs_blas.h +79 -0
  2123. casadi/include/superscs/scs_parser.h +187 -0
  2124. casadi/include/superscs/unit_test_util.h +210 -0
  2125. casadi/include/superscs/util.h +354 -0
  2126. casadi/include/trlib/trlib_eigen_inverse.h +118 -0
  2127. casadi/include/trlib/trlib_krylov.h +493 -0
  2128. casadi/include/trlib/trlib_leftmost.h +181 -0
  2129. casadi/include/trlib/trlib_private.h +109 -0
  2130. casadi/include/trlib/trlib_quadratic_zero.h +57 -0
  2131. casadi/include/trlib/trlib_tri_factor.h +409 -0
  2132. casadi/include/trlib/trlib_types.h +36 -0
  2133. casadi/include/trlib.h +44 -0
  2134. casadi/include/zconf.h +545 -0
  2135. casadi/include/zip.h +528 -0
  2136. casadi/include/zipconf.h +48 -0
  2137. casadi/include/zlib.h +1938 -0
  2138. casadi/libCbc.la +35 -0
  2139. casadi/libCbc.so +0 -0
  2140. casadi/libCbc.so.3 +0 -0
  2141. casadi/libCbc.so.3.10.11 +0 -0
  2142. casadi/libCbcSolver.la +35 -0
  2143. casadi/libCbcSolver.so +0 -0
  2144. casadi/libCbcSolver.so.3 +0 -0
  2145. casadi/libCbcSolver.so.3.10.11 +0 -0
  2146. casadi/libCgl.la +35 -0
  2147. casadi/libCgl.so +0 -0
  2148. casadi/libCgl.so.1 +0 -0
  2149. casadi/libCgl.so.1.10.8 +0 -0
  2150. casadi/libClp.la +35 -0
  2151. casadi/libClp.so +0 -0
  2152. casadi/libClp.so.1 +0 -0
  2153. casadi/libClp.so.1.14.9 +0 -0
  2154. casadi/libClpSolver.la +35 -0
  2155. casadi/libClpSolver.so +0 -0
  2156. casadi/libClpSolver.so.1 +0 -0
  2157. casadi/libClpSolver.so.1.14.9 +0 -0
  2158. casadi/libCoinUtils.la +35 -0
  2159. casadi/libCoinUtils.so +0 -0
  2160. casadi/libCoinUtils.so.3 +0 -0
  2161. casadi/libCoinUtils.so.3.11.10 +0 -0
  2162. casadi/libOsi.la +35 -0
  2163. casadi/libOsi.so +0 -0
  2164. casadi/libOsi.so.1 +0 -0
  2165. casadi/libOsi.so.1.13.9 +0 -0
  2166. casadi/libOsiCbc.la +35 -0
  2167. casadi/libOsiCbc.so +0 -0
  2168. casadi/libOsiCbc.so.3 +0 -0
  2169. casadi/libOsiCbc.so.3.10.11 +0 -0
  2170. casadi/libOsiClp.la +35 -0
  2171. casadi/libOsiClp.so +0 -0
  2172. casadi/libOsiClp.so.1 +0 -0
  2173. casadi/libOsiClp.so.1.14.9 +0 -0
  2174. casadi/libOsiCommonTests.la +35 -0
  2175. casadi/libOsiCommonTests.so +0 -0
  2176. casadi/libOsiCommonTests.so.1 +0 -0
  2177. casadi/libOsiCommonTests.so.1.13.9 +0 -0
  2178. casadi/libalpaqa-dl-loader.so +0 -0
  2179. casadi/libalpaqa-dl-loader.so.1.0.0 +0 -0
  2180. casadi/libalpaqa.so +0 -0
  2181. casadi/libalpaqa.so.1.0.0 +0 -0
  2182. casadi/libblasfeo.so +0 -0
  2183. casadi/libbonmin.la +35 -0
  2184. casadi/libbonmin.so +0 -0
  2185. casadi/libbonmin.so.4 +0 -0
  2186. casadi/libbonmin.so.4.8.9 +0 -0
  2187. casadi/libcasadi-tp-openblas.so +0 -0
  2188. casadi/libcasadi-tp-openblas.so.0 +0 -0
  2189. casadi/libcasadi-tp-openblas.so.0.3 +0 -0
  2190. casadi/libcasadi.so +0 -0
  2191. casadi/libcasadi.so.3.7 +0 -0
  2192. casadi/libcasadi_archiver_libzip.so +0 -0
  2193. casadi/libcasadi_archiver_libzip.so.3.7 +0 -0
  2194. casadi/libcasadi_conic_cbc.so +0 -0
  2195. casadi/libcasadi_conic_cbc.so.3.7 +0 -0
  2196. casadi/libcasadi_conic_clp.so +0 -0
  2197. casadi/libcasadi_conic_clp.so.3.7 +0 -0
  2198. casadi/libcasadi_conic_cplex.so +0 -0
  2199. casadi/libcasadi_conic_cplex.so.3.7 +0 -0
  2200. casadi/libcasadi_conic_daqp.so +0 -0
  2201. casadi/libcasadi_conic_daqp.so.3.7 +0 -0
  2202. casadi/libcasadi_conic_fatrop.so +0 -0
  2203. casadi/libcasadi_conic_fatrop.so.3.7 +0 -0
  2204. casadi/libcasadi_conic_gurobi.so +0 -0
  2205. casadi/libcasadi_conic_gurobi.so.3.7 +0 -0
  2206. casadi/libcasadi_conic_highs.so +0 -0
  2207. casadi/libcasadi_conic_highs.so.3.7 +0 -0
  2208. casadi/libcasadi_conic_hpipm.so +0 -0
  2209. casadi/libcasadi_conic_hpipm.so.3.7 +0 -0
  2210. casadi/libcasadi_conic_ipqp.so +0 -0
  2211. casadi/libcasadi_conic_ipqp.so.3.7 +0 -0
  2212. casadi/libcasadi_conic_nlpsol.so +0 -0
  2213. casadi/libcasadi_conic_nlpsol.so.3.7 +0 -0
  2214. casadi/libcasadi_conic_osqp.so +0 -0
  2215. casadi/libcasadi_conic_osqp.so.3.7 +0 -0
  2216. casadi/libcasadi_conic_proxqp.so +0 -0
  2217. casadi/libcasadi_conic_proxqp.so.3.7 +0 -0
  2218. casadi/libcasadi_conic_qpoases.so +0 -0
  2219. casadi/libcasadi_conic_qpoases.so.3.7 +0 -0
  2220. casadi/libcasadi_conic_qrqp.so +0 -0
  2221. casadi/libcasadi_conic_qrqp.so.3.7 +0 -0
  2222. casadi/libcasadi_conic_superscs.so +0 -0
  2223. casadi/libcasadi_conic_superscs.so.3.7 +0 -0
  2224. casadi/libcasadi_filesystem_ghc.so +0 -0
  2225. casadi/libcasadi_filesystem_ghc.so.3.7 +0 -0
  2226. casadi/libcasadi_importer_shell.so +0 -0
  2227. casadi/libcasadi_importer_shell.so.3.7 +0 -0
  2228. casadi/libcasadi_integrator_collocation.so +0 -0
  2229. casadi/libcasadi_integrator_collocation.so.3.7 +0 -0
  2230. casadi/libcasadi_integrator_cvodes.so +0 -0
  2231. casadi/libcasadi_integrator_cvodes.so.3.7 +0 -0
  2232. casadi/libcasadi_integrator_idas.so +0 -0
  2233. casadi/libcasadi_integrator_idas.so.3.7 +0 -0
  2234. casadi/libcasadi_integrator_rk.so +0 -0
  2235. casadi/libcasadi_integrator_rk.so.3.7 +0 -0
  2236. casadi/libcasadi_interpolant_bspline.so +0 -0
  2237. casadi/libcasadi_interpolant_bspline.so.3.7 +0 -0
  2238. casadi/libcasadi_interpolant_linear.so +0 -0
  2239. casadi/libcasadi_interpolant_linear.so.3.7 +0 -0
  2240. casadi/libcasadi_linsol_csparse.so +0 -0
  2241. casadi/libcasadi_linsol_csparse.so.3.7 +0 -0
  2242. casadi/libcasadi_linsol_csparsecholesky.so +0 -0
  2243. casadi/libcasadi_linsol_csparsecholesky.so.3.7 +0 -0
  2244. casadi/libcasadi_linsol_lapacklu.so +0 -0
  2245. casadi/libcasadi_linsol_lapacklu.so.3.7 +0 -0
  2246. casadi/libcasadi_linsol_lapackqr.so +0 -0
  2247. casadi/libcasadi_linsol_lapackqr.so.3.7 +0 -0
  2248. casadi/libcasadi_linsol_ldl.so +0 -0
  2249. casadi/libcasadi_linsol_ldl.so.3.7 +0 -0
  2250. casadi/libcasadi_linsol_lsqr.so +0 -0
  2251. casadi/libcasadi_linsol_lsqr.so.3.7 +0 -0
  2252. casadi/libcasadi_linsol_ma27.so +0 -0
  2253. casadi/libcasadi_linsol_ma27.so.3.7 +0 -0
  2254. casadi/libcasadi_linsol_mumps.so +0 -0
  2255. casadi/libcasadi_linsol_mumps.so.3.7 +0 -0
  2256. casadi/libcasadi_linsol_qr.so +0 -0
  2257. casadi/libcasadi_linsol_qr.so.3.7 +0 -0
  2258. casadi/libcasadi_linsol_symbolicqr.so +0 -0
  2259. casadi/libcasadi_linsol_symbolicqr.so.3.7 +0 -0
  2260. casadi/libcasadi_linsol_tridiag.so +0 -0
  2261. casadi/libcasadi_linsol_tridiag.so.3.7 +0 -0
  2262. casadi/libcasadi_nlpsol_alpaqa.so +0 -0
  2263. casadi/libcasadi_nlpsol_alpaqa.so.3.7 +0 -0
  2264. casadi/libcasadi_nlpsol_ampl.so +0 -0
  2265. casadi/libcasadi_nlpsol_ampl.so.3.7 +0 -0
  2266. casadi/libcasadi_nlpsol_blocksqp.so +0 -0
  2267. casadi/libcasadi_nlpsol_blocksqp.so.3.7 +0 -0
  2268. casadi/libcasadi_nlpsol_bonmin.so +0 -0
  2269. casadi/libcasadi_nlpsol_bonmin.so.3.7 +0 -0
  2270. casadi/libcasadi_nlpsol_fatrop.so +0 -0
  2271. casadi/libcasadi_nlpsol_fatrop.so.3.7 +0 -0
  2272. casadi/libcasadi_nlpsol_feasiblesqpmethod.so +0 -0
  2273. casadi/libcasadi_nlpsol_feasiblesqpmethod.so.3.7 +0 -0
  2274. casadi/libcasadi_nlpsol_ipopt.so +0 -0
  2275. casadi/libcasadi_nlpsol_ipopt.so.3.7 +0 -0
  2276. casadi/libcasadi_nlpsol_knitro.so +0 -0
  2277. casadi/libcasadi_nlpsol_knitro.so.3.7 +0 -0
  2278. casadi/libcasadi_nlpsol_madnlp.so +0 -0
  2279. casadi/libcasadi_nlpsol_madnlp.so.3.7 +0 -0
  2280. casadi/libcasadi_nlpsol_qrsqp.so +0 -0
  2281. casadi/libcasadi_nlpsol_qrsqp.so.3.7 +0 -0
  2282. casadi/libcasadi_nlpsol_scpgen.so +0 -0
  2283. casadi/libcasadi_nlpsol_scpgen.so.3.7 +0 -0
  2284. casadi/libcasadi_nlpsol_sleqp.so +0 -0
  2285. casadi/libcasadi_nlpsol_sleqp.so.3.7 +0 -0
  2286. casadi/libcasadi_nlpsol_snopt.so +0 -0
  2287. casadi/libcasadi_nlpsol_snopt.so.3.7 +0 -0
  2288. casadi/libcasadi_nlpsol_sqpmethod.so +0 -0
  2289. casadi/libcasadi_nlpsol_sqpmethod.so.3.7 +0 -0
  2290. casadi/libcasadi_nlpsol_worhp.so +0 -0
  2291. casadi/libcasadi_nlpsol_worhp.so.3.7 +0 -0
  2292. casadi/libcasadi_rootfinder_fast_newton.so +0 -0
  2293. casadi/libcasadi_rootfinder_fast_newton.so.3.7 +0 -0
  2294. casadi/libcasadi_rootfinder_kinsol.so +0 -0
  2295. casadi/libcasadi_rootfinder_kinsol.so.3.7 +0 -0
  2296. casadi/libcasadi_rootfinder_newton.so +0 -0
  2297. casadi/libcasadi_rootfinder_newton.so.3.7 +0 -0
  2298. casadi/libcasadi_rootfinder_nlpsol.so +0 -0
  2299. casadi/libcasadi_rootfinder_nlpsol.so.3.7 +0 -0
  2300. casadi/libcasadi_sundials_common.so +0 -0
  2301. casadi/libcasadi_sundials_common.so.3.7 +0 -0
  2302. casadi/libcasadi_xmlfile_tinyxml.so +0 -0
  2303. casadi/libcasadi_xmlfile_tinyxml.so.3.7 +0 -0
  2304. casadi/libcoinmetis.la +41 -0
  2305. casadi/libcoinmetis.so +0 -0
  2306. casadi/libcoinmetis.so.2 +0 -0
  2307. casadi/libcoinmetis.so.2.0.0 +0 -0
  2308. casadi/libcoinmumps.la +41 -0
  2309. casadi/libcoinmumps.so +0 -0
  2310. casadi/libcoinmumps.so.3 +0 -0
  2311. casadi/libcoinmumps.so.3.0.1 +0 -0
  2312. casadi/libcplex_adaptor.so +0 -0
  2313. casadi/libdaqp.so +0 -0
  2314. casadi/libdaqpstat.a +0 -0
  2315. casadi/libfatrop.so +0 -0
  2316. casadi/libgfortran-040039e1.so.5.0.0 +0 -0
  2317. casadi/libgurobi_adaptor.so +0 -0
  2318. casadi/libhighs.so +0 -0
  2319. casadi/libhighs.so.1 +0 -0
  2320. casadi/libhighs.so.1.10.0 +0 -0
  2321. casadi/libhpipm.so +0 -0
  2322. casadi/libindirect.a +0 -0
  2323. casadi/libipopt.la +41 -0
  2324. casadi/libipopt.so +0 -0
  2325. casadi/libipopt.so.3 +0 -0
  2326. casadi/libipopt.so.3.14.11 +0 -0
  2327. casadi/liblinsys.a +0 -0
  2328. casadi/libmatlab_ipc.so +0 -0
  2329. casadi/libosqp.a +0 -0
  2330. casadi/libosqp.so +0 -0
  2331. casadi/libqdldl.a +0 -0
  2332. casadi/libqdldl.so +0 -0
  2333. casadi/libquadmath-96973f99.so.0.0.0 +0 -0
  2334. casadi/libsipopt.la +41 -0
  2335. casadi/libsipopt.so +0 -0
  2336. casadi/libsipopt.so.3 +0 -0
  2337. casadi/libsipopt.so.3.14.11 +0 -0
  2338. casadi/libsleqp.so +0 -0
  2339. casadi/libsleqp.so.1.0.1 +0 -0
  2340. casadi/libspral.a +0 -0
  2341. casadi/libsuperscs.a +0 -0
  2342. casadi/libtrlib.so +0 -0
  2343. casadi/libtrlib.so.0.4 +0 -0
  2344. casadi/libz.a +0 -0
  2345. casadi/libz.so +0 -0
  2346. casadi/libz.so.1 +0 -0
  2347. casadi/libz.so.1.3.1 +0 -0
  2348. casadi/libzip.a +0 -0
  2349. casadi/pkgconfig/blas.pc +11 -0
  2350. casadi/pkgconfig/bonmin.pc +12 -0
  2351. casadi/pkgconfig/casadi.pc +12 -0
  2352. casadi/pkgconfig/cbc.pc +12 -0
  2353. casadi/pkgconfig/cgl.pc +12 -0
  2354. casadi/pkgconfig/clp.pc +12 -0
  2355. casadi/pkgconfig/coinmetis.pc +13 -0
  2356. casadi/pkgconfig/coinmumps.pc +15 -0
  2357. casadi/pkgconfig/coinutils.pc +12 -0
  2358. casadi/pkgconfig/highs.pc +12 -0
  2359. casadi/pkgconfig/ipopt.pc +15 -0
  2360. casadi/pkgconfig/lapack.pc +11 -0
  2361. casadi/pkgconfig/libzip.pc +14 -0
  2362. casadi/pkgconfig/openblas.pc +11 -0
  2363. casadi/pkgconfig/osi-cbc.pc +12 -0
  2364. casadi/pkgconfig/osi-clp.pc +12 -0
  2365. casadi/pkgconfig/osi-unittests.pc +12 -0
  2366. casadi/pkgconfig/osi.pc +12 -0
  2367. casadi/pkgconfig/sleqp.pc +10 -0
  2368. casadi/tools/__init__.py +54 -0
  2369. casadi/tools/bounds.py +107 -0
  2370. casadi/tools/graph/__init__.py +35 -0
  2371. casadi/tools/graph/graph.py +747 -0
  2372. casadi/tools/in_out.py +89 -0
  2373. casadi/tools/structure3.py +1441 -0
  2374. casadi-3.7.2.dist-info/METADATA +45 -0
  2375. casadi-3.7.2.dist-info/RECORD +2377 -0
  2376. casadi-3.7.2.dist-info/WHEEL +4 -0
  2377. dummy.txt +1 -0
@@ -0,0 +1,1650 @@
1
+ // This file is part of Eigen, a lightweight C++ template library for linear algebra.
2
+ //
3
+ // Mehdi Goli Codeplay Software Ltd.
4
+ // Ralph Potter Codeplay Software Ltd.
5
+ // Luke Iwanski Codeplay Software Ltd.
6
+ // Contact: <eigen@codeplay.com>
7
+ //
8
+ // This Source Code Form is subject to the terms of the Mozilla Public License v. 2.0. If a copy of the MPL was not
9
+ // distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
+
11
+ /*****************************************************************
12
+ * TensorContractionSycl.h
13
+ *
14
+ * \brief:
15
+ * TensorContractionSycl.h, provides various tensor contraction kernel for SYCL backend
16
+ *
17
+ *****************************************************************/
18
+
19
+ #ifndef EIGEN_CXX11_TENSOR_TENSOR_CONTRACTION_SYCL_H
20
+ #define EIGEN_CXX11_TENSOR_TENSOR_CONTRACTION_SYCL_H
21
+
22
+ namespace Eigen {
23
+
24
+ namespace TensorSycl {
25
+ namespace internal {
26
+
27
+ #ifndef EIGEN_SYCL_DISABLE_GEMV
28
+ /*!
29
+ * \brief TVPanelSize, a template class used for setting the panel size required for launching General TensorVector
30
+ * contraction kernel on various hardware devices.
31
+ *
32
+ * \tparam Scalar: determines the element type of the tensor/vector
33
+ *
34
+ * \tparam StorageIndex determines the Index type.
35
+ *
36
+ * \tparam NCWindow: determines the number of non-contracting element to be process by each work-group
37
+ *
38
+ * \tparam CFactor: determines the number of contracting element to be process by each thread
39
+ *
40
+ * \tparam NCFactor: determines the number of non-contracting element to be process by each thread
41
+ */
42
+ template <typename Scalar, typename StorageIndex, StorageIndex NCWindow, StorageIndex CFactor, StorageIndex NCFactor>
43
+ struct TVPanelSize {
44
+ // LocalThreadSizeC: determines total number of thread per workgroup for the contracting dimension
45
+ static EIGEN_CONSTEXPR StorageIndex LocalThreadSizeC = EIGEN_SYCL_LOCAL_THREAD_DIM0;
46
+ // LocalThreadSizeNC: determines total number of thread per workgroup for the non-contracting dimension
47
+ static EIGEN_CONSTEXPR StorageIndex LocalThreadSizeNC = EIGEN_SYCL_LOCAL_THREAD_DIM1;
48
+ // TileSizeDimNC: determines the tile size for the non-contracting dimension
49
+ static EIGEN_CONSTEXPR StorageIndex TileSizeDimNC = NCWindow / NCFactor;
50
+ // TileSizeDimC: determines the tile size for the contracting dimension
51
+ static EIGEN_CONSTEXPR StorageIndex TileSizeDimC = CFactor * LocalThreadSizeNC * LocalThreadSizeC;
52
+ // WorkLoadPerThreadNC : determines workload per thread for loading the non-contracting dimension
53
+ static EIGEN_CONSTEXPR StorageIndex WorkLoadPerThreadNC = TileSizeDimNC / LocalThreadSizeNC;
54
+ // WorkLoadPerThreadC: determines workload per thread for loading the non-contracting dimension
55
+ static EIGEN_CONSTEXPR StorageIndex WorkLoadPerThreadC = TileSizeDimC / LocalThreadSizeC;
56
+ // BC : determines if supporting bank conflict is required
57
+ static EIGEN_CONSTEXPR bool BC = false;
58
+ };
59
+ #endif
60
+
61
+ /*!
62
+ * \brief TTPanelSize, a template class used for setting the panel size required for launching General Tensor Tensor
63
+ contraction kernel on various hardware devices.
64
+ *
65
+ * \tparam Scalar: determines the element type of the tensor
66
+ *
67
+ * \tparam StorageIndex: determines the Index type.
68
+ *
69
+ * \tparam REG_SIZE_M: determines workload per thread for loading the M dimension This can be varied based on the
70
+ available register on a chosen device(can be controlled by EIGEN_SYCL_REG_M macro).
71
+ *
72
+ * \tparam REG_SIZE_N: determines workload per thread for loading the N dimension This can be varied based on the
73
+ available register on a chosen device(can be controlled by EIGEN_SYCL_REG_N macro).
74
+ *
75
+ * \tparam TSDK: determines Tile size for dimension K. The packet size is assumed to be considered
76
+ */
77
+
78
+ template <typename Scalar, typename StorageIndex, StorageIndex REG_SIZE_M, StorageIndex REG_SIZE_N, StorageIndex TSDK>
79
+ struct TTPanelSize {
80
+ // TileSizeDimK: determines Tile size for dimension K. The packet size is assumed to be considered
81
+ static EIGEN_CONSTEXPR StorageIndex TileSizeDimK = TSDK;
82
+ // WorkLoadPerThreadM : determines workload per thread for loading the M dimension This can be varied based on the
83
+ // available register on a chosen device(can be controlled by EIGEN_SYCL_REG_M macro//
84
+ #ifndef EIGEN_SYCL_REG_M
85
+ static EIGEN_CONSTEXPR StorageIndex WorkLoadPerThreadM = REG_SIZE_M;
86
+ #else
87
+ static EIGEN_CONSTEXPR StorageIndex WorkLoadPerThreadM = EIGEN_SYCL_REG_M;
88
+ #endif
89
+ // WorkLoadPerThreadN : determines workload per thread for loading the N dimension This can be varied based on the
90
+ // available register on a chosen device(can be controlled by EIGEN_SYCL_REG_N macro
91
+ #ifndef EIGEN_SYCL_REG_N
92
+ static EIGEN_CONSTEXPR StorageIndex WorkLoadPerThreadN = REG_SIZE_N;
93
+ #else
94
+ static EIGEN_CONSTEXPR StorageIndex WorkLoadPerThreadN = EIGEN_SYCL_REG_N;
95
+ #endif
96
+ // LocalThreadSizeM: determines total number of thread per workgroup for the m dimension
97
+ static EIGEN_CONSTEXPR StorageIndex LocalThreadSizeM = EIGEN_SYCL_LOCAL_THREAD_DIM0;
98
+ // LocalThreadSizeN: determines total number of thread per workgroup for the n dimension
99
+ static EIGEN_CONSTEXPR StorageIndex LocalThreadSizeN = EIGEN_SYCL_LOCAL_THREAD_DIM1;
100
+ // TileSizeDimM: determines the tile size for the m dimension
101
+ static EIGEN_CONSTEXPR StorageIndex TileSizeDimM = LocalThreadSizeM * WorkLoadPerThreadM;
102
+ // TileSizeDimN: determines the tile size for the n dimension
103
+ static EIGEN_CONSTEXPR StorageIndex TileSizeDimN = LocalThreadSizeN * WorkLoadPerThreadN;
104
+ // LoadPerThreadLhs: determines workload per thread for loading Lhs Tensor. This must be divisable by packetsize
105
+ static EIGEN_CONSTEXPR StorageIndex LoadPerThreadLhs =
106
+ ((TileSizeDimK * WorkLoadPerThreadM * WorkLoadPerThreadN) / (TileSizeDimN));
107
+ // LoadPerThreadRhs: determines workload per thread for loading Rhs Tensor. This must be divisable by packetsize
108
+ static EIGEN_CONSTEXPR StorageIndex LoadPerThreadRhs =
109
+ ((TileSizeDimK * WorkLoadPerThreadM * WorkLoadPerThreadN) / (TileSizeDimM));
110
+ // BC : determines if supporting bank conflict is required
111
+ static EIGEN_CONSTEXPR bool BC = true;
112
+ // DoubleBuffer: determines if double buffering technique should be used (This can be disabled by
113
+ // EIGEN_SYCL_DISABLE_DOUBLE_BUFFER macro when the device doesnot have sufficient local memory)
114
+ static EIGEN_CONSTEXPR bool DoubleBuffer =
115
+ #ifdef EIGEN_SYCL_DISABLE_DOUBLE_BUFFER
116
+ false;
117
+ #else
118
+ true;
119
+ #endif
120
+ };
121
+
122
+ /* !
123
+ * \brief contraction_type: an enum class representing the Tensor Contraction implementation algorithm. This is used to
124
+ * specialize the contraction algorithm based on device support for dedicated local memory.
125
+ */
126
+ enum class contraction_type { local, no_local };
127
+ /* !
128
+ * \brief data_source an enum class determining the location of the data in a memory hierarchy (global, local, private).
129
+ */
130
+ enum class data_source { global_mem, local_mem, private_mem };
131
+
132
+ /*!
133
+ * \brief read, a template function used for loading the data from global
134
+ memory. This function is used to guarantee coalesced and vectorized load whenever possible
135
+ *
136
+ * \tparam PacketLoad: determines if the each element of this tensor block should be loaded in a packet mode
137
+ *
138
+ * \param is_coalesced_layout: determines whether or not the Tensor data in a memory can be access coalesced and
139
+ vectorized when possible. Coalesced memory access is a key factor in Kernel performance. When a tensor is 2d and the
140
+ contracting dimension is 1, it is always possible to accessed tensor data coalesced and vectorized. This is the case
141
+ when RHS(right hand side) Tensor is transposed or when LHS(left hand side) Tensor is not transposed.
142
+ *
143
+ * \tparam PacketType: determines the type of packet
144
+ *
145
+ * \tparam TensorMapper: determines the input tensor mapper type
146
+ *
147
+ * \tparam StorageIndex: determines the Index type
148
+
149
+ * \param tensorMapper: is the input tensor
150
+ *
151
+ * \param NCIndex: is the non-contracting dim index
152
+ *
153
+ * \param CIndex is the contracting dim index
154
+ *
155
+ * \param ld: is the leading dimension of the flattened tensor
156
+ */
157
+ template <bool PacketLoad, bool is_coalesced_layout, bool, typename PacketType, typename TensorMapper,
158
+ typename StorageIndex>
159
+ static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE typename ::Eigen::internal::enable_if<PacketLoad, PacketType>::type read(
160
+ const TensorMapper &tensorMapper, const StorageIndex &NCIndex, const StorageIndex &CIndex, const StorageIndex &ld) {
161
+ const StorageIndex row = (is_coalesced_layout) ? NCIndex : CIndex;
162
+ const StorageIndex col = (is_coalesced_layout) ? CIndex : NCIndex;
163
+ return tensorMapper.get_tensor().template packet<Unaligned>(row + (col * ld));
164
+ }
165
+
166
+ /*!
167
+ * \brief read, special overload of read function, when the read access is not vectorized
168
+ *
169
+ * \tparam PacketLoad: determines if the each element of this tensor block should be loaded in a packet mode
170
+ *
171
+ * \param is_coalesced_layout: determines whether or not the Tensor data in a memory can be access coalesced and
172
+ vectorized when possible. Coalesced memory access is a key factor in Kernel performance. When a tensor is 2d and the
173
+ contracting dimension is 1, it is always possible to accessed tensor data coalesced and vectorized. This is the case
174
+ when RHS(right hand side) Tensor is transposed or when LHS(left hand side) Tensor is not transposed.
175
+ *
176
+ * \tparam PacketType: determines the type of packet
177
+ *
178
+ * \tparam TensorMapper: determines the input tensor mapper type
179
+ *
180
+ * \tparam StorageIndex: determines the Index type
181
+
182
+ * \param tensorMapper: is the input tensor
183
+ *
184
+ * \param NCIndex: is the non-contracting dim index
185
+ *
186
+ * \param CIndex: is the contracting dim index
187
+ */
188
+ template <bool PacketLoad, bool, bool IsRhs, typename PacketType, typename TensorMapper, typename StorageIndex>
189
+ static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE typename ::Eigen::internal::enable_if<!PacketLoad, PacketType>::type read(
190
+ const TensorMapper &tensorMapper, const StorageIndex &NCIndex, const StorageIndex &CIndex, const StorageIndex &) {
191
+ const StorageIndex row = (IsRhs) ? CIndex : NCIndex;
192
+ const StorageIndex col = (IsRhs) ? NCIndex : CIndex;
193
+ return tensorMapper(row, col);
194
+ }
195
+
196
+ /*!
197
+ * \brief write, a template function used for storing the data to local memory. This function is used to guarantee
198
+ * coalesced and vectorized store whenever possible.
199
+ *
200
+ * \tparam StorageIndex: determines the Index type
201
+ *
202
+ * \param ld is the leading dimension of the local memory. ld is a compile time value for the local memory
203
+ *
204
+ * \tparam data_source: an enum value representing if the location of the data in a memory hierarchy.
205
+ *
206
+ * \tparam PacketType: determines the type of packet
207
+ *
208
+ * \tparam DataScalar: determines the output data type
209
+ *
210
+ * \param packet_data: the data to be written in the local memory
211
+ *
212
+ * \param ptr: a pointer to the local memory
213
+ *
214
+ * \param CIndex is the contracting dim index
215
+ */
216
+
217
+ template <typename StorageIndex, StorageIndex ld, data_source dt, typename PacketType, typename DataScalar>
218
+ static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
219
+ typename ::Eigen::internal::enable_if<dt != data_source::global_mem, void>::type
220
+ write(PacketType &packet_data, DataScalar ptr) {
221
+ EIGEN_CONSTEXPR int PacketSize = Eigen::internal::unpacket_traits<PacketType>::size;
222
+ EIGEN_UNROLL_LOOP
223
+ for (int i = 0; i < PacketSize; i++) {
224
+ *ptr = PacketWrapper<PacketType, PacketSize>::scalarize(i, packet_data);
225
+ ptr += ld;
226
+ }
227
+ }
228
+
229
+ /*!
230
+ * \brief Overloading the write function for storing the data to global memory, when vectorization enabled This function
231
+ * is used to guarantee coalesced and vectorized store whenever possible.
232
+ *
233
+ * \tparam data_source: an enum value representing if the location of the data in a memory hierarchy.
234
+ *
235
+ * \tparam PacketType: determines the type of packet
236
+ *
237
+ * \tparam DataScalar: determines the output data type
238
+ *
239
+ * \param packet_data: the data to be written in the local memory
240
+ *
241
+ * \param ptr: a pointer to the local memory
242
+ */
243
+
244
+ template <data_source dt, typename PacketType, typename DataScalar>
245
+ static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE typename ::Eigen::internal::enable_if<
246
+ Eigen::internal::unpacket_traits<PacketType>::size != 1 && dt == data_source::global_mem, void>::type
247
+ write(PacketType &packet_data, DataScalar *ptr) {
248
+ ::Eigen::internal::pstoreu<DataScalar, PacketType>(ptr, packet_data);
249
+ }
250
+
251
+ /*!
252
+ * \brief Overloading the write function for storing the data to global memory, when vectorization is disabled.
253
+ *
254
+ * \tparam data_source: an enum value representing if the location of the data in a memory hierarchy.
255
+ *
256
+ * \tparam PacketType: determines the type of packet
257
+ *
258
+ * \tparam DataScalar: determines the output data type
259
+ *
260
+ * \param packet_data: the data to be written in the local memory
261
+ *
262
+ * \param ptr: a pointer to the local memory
263
+ */
264
+ template <data_source dt, typename PacketType, typename DataScalar>
265
+ static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE typename ::Eigen::internal::enable_if<
266
+ Eigen::internal::unpacket_traits<PacketType>::size == 1 && dt == data_source::global_mem, void>::type
267
+ write(PacketType &packet_data, DataScalar *ptr) {
268
+ *ptr = packet_data;
269
+ }
270
+
271
+ /*!
272
+ * \brief check_boundary: is used to check the edge condition for non-internal blocks.
273
+ *
274
+ * \tparam is_internal: determines if the block is internal
275
+ */
276
+ template <bool is_internal>
277
+ EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE bool check_boundary(bool) {
278
+ return true;
279
+ }
280
+
281
+ /*!
282
+ * \brief check_boundary: specialization of the check_boundary for non-internal blocks.
283
+ *
284
+ * \param cond: true when the data is in range. Otherwise false
285
+ */
286
+ template <>
287
+ EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE bool check_boundary<false>(bool cond) {
288
+ return cond;
289
+ }
290
+
291
+ /*!
292
+ * \brief BlockProperties is a template class that provides different characteristic of a block of each Tensor processed
293
+ * by each workgroup.
294
+ *
295
+ * \tparam is_transposed: iff true, determines whether or not the block of the Tensor is transposed
296
+ *
297
+ * \tparam packet_load_: determines if the each element of this tensor block should be loaded in a packet mode
298
+ *
299
+ * \tparam PacketType: determines the type of packet
300
+ *
301
+ * \tparam OutType: determines the type of each element for this block of tensor. If packet load is true, it will be
302
+ * packetType; Otherwise it will be scalar Type
303
+ *
304
+ * \param elements_per_access determines the size of each element based on OutType
305
+ *
306
+ * \param is_coalesced_layout determines whether or not the Tensor data in a memory can be access coalesced and
307
+ * vectorized when possible. Coalesced memory access is a key factor in Kernel performance. When a tensor is 2d and the
308
+ * contracting dimension is 1, it is always possible to accessed tensor data coalesced and vectorized. This is the case
309
+ * when RHS(right hand side) Tensor is transposed or when LHS(left hand side) Tensor is not transposed.
310
+ *
311
+ * \param nc_stride determines the stride of non-contracting dimension to access the next adjustment element within the
312
+ * Tensor Block for each workgroup
313
+ *
314
+ * \param c_stride determines the stride of contracting dimension to access the next adjustment element within the
315
+ * Tensor Block for each workgroup
316
+ */
317
+ template <bool is_transposed, bool is_rhs_, bool packet_load_, typename PacketType>
318
+ struct BlockProperties {
319
+ static EIGEN_CONSTEXPR bool packet_load = packet_load_;
320
+ typedef typename Eigen::internal::unpacket_traits<PacketType>::type OutScalar;
321
+ static EIGEN_CONSTEXPR bool is_rhs = is_rhs_;
322
+ typedef typename Eigen::internal::conditional<packet_load, PacketType, OutScalar>::type OutType;
323
+ static EIGEN_CONSTEXPR int elements_per_access = Eigen::internal::unpacket_traits<OutType>::size;
324
+ static EIGEN_CONSTEXPR bool is_coalesced_layout = !(is_transposed ^ is_rhs);
325
+ static EIGEN_CONSTEXPR int nc_stride = (is_coalesced_layout ? elements_per_access : 1);
326
+ static EIGEN_CONSTEXPR int c_stride = (is_coalesced_layout ? 1 : elements_per_access);
327
+ };
328
+
329
+ /*!
330
+ * \brief ThreadProperties is a template class that provides each thread's properties within a workgroup. Please see
331
+ * the sycl-1.2.1 specification (https://www.khronos.org/registry/SYCL/specs/sycl-1.2.1.pdf) for the workgroup,
332
+ * work-items
333
+ *
334
+ * \tparam StorageIndex: determines the StorageIndex Type
335
+ *
336
+ * \param linearLocalThreadId: determines the linearized location of a thread within a work-group
337
+ *
338
+ * \param kGroupId: determines the logical group id in a k dimension of the flattened tensor. It will be > 1 when
339
+ * tall/skinny algorithm is used
340
+ *
341
+ * \param mGroupOffset: determines the logical start position of all thread within a workgroup for the m dimension of
342
+ * the flattened tensor.
343
+ *
344
+ * \param kGroupOffset determines the logical start position of all thread within a workgroup for the k dimension of the
345
+ * flattened tensor. It will be > 1 when tall/skinny algorithm is used.
346
+ *
347
+ * \param mLocalOffset: determines the logical start position of each thread within a workgroup for the m dimension of a
348
+ * flattened tensor. The position determines the distance of each thread within the workgroup from each other
349
+ * independent from their global position.
350
+ *
351
+ * \param nLocalOffset: determines the logical start position of each thread within a workgroup for the n dimension of a
352
+ * flattened tensor. The position determines the distance of each thread within the workgroup from each other
353
+ * independent from their global position.
354
+ *
355
+ * \param mGlobalOffset: determines the logical start position of each thread a thread for the m dimension on a
356
+ * flattened tensor
357
+ *
358
+ * \param nGlobalOffset: determines the logical start position of each thread a thread for the n dimension on a
359
+ * flattened tensor
360
+ *
361
+ * \param kSize : determine the number of the k elements of the flattened Tensor to be processed by each thread for the
362
+ * given tensor block. This is !=K dimension of Flattened Tensor when Tall/Skinny matrix is used.
363
+ *
364
+ * \param is_internal : this will determined if the thread within the work-group computes an internal block of tensor or
365
+ * the edge blocks. When it is internal, there is no need to check the boundaries and all the if stantement can be
366
+ * resolve by compiler.
367
+ */
368
+ template <typename StorageIndex>
369
+ struct ThreadProperties {
370
+ const StorageIndex linearLocalThreadId;
371
+ const StorageIndex kGroupId;
372
+ const StorageIndex mGroupOffset;
373
+ const StorageIndex nGroupOffset;
374
+ const StorageIndex kGroupOffset;
375
+ const StorageIndex mLocalOffset;
376
+ const StorageIndex nLocalOffset;
377
+ const StorageIndex mGlobalOffset;
378
+ const StorageIndex nGlobalOffset;
379
+ StorageIndex kSize;
380
+ const bool is_internal;
381
+ // this is used to adjust the last block
382
+ EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ThreadProperties(
383
+ const StorageIndex linearLocalThreadId_, const StorageIndex kGroupId_, const StorageIndex mGroupOffset_,
384
+ const StorageIndex nGroupOffset_, const StorageIndex kGroupOffset_, const StorageIndex mLocalOffset_,
385
+ const StorageIndex nLocalOffset_, const StorageIndex mGlobalOffset_, const StorageIndex nGlobalOffset_,
386
+ StorageIndex kSize_, const bool is_internal_)
387
+ : linearLocalThreadId(linearLocalThreadId_),
388
+ kGroupId(kGroupId_),
389
+ mGroupOffset(mGroupOffset_),
390
+ nGroupOffset(nGroupOffset_),
391
+ kGroupOffset(kGroupOffset_),
392
+ mLocalOffset(mLocalOffset_),
393
+ nLocalOffset(nLocalOffset_),
394
+ mGlobalOffset(mGlobalOffset_),
395
+ nGlobalOffset(nGlobalOffset_),
396
+ kSize(kSize_),
397
+ is_internal(is_internal_) {}
398
+ };
399
+
400
+ /*!
401
+ * \brief TensorContractionKernel is a template class that provides Tensor -Tensor contraction operation.
402
+ *
403
+ * \tparam OutScalar: determines the output scalar type
404
+ *
405
+ * \tparam LhsScalar: determines the left-hand-side scalar type
406
+ *
407
+ * \tparam RhsScalar: determines the right-hand-side scalar type
408
+ *
409
+ * \tparam OutAccessor: determines the sycl accessor type for out put (please see the sycl-1.2.1 specification
410
+ (https://www.khronos.org/registry/SYCL/specs/sycl-1.2.1.pdf) for accessor definition)
411
+ *
412
+ * \tparam LhsMapper determines the tensor contraction mapper type for left-hand-side matrix
413
+ *
414
+ * \tparam RhsMapper determines the tensor contraction mapper type for right-hand-side matrix
415
+ *
416
+ * \tparam StorageIndex: determines the StorageIndex Type
417
+ *
418
+ * \tparam Properties: determines the Contraction Panel properties
419
+ *
420
+ * \tparam TripleDim: determines the M, K, N dimensions for the flatten tensors in order to treat them as a matrix
421
+ *
422
+ * \tparam Vectorizable: determines whether or not the vectorization is enabled for the Eigen expression.
423
+ *
424
+ * \tparam input_mapper_properties : determine if the input tensors are matrix. If they are matrix, special memory
425
+ access is used to guarantee that always the memory access are coalesced.
426
+ *
427
+ * \tptaram IsFinal : determine if this is the final kernel. If so, the result will be written in a final output.
428
+ Otherwise, the result of contraction will be written iin a temporary buffer. This is the case when Tall/Skinny
429
+ contraction is used. So in this case, a final reduction step is required to compute final output.
430
+
431
+ * \tparam contraction_tp: it is an enum value representing whether the local memroy/no local memory implementation of
432
+ the algorithm to be used
433
+ *
434
+ * \param scratch: local memory containing tiles of LHS and RHS tensors for each work-group
435
+ *
436
+ * \param lhs: determines the left-hand-side flattened tensor (tensor mapper)
437
+ *
438
+ * \param rhs: determines the right-hand-side flattened tensor (tensor mapper)
439
+ *
440
+ * \param out_res: determines the output tensor containing the contraction result
441
+ *
442
+ * \param groupSizeM: a logical number determining the number of work-group for m dimension
443
+ *
444
+ * \param groupSizeN: a logical number determining the number of work-group for n dimension
445
+ *
446
+ * \param numTiles: determines total number of tiles on the k dimension
447
+ *
448
+ * \param TripleDim: determines the M, K, N dimensions for the flatten tensors in order to treat them as a matrix
449
+ */
450
+ template <typename OutScalar, typename LhsScalar, typename RhsScalar, typename OutAccessor, typename LhsMapper,
451
+ typename RhsMapper, typename StorageIndex, typename Properties, typename TripleDim, bool Vectorizable,
452
+ typename input_mapper_properties, bool IsFinal, contraction_type contraction_tp>
453
+ class TensorContractionKernel {
454
+ public:
455
+ typedef typename Eigen::TensorSycl::internal::Vectorise<OutScalar, Eigen::SyclDevice, Vectorizable>::PacketReturnType
456
+ PacketReturnType;
457
+ static EIGEN_CONSTEXPR int PacketSize =
458
+ Eigen::TensorSycl::internal::Vectorise<OutScalar, Eigen::SyclDevice, Vectorizable>::PacketSize;
459
+ static EIGEN_CONSTEXPR bool is_lhs_transposed =
460
+ !::Eigen::internal::TensorContractionInputMapperTrait<LhsMapper>::inner_dim_contiguous;
461
+ static EIGEN_CONSTEXPR bool is_rhs_transposed =
462
+ !::Eigen::internal::TensorContractionInputMapperTrait<RhsMapper>::inner_dim_contiguous;
463
+
464
+ typedef BlockProperties<is_lhs_transposed, false, input_mapper_properties::is_lhs_matrix && Vectorizable,
465
+ PacketReturnType>
466
+ LHSBlockProperties;
467
+
468
+ typedef BlockProperties<is_rhs_transposed, true, input_mapper_properties::is_rhs_matrix && Vectorizable,
469
+ PacketReturnType>
470
+ RHSBlockProperties;
471
+
472
+ static EIGEN_CONSTEXPR StorageIndex NStride =
473
+ contraction_tp == contraction_type::local ? Properties::WorkLoadPerThreadN : RHSBlockProperties::nc_stride;
474
+
475
+ typedef cl::sycl::accessor<OutScalar, 1, cl::sycl::access::mode::read_write, cl::sycl::access::target::local> Scratch;
476
+ typedef cl::sycl::multi_ptr<OutScalar, cl::sycl::access::address_space::local_space> local_ptr;
477
+ typedef OutScalar * /*cl::sycl::multi_ptr<OutScalar, cl::sycl::access::address_space::private_space>*/ private_ptr;
478
+ typedef
479
+ typename ::Eigen::internal::conditional<contraction_tp == contraction_type::local, local_ptr, private_ptr>::type
480
+ tile_ptr;
481
+ static EIGEN_CONSTEXPR StorageIndex LSDL = contraction_tp == contraction_type::local
482
+ ? Properties::TileSizeDimM + Properties::BC
483
+ : Properties::WorkLoadPerThreadM;
484
+ static EIGEN_CONSTEXPR StorageIndex LSDR = contraction_tp == contraction_type::local
485
+ ? Properties::TileSizeDimN + Properties::BC
486
+ : Properties::WorkLoadPerThreadN;
487
+ static EIGEN_CONSTEXPR StorageIndex LocalOffset = Properties::LocalThreadSizeM * Properties::LocalThreadSizeN;
488
+
489
+ /**
490
+ * \brief MemHolder this is a place holder struct for creating memory hierarchy in SYCL. Inside SYCL kernel it is not
491
+ * allowed to have dynamic memory allocation. While the local memory is created outside of the kernel and passed to
492
+ * the kernel as an accessor, the private memory can only allowed to be allocated statically. Since we are abstracting
493
+ * the TiledMemory for both local and private memory, the MemHolder structs is used as a helper to abstract out
494
+ * different type of memory needed when local/no_local memory computation is called.
495
+ *
496
+ * \tparam contraction_type: it is an enum value representing whether the local memroy/no local memory implementation
497
+ of the algorithm to be used
498
+ * \tparam the private memory size
499
+ * \param ptr the tile memory pointer type
500
+ */
501
+ template <contraction_type, StorageIndex>
502
+ struct MemHolder {
503
+ tile_ptr ptr;
504
+ EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE MemHolder(local_ptr block_start_ptr) : ptr(block_start_ptr) {}
505
+ };
506
+ /**
507
+ * \brief specialization of memHolder class when no local memory kernel is used.
508
+ */
509
+ template <StorageIndex MemSize>
510
+ struct MemHolder<contraction_type::no_local, MemSize> {
511
+ OutScalar ptr[MemSize] = {OutScalar{0}};
512
+ };
513
+ /**
514
+ * \brief TiledMemory: contains required memory pointer for loading each tile of the TensorContraction panel from
515
+ * global memory to local/private memory when local/no_local algorithm used.
516
+ *
517
+ * \param lhs_scratch_extract : determines the LHS tile memory. It is either private or local memory based on the
518
+ * selected contraction_type.
519
+ *
520
+ * \param rhs_scratch_extract : determines the RHS tile memory. It is either private or local memory based on the
521
+ * selected contraction_type.
522
+ *
523
+ * \param lhs_extract_index: determins the position of each thread on a local memory for lhs input. When private
524
+ * memory is used this is set to zero as this is not applicable in case of private memory.
525
+ *
526
+ * \param rhs_extract_index: determins the position of each thread on a local memory for rhs input. When private
527
+ * memory is used this is set to zero as this is not applicable in case of private memory.
528
+ *
529
+ * \param lhs_scratch_compute : determines the location to load for computation for lhs_local memory. This is the
530
+ * same as lhs_scratch_extract for private memory.
531
+ *
532
+ * \param rhs_scratch_compute : determines the location to load for computation for rhs_local memory. This is the
533
+ * same as rhs_scratch_extract for private memory.
534
+ */
535
+ struct TiledMemory {
536
+ MemHolder<contraction_tp, Properties::WorkLoadPerThreadM * Properties::TileSizeDimK> lhs_scratch_extract;
537
+ MemHolder<contraction_tp, Properties::WorkLoadPerThreadN * Properties::TileSizeDimK> rhs_scratch_extract;
538
+ tile_ptr lhs_scratch_ptr_compute;
539
+ tile_ptr rhs_scratch_ptr_compute;
540
+ const std::pair<StorageIndex, StorageIndex> lhs_extract_index;
541
+ const std::pair<StorageIndex, StorageIndex> rhs_extract_index;
542
+ template <contraction_type tp = contraction_tp>
543
+ EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
544
+ TiledMemory(const ThreadProperties<StorageIndex> &, local_ptr,
545
+ typename ::Eigen::internal::enable_if<tp == contraction_type::no_local>::type * = 0)
546
+ : lhs_scratch_extract{},
547
+ rhs_scratch_extract{},
548
+ lhs_scratch_ptr_compute(lhs_scratch_extract.ptr),
549
+ rhs_scratch_ptr_compute(rhs_scratch_extract.ptr),
550
+ lhs_extract_index(std::pair<StorageIndex, StorageIndex>(StorageIndex{0}, StorageIndex{0})),
551
+ rhs_extract_index(std::pair<StorageIndex, StorageIndex>(StorageIndex{0}, StorageIndex{0})) {}
552
+
553
+ template <contraction_type tp = contraction_tp>
554
+ EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
555
+ TiledMemory(const ThreadProperties<StorageIndex> &thread_properties, local_ptr block_start_ptr,
556
+ typename ::Eigen::internal::enable_if<tp == contraction_type::local>::type * = 0)
557
+ : lhs_scratch_extract{block_start_ptr},
558
+ rhs_scratch_extract{lhs_scratch_extract.ptr +
559
+ ((Properties::DoubleBuffer + 1) * LSDL * Properties::TileSizeDimK)},
560
+ lhs_scratch_ptr_compute(lhs_scratch_extract.ptr + thread_properties.mLocalOffset),
561
+ rhs_scratch_ptr_compute(rhs_scratch_extract.ptr + thread_properties.nLocalOffset),
562
+ lhs_extract_index(
563
+ local_id_extract<LHSBlockProperties, Properties::TileSizeDimM>(thread_properties.linearLocalThreadId)),
564
+ rhs_extract_index(
565
+ local_id_extract<RHSBlockProperties, Properties::TileSizeDimN>(thread_properties.linearLocalThreadId)) {}
566
+ };
567
+
568
+ Scratch scratch;
569
+ const LhsMapper lhs;
570
+ const RhsMapper rhs;
571
+ OutAccessor out_res;
572
+ const StorageIndex groupSizeM;
573
+ const StorageIndex groupSizeN;
574
+ const StorageIndex numTiles;
575
+ const TripleDim triple_dim;
576
+
577
+ EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorContractionKernel(Scratch scratch_, const LhsMapper lhs_,
578
+ const RhsMapper rhs_, OutAccessor out_res_,
579
+ const StorageIndex groupSizeM_,
580
+ const StorageIndex groupSizeN_,
581
+ const StorageIndex numTiles_,
582
+ const TripleDim triple_dim_)
583
+ : scratch(scratch_),
584
+ lhs(lhs_),
585
+ rhs(rhs_),
586
+ out_res(out_res_),
587
+ groupSizeM(groupSizeM_),
588
+ groupSizeN(groupSizeN_),
589
+ numTiles(numTiles_),
590
+ triple_dim(triple_dim_) {}
591
+
592
+ EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorContractionKernel(Scratch scratch_, const LhsMapper lhs_,
593
+ const RhsMapper rhs_, OutAccessor out_res_,
594
+ const StorageIndex groupSizeM_,
595
+ const StorageIndex numTiles_,
596
+ const TripleDim triple_dim_)
597
+ : TensorContractionKernel(scratch_, lhs_, rhs_, out_res_, groupSizeM_, 1, numTiles_, triple_dim_) {}
598
+
599
+ EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void operator()(cl::sycl::nd_item<1> itemID) {
600
+ const StorageIndex linearLocalThreadId = itemID.get_local_id(0);
601
+ const StorageIndex nLocalThreadId = linearLocalThreadId / Properties::LocalThreadSizeM;
602
+ const StorageIndex mLocalThreadId = linearLocalThreadId % Properties::LocalThreadSizeM;
603
+ const StorageIndex mGroupId = itemID.get_group(0) % groupSizeM;
604
+ const StorageIndex tmp = itemID.get_group(0) / groupSizeM;
605
+ const StorageIndex nGroupId = IsFinal ? tmp : tmp % groupSizeN;
606
+ const StorageIndex kGroupId = IsFinal ? 0 : tmp / groupSizeN;
607
+ const StorageIndex mGroupOffset = mGroupId * Properties::TileSizeDimM;
608
+ const StorageIndex nGroupOffset = nGroupId * Properties::TileSizeDimN;
609
+ const StorageIndex mLocalOffset = PacketSize * mLocalThreadId;
610
+ const StorageIndex nLocalOffset = NStride * nLocalThreadId;
611
+ const StorageIndex mGlobalOffset = mGroupOffset + mLocalOffset;
612
+ const StorageIndex nGlobalOffset = nGroupOffset + nLocalOffset;
613
+
614
+ const StorageIndex kSizePerWG = IsFinal ? triple_dim.K : numTiles * Properties::TileSizeDimK;
615
+ StorageIndex kGroupOffset = kGroupId * kSizePerWG;
616
+ const bool is_internal = triple_dim.M - mGroupOffset >= Properties::TileSizeDimM &&
617
+ triple_dim.N - nGroupOffset >= Properties::TileSizeDimN &&
618
+ triple_dim.K - kGroupOffset >= kSizePerWG;
619
+ // this is used to adjust the last block
620
+ StorageIndex kSize = IsFinal ? triple_dim.K : std::min(kSizePerWG, triple_dim.K - kGroupOffset);
621
+ // This is used to find out the lats K offset so that kGroupOffset -kSize can compute the coffset for loading to
622
+ // tile
623
+ kGroupOffset += kSize;
624
+
625
+ auto thread_properties =
626
+ ThreadProperties<StorageIndex>(linearLocalThreadId, kGroupId, mGroupOffset, nGroupOffset, kGroupOffset,
627
+ mLocalOffset, nLocalOffset, mGlobalOffset, nGlobalOffset, kSize, is_internal);
628
+
629
+ auto out_ptr = out_res.get_pointer() + (IsFinal ? 0 : thread_properties.kGroupId * triple_dim.M * triple_dim.N);
630
+
631
+ (thread_properties.is_internal) ? compute_panel<true>(itemID, thread_properties, out_ptr)
632
+ : compute_panel<false>(itemID, thread_properties, out_ptr);
633
+ }
634
+ // The compute block computes the contraction operation private block for each thread and store the resutl in the
635
+ // privateRes memory of Each computation the compute block function is independent of local and no local concepts as
636
+ // it only compute the block on each thread's private memory space
637
+ EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void compute_block_per_tile(OutScalar *lhs_block_ptr, OutScalar *rhs_block_ptr,
638
+ PacketReturnType *privateRes) {
639
+ StorageIndex idx = 0;
640
+ EIGEN_CONSTEXPR StorageIndex lhs_stride =
641
+ contraction_tp == contraction_type::local ? (PacketSize * Properties::LocalThreadSizeM) : 1;
642
+ EIGEN_UNROLL_LOOP
643
+ for (StorageIndex wLPTN = 0; wLPTN < Properties::WorkLoadPerThreadN; wLPTN++) {
644
+ auto rhsPacket = PacketReturnType{*(rhs_block_ptr + wLPTN)};
645
+ StorageIndex lhs_index = 0;
646
+ EIGEN_UNROLL_LOOP
647
+ for (StorageIndex wLPTM = 0; wLPTM < Properties::WorkLoadPerThreadM / PacketSize; wLPTM++) {
648
+ PacketReturnType lhsPack{};
649
+ Eigen::TensorSycl::internal::PacketWrapper<PacketReturnType, PacketSize>::set_packet(lhsPack,
650
+ lhs_block_ptr + lhs_index);
651
+ privateRes[idx] = ::Eigen::internal::pmadd(lhsPack, rhsPacket, privateRes[idx]);
652
+
653
+ lhs_index += lhs_stride;
654
+ idx++;
655
+ }
656
+ }
657
+ }
658
+ // The store function write the computed contraction operation in the private memory of each thread to the global
659
+ // memory. The store function is independent of local and no local concepts s that it can be abstract out in the base
660
+ // class.
661
+ template <bool is_internal_block, StorageIndex PrivateNStride, typename OutPtr>
662
+ EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void store(OutPtr *out_ptr, PacketReturnType *privateRes,
663
+ StorageIndex mGlobalOffset, StorageIndex nGlobalOffset) {
664
+ auto chk_bound = [&](const StorageIndex &mIndex, const StorageIndex &nIndex) EIGEN_DEVICE_FUNC {
665
+ return (mIndex + PacketSize - 1 < triple_dim.M && nGlobalOffset + nIndex < triple_dim.N);
666
+ };
667
+ // when local memory is not used M and N are both accessed in a coalesced way. However, when local memory is
668
+ // available the k*N is transposed in the local to N*K therefore, each blocks operates on blockId*
669
+ // WorkLoadPerThreadN slice of N
670
+ EIGEN_CONSTEXPR StorageIndex GlobalNStride =
671
+ contraction_tp == contraction_type::local ? 1 : Properties::LocalThreadSizeN;
672
+ EIGEN_UNROLL_LOOP
673
+ for (StorageIndex wLPTN = 0; wLPTN < Properties::WorkLoadPerThreadN / PrivateNStride; wLPTN++) {
674
+ // output leading dimension
675
+ StorageIndex outputLD = 0;
676
+ // When local memory is used the PrivateNstride is always 1 because the coalesed access on N is loaded into Local
677
+ // memory and extracting from local to global is the same as no transposed version. However, when local memory is
678
+ // not used and RHS is transposed we packetize the load for RHS.
679
+ EIGEN_UNROLL_LOOP
680
+ for (StorageIndex nId = 0; nId < PrivateNStride; nId++) {
681
+ StorageIndex globalRow = mGlobalOffset;
682
+ EIGEN_UNROLL_LOOP
683
+ for (StorageIndex wLPTM = 0; wLPTM < Properties::WorkLoadPerThreadM / PacketSize; wLPTM++) {
684
+ PacketReturnType privetOut = privateRes[wLPTM];
685
+ if (check_boundary<is_internal_block>(chk_bound(globalRow, nId))) {
686
+ // Store the final results in C. The C matrix has always M as a first StorageIndex and N as a second
687
+ // StorageIndex Therefore it is always coalesced layout
688
+ write<data_source::global_mem>(privetOut, out_ptr + outputLD + globalRow);
689
+ } else {
690
+ EIGEN_UNROLL_LOOP
691
+ for (StorageIndex mId = 0; mId < PacketSize; mId++) {
692
+ StorageIndex mOffset = globalRow + mId;
693
+ if (mOffset < triple_dim.M && (nGlobalOffset + nId < triple_dim.N)) {
694
+ out_ptr[mOffset + outputLD] =
695
+ Eigen::TensorSycl::internal::PacketWrapper<PacketReturnType, PacketSize>::scalarize(mId, privetOut);
696
+ }
697
+ }
698
+ }
699
+ globalRow += (PacketSize * Properties::LocalThreadSizeM);
700
+ }
701
+ outputLD += triple_dim.M;
702
+ privateRes += Properties::WorkLoadPerThreadM / PacketSize;
703
+ }
704
+ out_ptr += (GlobalNStride * outputLD);
705
+
706
+ nGlobalOffset += (PrivateNStride * GlobalNStride);
707
+ }
708
+ }
709
+ // when no local memory is used the following extract_block will be enabled
710
+ template <typename InputBlockProperties, bool is_internal_block, typename Input, typename PrivateReg,
711
+ contraction_type contract_tp = contraction_tp>
712
+ EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
713
+ typename ::Eigen::internal::enable_if<contract_tp == contraction_type::no_local>::type
714
+ extract_block(const Input &inpt, PrivateReg private_ptr, const std::pair<StorageIndex, StorageIndex> &,
715
+ const StorageIndex &ncOffset, const StorageIndex cOffset) {
716
+ EIGEN_CONSTEXPR StorageIndex LocalThreadSizeNC =
717
+ InputBlockProperties::is_rhs ? Properties::LocalThreadSizeN : Properties::LocalThreadSizeM;
718
+ EIGEN_CONSTEXPR StorageIndex WorkLoadPerThreadNC =
719
+ InputBlockProperties::is_rhs ? Properties::WorkLoadPerThreadN : Properties::WorkLoadPerThreadM;
720
+ const StorageIndex &NC = InputBlockProperties::is_rhs ? triple_dim.N : triple_dim.M;
721
+
722
+ auto chk_bound = [&](const StorageIndex &CIndex, const StorageIndex &NCIndex) EIGEN_DEVICE_FUNC {
723
+ return ((CIndex + InputBlockProperties::c_stride - 1 < triple_dim.K) &&
724
+ (NCIndex + InputBlockProperties::nc_stride - 1 < NC));
725
+ };
726
+ const StorageIndex ld = InputBlockProperties::is_coalesced_layout ? NC : triple_dim.K;
727
+ StorageIndex cIndex = cOffset;
728
+
729
+ EIGEN_UNROLL_LOOP
730
+ for (StorageIndex cId = 0; cId < Properties::TileSizeDimK / InputBlockProperties::c_stride; cId++) {
731
+ StorageIndex ncIndex = ncOffset;
732
+ EIGEN_UNROLL_LOOP
733
+ for (StorageIndex ncId = 0; ncId < WorkLoadPerThreadNC / InputBlockProperties::nc_stride; ncId++) {
734
+ if (check_boundary<is_internal_block>(chk_bound(cIndex, ncIndex))) {
735
+ auto val =
736
+ read<InputBlockProperties::packet_load, InputBlockProperties::is_coalesced_layout,
737
+ InputBlockProperties::is_rhs, typename InputBlockProperties::OutType>(inpt, ncIndex, cIndex, ld);
738
+
739
+ write<StorageIndex, (InputBlockProperties::is_coalesced_layout ? 1 : WorkLoadPerThreadNC),
740
+ data_source::private_mem>(val, private_ptr);
741
+ } else {
742
+ EIGEN_UNROLL_LOOP
743
+ for (StorageIndex i = 0; i < InputBlockProperties::elements_per_access; i++) {
744
+ const StorageIndex ncInd = ncIndex + (InputBlockProperties::is_coalesced_layout ? i : 0);
745
+ const StorageIndex cInd = cIndex + (InputBlockProperties::is_coalesced_layout ? 0 : i);
746
+ OutScalar val =
747
+ (ncInd < NC && cInd < triple_dim.K)
748
+ ? read<false, InputBlockProperties::is_coalesced_layout, InputBlockProperties::is_rhs, OutScalar>(
749
+ inpt, ncInd, cInd, ld)
750
+ : OutScalar(0);
751
+ write<StorageIndex, (InputBlockProperties::is_coalesced_layout ? 1 : WorkLoadPerThreadNC),
752
+ data_source::private_mem>(
753
+ val, private_ptr + (InputBlockProperties::is_coalesced_layout ? i : 0) +
754
+ ((InputBlockProperties::is_coalesced_layout ? 0 : i) * WorkLoadPerThreadNC));
755
+ }
756
+ }
757
+
758
+ // if it is lhs we have to load it packetised when the packet size is > 1, because the output is coalesced. So
759
+ // even if M is not accessed in a coalesced mode, we have to load packet_size number of m per thread.
760
+ ncIndex = (!InputBlockProperties::is_rhs && InputBlockProperties::nc_stride == 1 && PacketSize != 1)
761
+ ? ncOffset + (ncId + 1) % PacketSize + ((ncId + 1) / PacketSize) * LocalThreadSizeNC
762
+ : (ncIndex + InputBlockProperties::nc_stride * LocalThreadSizeNC);
763
+ private_ptr += InputBlockProperties::nc_stride;
764
+ }
765
+ // the previous for loop ( private_ptr += (ncId * nc_stride)) has already moved ptr with one WorkLoadPerThreadNC
766
+ private_ptr += (InputBlockProperties::c_stride - 1) * WorkLoadPerThreadNC;
767
+ cIndex += InputBlockProperties::c_stride;
768
+ }
769
+ }
770
+ template <typename InputBlockProperties, StorageIndex TileSizeDimNC>
771
+ static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE std::pair<StorageIndex, StorageIndex> local_id_extract(
772
+ const StorageIndex &linearLocalThreadId) {
773
+ const StorageIndex localThreadNC =
774
+ (InputBlockProperties::is_coalesced_layout)
775
+ ? linearLocalThreadId % (TileSizeDimNC / InputBlockProperties::nc_stride)
776
+ : linearLocalThreadId / (Properties::TileSizeDimK / InputBlockProperties::c_stride);
777
+ const StorageIndex localThreadC =
778
+ (InputBlockProperties::is_coalesced_layout)
779
+ ? linearLocalThreadId / (TileSizeDimNC / InputBlockProperties::nc_stride)
780
+ : linearLocalThreadId % (Properties::TileSizeDimK / InputBlockProperties::c_stride);
781
+ return std::pair<StorageIndex, StorageIndex>(localThreadNC, localThreadC);
782
+ }
783
+
784
+ template <bool db = Properties::DoubleBuffer, contraction_type ctp = contraction_tp>
785
+ static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
786
+ typename ::Eigen::internal::enable_if<db && ctp == contraction_type::local>::type
787
+ sync_mem(const cl::sycl::nd_item<1> &, bool &db_offset) noexcept {
788
+ db_offset = !db_offset;
789
+ }
790
+
791
+ template <bool db = Properties::DoubleBuffer, contraction_type ctp = contraction_tp>
792
+ static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
793
+ typename ::Eigen::internal::enable_if<!db && ctp == contraction_type::local>::type
794
+ sync_mem(const cl::sycl::nd_item<1> &itemID, bool &) noexcept {
795
+ itemID.barrier(cl::sycl::access::fence_space::local_space);
796
+ }
797
+
798
+ template <contraction_type ctp = contraction_tp>
799
+ static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
800
+ typename ::Eigen::internal::enable_if<ctp == contraction_type::no_local>::type
801
+ sync_mem(const cl::sycl::nd_item<1> &, bool &) noexcept {
802
+ return;
803
+ }
804
+
805
+ template <bool need_sync, contraction_type ctp = contraction_tp>
806
+ static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
807
+ typename ::Eigen::internal::enable_if<need_sync && ctp == contraction_type::no_local>::type
808
+ sync_thread(const cl::sycl::nd_item<1> &
809
+ #ifdef EIGEN_SYCL_ARM_GPU_CACHE_OPTIMISATION
810
+ itemID
811
+ #endif
812
+ ) noexcept {
813
+ #ifdef EIGEN_SYCL_ARM_GPU_CACHE_OPTIMISATION
814
+ itemID.barrier(cl::sycl::access::fence_spacce::local_space);
815
+ #else
816
+ return;
817
+ #endif
818
+ }
819
+ template <bool need_sync, contraction_type ctp = contraction_tp>
820
+ static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
821
+ typename ::Eigen::internal::enable_if<need_sync && ctp == contraction_type::local>::type
822
+ sync_thread(const cl::sycl::nd_item<1> &itemID) {
823
+ itemID.barrier(cl::sycl::access::fence_space::local_space);
824
+ }
825
+ template <bool need_sync>
826
+ static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE typename ::Eigen::internal::enable_if<!need_sync>::type sync_thread(
827
+ const cl::sycl::nd_item<1> &) {
828
+ return;
829
+ }
830
+
831
+ template <bool is_internal_block>
832
+ EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void compute_tile_per_panel(const cl::sycl::nd_item<1> &itemID,
833
+ ThreadProperties<StorageIndex> &thread_properties,
834
+ TiledMemory &tiled_input_block,
835
+ PacketReturnType *privateRes, bool &db_offset) {
836
+ // Tiling the Rhs block from global to local memory
837
+ extract_block<RHSBlockProperties, is_internal_block>(
838
+ rhs, tiled_input_block.rhs_scratch_extract.ptr + (db_offset * Properties::TileSizeDimK * LSDR),
839
+ tiled_input_block.rhs_extract_index,
840
+ contraction_tp == contraction_type::local ? thread_properties.nGroupOffset : thread_properties.nGlobalOffset,
841
+ thread_properties.kGroupOffset - thread_properties.kSize);
842
+
843
+ sync_thread<contraction_tp == contraction_type::no_local>(itemID);
844
+
845
+ // Tiling the Lhs block from global to local memory
846
+ extract_block<LHSBlockProperties, is_internal_block>(
847
+ lhs, tiled_input_block.lhs_scratch_extract.ptr + (db_offset * LSDL * Properties::TileSizeDimK),
848
+ tiled_input_block.lhs_extract_index,
849
+ contraction_tp == contraction_type::local ? thread_properties.mGroupOffset : thread_properties.mGlobalOffset,
850
+ thread_properties.kGroupOffset - thread_properties.kSize);
851
+
852
+ // itemID.barrier(cl::sycl::access::fence_space::local_space);
853
+ sync_thread<contraction_tp == contraction_type::local>(itemID);
854
+ // switch to compute mede
855
+ StorageIndex lhs_offset = (db_offset * LSDL * Properties::TileSizeDimK);
856
+ StorageIndex rhs_offset = (db_offset * Properties::TileSizeDimK * LSDR);
857
+ // Loop over the values of a single tile
858
+ for (StorageIndex k = 0; k < Properties::TileSizeDimK; k++) {
859
+ compute_block_per_tile(tiled_input_block.lhs_scratch_ptr_compute + lhs_offset,
860
+ tiled_input_block.rhs_scratch_ptr_compute + rhs_offset, privateRes);
861
+ lhs_offset += LSDL;
862
+ rhs_offset += LSDR;
863
+ }
864
+ // computing the K index for the next tile
865
+ thread_properties.kSize -= Properties::TileSizeDimK;
866
+ sync_mem(itemID, db_offset);
867
+ }
868
+
869
+ // when local memory is available the following compute_panel will be enabled
870
+ template <bool is_internal_block, typename OutPtr>
871
+ EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void compute_panel(const cl::sycl::nd_item<1> &itemID,
872
+ ThreadProperties<StorageIndex> &thread_properties,
873
+ OutPtr out_ptr) {
874
+ auto tiled_input_block = TiledMemory{thread_properties, scratch.get_pointer()};
875
+ // Allocate register space
876
+ PacketReturnType privateRes[Properties::WorkLoadPerThreadM * Properties::WorkLoadPerThreadN / PacketSize] = {
877
+ PacketReturnType{0}};
878
+ bool db_offset = 0;
879
+
880
+ while (thread_properties.kSize >= Properties::TileSizeDimK) {
881
+ compute_tile_per_panel<is_internal_block>(itemID, thread_properties, tiled_input_block, privateRes, db_offset);
882
+ }
883
+ if (thread_properties.kSize > 0) {
884
+ compute_tile_per_panel<false>(itemID, thread_properties, tiled_input_block, privateRes, db_offset);
885
+ }
886
+
887
+ // Storing the final results in the output
888
+ store<is_internal_block,
889
+ contraction_tp == contraction_type::local ? static_cast<StorageIndex>(1) : RHSBlockProperties::nc_stride>(
890
+ out_ptr + thread_properties.nGlobalOffset * triple_dim.M, privateRes, thread_properties.mGlobalOffset,
891
+ thread_properties.nGlobalOffset);
892
+ }
893
+ // When local memory is available the following extract_block will be enabled
894
+ template <typename InputBlockProperties, bool is_internal_block, typename Input, typename Local,
895
+ contraction_type contract_tp = contraction_tp>
896
+ EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
897
+ typename ::Eigen::internal::enable_if<contract_tp == contraction_type::local>::type
898
+ extract_block(const Input &inpt, Local local_ptr, const std::pair<StorageIndex, StorageIndex>& local_index,
899
+ const StorageIndex &ncOffset, const StorageIndex cOffset) {
900
+ EIGEN_CONSTEXPR StorageIndex TileSizeDimNC =
901
+ InputBlockProperties::is_rhs ? Properties::TileSizeDimN : Properties::TileSizeDimM;
902
+ EIGEN_CONSTEXPR StorageIndex LoadPerThread =
903
+ InputBlockProperties::is_rhs ? Properties::LoadPerThreadRhs : Properties::LoadPerThreadLhs;
904
+ EIGEN_CONSTEXPR StorageIndex LSD = InputBlockProperties::is_rhs ? LSDR : LSDL;
905
+ static_assert(((LocalOffset % (TileSizeDimNC / InputBlockProperties::nc_stride) == 0) &&
906
+ (LocalOffset % (Properties::TileSizeDimK / InputBlockProperties::c_stride) == 0)),
907
+ " LocalOffset must be divisable by stride");
908
+ const StorageIndex &NC = InputBlockProperties::is_rhs ? triple_dim.N : triple_dim.M;
909
+ StorageIndex localThreadNC = local_index.first;
910
+ StorageIndex localThreadC = local_index.second;
911
+ auto chk_bound = [&](const StorageIndex &CIndex, const StorageIndex &NCIndex) EIGEN_DEVICE_FUNC {
912
+ return ((CIndex + InputBlockProperties::c_stride - 1 < triple_dim.K) &&
913
+ (NCIndex + InputBlockProperties::nc_stride - 1 < NC));
914
+ };
915
+ EIGEN_UNROLL_LOOP
916
+ for (StorageIndex lPT = 0; lPT < LoadPerThread / InputBlockProperties::elements_per_access; lPT++) {
917
+ const StorageIndex CIndex = cOffset + (InputBlockProperties::c_stride * localThreadC);
918
+ const StorageIndex NCIndex = ncOffset + (InputBlockProperties::nc_stride * localThreadNC);
919
+ const StorageIndex ld = InputBlockProperties::is_coalesced_layout ? NC : triple_dim.K;
920
+ if (check_boundary<is_internal_block>(chk_bound(CIndex, NCIndex))) {
921
+ auto val =
922
+ read<InputBlockProperties::packet_load, InputBlockProperties::is_coalesced_layout,
923
+ InputBlockProperties::is_rhs, typename InputBlockProperties::OutType>(inpt, NCIndex, CIndex, ld);
924
+ write<StorageIndex, (InputBlockProperties::is_coalesced_layout ? 1 : LSD), data_source::local_mem>(
925
+ val, local_ptr + (InputBlockProperties::nc_stride * localThreadNC) +
926
+ (InputBlockProperties::c_stride * localThreadC * LSD));
927
+ } else {
928
+ EIGEN_UNROLL_LOOP
929
+ for (StorageIndex i = 0; i < InputBlockProperties::elements_per_access; i++) {
930
+ const StorageIndex nCInd = NCIndex + (InputBlockProperties::is_coalesced_layout ? i : 0);
931
+ const StorageIndex cInd = CIndex + (InputBlockProperties::is_coalesced_layout ? 0 : i);
932
+ OutScalar val =
933
+ (nCInd < NC && cInd < triple_dim.K)
934
+ ? read<false, InputBlockProperties::is_coalesced_layout, InputBlockProperties::is_rhs, OutScalar>(
935
+ inpt, nCInd, cInd, ld)
936
+ : OutScalar(0);
937
+
938
+ write<StorageIndex, (InputBlockProperties::is_coalesced_layout ? 1 : LSD), data_source::local_mem>(
939
+ val, local_ptr + (InputBlockProperties::nc_stride * localThreadNC) +
940
+ (InputBlockProperties::is_coalesced_layout ? i : 0) +
941
+ ((InputBlockProperties::c_stride * localThreadC +
942
+ (InputBlockProperties::is_coalesced_layout ? 0 : i)) *
943
+ LSD));
944
+ }
945
+ }
946
+ localThreadNC += (InputBlockProperties::is_coalesced_layout)
947
+ ? LocalOffset % (TileSizeDimNC / InputBlockProperties::nc_stride)
948
+ : LocalOffset / (Properties::TileSizeDimK / InputBlockProperties::c_stride);
949
+ localThreadC += (InputBlockProperties::is_coalesced_layout)
950
+ ? LocalOffset / (TileSizeDimNC / InputBlockProperties::nc_stride)
951
+ : LocalOffset % (Properties::TileSizeDimK / InputBlockProperties::c_stride);
952
+ }
953
+ }
954
+ };
955
+
956
+ #ifndef EIGEN_SYCL_DISABLE_GEMV
957
+
958
+ /*!
959
+ * \brief GeneralVectorTensor is a template class that provides Tensor -vector contraction operation, which is a special
960
+ * case of Tensor Tensor contraction.
961
+ *
962
+ * \tparam OutScalar: determines the output scalar type
963
+ *
964
+ * \tparam OutAccessor: determines the sycl accessor type for out put (please see the sycl-1.2.1 specification
965
+ * (https://www.khronos.org/registry/SYCL/specs/sycl-1.2.1.pdf) for accessor definition)
966
+ *
967
+ * \tparam VectorMapper: determines the tensor contraction mapper for the vector input (can be lhs or rhs)
968
+ *
969
+ * \tparam TensorMapper: determines the tensor contraction mapper for the tensor input (can be lhs or rhs)
970
+ *
971
+ * \tparam StorageIndex: determines the StorageIndex Type
972
+ *
973
+ * \tparam Properties: determines the Contraction Panel properties
974
+ *
975
+ * \tparam KFactor: determines the number of elements in K dimension in a Tile
976
+ *
977
+ * \tparam Vectorizable: determines whether or not the vectorization is enabled for the Eigen expression.
978
+ *
979
+ * \tparam is_lhs_vec: determines whether lhs is a vector or rhs is a vector
980
+ *
981
+ * \tparam IsFinal: determine if this is the final kernel. If so, the result will be written in a final output.
982
+ * Otherwise, the result of contraction will be written iin a temporary buffer.
983
+ *
984
+ * \param scratch: determines the local memory containing the vector block for each work-group
985
+ *
986
+ * \param vec: determines the vector input (tensor mapper)
987
+ *
988
+ * \param mat: determines the tensor input (tensor mapper)
989
+ *
990
+ * \param out_res: determines the output vector containing the contraction result
991
+ *
992
+ * \param nonContractGroupSize: a logical number determining the number of work-group for non-contracting dimension
993
+ *
994
+ * \param nonContractDim: determines the size of non contracting dimension for the flattened tensor
995
+ *
996
+ * \param contractDim: determines the size of non contracting dimension for the flattened tensor
997
+ *
998
+ */
999
+ template <typename OutScalar, typename OutAccessor, typename VectorMapper, typename TensorMapper, typename StorageIndex,
1000
+ typename Properties, StorageIndex KFactor, bool Vectorizable, bool is_lhs_vec, bool IsFinal>
1001
+ struct GeneralVectorTensor {
1002
+ typedef typename Eigen::TensorSycl::internal::Vectorise<OutScalar, Eigen::SyclDevice, Vectorizable>::PacketReturnType
1003
+ PacketReturnType;
1004
+ static EIGEN_CONSTEXPR int PacketSize =
1005
+ Eigen::TensorSycl::internal::Vectorise<OutScalar, Eigen::SyclDevice, Vectorizable>::PacketSize;
1006
+ typedef cl::sycl::accessor<OutScalar, 1, cl::sycl::access::mode::read_write, cl::sycl::access::target::local> Scratch;
1007
+
1008
+ static EIGEN_CONSTEXPR StorageIndex OutScratchOffset =
1009
+ KFactor * Properties::LocalThreadSizeC * Properties::LocalThreadSizeNC;
1010
+
1011
+ // Since the access layout for a vector can always be coalesced, when LHS is a vector, we pass false and false to make
1012
+ // sure that the !^ is true When RHS is a vector, we pass true and true to make sure that the !^ is true.
1013
+ typedef BlockProperties<is_lhs_vec ? false : true, is_lhs_vec ? false : true, Vectorizable, PacketReturnType>
1014
+ VecBlockProperties;
1015
+
1016
+ Scratch scratch;
1017
+ const VectorMapper vec;
1018
+ const TensorMapper mat;
1019
+ OutAccessor out_res;
1020
+ const StorageIndex nonContractGroupSize;
1021
+ const StorageIndex nonContractDim;
1022
+ const StorageIndex contractDim;
1023
+
1024
+ EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE GeneralVectorTensor(Scratch scratch_, const VectorMapper vec_,
1025
+ const TensorMapper mat_, OutAccessor out_res_,
1026
+ const StorageIndex nonContractGroupSize_,
1027
+ const StorageIndex nonContractDim_,
1028
+ const StorageIndex contractDim_)
1029
+ : scratch(scratch_),
1030
+ vec(vec_),
1031
+ mat(mat_),
1032
+ out_res(out_res_),
1033
+ nonContractGroupSize(nonContractGroupSize_),
1034
+ nonContractDim(nonContractDim_),
1035
+ contractDim(contractDim_) {}
1036
+
1037
+ EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void operator()(cl::sycl::nd_item<1> itemID) {
1038
+ auto scratch_ptr = scratch.get_pointer();
1039
+ const StorageIndex linearLocalThreadId = itemID.get_local_id(0);
1040
+ StorageIndex nonContractId = is_lhs_vec ? linearLocalThreadId / Properties::LocalThreadSizeC
1041
+ : linearLocalThreadId % Properties::LocalThreadSizeNC;
1042
+ StorageIndex contractId = is_lhs_vec ? linearLocalThreadId % Properties::LocalThreadSizeC
1043
+ : linearLocalThreadId / Properties::LocalThreadSizeNC;
1044
+ const StorageIndex cGroupSize = itemID.get_group_range(0) / nonContractGroupSize;
1045
+ const StorageIndex nonContractGroupId =
1046
+ is_lhs_vec ? itemID.get_group(0) / cGroupSize : itemID.get_group(0) % nonContractGroupSize;
1047
+ const StorageIndex contractGroupId =
1048
+ is_lhs_vec ? itemID.get_group(0) % cGroupSize : itemID.get_group(0) / nonContractGroupSize;
1049
+ auto out_ptr = out_res.get_pointer() + (IsFinal ? 0 : contractGroupId * nonContractDim);
1050
+
1051
+ const StorageIndex nonContractGroupOffset = nonContractGroupId * Properties::TileSizeDimNC;
1052
+ const StorageIndex contractGroupOffset = contractGroupId * Properties::TileSizeDimC;
1053
+ auto outScratchIndex = nonContractId + contractId * Properties::LocalThreadSizeNC;
1054
+ const StorageIndex globalNonContractDimOffset = nonContractGroupOffset + nonContractId;
1055
+ const StorageIndex globalContractDimOffset = contractGroupOffset + contractId;
1056
+ auto local_output = scratch_ptr + OutScratchOffset;
1057
+ const bool is_internal = nonContractDim - nonContractGroupOffset >= Properties::TileSizeDimNC &&
1058
+ contractDim - contractGroupOffset >= Properties::TileSizeDimC;
1059
+ is_internal
1060
+ ? compute_panel<true>(itemID, vec, mat, local_output, out_ptr,
1061
+ #ifdef EIGEN_SYCL_LOCAL_MEM_UNSET_OR_ON
1062
+ scratch_ptr, contractGroupOffset,
1063
+ #endif
1064
+ nonContractGroupOffset, linearLocalThreadId, contractDim, nonContractDim, contractId,
1065
+ nonContractId, globalContractDimOffset, globalNonContractDimOffset, outScratchIndex)
1066
+ : compute_panel<false>(itemID, vec, mat, local_output, out_ptr,
1067
+ #ifdef EIGEN_SYCL_LOCAL_MEM_UNSET_OR_ON
1068
+ scratch_ptr, contractGroupOffset,
1069
+ #endif
1070
+ nonContractGroupOffset, linearLocalThreadId, contractDim, nonContractDim, contractId,
1071
+ nonContractId, globalContractDimOffset, globalNonContractDimOffset, outScratchIndex);
1072
+ }
1073
+ template <bool is_internal_block, typename OutPtr>
1074
+ static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void compute_panel(
1075
+ const cl::sycl::nd_item<1> &itemID, const VectorMapper &vec, const TensorMapper &mat, OutScalar *local_output,
1076
+ OutPtr out_ptr,
1077
+ #ifdef EIGEN_SYCL_LOCAL_MEM_UNSET_OR_ON
1078
+ OutScalar *scratch_ptr, const StorageIndex contractGroupOffset,
1079
+ #endif
1080
+ const StorageIndex nonContractGroupOffset, const StorageIndex linearLocalThreadId, StorageIndex contractDim,
1081
+ StorageIndex nonContractDim, StorageIndex contractId, StorageIndex nonContractId,
1082
+ StorageIndex globalContractDimOffset, StorageIndex globalNonContractDimOffset, StorageIndex outScratchIndex) {
1083
+ OutScalar outScalar[Properties::WorkLoadPerThreadNC] = {OutScalar(0)};
1084
+ // Reading the vector
1085
+ #ifdef EIGEN_SYCL_LOCAL_MEM_UNSET_OR_ON
1086
+ const StorageIndex vectorOffset = contractGroupOffset + linearLocalThreadId;
1087
+ extract_block<VecBlockProperties, is_internal_block, KFactor,
1088
+ Properties::LocalThreadSizeNC * Properties::LocalThreadSizeC>(vec, scratch_ptr, linearLocalThreadId,
1089
+ vectorOffset, contractDim);
1090
+
1091
+ itemID.barrier(cl::sycl::access::fence_space::local_space);
1092
+ auto in_scratch_ptr = scratch_ptr + contractId;
1093
+ #endif
1094
+
1095
+ StorageIndex privateOffsetC = 0;
1096
+ EIGEN_UNROLL_LOOP
1097
+ for (StorageIndex i = 0; i < Properties::WorkLoadPerThreadC; i++) {
1098
+ StorageIndex privateOffsetNC = 0;
1099
+ bool contract_conds = ((globalContractDimOffset + privateOffsetC) < contractDim);
1100
+ #ifdef EIGEN_SYCL_LOCAL_MEM_UNSET_OR_ON
1101
+ auto vecScalar = *in_scratch_ptr;
1102
+ #else
1103
+ auto vecScalar = (check_boundary<is_internal_block>(contract_conds))
1104
+ ? vec(is_lhs_vec ? StorageIndex(0) : globalContractDimOffset + privateOffsetC,
1105
+ is_lhs_vec ? globalContractDimOffset + privateOffsetC : StorageIndex(0))
1106
+ : OutScalar(0);
1107
+ #endif
1108
+ EIGEN_UNROLL_LOOP
1109
+ for (StorageIndex j = 0; j < Properties::WorkLoadPerThreadNC; j++) {
1110
+ auto matScalar = (check_boundary<is_internal_block>(
1111
+ contract_conds && ((globalNonContractDimOffset + privateOffsetNC) < nonContractDim)))
1112
+ ? mat(is_lhs_vec ? globalContractDimOffset + privateOffsetC
1113
+ : globalNonContractDimOffset + privateOffsetNC,
1114
+ is_lhs_vec ? globalNonContractDimOffset + privateOffsetNC
1115
+ : globalContractDimOffset + privateOffsetC)
1116
+ : OutScalar(0);
1117
+
1118
+ outScalar[j] = cl::sycl::mad(matScalar, vecScalar, outScalar[j]);
1119
+ privateOffsetNC += Properties::LocalThreadSizeNC;
1120
+ }
1121
+ privateOffsetC += Properties::LocalThreadSizeC;
1122
+ #ifdef EIGEN_SYCL_LOCAL_MEM_UNSET_OR_ON
1123
+ in_scratch_ptr += Properties::LocalThreadSizeC;
1124
+ #endif
1125
+ }
1126
+
1127
+ auto out_scratch_ptr = local_output + outScratchIndex;
1128
+ // Each block of 16*16 element in shared memory should reduce to 16*1
1129
+ EIGEN_UNROLL_LOOP
1130
+ for (StorageIndex j = 0; j < Properties::WorkLoadPerThreadNC; j++) {
1131
+ *out_scratch_ptr = outScalar[j];
1132
+
1133
+ out_scratch_ptr += (Properties::LocalThreadSizeNC * Properties::LocalThreadSizeC);
1134
+ }
1135
+ if (is_lhs_vec) {
1136
+ nonContractId = linearLocalThreadId % Properties::LocalThreadSizeNC;
1137
+ contractId = linearLocalThreadId / Properties::LocalThreadSizeNC;
1138
+ outScratchIndex = nonContractId + contractId * Properties::LocalThreadSizeNC;
1139
+ }
1140
+
1141
+ out_scratch_ptr = local_output + outScratchIndex;
1142
+ EIGEN_UNROLL_LOOP
1143
+ for (StorageIndex j = 0; j < Properties::WorkLoadPerThreadNC; j++) {
1144
+ EIGEN_UNROLL_LOOP
1145
+ for (StorageIndex offset = Properties::LocalThreadSizeC >> 1; offset > 0; offset >>= 1) {
1146
+ itemID.barrier(cl::sycl::access::fence_space::local_space);
1147
+ if (contractId < offset) {
1148
+ StorageIndex myNeigbourId = (Properties::LocalThreadSizeNC * offset);
1149
+ *out_scratch_ptr += out_scratch_ptr[myNeigbourId];
1150
+ }
1151
+ }
1152
+ // moving to next 16 by 16 block
1153
+ out_scratch_ptr += (Properties::LocalThreadSizeNC * Properties::LocalThreadSizeC);
1154
+ }
1155
+
1156
+ if (contractId == 0) {
1157
+ out_scratch_ptr = local_output + nonContractId;
1158
+ StorageIndex global_final_offset = nonContractGroupOffset + nonContractId;
1159
+ out_ptr += global_final_offset;
1160
+ EIGEN_UNROLL_LOOP
1161
+ for (StorageIndex j = 0; j < Properties::WorkLoadPerThreadNC; j++) {
1162
+ if (check_boundary<is_internal_block>(global_final_offset < nonContractDim)) {
1163
+ auto res = *out_scratch_ptr;
1164
+
1165
+ *out_ptr = res;
1166
+ out_ptr += Properties::LocalThreadSizeNC;
1167
+ }
1168
+ // moving to next 16 by 16 block to ge the next 16 reduced elements
1169
+ out_scratch_ptr += (Properties::LocalThreadSizeNC * Properties::LocalThreadSizeC);
1170
+ if (!(is_internal_block)) global_final_offset += Properties::LocalThreadSizeNC;
1171
+ }
1172
+ }
1173
+ }
1174
+
1175
+ template <typename InputBlockProperties, bool is_internal_block, int CFactor, int GroupSize, typename Input,
1176
+ typename Local>
1177
+ static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void extract_block(const Input &inpt, Local *local_ptr,
1178
+ const StorageIndex &linearLocalThreadId,
1179
+ const StorageIndex &cOffset, const StorageIndex &C) {
1180
+ local_ptr += InputBlockProperties::c_stride * linearLocalThreadId;
1181
+ StorageIndex cIndex = cOffset;
1182
+ for (StorageIndex cId = 0; cId < CFactor / InputBlockProperties::c_stride; cId++) {
1183
+ if (check_boundary<is_internal_block>(cIndex + InputBlockProperties::c_stride - 1 < C)) {
1184
+ auto val = read<InputBlockProperties::packet_load, InputBlockProperties::is_coalesced_layout,
1185
+ InputBlockProperties::is_rhs, typename InputBlockProperties::OutType>(inpt, StorageIndex(0),
1186
+ cIndex, StorageIndex(1));
1187
+ write<StorageIndex, 1, data_source::local_mem>(val, local_ptr);
1188
+ } else {
1189
+ EIGEN_UNROLL_LOOP
1190
+ for (StorageIndex i = 0; i < InputBlockProperties::elements_per_access; i++) {
1191
+ OutScalar val =
1192
+ (cIndex + i < C)
1193
+ ? read<false, InputBlockProperties::is_coalesced_layout, InputBlockProperties::is_rhs, OutScalar>(
1194
+ inpt, StorageIndex(0), cIndex + i, StorageIndex(1))
1195
+ : OutScalar(0);
1196
+ write<StorageIndex, 1, data_source::local_mem>(val, local_ptr + i);
1197
+ }
1198
+ }
1199
+ local_ptr += InputBlockProperties::c_stride * GroupSize;
1200
+ cIndex += InputBlockProperties::c_stride * GroupSize;
1201
+ }
1202
+ }
1203
+ };
1204
+ #endif
1205
+
1206
+ #ifndef EIGEN_SYCL_DISABLE_SCALAR
1207
+
1208
+ /*!
1209
+ * \brief GeneralScalarContraction is a template class that provides the scalar value of Tensor -Tensor contraction
1210
+ * operation, when all the dimensions are contracting dimensions. This Kernel reduces two tensors to an scalar
1211
+ *
1212
+ * \tparam OutScalar: determines the output scalar type
1213
+ *
1214
+ * \tparam LhsScalar: determines the left-hand-side scalar type
1215
+ *
1216
+ * \tparam RhsScalar: determines the right-hand-side scalar type
1217
+ *
1218
+ * \tparam OutAccessor: determines the sycl accessor type for out put (please see the sycl-1.2.1 specification
1219
+ * (https://www.khronos.org/registry/SYCL/specs/sycl-1.2.1.pdf) for accessor definition)
1220
+ *
1221
+ * \tparam LhsMapper: determines the tensor contraction mapper type for left-hand-side matrix
1222
+ *
1223
+ * \tparam RhsMapper: determines the tensor contraction mapper type for right-hand-side matrix
1224
+ *
1225
+ * \tparam StorageIndex: determines the StorageIndex Type
1226
+ *
1227
+ * \tparam Vectorizable: determines whether or not the vectorization is enabled for the Eigen expression.
1228
+ *
1229
+ * \param scratch: local memory containing tiles of LHS and RHS tensors for each work-group
1230
+ *
1231
+ * \param lhs: determines the left-hand-side flattened tensor (tensor mapper)
1232
+ *
1233
+ * \param rhs: determines the right-hand-side flattened tensor (tensor mapper)
1234
+ *
1235
+ * \param out_res: determines the output tensor containing the contraction result
1236
+ *
1237
+ * \param rng: determins the total input data size
1238
+ */
1239
+ template <typename OutScalar, typename LhsScalar, typename RhsScalar, typename OutAccessor, typename LhsMapper,
1240
+ typename RhsMapper, typename StorageIndex, bool Vectorizable>
1241
+ struct GeneralScalarContraction {
1242
+ typedef cl::sycl::accessor<OutScalar, 1, cl::sycl::access::mode::read_write, cl::sycl::access::target::local> Scratch;
1243
+ Scratch scratch;
1244
+ const LhsMapper lhs;
1245
+ const RhsMapper rhs;
1246
+ OutAccessor out_res;
1247
+ const StorageIndex rng;
1248
+
1249
+ EIGEN_DEVICE_FUNC
1250
+ GeneralScalarContraction(Scratch scratch_, const LhsMapper lhs_, const RhsMapper rhs_, OutAccessor out_res_,
1251
+ const StorageIndex rng_)
1252
+ : scratch(scratch_), lhs(lhs_), rhs(rhs_), out_res(out_res_), rng(rng_) {}
1253
+
1254
+ EIGEN_DEVICE_FUNC void operator()(cl::sycl::nd_item<1> itemID) {
1255
+ auto out_ptr = out_res.get_pointer();
1256
+ auto scratch_ptr = scratch.get_pointer().get();
1257
+
1258
+ StorageIndex globalid = itemID.get_global_id(0);
1259
+ StorageIndex localid = itemID.get_local_id(0);
1260
+ OutScalar accumulator = OutScalar(0);
1261
+ for (StorageIndex i = globalid; i < rng; i += itemID.get_global_range(0)) {
1262
+ accumulator = cl::sycl::mad(lhs(0, i), rhs(i, 0), accumulator);
1263
+ }
1264
+ auto out_scratch_ptr = scratch_ptr + localid;
1265
+ *out_scratch_ptr = accumulator;
1266
+ for (StorageIndex offset = itemID.get_local_range(0) >> 1; offset > 0; offset >>= 1) {
1267
+ itemID.barrier(cl::sycl::access::fence_space::local_space);
1268
+ if (localid < offset) {
1269
+ *out_scratch_ptr = (accumulator += out_scratch_ptr[offset]);
1270
+ }
1271
+ }
1272
+ if (localid == 0) {
1273
+ out_ptr[itemID.get_group(0)] = accumulator;
1274
+ }
1275
+ }
1276
+ };
1277
+ #endif
1278
+
1279
+ } // namespace internal
1280
+ } // namespace TensorSycl
1281
+
1282
+ template <typename Indices, typename LeftArgType, typename RightArgType, typename OutputKernelType>
1283
+ struct TensorEvaluator<const TensorContractionOp<Indices, LeftArgType, RightArgType, OutputKernelType>,
1284
+ Eigen::SyclDevice>
1285
+ : public TensorContractionEvaluatorBase<TensorEvaluator<
1286
+ const TensorContractionOp<Indices, LeftArgType, RightArgType, OutputKernelType>, Eigen::SyclDevice>> {
1287
+ static_assert(std::is_same<OutputKernelType, const NoOpOutputKernel>::value,
1288
+ "SYCL tensor contraction does not support output kernels.");
1289
+
1290
+ typedef Eigen::SyclDevice Device;
1291
+
1292
+ typedef TensorEvaluator<const TensorContractionOp<Indices, LeftArgType, RightArgType, OutputKernelType>, Device> Self;
1293
+ typedef TensorContractionEvaluatorBase<Self> Base;
1294
+ typedef TensorContractionOp<Indices, LeftArgType, RightArgType, OutputKernelType> XprType;
1295
+ typedef typename internal::remove_const<typename XprType::Scalar>::type Scalar;
1296
+ typedef typename XprType::Index StorageIndex;
1297
+ typedef typename XprType::CoeffReturnType CoeffReturnType;
1298
+ typedef typename PacketType<CoeffReturnType, Device>::type PacketReturnType;
1299
+ typedef typename Base::Storage Storage;
1300
+ typedef typename Base::EvaluatorPointerType EvaluatorPointerType;
1301
+ struct TripleDim {
1302
+ const StorageIndex M;
1303
+ const StorageIndex N;
1304
+ const StorageIndex K;
1305
+ TripleDim(const StorageIndex M_, const StorageIndex N_, const StorageIndex K_) : M(M_), N(N_), K(K_) {}
1306
+ };
1307
+ enum {
1308
+ Layout = TensorEvaluator<LeftArgType, Device>::Layout,
1309
+ PacketAccess = (PacketType<CoeffReturnType, Device>::size > 1),
1310
+ BlockAccess = false,
1311
+ };
1312
+
1313
+ static EIGEN_CONSTEXPR int LDims = Base::LDims;
1314
+ static EIGEN_CONSTEXPR int RDims = Base::RDims;
1315
+ static EIGEN_CONSTEXPR int ContractDims = Base::ContractDims;
1316
+
1317
+ typedef array<StorageIndex, LDims> left_dim_mapper_t;
1318
+ typedef array<StorageIndex, RDims> right_dim_mapper_t;
1319
+
1320
+ typedef array<StorageIndex, ContractDims> contract_t;
1321
+ typedef array<StorageIndex, LDims - ContractDims> left_nocontract_t;
1322
+ typedef array<StorageIndex, RDims - ContractDims> right_nocontract_t;
1323
+
1324
+ static const int NumDims = LDims + RDims - 2 * ContractDims;
1325
+
1326
+ typedef DSizes<StorageIndex, NumDims> Dimensions;
1327
+
1328
+ typedef TensorEvaluator<typename Base::EvalLeftArgType, Device> LeftEvaluator;
1329
+ typedef TensorEvaluator<typename Base::EvalRightArgType, Device> RightEvaluator;
1330
+ typedef typename Eigen::internal::remove_const<typename LeftEvaluator::CoeffReturnType>::type LhsScalar;
1331
+ typedef typename Eigen::internal::remove_const<typename RightEvaluator::CoeffReturnType>::type RhsScalar;
1332
+
1333
+ typedef typename LeftEvaluator::Dimensions LeftDimensions;
1334
+ typedef typename RightEvaluator::Dimensions RightDimensions;
1335
+
1336
+ template <bool lhs_inner_dim_contiguous, bool rhs_inner_dim_contiguous, bool rhs_inner_dim_reordered>
1337
+ struct input_mapper_propertis {
1338
+ static EIGEN_CONSTEXPR bool is_lhs_matrix = (LDims == 2 && ContractDims == 1) || lhs_inner_dim_contiguous;
1339
+ static EIGEN_CONSTEXPR bool is_rhs_matrix =
1340
+ (RDims == 2 && ContractDims == 1) || (rhs_inner_dim_contiguous && !rhs_inner_dim_reordered);
1341
+ };
1342
+
1343
+ TensorEvaluator(const XprType &op, const Device &device) : Base(op, device) {}
1344
+
1345
+ // We need to redefine this method to make nvcc happy
1346
+ EIGEN_STRONG_INLINE bool evalSubExprsIfNeeded(typename Base::EvaluatorPointerType data) {
1347
+ this->m_leftImpl.evalSubExprsIfNeeded(NULL);
1348
+ this->m_rightImpl.evalSubExprsIfNeeded(NULL);
1349
+ if (!data) {
1350
+ this->m_result = this->m_device.get(
1351
+ static_cast<Scalar *>(this->m_device.allocate_temp(this->dimensions().TotalSize() * sizeof(Scalar))));
1352
+ data = this->m_result;
1353
+ }
1354
+ evalToSycl(data);
1355
+ return (this->m_result != NULL);
1356
+ }
1357
+ const Eigen::SyclDevice &device() const { return this->m_device; }
1358
+ void evalToSycl(typename Base::EvaluatorPointerType buffer) const {
1359
+ if (this->m_lhs_inner_dim_contiguous) {
1360
+ if (this->m_rhs_inner_dim_contiguous) {
1361
+ if (this->m_rhs_inner_dim_reordered) {
1362
+ evalTyped<true, true, true, Unaligned>(buffer);
1363
+ } else {
1364
+ evalTyped<true, true, false, Unaligned>(buffer);
1365
+ }
1366
+ } else {
1367
+ if (this->m_rhs_inner_dim_reordered) {
1368
+ evalTyped<true, false, true, Unaligned>(buffer);
1369
+ } else {
1370
+ evalTyped<true, false, false, Unaligned>(buffer);
1371
+ }
1372
+ }
1373
+ } else {
1374
+ if (this->m_rhs_inner_dim_contiguous) {
1375
+ if (this->m_rhs_inner_dim_reordered) {
1376
+ evalTyped<false, true, true, Unaligned>(buffer);
1377
+ } else {
1378
+ evalTyped<false, true, false, Unaligned>(buffer);
1379
+ }
1380
+ } else {
1381
+ if (this->m_rhs_inner_dim_reordered) {
1382
+ evalTyped<false, false, true, Unaligned>(buffer);
1383
+ } else {
1384
+ evalTyped<false, false, false, Unaligned>(buffer);
1385
+ }
1386
+ }
1387
+ }
1388
+ }
1389
+
1390
+ template <bool lhs_inner_dim_contiguous, bool rhs_inner_dim_contiguous, bool rhs_inner_dim_reordered, int Alignment>
1391
+ void evalTyped(typename Base::EvaluatorPointerType buffer) const {
1392
+ const auto triple_dim = TripleDim{this->m_i_size, this->m_j_size, this->m_k_size};
1393
+ typedef internal::TensorContractionInputMapper<
1394
+ LhsScalar, StorageIndex, internal::Lhs, LeftEvaluator, left_nocontract_t, contract_t,
1395
+ PacketType<CoeffReturnType, Device>::size, lhs_inner_dim_contiguous, false, Unaligned, MakeSYCLPointer>
1396
+ LhsMapper;
1397
+
1398
+ typedef internal::TensorContractionInputMapper<RhsScalar, StorageIndex, internal::Rhs, RightEvaluator,
1399
+ right_nocontract_t, contract_t,
1400
+ PacketType<CoeffReturnType, Device>::size, rhs_inner_dim_contiguous,
1401
+ rhs_inner_dim_reordered, Unaligned, MakeSYCLPointer>
1402
+ RhsMapper;
1403
+
1404
+ // initialize data mappers
1405
+ LhsMapper lhs(this->m_leftImpl, this->m_left_nocontract_strides, this->m_i_strides,
1406
+ this->m_left_contracting_strides, this->m_k_strides);
1407
+
1408
+ RhsMapper rhs(this->m_rightImpl, this->m_right_nocontract_strides, this->m_j_strides,
1409
+ this->m_right_contracting_strides, this->m_k_strides);
1410
+
1411
+ #ifndef EIGEN_SYCL_DISABLE_SCALAR
1412
+ if (triple_dim.M == 1 && triple_dim.N == 1) {
1413
+ launchSC(buffer, lhs, rhs, triple_dim.K);
1414
+ } else
1415
+ #endif
1416
+ #ifndef EIGEN_SYCL_DISABLE_GEMV
1417
+ if (triple_dim.M != 1 && triple_dim.N == 1) {
1418
+ LaunchVT<false>(buffer, rhs, lhs, triple_dim.M, triple_dim.K);
1419
+ } else if (triple_dim.M == 1 && triple_dim.N != 1) {
1420
+ LaunchVT<true>(buffer, lhs, rhs, triple_dim.N, triple_dim.K);
1421
+ } else // This is equivalent of if (m!=1 && n!=1)
1422
+ #endif
1423
+ {
1424
+ typedef input_mapper_propertis<lhs_inner_dim_contiguous, rhs_inner_dim_contiguous, rhs_inner_dim_reordered>
1425
+ inpt_mapper_properties;
1426
+ #ifndef EIGEN_SYCL_DISABLE_SKINNY
1427
+ bool skinny = false;
1428
+ auto platform_name = this->device().getPlatformName();
1429
+ // This is based on empirical calculation for AMD r9-nano and Fiji
1430
+ if (platform_name.find("AMD") == 0) {
1431
+ skinny = (triple_dim.M < triple_dim.K || triple_dim.N < triple_dim.K) &&
1432
+ ((triple_dim.M < 1024 && triple_dim.N < 1024) ||
1433
+ (uint64_t(triple_dim.M * triple_dim.N) < uint64_t(triple_dim.K)));
1434
+ } else {
1435
+ skinny = (((std::max(triple_dim.K, triple_dim.N) / std::min(triple_dim.K, triple_dim.N)) > 100) ||
1436
+ ((std::max(triple_dim.K, triple_dim.M) / std::min(triple_dim.K, triple_dim.M)) > 100) ||
1437
+ ((std::max(triple_dim.N, triple_dim.M) / std::min(triple_dim.N, triple_dim.M)) > 100));
1438
+ }
1439
+ if (skinny)
1440
+ adjustTT<true, inpt_mapper_properties>(buffer, lhs, rhs, triple_dim);
1441
+ else
1442
+ #endif // EIGEN_SYCL_DISABLE_SKINNY
1443
+ adjustTT<false, inpt_mapper_properties>(buffer, lhs, rhs, triple_dim);
1444
+ }
1445
+ }
1446
+
1447
+ template <bool skinny, typename input_mapper_properties, typename LhsMapper, typename RhsMapper>
1448
+ void EIGEN_ALWAYS_INLINE adjustTT(EvaluatorPointerType buffer, const LhsMapper &lhs, const RhsMapper &rhs,
1449
+ const TripleDim &triple_dim) const {
1450
+ #ifdef EIGEN_SYCL_LOCAL_MEM_UNSET_OR_ON
1451
+ if (device().has_local_memory()) {
1452
+ typedef TensorSycl::internal::TTPanelSize<CoeffReturnType, StorageIndex, 4, 4, 16> PanelParameters;
1453
+ launchTT<TensorSycl::internal::contraction_type::local, skinny, input_mapper_properties, PanelParameters>(
1454
+ buffer, lhs, rhs, triple_dim);
1455
+ }
1456
+ #endif
1457
+ #ifdef EIGEN_SYCL_LOCAL_MEM_UNSET_OR_OFF
1458
+ if (!(device().has_local_memory())) {
1459
+ typedef TensorSycl::internal::TTPanelSize<CoeffReturnType, StorageIndex, 4, 4, 4> PanelParameters;
1460
+ launchTT<TensorSycl::internal::contraction_type::no_local, skinny, input_mapper_properties, PanelParameters>(
1461
+ buffer, lhs, rhs, triple_dim);
1462
+ }
1463
+ #endif
1464
+ }
1465
+
1466
+ template <TensorSycl::internal::contraction_type ct, bool skinny, typename input_mapper_properties,
1467
+ typename Properties, typename LhsMapper, typename RhsMapper>
1468
+ void launchTT(EvaluatorPointerType buffer, const LhsMapper &lhs, const RhsMapper &rhs,
1469
+ const TripleDim &triple_dim) const {
1470
+ const StorageIndex roundUpM = Eigen::TensorSycl::internal::roundUp(triple_dim.M, Properties::TileSizeDimM);
1471
+ const StorageIndex roundUpN = Eigen::TensorSycl::internal::roundUp(triple_dim.N, Properties::TileSizeDimN);
1472
+ const StorageIndex groupSizeM = roundUpM / Properties::TileSizeDimM;
1473
+ const StorageIndex groupSizeN = roundUpN / Properties::TileSizeDimN;
1474
+
1475
+ const StorageIndex roundUpK = Eigen::TensorSycl::internal::roundUp(triple_dim.K, Properties::TileSizeDimK);
1476
+ StorageIndex totalTilesK = roundUpK / Properties::TileSizeDimK;
1477
+ StorageIndex groupSizeK =
1478
+ skinny
1479
+ ? std::max(std::min(totalTilesK,
1480
+ (StorageIndex)(device().getPowerOfTwo(device().getNumSyclMultiProcessors(), true) * 4) /
1481
+ (groupSizeM * groupSizeN)),
1482
+ StorageIndex(1))
1483
+ : StorageIndex(1);
1484
+
1485
+ const StorageIndex numTilesPerGroup = Eigen::TensorSycl::internal::roundUp(totalTilesK, groupSizeK) / groupSizeK;
1486
+
1487
+ const StorageIndex totalGroupSize = groupSizeM * groupSizeN * groupSizeK;
1488
+
1489
+ const StorageIndex localRange = Properties::LocalThreadSizeM * Properties::LocalThreadSizeN;
1490
+ const StorageIndex globalRange = totalGroupSize * localRange;
1491
+
1492
+ const StorageIndex scratchSize = (ct == TensorSycl::internal::contraction_type::local)
1493
+ ? ((Properties::DoubleBuffer + 1) *
1494
+ (Properties::TileSizeDimM + Properties::BC) * (Properties::TileSizeDimK)) +
1495
+ ((Properties::DoubleBuffer + 1) * (Properties::TileSizeDimK) *
1496
+ (Properties::TileSizeDimN + Properties::BC))
1497
+ : StorageIndex(1);
1498
+
1499
+ auto thread_range = cl::sycl::nd_range<1>(cl::sycl::range<1>(globalRange), cl::sycl::range<1>(localRange));
1500
+ if (groupSizeK == 1) {
1501
+ typedef TensorSycl::internal::TensorContractionKernel<CoeffReturnType, LhsScalar, RhsScalar, EvaluatorPointerType,
1502
+ LhsMapper, RhsMapper, StorageIndex, Properties, TripleDim,
1503
+ PacketAccess, input_mapper_properties, true, ct>
1504
+ ContractKernelName;
1505
+ device().template binary_kernel_launcher<CoeffReturnType, ContractKernelName>(
1506
+ lhs, rhs, buffer, thread_range, scratchSize, groupSizeM, groupSizeN, numTilesPerGroup, triple_dim);
1507
+ } else {
1508
+ typedef TensorSycl::internal::TensorContractionKernel<CoeffReturnType, LhsScalar, RhsScalar, EvaluatorPointerType,
1509
+ LhsMapper, RhsMapper, StorageIndex, Properties, TripleDim,
1510
+ PacketAccess, input_mapper_properties, false, ct>
1511
+ ContractKernelName;
1512
+ CoeffReturnType *temp_pointer = static_cast<CoeffReturnType *>(
1513
+ device().allocate_temp(triple_dim.M * triple_dim.N * groupSizeK * sizeof(CoeffReturnType)));
1514
+ EvaluatorPointerType tmp_global_accessor = device().get(temp_pointer);
1515
+
1516
+ device().template binary_kernel_launcher<CoeffReturnType, ContractKernelName>(
1517
+ lhs, rhs, tmp_global_accessor, thread_range, scratchSize, groupSizeM, groupSizeN, numTilesPerGroup,
1518
+ triple_dim);
1519
+
1520
+ typedef Eigen::internal::SumReducer<CoeffReturnType> Op;
1521
+ auto op = Op();
1522
+ typedef TensorSycl::internal::SecondStepPartialReduction<CoeffReturnType, StorageIndex, EvaluatorPointerType,
1523
+ EvaluatorPointerType, Op>
1524
+ ReductionKernel;
1525
+
1526
+ device().template unary_kernel_launcher<CoeffReturnType, ReductionKernel>(
1527
+ tmp_global_accessor, buffer,
1528
+ cl::sycl::nd_range<1>(cl::sycl::range<1>(StorageIndex(
1529
+ Eigen::TensorSycl::internal::roundUp(triple_dim.M * triple_dim.N, localRange))),
1530
+ cl::sycl::range<1>(localRange)),
1531
+ StorageIndex(1), op, StorageIndex(triple_dim.M * triple_dim.N), groupSizeK);
1532
+
1533
+ device().deallocate_temp(temp_pointer);
1534
+ }
1535
+ }
1536
+
1537
+ #ifndef EIGEN_SYCL_DISABLE_GEMV
1538
+ template <bool is_lhs_vec, typename VectorMapper, typename TensorMapper, typename StorageIndex>
1539
+ void EIGEN_ALWAYS_INLINE LaunchVT(EvaluatorPointerType buffer, const VectorMapper &vec, const TensorMapper &mat,
1540
+ StorageIndex NC, StorageIndex C) const {
1541
+ const StorageIndex nonContractDim = NC;
1542
+ EIGEN_CONSTEXPR StorageIndex NCFactor = 1;
1543
+ EIGEN_CONSTEXPR StorageIndex CFactor = 1;
1544
+ EIGEN_CONSTEXPR StorageIndex NCWindow = 16;
1545
+ typedef Eigen::TensorSycl::internal::TVPanelSize<CoeffReturnType, StorageIndex, NCWindow, CFactor, NCFactor>
1546
+ Properties;
1547
+ const StorageIndex roundUpC = Eigen::TensorSycl::internal::roundUp(C, Properties::TileSizeDimC);
1548
+ const StorageIndex cNumGroups = roundUpC / (Properties::LocalThreadSizeC * Properties::WorkLoadPerThreadC);
1549
+ const StorageIndex roundUpNC = Eigen::TensorSycl::internal::roundUp(nonContractDim, Properties::TileSizeDimNC);
1550
+ const StorageIndex nCNumGroups = roundUpNC / (Properties::LocalThreadSizeNC * Properties::WorkLoadPerThreadNC);
1551
+ const StorageIndex globalRange =
1552
+ (roundUpNC / (Properties::WorkLoadPerThreadNC)) * (roundUpC / (Properties::WorkLoadPerThreadC));
1553
+ const StorageIndex localRange = Properties::LocalThreadSizeNC * Properties::LocalThreadSizeC;
1554
+ const StorageIndex scratchSize =
1555
+ (Properties::WorkLoadPerThreadNC + CFactor) * Properties::LocalThreadSizeC * Properties::LocalThreadSizeNC;
1556
+ auto thread_range = cl::sycl::nd_range<1>(cl::sycl::range<1>(globalRange), cl::sycl::range<1>(localRange));
1557
+ if (cNumGroups > 1) {
1558
+ typedef Eigen::TensorSycl::internal::GeneralVectorTensor<CoeffReturnType, EvaluatorPointerType, VectorMapper,
1559
+ TensorMapper, StorageIndex, Properties, CFactor, false,
1560
+ is_lhs_vec, false>
1561
+ ContractKernelName;
1562
+ CoeffReturnType *temp_pointer =
1563
+ static_cast<CoeffReturnType *>(device().allocate_temp(nonContractDim * cNumGroups * sizeof(CoeffReturnType)));
1564
+ EvaluatorPointerType tmp_global_accessor = device().get(temp_pointer);
1565
+
1566
+ device().template binary_kernel_launcher<CoeffReturnType, ContractKernelName>(
1567
+ vec, mat, tmp_global_accessor, thread_range, scratchSize, nCNumGroups, nonContractDim, C);
1568
+
1569
+ typedef Eigen::internal::SumReducer<CoeffReturnType> Op;
1570
+ typedef TensorSycl::internal::SecondStepPartialReduction<CoeffReturnType, StorageIndex, EvaluatorPointerType,
1571
+ EvaluatorPointerType, Op>
1572
+ ReductionKernel;
1573
+
1574
+ device().template unary_kernel_launcher<CoeffReturnType, ReductionKernel>(
1575
+ tmp_global_accessor, buffer,
1576
+ cl::sycl::nd_range<1>(cl::sycl::range<1>(Eigen::TensorSycl::internal::roundUp(nonContractDim, localRange)),
1577
+ cl::sycl::range<1>(localRange)),
1578
+ StorageIndex(1), Op(), nonContractDim, cNumGroups);
1579
+
1580
+ device().deallocate_temp(temp_pointer);
1581
+ } else {
1582
+ typedef Eigen::TensorSycl::internal::GeneralVectorTensor<CoeffReturnType, EvaluatorPointerType, VectorMapper,
1583
+ TensorMapper, StorageIndex, Properties, CFactor, false,
1584
+ is_lhs_vec, true>
1585
+ ContractKernelName;
1586
+ device().template binary_kernel_launcher<CoeffReturnType, ContractKernelName>(
1587
+ vec, mat, buffer, thread_range, scratchSize, nCNumGroups, nonContractDim, C);
1588
+ }
1589
+ }
1590
+ #endif
1591
+
1592
+ #ifndef EIGEN_SYCL_DISABLE_SCALAR
1593
+ template <typename LhsMapper, typename RhsMapper>
1594
+ EIGEN_ALWAYS_INLINE void launchSC(EvaluatorPointerType buffer, const LhsMapper &lhs, const RhsMapper &rhs,
1595
+ StorageIndex K) const {
1596
+ EIGEN_STATIC_ASSERT(!((EIGEN_SYCL_LOCAL_THREAD_DIM0 * EIGEN_SYCL_LOCAL_THREAD_DIM1) &
1597
+ (EIGEN_SYCL_LOCAL_THREAD_DIM0 * EIGEN_SYCL_LOCAL_THREAD_DIM1 - 1)),
1598
+ "The Local thread size must be a power of 2 for the reduction "
1599
+ "operation");
1600
+ EIGEN_CONSTEXPR StorageIndex local_range = EIGEN_SYCL_LOCAL_THREAD_DIM0 * EIGEN_SYCL_LOCAL_THREAD_DIM1;
1601
+
1602
+ // Here we force the code not to be more than 2-step reduction: Our empirical research shows that if each thread
1603
+ // reduces at least 512 elementss individually, we get better performance.
1604
+ const StorageIndex num_work_group = ((K + (512 * local_range - 1)) / (512 * local_range) > 1 ? local_range : 1);
1605
+ const StorageIndex global_range = num_work_group * local_range;
1606
+
1607
+ typedef Eigen::TensorSycl::internal::GeneralScalarContraction<
1608
+ CoeffReturnType, LhsScalar, RhsScalar, EvaluatorPointerType, LhsMapper, RhsMapper, StorageIndex, false>
1609
+ ContractKernelName;
1610
+ auto thread_range = cl::sycl::nd_range<1>(cl::sycl::range<1>(global_range), cl::sycl::range<1>(local_range));
1611
+ if (num_work_group > 1) {
1612
+ CoeffReturnType *temp_pointer =
1613
+ static_cast<CoeffReturnType *>(device().allocate_temp(num_work_group * sizeof(CoeffReturnType)));
1614
+ EvaluatorPointerType tmp_global_accessor = device().get(temp_pointer);
1615
+ device().template binary_kernel_launcher<CoeffReturnType, ContractKernelName>(lhs, rhs, tmp_global_accessor,
1616
+ thread_range, local_range, K);
1617
+ typedef Eigen::internal::SumReducer<CoeffReturnType> Op;
1618
+ typedef TensorSycl::internal::SecondStepFullReducer<CoeffReturnType, Op, EvaluatorPointerType,
1619
+ EvaluatorPointerType, StorageIndex, local_range>
1620
+ GenericRKernel;
1621
+ device().template unary_kernel_launcher<CoeffReturnType, GenericRKernel>(
1622
+ tmp_global_accessor, buffer,
1623
+ cl::sycl::nd_range<1>(cl::sycl::range<1>(local_range), cl::sycl::range<1>(local_range)), local_range, Op());
1624
+
1625
+ device().deallocate_temp(temp_pointer);
1626
+ } else {
1627
+ device().template binary_kernel_launcher<CoeffReturnType, ContractKernelName>(lhs, rhs, buffer, thread_range,
1628
+ local_range, K);
1629
+ }
1630
+ }
1631
+ #endif
1632
+
1633
+ EIGEN_STRONG_INLINE void cleanup() {
1634
+ this->m_leftImpl.cleanup();
1635
+ this->m_rightImpl.cleanup();
1636
+
1637
+ if (this->m_result) {
1638
+ this->m_device.deallocate_temp(this->m_result);
1639
+ this->m_result = NULL;
1640
+ }
1641
+ }
1642
+ // The placeholder accessors must bound to a command group handler for SYCL
1643
+ EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void bind(cl::sycl::handler &cgh) const {
1644
+ this->m_leftImpl.bind(cgh);
1645
+ this->m_rightImpl.bind(cgh);
1646
+ this->m_result.bind(cgh);
1647
+ }
1648
+ };
1649
+ } // namespace Eigen
1650
+ #endif // EIGEN_CXX11_TENSOR_TENSOR_CONTRACTION_SYCL_H