casadi 3.6.0__cp39-none-macosx_11_0_arm64.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 (1473) hide show
  1. casadi/__init__.py +92 -0
  2. casadi/_casadi.so +0 -0
  3. casadi/casadi-cli +0 -0
  4. casadi/casadi.py +50255 -0
  5. casadi/cbc +0 -0
  6. casadi/clp +0 -0
  7. casadi/cmake/casadi-config-version.cmake +11 -0
  8. casadi/cmake/casadi-config.cmake +4 -0
  9. casadi/cmake/casadi-targets-release.cmake +19 -0
  10. casadi/cmake/casadi-targets.cmake +101 -0
  11. casadi/cmake/highs/highs-config.cmake +10 -0
  12. casadi/cmake/highs/highs-targets-release.cmake +28 -0
  13. casadi/cmake/highs/highs-targets.cmake +114 -0
  14. casadi/cmake/osqp/osqp-config.cmake +1 -0
  15. casadi/cmake/osqp/osqp-targets-noconfig.cmake +29 -0
  16. casadi/cmake/osqp/osqp-targets.cmake +109 -0
  17. casadi/cmake/proxsuite/find-external/Simde/FindSimde.cmake +39 -0
  18. casadi/cmake/proxsuite/proxsuiteConfig.cmake +177 -0
  19. casadi/cmake/proxsuite/proxsuiteConfigVersion.cmake +70 -0
  20. casadi/cmake/proxsuite/proxsuiteTargets.cmake +115 -0
  21. casadi/cmake/qdldl/qdldl-config.cmake +1 -0
  22. casadi/cmake/qdldl/qdldl-targets-noconfig.cmake +29 -0
  23. casadi/cmake/qdldl/qdldl-targets.cmake +109 -0
  24. casadi/highs +0 -0
  25. casadi/include/blasfeo.h +52 -0
  26. casadi/include/blasfeo_block_size.h +447 -0
  27. casadi/include/blasfeo_common.h +274 -0
  28. casadi/include/blasfeo_d_aux.h +255 -0
  29. casadi/include/blasfeo_d_aux_ext_dep.h +145 -0
  30. casadi/include/blasfeo_d_aux_ext_dep_ref.h +84 -0
  31. casadi/include/blasfeo_d_aux_old.h +75 -0
  32. casadi/include/blasfeo_d_aux_ref.h +208 -0
  33. casadi/include/blasfeo_d_aux_test.h +226 -0
  34. casadi/include/blasfeo_d_blas.h +46 -0
  35. casadi/include/blasfeo_d_blas_api.h +281 -0
  36. casadi/include/blasfeo_d_blasfeo_api.h +364 -0
  37. casadi/include/blasfeo_d_blasfeo_api_ref.h +147 -0
  38. casadi/include/blasfeo_d_blasfeo_hp_api.h +84 -0
  39. casadi/include/blasfeo_d_blasfeo_ref_api.h +283 -0
  40. casadi/include/blasfeo_d_kernel.h +1321 -0
  41. casadi/include/blasfeo_i_aux_ext_dep.h +69 -0
  42. casadi/include/blasfeo_m_aux.h +57 -0
  43. casadi/include/blasfeo_memory.h +62 -0
  44. casadi/include/blasfeo_naming.h +77 -0
  45. casadi/include/blasfeo_processor_features.h +88 -0
  46. casadi/include/blasfeo_s_aux.h +168 -0
  47. casadi/include/blasfeo_s_aux_ext_dep.h +141 -0
  48. casadi/include/blasfeo_s_aux_ext_dep_ref.h +82 -0
  49. casadi/include/blasfeo_s_aux_old.h +64 -0
  50. casadi/include/blasfeo_s_aux_ref.h +147 -0
  51. casadi/include/blasfeo_s_aux_test.h +177 -0
  52. casadi/include/blasfeo_s_blas.h +46 -0
  53. casadi/include/blasfeo_s_blas_api.h +182 -0
  54. casadi/include/blasfeo_s_blasfeo_api.h +284 -0
  55. casadi/include/blasfeo_s_blasfeo_api_ref.h +135 -0
  56. casadi/include/blasfeo_s_blasfeo_ref_api.h +252 -0
  57. casadi/include/blasfeo_s_kernel.h +692 -0
  58. casadi/include/blasfeo_stdlib.h +62 -0
  59. casadi/include/blasfeo_target.h +73 -0
  60. casadi/include/blasfeo_timing.h +114 -0
  61. casadi/include/blasfeo_v_aux_ext_dep.h +83 -0
  62. casadi/include/casadi/casadi.hpp +31 -0
  63. casadi/include/casadi/casadi.i +4656 -0
  64. casadi/include/casadi/casadi_c.h +136 -0
  65. casadi/include/casadi/casadi_numpy.hpp +97 -0
  66. casadi/include/casadi/config.h +46 -0
  67. casadi/include/casadi/core/calculus.hpp +1750 -0
  68. casadi/include/casadi/core/callback.hpp +226 -0
  69. casadi/include/casadi/core/casadi_common.hpp +317 -0
  70. casadi/include/casadi/core/casadi_enum.hpp +90 -0
  71. casadi/include/casadi/core/casadi_export.h +42 -0
  72. casadi/include/casadi/core/casadi_interrupt.hpp +83 -0
  73. casadi/include/casadi/core/casadi_limits.hpp +104 -0
  74. casadi/include/casadi/core/casadi_logger.hpp +134 -0
  75. casadi/include/casadi/core/casadi_meta.hpp +107 -0
  76. casadi/include/casadi/core/casadi_misc.hpp +949 -0
  77. casadi/include/casadi/core/casadi_types.hpp +65 -0
  78. casadi/include/casadi/core/code_generator.hpp +905 -0
  79. casadi/include/casadi/core/conic.hpp +213 -0
  80. casadi/include/casadi/core/core.hpp +69 -0
  81. casadi/include/casadi/core/dae_builder.hpp +720 -0
  82. casadi/include/casadi/core/dm.hpp +87 -0
  83. casadi/include/casadi/core/dm_fwd.hpp +39 -0
  84. casadi/include/casadi/core/dple.hpp +138 -0
  85. casadi/include/casadi/core/exception.hpp +167 -0
  86. casadi/include/casadi/core/expm.hpp +84 -0
  87. casadi/include/casadi/core/external.hpp +70 -0
  88. casadi/include/casadi/core/function.hpp +1343 -0
  89. casadi/include/casadi/core/generic_expression.hpp +760 -0
  90. casadi/include/casadi/core/generic_matrix.hpp +1596 -0
  91. casadi/include/casadi/core/generic_type.hpp +287 -0
  92. casadi/include/casadi/core/global_options.hpp +95 -0
  93. casadi/include/casadi/core/im.hpp +52 -0
  94. casadi/include/casadi/core/im_fwd.hpp +35 -0
  95. casadi/include/casadi/core/importer.hpp +221 -0
  96. casadi/include/casadi/core/integration_tools.hpp +292 -0
  97. casadi/include/casadi/core/integrator.hpp +256 -0
  98. casadi/include/casadi/core/interpolant.hpp +163 -0
  99. casadi/include/casadi/core/linsol.hpp +171 -0
  100. casadi/include/casadi/core/matrix_decl.hpp +1337 -0
  101. casadi/include/casadi/core/matrix_fwd.hpp +37 -0
  102. casadi/include/casadi/core/mx.hpp +938 -0
  103. casadi/include/casadi/core/nlp_builder.hpp +162 -0
  104. casadi/include/casadi/core/nlp_tools.hpp +124 -0
  105. casadi/include/casadi/core/nlpsol.hpp +236 -0
  106. casadi/include/casadi/core/nonzeros.hpp +111 -0
  107. casadi/include/casadi/core/options.hpp +119 -0
  108. casadi/include/casadi/core/optistack.hpp +647 -0
  109. casadi/include/casadi/core/polynomial.hpp +126 -0
  110. casadi/include/casadi/core/printable.hpp +73 -0
  111. casadi/include/casadi/core/rootfinder.hpp +176 -0
  112. casadi/include/casadi/core/runtime/casadi_axpy.hpp +8 -0
  113. casadi/include/casadi/core/runtime/casadi_bfgs.hpp +49 -0
  114. casadi/include/casadi/core/runtime/casadi_bilin.hpp +42 -0
  115. casadi/include/casadi/core/runtime/casadi_bound_consistency.hpp +51 -0
  116. casadi/include/casadi/core/runtime/casadi_cache.hpp +59 -0
  117. casadi/include/casadi/core/runtime/casadi_clear.hpp +27 -0
  118. casadi/include/casadi/core/runtime/casadi_clip_max.hpp +33 -0
  119. casadi/include/casadi/core/runtime/casadi_clip_min.hpp +33 -0
  120. casadi/include/casadi/core/runtime/casadi_convexify.hpp +182 -0
  121. casadi/include/casadi/core/runtime/casadi_copy.hpp +31 -0
  122. casadi/include/casadi/core/runtime/casadi_cvx.hpp +463 -0
  123. casadi/include/casadi/core/runtime/casadi_de_boor.hpp +36 -0
  124. casadi/include/casadi/core/runtime/casadi_dense_lsqr.hpp +247 -0
  125. casadi/include/casadi/core/runtime/casadi_densify.hpp +48 -0
  126. casadi/include/casadi/core/runtime/casadi_dot.hpp +27 -0
  127. casadi/include/casadi/core/runtime/casadi_feasiblesqpmethod.hpp +208 -0
  128. casadi/include/casadi/core/runtime/casadi_file_slurp.hpp +32 -0
  129. casadi/include/casadi/core/runtime/casadi_fill.hpp +27 -0
  130. casadi/include/casadi/core/runtime/casadi_finite_diff.hpp +152 -0
  131. casadi/include/casadi/core/runtime/casadi_flip.hpp +33 -0
  132. casadi/include/casadi/core/runtime/casadi_getu.hpp +35 -0
  133. casadi/include/casadi/core/runtime/casadi_iamax.hpp +36 -0
  134. casadi/include/casadi/core/runtime/casadi_interpn.hpp +39 -0
  135. casadi/include/casadi/core/runtime/casadi_interpn_grad.hpp +72 -0
  136. casadi/include/casadi/core/runtime/casadi_interpn_interpolate.hpp +43 -0
  137. casadi/include/casadi/core/runtime/casadi_interpn_weights.hpp +39 -0
  138. casadi/include/casadi/core/runtime/casadi_ipqp.hpp +865 -0
  139. casadi/include/casadi/core/runtime/casadi_jac.hpp +186 -0
  140. casadi/include/casadi/core/runtime/casadi_kkt.hpp +67 -0
  141. casadi/include/casadi/core/runtime/casadi_kron.hpp +50 -0
  142. casadi/include/casadi/core/runtime/casadi_ldl.hpp +109 -0
  143. casadi/include/casadi/core/runtime/casadi_logsumexp.hpp +41 -0
  144. casadi/include/casadi/core/runtime/casadi_low.hpp +65 -0
  145. casadi/include/casadi/core/runtime/casadi_lsqr.hpp +247 -0
  146. casadi/include/casadi/core/runtime/casadi_masked_norm_inf.hpp +33 -0
  147. casadi/include/casadi/core/runtime/casadi_max_viol.hpp +37 -0
  148. casadi/include/casadi/core/runtime/casadi_mmax.hpp +28 -0
  149. casadi/include/casadi/core/runtime/casadi_mmin.hpp +29 -0
  150. casadi/include/casadi/core/runtime/casadi_mtimes.hpp +75 -0
  151. casadi/include/casadi/core/runtime/casadi_mv.hpp +46 -0
  152. casadi/include/casadi/core/runtime/casadi_mv_dense.hpp +39 -0
  153. casadi/include/casadi/core/runtime/casadi_nd_boor_dual_eval.hpp +127 -0
  154. casadi/include/casadi/core/runtime/casadi_nd_boor_eval.hpp +120 -0
  155. casadi/include/casadi/core/runtime/casadi_newton.hpp +66 -0
  156. casadi/include/casadi/core/runtime/casadi_nlp.hpp +149 -0
  157. casadi/include/casadi/core/runtime/casadi_norm_1.hpp +29 -0
  158. casadi/include/casadi/core/runtime/casadi_norm_2.hpp +24 -0
  159. casadi/include/casadi/core/runtime/casadi_norm_inf.hpp +28 -0
  160. casadi/include/casadi/core/runtime/casadi_norm_inf_mul.hpp +105 -0
  161. casadi/include/casadi/core/runtime/casadi_polyval.hpp +29 -0
  162. casadi/include/casadi/core/runtime/casadi_project.hpp +39 -0
  163. casadi/include/casadi/core/runtime/casadi_qp.hpp +86 -0
  164. casadi/include/casadi/core/runtime/casadi_qr.hpp +272 -0
  165. casadi/include/casadi/core/runtime/casadi_qrqp.hpp +1233 -0
  166. casadi/include/casadi/core/runtime/casadi_rank1.hpp +40 -0
  167. casadi/include/casadi/core/runtime/casadi_regularize.hpp +73 -0
  168. casadi/include/casadi/core/runtime/casadi_runtime.hpp +315 -0
  169. casadi/include/casadi/core/runtime/casadi_scal.hpp +26 -0
  170. casadi/include/casadi/core/runtime/casadi_sparsify.hpp +42 -0
  171. casadi/include/casadi/core/runtime/casadi_sparsity.hpp +24 -0
  172. casadi/include/casadi/core/runtime/casadi_sqpmethod.hpp +168 -0
  173. casadi/include/casadi/core/runtime/casadi_sum.hpp +31 -0
  174. casadi/include/casadi/core/runtime/casadi_sum_viol.hpp +37 -0
  175. casadi/include/casadi/core/runtime/casadi_swap.hpp +32 -0
  176. casadi/include/casadi/core/runtime/casadi_trans.hpp +35 -0
  177. casadi/include/casadi/core/runtime/casadi_tri_project.hpp +37 -0
  178. casadi/include/casadi/core/runtime/casadi_trilsolve.hpp +81 -0
  179. casadi/include/casadi/core/runtime/casadi_triusolve.hpp +81 -0
  180. casadi/include/casadi/core/runtime/casadi_vector_fmax.hpp +28 -0
  181. casadi/include/casadi/core/runtime/casadi_vector_fmin.hpp +28 -0
  182. casadi/include/casadi/core/runtime/casadi_vfmax.hpp +28 -0
  183. casadi/include/casadi/core/runtime/casadi_vfmin.hpp +28 -0
  184. casadi/include/casadi/core/runtime/shared.hpp +261 -0
  185. casadi/include/casadi/core/serializer.hpp +256 -0
  186. casadi/include/casadi/core/serializing_stream.hpp +317 -0
  187. casadi/include/casadi/core/shared_object.hpp +270 -0
  188. casadi/include/casadi/core/slice.hpp +149 -0
  189. casadi/include/casadi/core/sparsity.hpp +1486 -0
  190. casadi/include/casadi/core/sparsity_interface.hpp +691 -0
  191. casadi/include/casadi/core/submatrix.hpp +156 -0
  192. casadi/include/casadi/core/sx.hpp +203 -0
  193. casadi/include/casadi/core/sx_elem.hpp +351 -0
  194. casadi/include/casadi/core/sx_fwd.hpp +45 -0
  195. casadi/include/casadi/core/timing.hpp +98 -0
  196. casadi/include/casadi/core/xml_file.hpp +93 -0
  197. casadi/include/casadi/core/xml_node.hpp +207 -0
  198. casadi/include/casadi/doc.i +57262 -0
  199. casadi/include/casadi/doc_merged.i +35255 -0
  200. casadi/include/casadi/mem.h +299 -0
  201. casadi/include/casadi/valgrind-casadi.supp +429 -0
  202. casadi/include/casadi/valgrind-python.supp +1377 -0
  203. casadi/include/eigen3/Eigen/Cholesky +45 -0
  204. casadi/include/eigen3/Eigen/CholmodSupport +48 -0
  205. casadi/include/eigen3/Eigen/Core +384 -0
  206. casadi/include/eigen3/Eigen/Dense +7 -0
  207. casadi/include/eigen3/Eigen/Eigen +2 -0
  208. casadi/include/eigen3/Eigen/Eigenvalues +60 -0
  209. casadi/include/eigen3/Eigen/Geometry +59 -0
  210. casadi/include/eigen3/Eigen/Householder +29 -0
  211. casadi/include/eigen3/Eigen/IterativeLinearSolvers +48 -0
  212. casadi/include/eigen3/Eigen/Jacobi +32 -0
  213. casadi/include/eigen3/Eigen/KLUSupport +41 -0
  214. casadi/include/eigen3/Eigen/LU +47 -0
  215. casadi/include/eigen3/Eigen/MetisSupport +35 -0
  216. casadi/include/eigen3/Eigen/OrderingMethods +70 -0
  217. casadi/include/eigen3/Eigen/PaStiXSupport +49 -0
  218. casadi/include/eigen3/Eigen/PardisoSupport +35 -0
  219. casadi/include/eigen3/Eigen/QR +50 -0
  220. casadi/include/eigen3/Eigen/QtAlignedMalloc +39 -0
  221. casadi/include/eigen3/Eigen/SPQRSupport +34 -0
  222. casadi/include/eigen3/Eigen/SVD +50 -0
  223. casadi/include/eigen3/Eigen/Sparse +34 -0
  224. casadi/include/eigen3/Eigen/SparseCholesky +37 -0
  225. casadi/include/eigen3/Eigen/SparseCore +69 -0
  226. casadi/include/eigen3/Eigen/SparseLU +50 -0
  227. casadi/include/eigen3/Eigen/SparseQR +36 -0
  228. casadi/include/eigen3/Eigen/StdDeque +27 -0
  229. casadi/include/eigen3/Eigen/StdList +26 -0
  230. casadi/include/eigen3/Eigen/StdVector +27 -0
  231. casadi/include/eigen3/Eigen/SuperLUSupport +64 -0
  232. casadi/include/eigen3/Eigen/UmfPackSupport +40 -0
  233. casadi/include/eigen3/Eigen/src/Cholesky/LDLT.h +688 -0
  234. casadi/include/eigen3/Eigen/src/Cholesky/LLT.h +558 -0
  235. casadi/include/eigen3/Eigen/src/Cholesky/LLT_LAPACKE.h +99 -0
  236. casadi/include/eigen3/Eigen/src/CholmodSupport/CholmodSupport.h +682 -0
  237. casadi/include/eigen3/Eigen/src/Core/ArithmeticSequence.h +413 -0
  238. casadi/include/eigen3/Eigen/src/Core/Array.h +417 -0
  239. casadi/include/eigen3/Eigen/src/Core/ArrayBase.h +226 -0
  240. casadi/include/eigen3/Eigen/src/Core/ArrayWrapper.h +209 -0
  241. casadi/include/eigen3/Eigen/src/Core/Assign.h +90 -0
  242. casadi/include/eigen3/Eigen/src/Core/AssignEvaluator.h +1010 -0
  243. casadi/include/eigen3/Eigen/src/Core/Assign_MKL.h +178 -0
  244. casadi/include/eigen3/Eigen/src/Core/BandMatrix.h +353 -0
  245. casadi/include/eigen3/Eigen/src/Core/Block.h +448 -0
  246. casadi/include/eigen3/Eigen/src/Core/BooleanRedux.h +162 -0
  247. casadi/include/eigen3/Eigen/src/Core/CommaInitializer.h +164 -0
  248. casadi/include/eigen3/Eigen/src/Core/ConditionEstimator.h +175 -0
  249. casadi/include/eigen3/Eigen/src/Core/CoreEvaluators.h +1741 -0
  250. casadi/include/eigen3/Eigen/src/Core/CoreIterators.h +132 -0
  251. casadi/include/eigen3/Eigen/src/Core/CwiseBinaryOp.h +183 -0
  252. casadi/include/eigen3/Eigen/src/Core/CwiseNullaryOp.h +1001 -0
  253. casadi/include/eigen3/Eigen/src/Core/CwiseTernaryOp.h +197 -0
  254. casadi/include/eigen3/Eigen/src/Core/CwiseUnaryOp.h +103 -0
  255. casadi/include/eigen3/Eigen/src/Core/CwiseUnaryView.h +132 -0
  256. casadi/include/eigen3/Eigen/src/Core/DenseBase.h +701 -0
  257. casadi/include/eigen3/Eigen/src/Core/DenseCoeffsBase.h +685 -0
  258. casadi/include/eigen3/Eigen/src/Core/DenseStorage.h +652 -0
  259. casadi/include/eigen3/Eigen/src/Core/Diagonal.h +258 -0
  260. casadi/include/eigen3/Eigen/src/Core/DiagonalMatrix.h +391 -0
  261. casadi/include/eigen3/Eigen/src/Core/DiagonalProduct.h +28 -0
  262. casadi/include/eigen3/Eigen/src/Core/Dot.h +318 -0
  263. casadi/include/eigen3/Eigen/src/Core/EigenBase.h +160 -0
  264. casadi/include/eigen3/Eigen/src/Core/ForceAlignedAccess.h +150 -0
  265. casadi/include/eigen3/Eigen/src/Core/Fuzzy.h +155 -0
  266. casadi/include/eigen3/Eigen/src/Core/GeneralProduct.h +465 -0
  267. casadi/include/eigen3/Eigen/src/Core/GenericPacketMath.h +1040 -0
  268. casadi/include/eigen3/Eigen/src/Core/GlobalFunctions.h +194 -0
  269. casadi/include/eigen3/Eigen/src/Core/IO.h +258 -0
  270. casadi/include/eigen3/Eigen/src/Core/IndexedView.h +237 -0
  271. casadi/include/eigen3/Eigen/src/Core/Inverse.h +117 -0
  272. casadi/include/eigen3/Eigen/src/Core/Map.h +171 -0
  273. casadi/include/eigen3/Eigen/src/Core/MapBase.h +310 -0
  274. casadi/include/eigen3/Eigen/src/Core/MathFunctions.h +2057 -0
  275. casadi/include/eigen3/Eigen/src/Core/MathFunctionsImpl.h +200 -0
  276. casadi/include/eigen3/Eigen/src/Core/Matrix.h +565 -0
  277. casadi/include/eigen3/Eigen/src/Core/MatrixBase.h +547 -0
  278. casadi/include/eigen3/Eigen/src/Core/NestByValue.h +85 -0
  279. casadi/include/eigen3/Eigen/src/Core/NoAlias.h +109 -0
  280. casadi/include/eigen3/Eigen/src/Core/NumTraits.h +335 -0
  281. casadi/include/eigen3/Eigen/src/Core/PartialReduxEvaluator.h +232 -0
  282. casadi/include/eigen3/Eigen/src/Core/PermutationMatrix.h +605 -0
  283. casadi/include/eigen3/Eigen/src/Core/PlainObjectBase.h +1128 -0
  284. casadi/include/eigen3/Eigen/src/Core/Product.h +191 -0
  285. casadi/include/eigen3/Eigen/src/Core/ProductEvaluators.h +1179 -0
  286. casadi/include/eigen3/Eigen/src/Core/Random.h +218 -0
  287. casadi/include/eigen3/Eigen/src/Core/Redux.h +515 -0
  288. casadi/include/eigen3/Eigen/src/Core/Ref.h +381 -0
  289. casadi/include/eigen3/Eigen/src/Core/Replicate.h +142 -0
  290. casadi/include/eigen3/Eigen/src/Core/Reshaped.h +454 -0
  291. casadi/include/eigen3/Eigen/src/Core/ReturnByValue.h +119 -0
  292. casadi/include/eigen3/Eigen/src/Core/Reverse.h +217 -0
  293. casadi/include/eigen3/Eigen/src/Core/Select.h +164 -0
  294. casadi/include/eigen3/Eigen/src/Core/SelfAdjointView.h +365 -0
  295. casadi/include/eigen3/Eigen/src/Core/SelfCwiseBinaryOp.h +47 -0
  296. casadi/include/eigen3/Eigen/src/Core/Solve.h +188 -0
  297. casadi/include/eigen3/Eigen/src/Core/SolveTriangular.h +235 -0
  298. casadi/include/eigen3/Eigen/src/Core/SolverBase.h +168 -0
  299. casadi/include/eigen3/Eigen/src/Core/StableNorm.h +251 -0
  300. casadi/include/eigen3/Eigen/src/Core/StlIterators.h +463 -0
  301. casadi/include/eigen3/Eigen/src/Core/Stride.h +116 -0
  302. casadi/include/eigen3/Eigen/src/Core/Swap.h +68 -0
  303. casadi/include/eigen3/Eigen/src/Core/Transpose.h +464 -0
  304. casadi/include/eigen3/Eigen/src/Core/Transpositions.h +386 -0
  305. casadi/include/eigen3/Eigen/src/Core/TriangularMatrix.h +1001 -0
  306. casadi/include/eigen3/Eigen/src/Core/VectorBlock.h +96 -0
  307. casadi/include/eigen3/Eigen/src/Core/VectorwiseOp.h +784 -0
  308. casadi/include/eigen3/Eigen/src/Core/Visitor.h +381 -0
  309. casadi/include/eigen3/Eigen/src/Core/arch/AVX/Complex.h +372 -0
  310. casadi/include/eigen3/Eigen/src/Core/arch/AVX/MathFunctions.h +228 -0
  311. casadi/include/eigen3/Eigen/src/Core/arch/AVX/PacketMath.h +1574 -0
  312. casadi/include/eigen3/Eigen/src/Core/arch/AVX/TypeCasting.h +115 -0
  313. casadi/include/eigen3/Eigen/src/Core/arch/AVX512/Complex.h +422 -0
  314. casadi/include/eigen3/Eigen/src/Core/arch/AVX512/MathFunctions.h +362 -0
  315. casadi/include/eigen3/Eigen/src/Core/arch/AVX512/PacketMath.h +2303 -0
  316. casadi/include/eigen3/Eigen/src/Core/arch/AVX512/TypeCasting.h +89 -0
  317. casadi/include/eigen3/Eigen/src/Core/arch/AltiVec/Complex.h +417 -0
  318. casadi/include/eigen3/Eigen/src/Core/arch/AltiVec/MathFunctions.h +90 -0
  319. casadi/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProduct.h +2937 -0
  320. casadi/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductCommon.h +221 -0
  321. casadi/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h +629 -0
  322. casadi/include/eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h +2711 -0
  323. casadi/include/eigen3/Eigen/src/Core/arch/CUDA/Complex.h +258 -0
  324. casadi/include/eigen3/Eigen/src/Core/arch/Default/BFloat16.h +700 -0
  325. casadi/include/eigen3/Eigen/src/Core/arch/Default/ConjHelper.h +117 -0
  326. casadi/include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h +1649 -0
  327. casadi/include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h +110 -0
  328. casadi/include/eigen3/Eigen/src/Core/arch/Default/Half.h +942 -0
  329. casadi/include/eigen3/Eigen/src/Core/arch/Default/Settings.h +49 -0
  330. casadi/include/eigen3/Eigen/src/Core/arch/Default/TypeCasting.h +120 -0
  331. casadi/include/eigen3/Eigen/src/Core/arch/GPU/MathFunctions.h +103 -0
  332. casadi/include/eigen3/Eigen/src/Core/arch/GPU/PacketMath.h +1685 -0
  333. casadi/include/eigen3/Eigen/src/Core/arch/GPU/TypeCasting.h +80 -0
  334. casadi/include/eigen3/Eigen/src/Core/arch/HIP/hcc/math_constants.h +23 -0
  335. casadi/include/eigen3/Eigen/src/Core/arch/MSA/Complex.h +648 -0
  336. casadi/include/eigen3/Eigen/src/Core/arch/MSA/MathFunctions.h +387 -0
  337. casadi/include/eigen3/Eigen/src/Core/arch/MSA/PacketMath.h +1233 -0
  338. casadi/include/eigen3/Eigen/src/Core/arch/NEON/Complex.h +584 -0
  339. casadi/include/eigen3/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h +183 -0
  340. casadi/include/eigen3/Eigen/src/Core/arch/NEON/MathFunctions.h +75 -0
  341. casadi/include/eigen3/Eigen/src/Core/arch/NEON/PacketMath.h +4587 -0
  342. casadi/include/eigen3/Eigen/src/Core/arch/NEON/TypeCasting.h +1419 -0
  343. casadi/include/eigen3/Eigen/src/Core/arch/SSE/Complex.h +351 -0
  344. casadi/include/eigen3/Eigen/src/Core/arch/SSE/MathFunctions.h +199 -0
  345. casadi/include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h +1505 -0
  346. casadi/include/eigen3/Eigen/src/Core/arch/SSE/TypeCasting.h +142 -0
  347. casadi/include/eigen3/Eigen/src/Core/arch/SVE/MathFunctions.h +44 -0
  348. casadi/include/eigen3/Eigen/src/Core/arch/SVE/PacketMath.h +752 -0
  349. casadi/include/eigen3/Eigen/src/Core/arch/SVE/TypeCasting.h +49 -0
  350. casadi/include/eigen3/Eigen/src/Core/arch/SYCL/InteropHeaders.h +232 -0
  351. casadi/include/eigen3/Eigen/src/Core/arch/SYCL/MathFunctions.h +301 -0
  352. casadi/include/eigen3/Eigen/src/Core/arch/SYCL/PacketMath.h +670 -0
  353. casadi/include/eigen3/Eigen/src/Core/arch/SYCL/SyclMemoryModel.h +694 -0
  354. casadi/include/eigen3/Eigen/src/Core/arch/SYCL/TypeCasting.h +85 -0
  355. casadi/include/eigen3/Eigen/src/Core/arch/ZVector/Complex.h +426 -0
  356. casadi/include/eigen3/Eigen/src/Core/arch/ZVector/MathFunctions.h +233 -0
  357. casadi/include/eigen3/Eigen/src/Core/arch/ZVector/PacketMath.h +1060 -0
  358. casadi/include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h +177 -0
  359. casadi/include/eigen3/Eigen/src/Core/functors/BinaryFunctors.h +541 -0
  360. casadi/include/eigen3/Eigen/src/Core/functors/NullaryFunctors.h +189 -0
  361. casadi/include/eigen3/Eigen/src/Core/functors/StlFunctors.h +166 -0
  362. casadi/include/eigen3/Eigen/src/Core/functors/TernaryFunctors.h +25 -0
  363. casadi/include/eigen3/Eigen/src/Core/functors/UnaryFunctors.h +1131 -0
  364. casadi/include/eigen3/Eigen/src/Core/products/GeneralBlockPanelKernel.h +2645 -0
  365. casadi/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix.h +517 -0
  366. casadi/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h +317 -0
  367. casadi/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular_BLAS.h +145 -0
  368. casadi/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix_BLAS.h +124 -0
  369. casadi/include/eigen3/Eigen/src/Core/products/GeneralMatrixVector.h +518 -0
  370. casadi/include/eigen3/Eigen/src/Core/products/GeneralMatrixVector_BLAS.h +136 -0
  371. casadi/include/eigen3/Eigen/src/Core/products/Parallelizer.h +180 -0
  372. casadi/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +544 -0
  373. casadi/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix_BLAS.h +295 -0
  374. casadi/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector.h +262 -0
  375. casadi/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector_BLAS.h +118 -0
  376. casadi/include/eigen3/Eigen/src/Core/products/SelfadjointProduct.h +133 -0
  377. casadi/include/eigen3/Eigen/src/Core/products/SelfadjointRank2Update.h +94 -0
  378. casadi/include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix.h +472 -0
  379. casadi/include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix_BLAS.h +317 -0
  380. casadi/include/eigen3/Eigen/src/Core/products/TriangularMatrixVector.h +350 -0
  381. casadi/include/eigen3/Eigen/src/Core/products/TriangularMatrixVector_BLAS.h +255 -0
  382. casadi/include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix.h +337 -0
  383. casadi/include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix_BLAS.h +167 -0
  384. casadi/include/eigen3/Eigen/src/Core/products/TriangularSolverVector.h +148 -0
  385. casadi/include/eigen3/Eigen/src/Core/util/BlasUtil.h +583 -0
  386. casadi/include/eigen3/Eigen/src/Core/util/ConfigureVectorization.h +512 -0
  387. casadi/include/eigen3/Eigen/src/Core/util/Constants.h +563 -0
  388. casadi/include/eigen3/Eigen/src/Core/util/DisableStupidWarnings.h +106 -0
  389. casadi/include/eigen3/Eigen/src/Core/util/ForwardDeclarations.h +322 -0
  390. casadi/include/eigen3/Eigen/src/Core/util/IndexedViewHelper.h +186 -0
  391. casadi/include/eigen3/Eigen/src/Core/util/IntegralConstant.h +272 -0
  392. casadi/include/eigen3/Eigen/src/Core/util/MKL_support.h +137 -0
  393. casadi/include/eigen3/Eigen/src/Core/util/Macros.h +1464 -0
  394. casadi/include/eigen3/Eigen/src/Core/util/Memory.h +1163 -0
  395. casadi/include/eigen3/Eigen/src/Core/util/Meta.h +812 -0
  396. casadi/include/eigen3/Eigen/src/Core/util/NonMPL2.h +3 -0
  397. casadi/include/eigen3/Eigen/src/Core/util/ReenableStupidWarnings.h +31 -0
  398. casadi/include/eigen3/Eigen/src/Core/util/ReshapedHelper.h +51 -0
  399. casadi/include/eigen3/Eigen/src/Core/util/StaticAssert.h +221 -0
  400. casadi/include/eigen3/Eigen/src/Core/util/SymbolicIndex.h +293 -0
  401. casadi/include/eigen3/Eigen/src/Core/util/XprHelper.h +856 -0
  402. casadi/include/eigen3/Eigen/src/Eigenvalues/ComplexEigenSolver.h +346 -0
  403. casadi/include/eigen3/Eigen/src/Eigenvalues/ComplexSchur.h +462 -0
  404. casadi/include/eigen3/Eigen/src/Eigenvalues/ComplexSchur_LAPACKE.h +91 -0
  405. casadi/include/eigen3/Eigen/src/Eigenvalues/EigenSolver.h +622 -0
  406. casadi/include/eigen3/Eigen/src/Eigenvalues/GeneralizedEigenSolver.h +418 -0
  407. casadi/include/eigen3/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h +226 -0
  408. casadi/include/eigen3/Eigen/src/Eigenvalues/HessenbergDecomposition.h +374 -0
  409. casadi/include/eigen3/Eigen/src/Eigenvalues/MatrixBaseEigenvalues.h +158 -0
  410. casadi/include/eigen3/Eigen/src/Eigenvalues/RealQZ.h +657 -0
  411. casadi/include/eigen3/Eigen/src/Eigenvalues/RealSchur.h +558 -0
  412. casadi/include/eigen3/Eigen/src/Eigenvalues/RealSchur_LAPACKE.h +77 -0
  413. casadi/include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h +904 -0
  414. casadi/include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver_LAPACKE.h +87 -0
  415. casadi/include/eigen3/Eigen/src/Eigenvalues/Tridiagonalization.h +561 -0
  416. casadi/include/eigen3/Eigen/src/Geometry/AlignedBox.h +486 -0
  417. casadi/include/eigen3/Eigen/src/Geometry/AngleAxis.h +247 -0
  418. casadi/include/eigen3/Eigen/src/Geometry/EulerAngles.h +114 -0
  419. casadi/include/eigen3/Eigen/src/Geometry/Homogeneous.h +501 -0
  420. casadi/include/eigen3/Eigen/src/Geometry/Hyperplane.h +282 -0
  421. casadi/include/eigen3/Eigen/src/Geometry/OrthoMethods.h +235 -0
  422. casadi/include/eigen3/Eigen/src/Geometry/ParametrizedLine.h +232 -0
  423. casadi/include/eigen3/Eigen/src/Geometry/Quaternion.h +870 -0
  424. casadi/include/eigen3/Eigen/src/Geometry/Rotation2D.h +199 -0
  425. casadi/include/eigen3/Eigen/src/Geometry/RotationBase.h +206 -0
  426. casadi/include/eigen3/Eigen/src/Geometry/Scaling.h +188 -0
  427. casadi/include/eigen3/Eigen/src/Geometry/Transform.h +1563 -0
  428. casadi/include/eigen3/Eigen/src/Geometry/Translation.h +202 -0
  429. casadi/include/eigen3/Eigen/src/Geometry/Umeyama.h +166 -0
  430. casadi/include/eigen3/Eigen/src/Geometry/arch/Geometry_SIMD.h +168 -0
  431. casadi/include/eigen3/Eigen/src/Householder/BlockHouseholder.h +110 -0
  432. casadi/include/eigen3/Eigen/src/Householder/Householder.h +176 -0
  433. casadi/include/eigen3/Eigen/src/Householder/HouseholderSequence.h +545 -0
  434. casadi/include/eigen3/Eigen/src/IterativeLinearSolvers/BasicPreconditioners.h +226 -0
  435. casadi/include/eigen3/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h +212 -0
  436. casadi/include/eigen3/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h +229 -0
  437. casadi/include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h +394 -0
  438. casadi/include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteLUT.h +453 -0
  439. casadi/include/eigen3/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h +444 -0
  440. casadi/include/eigen3/Eigen/src/IterativeLinearSolvers/LeastSquareConjugateGradient.h +198 -0
  441. casadi/include/eigen3/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h +117 -0
  442. casadi/include/eigen3/Eigen/src/Jacobi/Jacobi.h +483 -0
  443. casadi/include/eigen3/Eigen/src/KLUSupport/KLUSupport.h +358 -0
  444. casadi/include/eigen3/Eigen/src/LU/Determinant.h +117 -0
  445. casadi/include/eigen3/Eigen/src/LU/FullPivLU.h +877 -0
  446. casadi/include/eigen3/Eigen/src/LU/InverseImpl.h +432 -0
  447. casadi/include/eigen3/Eigen/src/LU/PartialPivLU.h +624 -0
  448. casadi/include/eigen3/Eigen/src/LU/PartialPivLU_LAPACKE.h +83 -0
  449. casadi/include/eigen3/Eigen/src/LU/arch/InverseSize4.h +351 -0
  450. casadi/include/eigen3/Eigen/src/MetisSupport/MetisSupport.h +137 -0
  451. casadi/include/eigen3/Eigen/src/OrderingMethods/Amd.h +435 -0
  452. casadi/include/eigen3/Eigen/src/OrderingMethods/Eigen_Colamd.h +1863 -0
  453. casadi/include/eigen3/Eigen/src/OrderingMethods/Ordering.h +153 -0
  454. casadi/include/eigen3/Eigen/src/PaStiXSupport/PaStiXSupport.h +678 -0
  455. casadi/include/eigen3/Eigen/src/PardisoSupport/PardisoSupport.h +545 -0
  456. casadi/include/eigen3/Eigen/src/QR/ColPivHouseholderQR.h +674 -0
  457. casadi/include/eigen3/Eigen/src/QR/ColPivHouseholderQR_LAPACKE.h +97 -0
  458. casadi/include/eigen3/Eigen/src/QR/CompleteOrthogonalDecomposition.h +635 -0
  459. casadi/include/eigen3/Eigen/src/QR/FullPivHouseholderQR.h +713 -0
  460. casadi/include/eigen3/Eigen/src/QR/HouseholderQR.h +434 -0
  461. casadi/include/eigen3/Eigen/src/QR/HouseholderQR_LAPACKE.h +68 -0
  462. casadi/include/eigen3/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h +335 -0
  463. casadi/include/eigen3/Eigen/src/SVD/BDCSVD.h +1366 -0
  464. casadi/include/eigen3/Eigen/src/SVD/JacobiSVD.h +812 -0
  465. casadi/include/eigen3/Eigen/src/SVD/JacobiSVD_LAPACKE.h +91 -0
  466. casadi/include/eigen3/Eigen/src/SVD/SVDBase.h +376 -0
  467. casadi/include/eigen3/Eigen/src/SVD/UpperBidiagonalization.h +414 -0
  468. casadi/include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky.h +697 -0
  469. casadi/include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h +174 -0
  470. casadi/include/eigen3/Eigen/src/SparseCore/AmbiVector.h +378 -0
  471. casadi/include/eigen3/Eigen/src/SparseCore/CompressedStorage.h +274 -0
  472. casadi/include/eigen3/Eigen/src/SparseCore/ConservativeSparseSparseProduct.h +352 -0
  473. casadi/include/eigen3/Eigen/src/SparseCore/MappedSparseMatrix.h +67 -0
  474. casadi/include/eigen3/Eigen/src/SparseCore/SparseAssign.h +270 -0
  475. casadi/include/eigen3/Eigen/src/SparseCore/SparseBlock.h +571 -0
  476. casadi/include/eigen3/Eigen/src/SparseCore/SparseColEtree.h +206 -0
  477. casadi/include/eigen3/Eigen/src/SparseCore/SparseCompressedBase.h +370 -0
  478. casadi/include/eigen3/Eigen/src/SparseCore/SparseCwiseBinaryOp.h +722 -0
  479. casadi/include/eigen3/Eigen/src/SparseCore/SparseCwiseUnaryOp.h +150 -0
  480. casadi/include/eigen3/Eigen/src/SparseCore/SparseDenseProduct.h +342 -0
  481. casadi/include/eigen3/Eigen/src/SparseCore/SparseDiagonalProduct.h +138 -0
  482. casadi/include/eigen3/Eigen/src/SparseCore/SparseDot.h +98 -0
  483. casadi/include/eigen3/Eigen/src/SparseCore/SparseFuzzy.h +29 -0
  484. casadi/include/eigen3/Eigen/src/SparseCore/SparseMap.h +305 -0
  485. casadi/include/eigen3/Eigen/src/SparseCore/SparseMatrix.h +1518 -0
  486. casadi/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h +398 -0
  487. casadi/include/eigen3/Eigen/src/SparseCore/SparsePermutation.h +178 -0
  488. casadi/include/eigen3/Eigen/src/SparseCore/SparseProduct.h +181 -0
  489. casadi/include/eigen3/Eigen/src/SparseCore/SparseRedux.h +49 -0
  490. casadi/include/eigen3/Eigen/src/SparseCore/SparseRef.h +397 -0
  491. casadi/include/eigen3/Eigen/src/SparseCore/SparseSelfAdjointView.h +659 -0
  492. casadi/include/eigen3/Eigen/src/SparseCore/SparseSolverBase.h +124 -0
  493. casadi/include/eigen3/Eigen/src/SparseCore/SparseSparseProductWithPruning.h +198 -0
  494. casadi/include/eigen3/Eigen/src/SparseCore/SparseTranspose.h +92 -0
  495. casadi/include/eigen3/Eigen/src/SparseCore/SparseTriangularView.h +189 -0
  496. casadi/include/eigen3/Eigen/src/SparseCore/SparseUtil.h +186 -0
  497. casadi/include/eigen3/Eigen/src/SparseCore/SparseVector.h +478 -0
  498. casadi/include/eigen3/Eigen/src/SparseCore/SparseView.h +254 -0
  499. casadi/include/eigen3/Eigen/src/SparseCore/TriangularSolver.h +315 -0
  500. casadi/include/eigen3/Eigen/src/SparseLU/SparseLU.h +923 -0
  501. casadi/include/eigen3/Eigen/src/SparseLU/SparseLUImpl.h +66 -0
  502. casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_Memory.h +226 -0
  503. casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_Structs.h +110 -0
  504. casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_SupernodalMatrix.h +375 -0
  505. casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_Utils.h +80 -0
  506. casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_column_bmod.h +181 -0
  507. casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_column_dfs.h +179 -0
  508. casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_copy_to_ucol.h +107 -0
  509. casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_gemm_kernel.h +280 -0
  510. casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h +126 -0
  511. casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_kernel_bmod.h +130 -0
  512. casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_panel_bmod.h +223 -0
  513. casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_panel_dfs.h +258 -0
  514. casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_pivotL.h +137 -0
  515. casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_pruneL.h +136 -0
  516. casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_relax_snode.h +83 -0
  517. casadi/include/eigen3/Eigen/src/SparseQR/SparseQR.h +758 -0
  518. casadi/include/eigen3/Eigen/src/StlSupport/StdDeque.h +116 -0
  519. casadi/include/eigen3/Eigen/src/StlSupport/StdList.h +106 -0
  520. casadi/include/eigen3/Eigen/src/StlSupport/StdVector.h +131 -0
  521. casadi/include/eigen3/Eigen/src/StlSupport/details.h +84 -0
  522. casadi/include/eigen3/Eigen/src/SuperLUSupport/SuperLUSupport.h +1025 -0
  523. casadi/include/eigen3/Eigen/src/UmfPackSupport/UmfPackSupport.h +642 -0
  524. casadi/include/eigen3/Eigen/src/misc/Image.h +82 -0
  525. casadi/include/eigen3/Eigen/src/misc/Kernel.h +79 -0
  526. casadi/include/eigen3/Eigen/src/misc/RealSvd2x2.h +55 -0
  527. casadi/include/eigen3/Eigen/src/misc/blas.h +440 -0
  528. casadi/include/eigen3/Eigen/src/misc/lapack.h +152 -0
  529. casadi/include/eigen3/Eigen/src/misc/lapacke.h +16292 -0
  530. casadi/include/eigen3/Eigen/src/misc/lapacke_mangling.h +17 -0
  531. casadi/include/eigen3/Eigen/src/plugins/ArrayCwiseBinaryOps.h +358 -0
  532. casadi/include/eigen3/Eigen/src/plugins/ArrayCwiseUnaryOps.h +696 -0
  533. casadi/include/eigen3/Eigen/src/plugins/BlockMethods.h +1442 -0
  534. casadi/include/eigen3/Eigen/src/plugins/CommonCwiseBinaryOps.h +115 -0
  535. casadi/include/eigen3/Eigen/src/plugins/CommonCwiseUnaryOps.h +177 -0
  536. casadi/include/eigen3/Eigen/src/plugins/IndexedViewMethods.h +262 -0
  537. casadi/include/eigen3/Eigen/src/plugins/MatrixCwiseBinaryOps.h +152 -0
  538. casadi/include/eigen3/Eigen/src/plugins/MatrixCwiseUnaryOps.h +95 -0
  539. casadi/include/eigen3/Eigen/src/plugins/ReshapedMethods.h +149 -0
  540. casadi/include/eigen3/signature_of_eigen3_matrix_library +1 -0
  541. casadi/include/eigen3/unsupported/Eigen/AdolcForward +159 -0
  542. casadi/include/eigen3/unsupported/Eigen/AlignedVector3 +234 -0
  543. casadi/include/eigen3/unsupported/Eigen/ArpackSupport +30 -0
  544. casadi/include/eigen3/unsupported/Eigen/AutoDiff +46 -0
  545. casadi/include/eigen3/unsupported/Eigen/BVH +95 -0
  546. casadi/include/eigen3/unsupported/Eigen/CXX11/Tensor +137 -0
  547. casadi/include/eigen3/unsupported/Eigen/CXX11/TensorSymmetry +42 -0
  548. casadi/include/eigen3/unsupported/Eigen/CXX11/ThreadPool +74 -0
  549. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/Tensor.h +554 -0
  550. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h +329 -0
  551. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h +247 -0
  552. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBase.h +1176 -0
  553. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h +1559 -0
  554. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h +1093 -0
  555. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h +518 -0
  556. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h +377 -0
  557. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h +1023 -0
  558. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionBlocking.h +73 -0
  559. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionCuda.h +6 -0
  560. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionGpu.h +1413 -0
  561. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h +575 -0
  562. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionSycl.h +1650 -0
  563. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h +1679 -0
  564. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h +456 -0
  565. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +1132 -0
  566. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolutionSycl.h +544 -0
  567. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCostModel.h +214 -0
  568. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCustomOp.h +347 -0
  569. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDevice.h +137 -0
  570. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceCuda.h +6 -0
  571. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceDefault.h +104 -0
  572. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceGpu.h +389 -0
  573. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h +1048 -0
  574. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h +409 -0
  575. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h +236 -0
  576. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h +490 -0
  577. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvalTo.h +236 -0
  578. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h +983 -0
  579. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h +703 -0
  580. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h +388 -0
  581. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFFT.h +669 -0
  582. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h +379 -0
  583. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForcedEval.h +237 -0
  584. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h +191 -0
  585. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h +488 -0
  586. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGenerator.h +302 -0
  587. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGlobalFunctions.h +33 -0
  588. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaDefines.h +99 -0
  589. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaUndefines.h +44 -0
  590. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIO.h +79 -0
  591. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h +603 -0
  592. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h +738 -0
  593. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInflation.h +247 -0
  594. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInitializer.h +82 -0
  595. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h +263 -0
  596. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorLayoutSwap.h +216 -0
  597. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMacros.h +98 -0
  598. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMap.h +327 -0
  599. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h +311 -0
  600. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h +1102 -0
  601. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPadding.h +708 -0
  602. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPatch.h +291 -0
  603. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h +322 -0
  604. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h +998 -0
  605. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionCuda.h +6 -0
  606. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionGpu.h +966 -0
  607. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionSycl.h +582 -0
  608. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRef.h +454 -0
  609. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReverse.h +465 -0
  610. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorScan.h +528 -0
  611. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorScanSycl.h +513 -0
  612. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorShuffling.h +471 -0
  613. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h +161 -0
  614. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStriding.h +346 -0
  615. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTrace.h +303 -0
  616. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h +264 -0
  617. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h +249 -0
  618. casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorVolumePatch.h +629 -0
  619. casadi/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/DynamicSymmetry.h +293 -0
  620. casadi/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/StaticSymmetry.h +236 -0
  621. casadi/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/Symmetry.h +338 -0
  622. casadi/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/util/TemplateGroupTheory.h +669 -0
  623. casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/Barrier.h +67 -0
  624. casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/EventCount.h +249 -0
  625. casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/NonBlockingThreadPool.h +486 -0
  626. casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/RunQueue.h +236 -0
  627. casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadCancel.h +23 -0
  628. casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadEnvironment.h +40 -0
  629. casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadLocal.h +301 -0
  630. casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadPoolInterface.h +48 -0
  631. casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadYield.h +20 -0
  632. casadi/include/eigen3/unsupported/Eigen/CXX11/src/util/CXX11Meta.h +537 -0
  633. casadi/include/eigen3/unsupported/Eigen/CXX11/src/util/CXX11Workarounds.h +88 -0
  634. casadi/include/eigen3/unsupported/Eigen/CXX11/src/util/EmulateArray.h +261 -0
  635. casadi/include/eigen3/unsupported/Eigen/CXX11/src/util/MaxSizeVector.h +158 -0
  636. casadi/include/eigen3/unsupported/Eigen/EulerAngles +43 -0
  637. casadi/include/eigen3/unsupported/Eigen/FFT +419 -0
  638. casadi/include/eigen3/unsupported/Eigen/IterativeSolvers +51 -0
  639. casadi/include/eigen3/unsupported/Eigen/KroneckerProduct +36 -0
  640. casadi/include/eigen3/unsupported/Eigen/LevenbergMarquardt +49 -0
  641. casadi/include/eigen3/unsupported/Eigen/MPRealSupport +213 -0
  642. casadi/include/eigen3/unsupported/Eigen/MatrixFunctions +504 -0
  643. casadi/include/eigen3/unsupported/Eigen/MoreVectorization +24 -0
  644. casadi/include/eigen3/unsupported/Eigen/NonLinearOptimization +140 -0
  645. casadi/include/eigen3/unsupported/Eigen/NumericalDiff +56 -0
  646. casadi/include/eigen3/unsupported/Eigen/OpenGLSupport +322 -0
  647. casadi/include/eigen3/unsupported/Eigen/Polynomials +137 -0
  648. casadi/include/eigen3/unsupported/Eigen/Skyline +39 -0
  649. casadi/include/eigen3/unsupported/Eigen/SparseExtra +54 -0
  650. casadi/include/eigen3/unsupported/Eigen/SpecialFunctions +103 -0
  651. casadi/include/eigen3/unsupported/Eigen/Splines +35 -0
  652. casadi/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffJacobian.h +108 -0
  653. casadi/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h +730 -0
  654. casadi/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffVector.h +220 -0
  655. casadi/include/eigen3/unsupported/Eigen/src/BVH/BVAlgorithms.h +293 -0
  656. casadi/include/eigen3/unsupported/Eigen/src/BVH/KdBVH.h +223 -0
  657. casadi/include/eigen3/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h +790 -0
  658. casadi/include/eigen3/unsupported/Eigen/src/EulerAngles/EulerAngles.h +355 -0
  659. casadi/include/eigen3/unsupported/Eigen/src/EulerAngles/EulerSystem.h +305 -0
  660. casadi/include/eigen3/unsupported/Eigen/src/FFT/ei_fftw_impl.h +261 -0
  661. casadi/include/eigen3/unsupported/Eigen/src/FFT/ei_kissfft_impl.h +449 -0
  662. casadi/include/eigen3/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h +187 -0
  663. casadi/include/eigen3/unsupported/Eigen/src/IterativeSolvers/DGMRES.h +511 -0
  664. casadi/include/eigen3/unsupported/Eigen/src/IterativeSolvers/GMRES.h +335 -0
  665. casadi/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IDRS.h +436 -0
  666. casadi/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IncompleteLU.h +90 -0
  667. casadi/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IterationController.h +154 -0
  668. casadi/include/eigen3/unsupported/Eigen/src/IterativeSolvers/MINRES.h +267 -0
  669. casadi/include/eigen3/unsupported/Eigen/src/IterativeSolvers/Scaling.h +193 -0
  670. casadi/include/eigen3/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h +305 -0
  671. casadi/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMcovar.h +84 -0
  672. casadi/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMonestep.h +202 -0
  673. casadi/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMpar.h +160 -0
  674. casadi/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMqrsolv.h +188 -0
  675. casadi/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LevenbergMarquardt.h +396 -0
  676. casadi/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h +441 -0
  677. casadi/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixFunction.h +569 -0
  678. casadi/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixLogarithm.h +373 -0
  679. casadi/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixPower.h +705 -0
  680. casadi/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h +368 -0
  681. casadi/include/eigen3/unsupported/Eigen/src/MatrixFunctions/StemFunction.h +117 -0
  682. casadi/include/eigen3/unsupported/Eigen/src/MoreVectorization/MathFunctions.h +95 -0
  683. casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h +601 -0
  684. casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h +657 -0
  685. casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/chkder.h +66 -0
  686. casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/covar.h +70 -0
  687. casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/dogleg.h +107 -0
  688. casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/fdjac1.h +79 -0
  689. casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/lmpar.h +298 -0
  690. casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/qrsolv.h +91 -0
  691. casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1mpyq.h +30 -0
  692. casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1updt.h +99 -0
  693. casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/rwupdt.h +49 -0
  694. casadi/include/eigen3/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h +130 -0
  695. casadi/include/eigen3/unsupported/Eigen/src/Polynomials/Companion.h +280 -0
  696. casadi/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h +428 -0
  697. casadi/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h +143 -0
  698. casadi/include/eigen3/unsupported/Eigen/src/Skyline/SkylineInplaceLU.h +352 -0
  699. casadi/include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrix.h +862 -0
  700. casadi/include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrixBase.h +212 -0
  701. casadi/include/eigen3/unsupported/Eigen/src/Skyline/SkylineProduct.h +295 -0
  702. casadi/include/eigen3/unsupported/Eigen/src/Skyline/SkylineStorage.h +259 -0
  703. casadi/include/eigen3/unsupported/Eigen/src/Skyline/SkylineUtil.h +89 -0
  704. casadi/include/eigen3/unsupported/Eigen/src/SparseExtra/BlockOfDynamicSparseMatrix.h +122 -0
  705. casadi/include/eigen3/unsupported/Eigen/src/SparseExtra/BlockSparseMatrix.h +1079 -0
  706. casadi/include/eigen3/unsupported/Eigen/src/SparseExtra/DynamicSparseMatrix.h +404 -0
  707. casadi/include/eigen3/unsupported/Eigen/src/SparseExtra/MarketIO.h +282 -0
  708. casadi/include/eigen3/unsupported/Eigen/src/SparseExtra/MatrixMarketIterator.h +247 -0
  709. casadi/include/eigen3/unsupported/Eigen/src/SparseExtra/RandomSetter.h +349 -0
  710. casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsArrayAPI.h +286 -0
  711. casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsBFloat16.h +68 -0
  712. casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsFunctors.h +357 -0
  713. casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsHalf.h +66 -0
  714. casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsImpl.h +1959 -0
  715. casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsPacketMath.h +118 -0
  716. casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/HipVectorCompatibility.h +67 -0
  717. casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsArrayAPI.h +167 -0
  718. casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsBFloat16.h +58 -0
  719. casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsFunctors.h +330 -0
  720. casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsHalf.h +58 -0
  721. casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h +2045 -0
  722. casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsPacketMath.h +79 -0
  723. casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX/BesselFunctions.h +46 -0
  724. casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX/SpecialFunctions.h +16 -0
  725. casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/BesselFunctions.h +46 -0
  726. casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/SpecialFunctions.h +16 -0
  727. casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/GPU/SpecialFunctions.h +369 -0
  728. casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/NEON/BesselFunctions.h +54 -0
  729. casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/NEON/SpecialFunctions.h +34 -0
  730. casadi/include/eigen3/unsupported/Eigen/src/Splines/Spline.h +507 -0
  731. casadi/include/eigen3/unsupported/Eigen/src/Splines/SplineFitting.h +431 -0
  732. casadi/include/eigen3/unsupported/Eigen/src/Splines/SplineFwd.h +93 -0
  733. casadi/include/highs/HConfig.h +23 -0
  734. casadi/include/highs/Highs.h +1270 -0
  735. casadi/include/highs/filereaderlp/builder.hpp +26 -0
  736. casadi/include/highs/filereaderlp/model.hpp +71 -0
  737. casadi/include/highs/filereaderlp/reader.hpp +10 -0
  738. casadi/include/highs/fortran/highs_fortran_api.mod +0 -0
  739. casadi/include/highs/interfaces/highs_c_api.h +1720 -0
  740. casadi/include/highs/io/Filereader.h +49 -0
  741. casadi/include/highs/io/FilereaderEms.h +35 -0
  742. casadi/include/highs/io/FilereaderLp.h +56 -0
  743. casadi/include/highs/io/FilereaderMps.h +32 -0
  744. casadi/include/highs/io/HMPSIO.h +83 -0
  745. casadi/include/highs/io/HMpsFF.h +235 -0
  746. casadi/include/highs/io/HighsIO.h +93 -0
  747. casadi/include/highs/io/LoadOptions.h +26 -0
  748. casadi/include/highs/ipm/IpxWrapper.h +74 -0
  749. casadi/include/highs/lp_data/HConst.h +250 -0
  750. casadi/include/highs/lp_data/HStruct.h +100 -0
  751. casadi/include/highs/lp_data/HighsAnalysis.h +28 -0
  752. casadi/include/highs/lp_data/HighsDebug.h +39 -0
  753. casadi/include/highs/lp_data/HighsInfo.h +305 -0
  754. casadi/include/highs/lp_data/HighsInfoDebug.h +32 -0
  755. casadi/include/highs/lp_data/HighsLp.h +77 -0
  756. casadi/include/highs/lp_data/HighsLpSolverObject.h +47 -0
  757. casadi/include/highs/lp_data/HighsLpUtils.h +255 -0
  758. casadi/include/highs/lp_data/HighsModelUtils.h +95 -0
  759. casadi/include/highs/lp_data/HighsOptions.h +1061 -0
  760. casadi/include/highs/lp_data/HighsRanging.h +48 -0
  761. casadi/include/highs/lp_data/HighsRuntimeOptions.h +261 -0
  762. casadi/include/highs/lp_data/HighsSolution.h +137 -0
  763. casadi/include/highs/lp_data/HighsSolutionDebug.h +92 -0
  764. casadi/include/highs/lp_data/HighsSolve.h +26 -0
  765. casadi/include/highs/lp_data/HighsStatus.h +34 -0
  766. casadi/include/highs/mip/HighsCliqueTable.h +320 -0
  767. casadi/include/highs/mip/HighsConflictPool.h +114 -0
  768. casadi/include/highs/mip/HighsCutGeneration.h +98 -0
  769. casadi/include/highs/mip/HighsCutPool.h +173 -0
  770. casadi/include/highs/mip/HighsDebugSol.h +144 -0
  771. casadi/include/highs/mip/HighsDomain.h +633 -0
  772. casadi/include/highs/mip/HighsDomainChange.h +53 -0
  773. casadi/include/highs/mip/HighsDynamicRowMatrix.h +107 -0
  774. casadi/include/highs/mip/HighsGFkSolve.h +443 -0
  775. casadi/include/highs/mip/HighsImplications.h +148 -0
  776. casadi/include/highs/mip/HighsLpAggregator.h +55 -0
  777. casadi/include/highs/mip/HighsLpRelaxation.h +357 -0
  778. casadi/include/highs/mip/HighsMipSolver.h +91 -0
  779. casadi/include/highs/mip/HighsMipSolverData.h +189 -0
  780. casadi/include/highs/mip/HighsModkSeparator.h +65 -0
  781. casadi/include/highs/mip/HighsNodeQueue.h +318 -0
  782. casadi/include/highs/mip/HighsObjectiveFunction.h +76 -0
  783. casadi/include/highs/mip/HighsPathSeparator.h +44 -0
  784. casadi/include/highs/mip/HighsPrimalHeuristics.h +70 -0
  785. casadi/include/highs/mip/HighsPseudocost.h +353 -0
  786. casadi/include/highs/mip/HighsRedcostFixing.h +47 -0
  787. casadi/include/highs/mip/HighsSearch.h +245 -0
  788. casadi/include/highs/mip/HighsSeparation.h +46 -0
  789. casadi/include/highs/mip/HighsSeparator.h +58 -0
  790. casadi/include/highs/mip/HighsTableauSeparator.h +39 -0
  791. casadi/include/highs/mip/HighsTransformedLp.h +68 -0
  792. casadi/include/highs/model/HighsHessian.h +47 -0
  793. casadi/include/highs/model/HighsHessianUtils.h +47 -0
  794. casadi/include/highs/model/HighsModel.h +41 -0
  795. casadi/include/highs/parallel/HighsBinarySemaphore.h +113 -0
  796. casadi/include/highs/parallel/HighsCacheAlign.h +87 -0
  797. casadi/include/highs/parallel/HighsCombinable.h +121 -0
  798. casadi/include/highs/parallel/HighsMutex.h +128 -0
  799. casadi/include/highs/parallel/HighsParallel.h +128 -0
  800. casadi/include/highs/parallel/HighsRaceTimer.h +43 -0
  801. casadi/include/highs/parallel/HighsSchedulerConstants.h +24 -0
  802. casadi/include/highs/parallel/HighsSpinMutex.h +52 -0
  803. casadi/include/highs/parallel/HighsSplitDeque.h +583 -0
  804. casadi/include/highs/parallel/HighsTask.h +176 -0
  805. casadi/include/highs/parallel/HighsTaskExecutor.h +201 -0
  806. casadi/include/highs/presolve/HPresolve.h +349 -0
  807. casadi/include/highs/presolve/HPresolveAnalysis.h +53 -0
  808. casadi/include/highs/presolve/HighsPostsolveStack.h +846 -0
  809. casadi/include/highs/presolve/HighsSymmetry.h +285 -0
  810. casadi/include/highs/presolve/ICrash.h +120 -0
  811. casadi/include/highs/presolve/ICrashUtil.h +65 -0
  812. casadi/include/highs/presolve/ICrashX.h +28 -0
  813. casadi/include/highs/presolve/PresolveComponent.h +131 -0
  814. casadi/include/highs/qpsolver/perturbation.hpp +8 -0
  815. casadi/include/highs/qpsolver/quass.hpp +23 -0
  816. casadi/include/highs/qpsolver/scaling.hpp +8 -0
  817. casadi/include/highs/qpsolver/vector.hpp +235 -0
  818. casadi/include/highs/simplex/HApp.h +424 -0
  819. casadi/include/highs/simplex/HEkk.h +368 -0
  820. casadi/include/highs/simplex/HEkkDual.h +517 -0
  821. casadi/include/highs/simplex/HEkkDualRHS.h +139 -0
  822. casadi/include/highs/simplex/HEkkDualRow.h +206 -0
  823. casadi/include/highs/simplex/HEkkPrimal.h +192 -0
  824. casadi/include/highs/simplex/HSimplex.h +49 -0
  825. casadi/include/highs/simplex/HSimplexDebug.h +53 -0
  826. casadi/include/highs/simplex/HSimplexNla.h +186 -0
  827. casadi/include/highs/simplex/HSimplexReport.h +26 -0
  828. casadi/include/highs/simplex/HighsSimplexAnalysis.h +377 -0
  829. casadi/include/highs/simplex/SimplexConst.h +272 -0
  830. casadi/include/highs/simplex/SimplexStruct.h +258 -0
  831. casadi/include/highs/simplex/SimplexTimer.h +429 -0
  832. casadi/include/highs/test/DevKkt.h +148 -0
  833. casadi/include/highs/test/KktCh2.h +84 -0
  834. casadi/include/highs/util/FactorTimer.h +226 -0
  835. casadi/include/highs/util/HFactor.h +560 -0
  836. casadi/include/highs/util/HFactorConst.h +86 -0
  837. casadi/include/highs/util/HFactorDebug.h +60 -0
  838. casadi/include/highs/util/HSet.h +94 -0
  839. casadi/include/highs/util/HVector.h +27 -0
  840. casadi/include/highs/util/HVectorBase.h +107 -0
  841. casadi/include/highs/util/HighsCDouble.h +312 -0
  842. casadi/include/highs/util/HighsComponent.h +58 -0
  843. casadi/include/highs/util/HighsDataStack.h +88 -0
  844. casadi/include/highs/util/HighsDisjointSets.h +112 -0
  845. casadi/include/highs/util/HighsHash.h +1255 -0
  846. casadi/include/highs/util/HighsHashTree.h +1425 -0
  847. casadi/include/highs/util/HighsInt.h +41 -0
  848. casadi/include/highs/util/HighsIntegers.h +218 -0
  849. casadi/include/highs/util/HighsLinearSumBounds.h +162 -0
  850. casadi/include/highs/util/HighsMatrixPic.h +42 -0
  851. casadi/include/highs/util/HighsMatrixSlice.h +563 -0
  852. casadi/include/highs/util/HighsMatrixUtils.h +59 -0
  853. casadi/include/highs/util/HighsRandom.h +235 -0
  854. casadi/include/highs/util/HighsRbTree.h +457 -0
  855. casadi/include/highs/util/HighsSort.h +136 -0
  856. casadi/include/highs/util/HighsSparseMatrix.h +140 -0
  857. casadi/include/highs/util/HighsSparseVectorSum.h +100 -0
  858. casadi/include/highs/util/HighsSplay.h +140 -0
  859. casadi/include/highs/util/HighsTimer.h +335 -0
  860. casadi/include/highs/util/HighsUtils.h +193 -0
  861. casadi/include/highs/util/stringutil.h +41 -0
  862. casadi/include/licenses/CSparse/Doc/License.txt +19 -0
  863. casadi/include/licenses/FMI-Standard-2.0.2/LICENSE.txt +473 -0
  864. casadi/include/licenses/FMI-Standard-3.0/LICENSE.txt +464 -0
  865. casadi/include/licenses/blasfeo-external/LICENSE.txt +26 -0
  866. casadi/include/licenses/bonmin-external/Bonmin/LICENSE +87 -0
  867. casadi/include/licenses/bonmin-external/LICENSE +3 -0
  868. casadi/include/licenses/casadi/LICENSE/LICENSE.txt +165 -0
  869. casadi/include/licenses/casadi-sundials/LICENSE +64 -0
  870. casadi/include/licenses/casadi-sundials/cvodes/LICENSE +60 -0
  871. casadi/include/licenses/casadi-sundials/idas/LICENSE +59 -0
  872. casadi/include/licenses/casadi-sundials/kinsol/LICENSE +59 -0
  873. casadi/include/licenses/casadi-sundials/sundials/LICENSE +67 -0
  874. casadi/include/licenses/cbc-external/Cbc/LICENSE +239 -0
  875. casadi/include/licenses/cbc-external/LICENSE +245 -0
  876. casadi/include/licenses/cgl-external/Cgl/LICENSE +239 -0
  877. casadi/include/licenses/cgl-external/LICENSE +245 -0
  878. casadi/include/licenses/clp-external/Clp/LICENSE +239 -0
  879. casadi/include/licenses/clp-external/LICENSE +245 -0
  880. casadi/include/licenses/coinutils-external/CoinUtils/LICENSE +239 -0
  881. casadi/include/licenses/coinutils-external/LICENSE +245 -0
  882. casadi/include/licenses/highs-external/LICENSE +21 -0
  883. casadi/include/licenses/highs-external/extern/filereaderlp/LICENSE +19 -0
  884. casadi/include/licenses/highs-external/extern/pdqsort/license.txt +16 -0
  885. casadi/include/licenses/ipopt-external/LICENSE +260 -0
  886. casadi/include/licenses/metis-external/LICENSE +87 -0
  887. casadi/include/licenses/metis-external/metis-4.0/LICENSE +18 -0
  888. casadi/include/licenses/mockups-external/LICENSE +21 -0
  889. casadi/include/licenses/mumps-external/LICENSE +87 -0
  890. casadi/include/licenses/mumps-external/MUMPS/LICENSE +50 -0
  891. casadi/include/licenses/osi-external/LICENSE +245 -0
  892. casadi/include/licenses/osi-external/Osi/LICENSE +239 -0
  893. casadi/include/licenses/osqp-external/LICENSE +201 -0
  894. casadi/include/licenses/osqp-external/lin_sys/direct/qdldl/amd/LICENSE +36 -0
  895. casadi/include/licenses/osqp-external/lin_sys/direct/qdldl/qdldl_sources/LICENSE +201 -0
  896. casadi/include/licenses/proxqp-external/LICENSE +25 -0
  897. casadi/include/licenses/proxqp-external/bindings/python/external/pybind11/LICENSE +29 -0
  898. casadi/include/licenses/proxqp-external/cmake-module/LICENSE +4 -0
  899. casadi/include/licenses/proxqp-external/cmake-module/doxygen/MathJax/LICENSE +202 -0
  900. casadi/include/licenses/proxqp-external/external/cereal/LICENSE +24 -0
  901. casadi/include/licenses/proxqp-external/external/cereal/include/cereal/external/LICENSE +21 -0
  902. casadi/include/licenses/proxqp-external/external/cereal/include/cereal/external/rapidjson/LICENSE +13 -0
  903. casadi/include/licenses/proxqp-external/external/cereal/include/cereal/external/rapidjson/msinttypes/LICENSE +29 -0
  904. casadi/include/licenses/proxqp-external/external/cereal/include/cereal/external/rapidxml/license.txt +52 -0
  905. casadi/include/licenses/qpOASES/LICENSE.txt +503 -0
  906. casadi/include/licenses/superscs-external/LICENSE.txt +24 -0
  907. casadi/include/licenses/tinyxml2-9.0.0/LICENSE.txt +18 -0
  908. casadi/include/osqp/auxil.h +181 -0
  909. casadi/include/osqp/constants.h +129 -0
  910. casadi/include/osqp/cs.h +180 -0
  911. casadi/include/osqp/ctrlc.h +56 -0
  912. casadi/include/osqp/error.h +38 -0
  913. casadi/include/osqp/glob_opts.h +167 -0
  914. casadi/include/osqp/lin_alg.h +216 -0
  915. casadi/include/osqp/lin_sys.h +54 -0
  916. casadi/include/osqp/osqp.h +430 -0
  917. casadi/include/osqp/osqp_configure.h +49 -0
  918. casadi/include/osqp/polish.h +25 -0
  919. casadi/include/osqp/proj.h +37 -0
  920. casadi/include/osqp/scaling.h +44 -0
  921. casadi/include/osqp/types.h +326 -0
  922. casadi/include/osqp/util.h +222 -0
  923. casadi/include/proxsuite/config.hpp +68 -0
  924. casadi/include/proxsuite/deprecated.hpp +56 -0
  925. casadi/include/proxsuite/fwd.hpp +52 -0
  926. casadi/include/proxsuite/helpers/common.hpp +70 -0
  927. casadi/include/proxsuite/helpers/instruction-set.hpp +275 -0
  928. casadi/include/proxsuite/helpers/optional.hpp +46 -0
  929. casadi/include/proxsuite/helpers/tl-optional.hpp +2472 -0
  930. casadi/include/proxsuite/helpers/version.hpp +39 -0
  931. casadi/include/proxsuite/linalg/dense/core.hpp +863 -0
  932. casadi/include/proxsuite/linalg/dense/factorize.hpp +375 -0
  933. casadi/include/proxsuite/linalg/dense/ldlt.hpp +817 -0
  934. casadi/include/proxsuite/linalg/dense/modify.hpp +333 -0
  935. casadi/include/proxsuite/linalg/dense/solve.hpp +38 -0
  936. casadi/include/proxsuite/linalg/dense/update.hpp +330 -0
  937. casadi/include/proxsuite/linalg/sparse/core.hpp +531 -0
  938. casadi/include/proxsuite/linalg/sparse/factorize.hpp +1303 -0
  939. casadi/include/proxsuite/linalg/sparse/rowmod.hpp +443 -0
  940. casadi/include/proxsuite/linalg/sparse/update.hpp +348 -0
  941. casadi/include/proxsuite/linalg/veg/internal/assert_impl.hpp +20 -0
  942. casadi/include/proxsuite/linalg/veg/internal/collection_algo.hpp +93 -0
  943. casadi/include/proxsuite/linalg/veg/internal/dbg.hpp +15 -0
  944. casadi/include/proxsuite/linalg/veg/internal/delete_special_members.hpp +77 -0
  945. casadi/include/proxsuite/linalg/veg/internal/dyn_index.hpp +292 -0
  946. casadi/include/proxsuite/linalg/veg/internal/epilogue.hpp +31 -0
  947. casadi/include/proxsuite/linalg/veg/internal/external/hedley.ext.hpp +2074 -0
  948. casadi/include/proxsuite/linalg/veg/internal/external/unhedley.ext.hpp +148 -0
  949. casadi/include/proxsuite/linalg/veg/internal/fix_index.hpp +339 -0
  950. casadi/include/proxsuite/linalg/veg/internal/has_asan.hpp +17 -0
  951. casadi/include/proxsuite/linalg/veg/internal/integer_seq.hpp +248 -0
  952. casadi/include/proxsuite/linalg/veg/internal/macros.hpp +1312 -0
  953. casadi/include/proxsuite/linalg/veg/internal/narrow.hpp +46 -0
  954. casadi/include/proxsuite/linalg/veg/internal/preprocessor.hpp +434 -0
  955. casadi/include/proxsuite/linalg/veg/internal/prologue.hpp +157 -0
  956. casadi/include/proxsuite/linalg/veg/internal/std.hpp +13 -0
  957. casadi/include/proxsuite/linalg/veg/internal/terminate.hpp +22 -0
  958. casadi/include/proxsuite/linalg/veg/internal/typedefs.hpp +58 -0
  959. casadi/include/proxsuite/linalg/veg/memory/address.hpp +97 -0
  960. casadi/include/proxsuite/linalg/veg/memory/alloc.hpp +352 -0
  961. casadi/include/proxsuite/linalg/veg/memory/dynamic_stack.hpp +504 -0
  962. casadi/include/proxsuite/linalg/veg/memory/placement.hpp +202 -0
  963. casadi/include/proxsuite/linalg/veg/memory/stack_alloc.hpp +239 -0
  964. casadi/include/proxsuite/linalg/veg/ref.hpp +148 -0
  965. casadi/include/proxsuite/linalg/veg/slice.hpp +240 -0
  966. casadi/include/proxsuite/linalg/veg/tuple.hpp +876 -0
  967. casadi/include/proxsuite/linalg/veg/type_traits/alloc.hpp +169 -0
  968. casadi/include/proxsuite/linalg/veg/type_traits/assignable.hpp +53 -0
  969. casadi/include/proxsuite/linalg/veg/type_traits/constructible.hpp +217 -0
  970. casadi/include/proxsuite/linalg/veg/type_traits/core.hpp +298 -0
  971. casadi/include/proxsuite/linalg/veg/type_traits/invocable.hpp +47 -0
  972. casadi/include/proxsuite/linalg/veg/type_traits/primitives.hpp +43 -0
  973. casadi/include/proxsuite/linalg/veg/type_traits/tags.hpp +47 -0
  974. casadi/include/proxsuite/linalg/veg/util/assert.hpp +48 -0
  975. casadi/include/proxsuite/linalg/veg/util/dbg.hpp +6 -0
  976. casadi/include/proxsuite/linalg/veg/util/defer.hpp +57 -0
  977. casadi/include/proxsuite/linalg/veg/util/dynstack_alloc.hpp +19 -0
  978. casadi/include/proxsuite/linalg/veg/util/get.hpp +153 -0
  979. casadi/include/proxsuite/linalg/veg/util/index.hpp +6 -0
  980. casadi/include/proxsuite/linalg/veg/util/unreachable.hpp +41 -0
  981. casadi/include/proxsuite/linalg/veg/vec.hpp +1034 -0
  982. casadi/include/proxsuite/proxqp/dense/dense.hpp +10 -0
  983. casadi/include/proxsuite/proxqp/dense/fwd.hpp +55 -0
  984. casadi/include/proxsuite/proxqp/dense/helpers.hpp +520 -0
  985. casadi/include/proxsuite/proxqp/dense/linesearch.hpp +517 -0
  986. casadi/include/proxsuite/proxqp/dense/model.hpp +147 -0
  987. casadi/include/proxsuite/proxqp/dense/preconditioner/identity.hpp +113 -0
  988. casadi/include/proxsuite/proxqp/dense/preconditioner/ruiz.hpp +571 -0
  989. casadi/include/proxsuite/proxqp/dense/solver.hpp +1330 -0
  990. casadi/include/proxsuite/proxqp/dense/utils.hpp +415 -0
  991. casadi/include/proxsuite/proxqp/dense/views.hpp +1466 -0
  992. casadi/include/proxsuite/proxqp/dense/workspace.hpp +264 -0
  993. casadi/include/proxsuite/proxqp/dense/wrapper.hpp +491 -0
  994. casadi/include/proxsuite/proxqp/results.hpp +212 -0
  995. casadi/include/proxsuite/proxqp/settings.hpp +302 -0
  996. casadi/include/proxsuite/proxqp/sparse/fwd.hpp +58 -0
  997. casadi/include/proxsuite/proxqp/sparse/helpers.hpp +309 -0
  998. casadi/include/proxsuite/proxqp/sparse/model.hpp +228 -0
  999. casadi/include/proxsuite/proxqp/sparse/preconditioner/identity.hpp +64 -0
  1000. casadi/include/proxsuite/proxqp/sparse/preconditioner/ruiz.hpp +569 -0
  1001. casadi/include/proxsuite/proxqp/sparse/solver.hpp +1441 -0
  1002. casadi/include/proxsuite/proxqp/sparse/sparse.hpp +10 -0
  1003. casadi/include/proxsuite/proxqp/sparse/utils.hpp +815 -0
  1004. casadi/include/proxsuite/proxqp/sparse/views.hpp +63 -0
  1005. casadi/include/proxsuite/proxqp/sparse/workspace.hpp +790 -0
  1006. casadi/include/proxsuite/proxqp/sparse/wrapper.hpp +772 -0
  1007. casadi/include/proxsuite/proxqp/status.hpp +46 -0
  1008. casadi/include/proxsuite/proxqp/timings.hpp +101 -0
  1009. casadi/include/proxsuite/proxqp/utils/prints.hpp +47 -0
  1010. casadi/include/proxsuite/proxqp/utils/random_qp_problems.hpp +669 -0
  1011. casadi/include/proxsuite/serialization/archive.hpp +231 -0
  1012. casadi/include/proxsuite/serialization/eigen.hpp +107 -0
  1013. casadi/include/proxsuite/serialization/model.hpp +34 -0
  1014. casadi/include/proxsuite/serialization/results.hpp +74 -0
  1015. casadi/include/proxsuite/serialization/settings.hpp +60 -0
  1016. casadi/include/proxsuite/serialization/wrapper.hpp +24 -0
  1017. casadi/include/proxsuite/warning.hpp +35 -0
  1018. casadi/include/simde/arm/neon/aba.h +208 -0
  1019. casadi/include/simde/arm/neon/abd.h +384 -0
  1020. casadi/include/simde/arm/neon/abdl.h +147 -0
  1021. casadi/include/simde/arm/neon/abs.h +408 -0
  1022. casadi/include/simde/arm/neon/add.h +681 -0
  1023. casadi/include/simde/arm/neon/addl.h +127 -0
  1024. casadi/include/simde/arm/neon/addl_high.h +127 -0
  1025. casadi/include/simde/arm/neon/addlv.h +317 -0
  1026. casadi/include/simde/arm/neon/addv.h +447 -0
  1027. casadi/include/simde/arm/neon/addw.h +222 -0
  1028. casadi/include/simde/arm/neon/addw_high.h +193 -0
  1029. casadi/include/simde/arm/neon/and.h +552 -0
  1030. casadi/include/simde/arm/neon/bic.h +472 -0
  1031. casadi/include/simde/arm/neon/bsl.h +448 -0
  1032. casadi/include/simde/arm/neon/cagt.h +168 -0
  1033. casadi/include/simde/arm/neon/ceq.h +711 -0
  1034. casadi/include/simde/arm/neon/ceqz.h +335 -0
  1035. casadi/include/simde/arm/neon/cge.h +677 -0
  1036. casadi/include/simde/arm/neon/cgez.h +378 -0
  1037. casadi/include/simde/arm/neon/cgt.h +686 -0
  1038. casadi/include/simde/arm/neon/cgtz.h +380 -0
  1039. casadi/include/simde/arm/neon/cle.h +677 -0
  1040. casadi/include/simde/arm/neon/clez.h +378 -0
  1041. casadi/include/simde/arm/neon/cls.h +148 -0
  1042. casadi/include/simde/arm/neon/clt.h +679 -0
  1043. casadi/include/simde/arm/neon/cltz.h +263 -0
  1044. casadi/include/simde/arm/neon/clz.h +423 -0
  1045. casadi/include/simde/arm/neon/cnt.h +145 -0
  1046. casadi/include/simde/arm/neon/combine.h +343 -0
  1047. casadi/include/simde/arm/neon/create.h +186 -0
  1048. casadi/include/simde/arm/neon/cvt.h +492 -0
  1049. casadi/include/simde/arm/neon/dot.h +171 -0
  1050. casadi/include/simde/arm/neon/dot_lane.h +196 -0
  1051. casadi/include/simde/arm/neon/dup_lane.h +702 -0
  1052. casadi/include/simde/arm/neon/dup_n.h +534 -0
  1053. casadi/include/simde/arm/neon/eor.h +552 -0
  1054. casadi/include/simde/arm/neon/ext.h +887 -0
  1055. casadi/include/simde/arm/neon/get_high.h +260 -0
  1056. casadi/include/simde/arm/neon/get_lane.h +499 -0
  1057. casadi/include/simde/arm/neon/get_low.h +276 -0
  1058. casadi/include/simde/arm/neon/hadd.h +287 -0
  1059. casadi/include/simde/arm/neon/hsub.h +287 -0
  1060. casadi/include/simde/arm/neon/ld1.h +399 -0
  1061. casadi/include/simde/arm/neon/ld3.h +609 -0
  1062. casadi/include/simde/arm/neon/ld4.h +448 -0
  1063. casadi/include/simde/arm/neon/max.h +614 -0
  1064. casadi/include/simde/arm/neon/maxnm.h +215 -0
  1065. casadi/include/simde/arm/neon/maxv.h +400 -0
  1066. casadi/include/simde/arm/neon/min.h +660 -0
  1067. casadi/include/simde/arm/neon/minnm.h +215 -0
  1068. casadi/include/simde/arm/neon/minv.h +424 -0
  1069. casadi/include/simde/arm/neon/mla.h +530 -0
  1070. casadi/include/simde/arm/neon/mla_n.h +333 -0
  1071. casadi/include/simde/arm/neon/mlal.h +156 -0
  1072. casadi/include/simde/arm/neon/mlal_high.h +156 -0
  1073. casadi/include/simde/arm/neon/mlal_n.h +128 -0
  1074. casadi/include/simde/arm/neon/mls.h +264 -0
  1075. casadi/include/simde/arm/neon/mlsl.h +124 -0
  1076. casadi/include/simde/arm/neon/mlsl_high.h +124 -0
  1077. casadi/include/simde/arm/neon/mlsl_n.h +96 -0
  1078. casadi/include/simde/arm/neon/movl.h +208 -0
  1079. casadi/include/simde/arm/neon/movl_high.h +126 -0
  1080. casadi/include/simde/arm/neon/movn.h +195 -0
  1081. casadi/include/simde/arm/neon/movn_high.h +125 -0
  1082. casadi/include/simde/arm/neon/mul.h +594 -0
  1083. casadi/include/simde/arm/neon/mul_lane.h +472 -0
  1084. casadi/include/simde/arm/neon/mul_n.h +383 -0
  1085. casadi/include/simde/arm/neon/mull.h +236 -0
  1086. casadi/include/simde/arm/neon/mull_high.h +125 -0
  1087. casadi/include/simde/arm/neon/mull_n.h +158 -0
  1088. casadi/include/simde/arm/neon/mvn.h +426 -0
  1089. casadi/include/simde/arm/neon/neg.h +393 -0
  1090. casadi/include/simde/arm/neon/orn.h +505 -0
  1091. casadi/include/simde/arm/neon/orr.h +552 -0
  1092. casadi/include/simde/arm/neon/padal.h +211 -0
  1093. casadi/include/simde/arm/neon/padd.h +293 -0
  1094. casadi/include/simde/arm/neon/paddl.h +239 -0
  1095. casadi/include/simde/arm/neon/pmax.h +253 -0
  1096. casadi/include/simde/arm/neon/pmin.h +260 -0
  1097. casadi/include/simde/arm/neon/qabs.h +281 -0
  1098. casadi/include/simde/arm/neon/qadd.h +553 -0
  1099. casadi/include/simde/arm/neon/qdmulh.h +125 -0
  1100. casadi/include/simde/arm/neon/qdmull.h +125 -0
  1101. casadi/include/simde/arm/neon/qmovn.h +273 -0
  1102. casadi/include/simde/arm/neon/qmovn_high.h +127 -0
  1103. casadi/include/simde/arm/neon/qmovun.h +159 -0
  1104. casadi/include/simde/arm/neon/qneg.h +301 -0
  1105. casadi/include/simde/arm/neon/qrdmulh.h +165 -0
  1106. casadi/include/simde/arm/neon/qrdmulh_n.h +136 -0
  1107. casadi/include/simde/arm/neon/qshl.h +732 -0
  1108. casadi/include/simde/arm/neon/qsub.h +549 -0
  1109. casadi/include/simde/arm/neon/qtbl.h +455 -0
  1110. casadi/include/simde/arm/neon/qtbx.h +470 -0
  1111. casadi/include/simde/arm/neon/rbit.h +165 -0
  1112. casadi/include/simde/arm/neon/reinterpret.h +3101 -0
  1113. casadi/include/simde/arm/neon/rev16.h +137 -0
  1114. casadi/include/simde/arm/neon/rev32.h +235 -0
  1115. casadi/include/simde/arm/neon/rev64.h +358 -0
  1116. casadi/include/simde/arm/neon/rhadd.h +406 -0
  1117. casadi/include/simde/arm/neon/rnd.h +143 -0
  1118. casadi/include/simde/arm/neon/rndi.h +135 -0
  1119. casadi/include/simde/arm/neon/rndm.h +143 -0
  1120. casadi/include/simde/arm/neon/rndn.h +135 -0
  1121. casadi/include/simde/arm/neon/rndp.h +143 -0
  1122. casadi/include/simde/arm/neon/rshl.h +903 -0
  1123. casadi/include/simde/arm/neon/rshr_n.h +471 -0
  1124. casadi/include/simde/arm/neon/rsra_n.h +209 -0
  1125. casadi/include/simde/arm/neon/set_lane.h +422 -0
  1126. casadi/include/simde/arm/neon/shl.h +805 -0
  1127. casadi/include/simde/arm/neon/shl_n.h +560 -0
  1128. casadi/include/simde/arm/neon/shr_n.h +612 -0
  1129. casadi/include/simde/arm/neon/sra_n.h +202 -0
  1130. casadi/include/simde/arm/neon/st1.h +353 -0
  1131. casadi/include/simde/arm/neon/st1_lane.h +363 -0
  1132. casadi/include/simde/arm/neon/st3.h +426 -0
  1133. casadi/include/simde/arm/neon/st4.h +445 -0
  1134. casadi/include/simde/arm/neon/sub.h +659 -0
  1135. casadi/include/simde/arm/neon/subl.h +127 -0
  1136. casadi/include/simde/arm/neon/subw.h +221 -0
  1137. casadi/include/simde/arm/neon/subw_high.h +222 -0
  1138. casadi/include/simde/arm/neon/tbl.h +224 -0
  1139. casadi/include/simde/arm/neon/tbx.h +247 -0
  1140. casadi/include/simde/arm/neon/trn.h +252 -0
  1141. casadi/include/simde/arm/neon/trn1.h +500 -0
  1142. casadi/include/simde/arm/neon/trn2.h +499 -0
  1143. casadi/include/simde/arm/neon/tst.h +540 -0
  1144. casadi/include/simde/arm/neon/types.h +683 -0
  1145. casadi/include/simde/arm/neon/uqadd.h +325 -0
  1146. casadi/include/simde/arm/neon/uzp.h +252 -0
  1147. casadi/include/simde/arm/neon/uzp1.h +643 -0
  1148. casadi/include/simde/arm/neon/uzp2.h +647 -0
  1149. casadi/include/simde/arm/neon/zip.h +252 -0
  1150. casadi/include/simde/arm/neon/zip1.h +625 -0
  1151. casadi/include/simde/arm/neon/zip2.h +625 -0
  1152. casadi/include/simde/arm/neon.h +166 -0
  1153. casadi/include/simde/check.h +276 -0
  1154. casadi/include/simde/debug-trap.h +85 -0
  1155. casadi/include/simde/hedley.h +1971 -0
  1156. casadi/include/simde/simde-align.h +449 -0
  1157. casadi/include/simde/simde-arch.h +532 -0
  1158. casadi/include/simde/simde-common.h +890 -0
  1159. casadi/include/simde/simde-complex.h +148 -0
  1160. casadi/include/simde/simde-constify.h +397 -0
  1161. casadi/include/simde/simde-detect-clang.h +109 -0
  1162. casadi/include/simde/simde-diagnostic.h +428 -0
  1163. casadi/include/simde/simde-features.h +522 -0
  1164. casadi/include/simde/simde-math.h +1805 -0
  1165. casadi/include/simde/x86/avx.h +6193 -0
  1166. casadi/include/simde/x86/avx2.h +5660 -0
  1167. casadi/include/simde/x86/avx512/2intersect.h +250 -0
  1168. casadi/include/simde/x86/avx512/abs.h +562 -0
  1169. casadi/include/simde/x86/avx512/add.h +641 -0
  1170. casadi/include/simde/x86/avx512/adds.h +390 -0
  1171. casadi/include/simde/x86/avx512/and.h +305 -0
  1172. casadi/include/simde/x86/avx512/andnot.h +193 -0
  1173. casadi/include/simde/x86/avx512/avg.h +258 -0
  1174. casadi/include/simde/x86/avx512/blend.h +293 -0
  1175. casadi/include/simde/x86/avx512/broadcast.h +897 -0
  1176. casadi/include/simde/x86/avx512/cast.h +324 -0
  1177. casadi/include/simde/x86/avx512/cmp.h +587 -0
  1178. casadi/include/simde/x86/avx512/cmpeq.h +179 -0
  1179. casadi/include/simde/x86/avx512/cmpge.h +104 -0
  1180. casadi/include/simde/x86/avx512/cmpgt.h +189 -0
  1181. casadi/include/simde/x86/avx512/cmple.h +103 -0
  1182. casadi/include/simde/x86/avx512/cmplt.h +123 -0
  1183. casadi/include/simde/x86/avx512/copysign.h +86 -0
  1184. casadi/include/simde/x86/avx512/cvt.h +122 -0
  1185. casadi/include/simde/x86/avx512/cvts.h +723 -0
  1186. casadi/include/simde/x86/avx512/div.h +162 -0
  1187. casadi/include/simde/x86/avx512/extract.h +198 -0
  1188. casadi/include/simde/x86/avx512/fmadd.h +136 -0
  1189. casadi/include/simde/x86/avx512/fmsub.h +108 -0
  1190. casadi/include/simde/x86/avx512/fnmadd.h +108 -0
  1191. casadi/include/simde/x86/avx512/fnmsub.h +108 -0
  1192. casadi/include/simde/x86/avx512/insert.h +193 -0
  1193. casadi/include/simde/x86/avx512/kshift.h +152 -0
  1194. casadi/include/simde/x86/avx512/load.h +67 -0
  1195. casadi/include/simde/x86/avx512/loadu.h +113 -0
  1196. casadi/include/simde/x86/avx512/lzcnt.h +209 -0
  1197. casadi/include/simde/x86/avx512/madd.h +155 -0
  1198. casadi/include/simde/x86/avx512/maddubs.h +159 -0
  1199. casadi/include/simde/x86/avx512/max.h +587 -0
  1200. casadi/include/simde/x86/avx512/min.h +587 -0
  1201. casadi/include/simde/x86/avx512/mov.h +859 -0
  1202. casadi/include/simde/x86/avx512/mov_mask.h +372 -0
  1203. casadi/include/simde/x86/avx512/movm.h +460 -0
  1204. casadi/include/simde/x86/avx512/mul.h +279 -0
  1205. casadi/include/simde/x86/avx512/mulhi.h +65 -0
  1206. casadi/include/simde/x86/avx512/mulhrs.h +65 -0
  1207. casadi/include/simde/x86/avx512/mullo.h +117 -0
  1208. casadi/include/simde/x86/avx512/negate.h +88 -0
  1209. casadi/include/simde/x86/avx512/or.h +252 -0
  1210. casadi/include/simde/x86/avx512/packs.h +122 -0
  1211. casadi/include/simde/x86/avx512/packus.h +122 -0
  1212. casadi/include/simde/x86/avx512/permutex2var.h +1645 -0
  1213. casadi/include/simde/x86/avx512/permutexvar.h +1180 -0
  1214. casadi/include/simde/x86/avx512/sad.h +77 -0
  1215. casadi/include/simde/x86/avx512/set.h +477 -0
  1216. casadi/include/simde/x86/avx512/set1.h +331 -0
  1217. casadi/include/simde/x86/avx512/set4.h +140 -0
  1218. casadi/include/simde/x86/avx512/setone.h +66 -0
  1219. casadi/include/simde/x86/avx512/setr.h +144 -0
  1220. casadi/include/simde/x86/avx512/setr4.h +140 -0
  1221. casadi/include/simde/x86/avx512/setzero.h +90 -0
  1222. casadi/include/simde/x86/avx512/shuffle.h +176 -0
  1223. casadi/include/simde/x86/avx512/sll.h +247 -0
  1224. casadi/include/simde/x86/avx512/slli.h +179 -0
  1225. casadi/include/simde/x86/avx512/sllv.h +68 -0
  1226. casadi/include/simde/x86/avx512/sqrt.h +127 -0
  1227. casadi/include/simde/x86/avx512/sra.h +81 -0
  1228. casadi/include/simde/x86/avx512/srai.h +70 -0
  1229. casadi/include/simde/x86/avx512/srav.h +67 -0
  1230. casadi/include/simde/x86/avx512/srl.h +216 -0
  1231. casadi/include/simde/x86/avx512/srli.h +180 -0
  1232. casadi/include/simde/x86/avx512/srlv.h +282 -0
  1233. casadi/include/simde/x86/avx512/store.h +93 -0
  1234. casadi/include/simde/x86/avx512/storeu.h +93 -0
  1235. casadi/include/simde/x86/avx512/sub.h +351 -0
  1236. casadi/include/simde/x86/avx512/subs.h +222 -0
  1237. casadi/include/simde/x86/avx512/test.h +193 -0
  1238. casadi/include/simde/x86/avx512/types.h +380 -0
  1239. casadi/include/simde/x86/avx512/unpackhi.h +380 -0
  1240. casadi/include/simde/x86/avx512/unpacklo.h +104 -0
  1241. casadi/include/simde/x86/avx512/xor.h +263 -0
  1242. casadi/include/simde/x86/avx512/xorsign.h +72 -0
  1243. casadi/include/simde/x86/avx512.h +108 -0
  1244. casadi/include/simde/x86/clmul.h +414 -0
  1245. casadi/include/simde/x86/fma.h +724 -0
  1246. casadi/include/simde/x86/gfni.h +802 -0
  1247. casadi/include/simde/x86/mmx.h +2399 -0
  1248. casadi/include/simde/x86/sse.h +4471 -0
  1249. casadi/include/simde/x86/sse2.h +7389 -0
  1250. casadi/include/simde/x86/sse3.h +499 -0
  1251. casadi/include/simde/x86/sse4.1.h +2216 -0
  1252. casadi/include/simde/x86/sse4.2.h +347 -0
  1253. casadi/include/simde/x86/ssse3.h +1032 -0
  1254. casadi/include/simde/x86/svml.h +12139 -0
  1255. casadi/include/simde/x86/xop.h +3644 -0
  1256. casadi/include/superscs/cones.h +185 -0
  1257. casadi/include/superscs/constants.h +144 -0
  1258. casadi/include/superscs/cs.h +109 -0
  1259. casadi/include/superscs/ctrlc.h +77 -0
  1260. casadi/include/superscs/directions.h +125 -0
  1261. casadi/include/superscs/glbopts.h +240 -0
  1262. casadi/include/superscs/linAlg.h +437 -0
  1263. casadi/include/superscs/linSys.h +205 -0
  1264. casadi/include/superscs/linsys/amatrix.h +77 -0
  1265. casadi/include/superscs/linsys/common.h +49 -0
  1266. casadi/include/superscs/normalize.h +138 -0
  1267. casadi/include/superscs/scs.h +656 -0
  1268. casadi/include/superscs/scs_blas.h +79 -0
  1269. casadi/include/superscs/scs_parser.h +187 -0
  1270. casadi/include/superscs/unit_test_util.h +210 -0
  1271. casadi/include/superscs/util.h +354 -0
  1272. casadi/include/tinyxml2.h +2380 -0
  1273. casadi/lib/cmake/tinyxml2/tinyxml2-config-version.cmake +70 -0
  1274. casadi/lib/cmake/tinyxml2/tinyxml2-config.cmake +57 -0
  1275. casadi/lib/cmake/tinyxml2/tinyxml2-static-targets-release.cmake +19 -0
  1276. casadi/lib/cmake/tinyxml2/tinyxml2-static-targets.cmake +103 -0
  1277. casadi/lib/libtinyxml2.a +0 -0
  1278. casadi/lib/pkgconfig/tinyxml2.pc +10 -0
  1279. casadi/libCbc.3.10.6.dylib +0 -0
  1280. casadi/libCbc.3.dylib +0 -0
  1281. casadi/libCbc.dylib +0 -0
  1282. casadi/libCbc.la +35 -0
  1283. casadi/libCbcSolver.3.10.6.dylib +0 -0
  1284. casadi/libCbcSolver.3.dylib +0 -0
  1285. casadi/libCbcSolver.dylib +0 -0
  1286. casadi/libCbcSolver.la +35 -0
  1287. casadi/libCgl.1.10.4.dylib +0 -0
  1288. casadi/libCgl.1.dylib +0 -0
  1289. casadi/libCgl.dylib +0 -0
  1290. casadi/libCgl.la +35 -0
  1291. casadi/libClp.1.14.7.dylib +0 -0
  1292. casadi/libClp.1.dylib +0 -0
  1293. casadi/libClp.dylib +0 -0
  1294. casadi/libClp.la +35 -0
  1295. casadi/libClpSolver.1.14.7.dylib +0 -0
  1296. casadi/libClpSolver.1.dylib +0 -0
  1297. casadi/libClpSolver.dylib +0 -0
  1298. casadi/libClpSolver.la +35 -0
  1299. casadi/libCoinUtils.3.11.6.dylib +0 -0
  1300. casadi/libCoinUtils.3.dylib +0 -0
  1301. casadi/libCoinUtils.dylib +0 -0
  1302. casadi/libCoinUtils.la +35 -0
  1303. casadi/libFortranHighs.dylib +0 -0
  1304. casadi/libOsi.1.13.7.dylib +0 -0
  1305. casadi/libOsi.1.dylib +0 -0
  1306. casadi/libOsi.dylib +0 -0
  1307. casadi/libOsi.la +35 -0
  1308. casadi/libOsiCbc.3.10.6.dylib +0 -0
  1309. casadi/libOsiCbc.3.dylib +0 -0
  1310. casadi/libOsiCbc.dylib +0 -0
  1311. casadi/libOsiCbc.la +35 -0
  1312. casadi/libOsiClp.1.14.7.dylib +0 -0
  1313. casadi/libOsiClp.1.dylib +0 -0
  1314. casadi/libOsiClp.dylib +0 -0
  1315. casadi/libOsiClp.la +35 -0
  1316. casadi/libOsiCommonTests.1.13.7.dylib +0 -0
  1317. casadi/libOsiCommonTests.1.dylib +0 -0
  1318. casadi/libOsiCommonTests.dylib +0 -0
  1319. casadi/libOsiCommonTests.la +35 -0
  1320. casadi/libblasfeo.dylib +0 -0
  1321. casadi/libbonmin.4.8.8.dylib +0 -0
  1322. casadi/libbonmin.4.dylib +0 -0
  1323. casadi/libbonmin.dylib +0 -0
  1324. casadi/libbonmin.la +35 -0
  1325. casadi/libc++.1.0.dylib +0 -0
  1326. casadi/libcasadi.3.7.dylib +0 -0
  1327. casadi/libcasadi.dylib +0 -0
  1328. casadi/libcasadi_conic_cbc.3.7.dylib +0 -0
  1329. casadi/libcasadi_conic_cbc.dylib +0 -0
  1330. casadi/libcasadi_conic_clp.3.7.dylib +0 -0
  1331. casadi/libcasadi_conic_clp.dylib +0 -0
  1332. casadi/libcasadi_conic_cplex.3.7.dylib +0 -0
  1333. casadi/libcasadi_conic_cplex.dylib +0 -0
  1334. casadi/libcasadi_conic_gurobi.3.7.dylib +0 -0
  1335. casadi/libcasadi_conic_gurobi.dylib +0 -0
  1336. casadi/libcasadi_conic_highs.3.7.dylib +0 -0
  1337. casadi/libcasadi_conic_highs.dylib +0 -0
  1338. casadi/libcasadi_conic_ipqp.3.7.dylib +0 -0
  1339. casadi/libcasadi_conic_ipqp.dylib +0 -0
  1340. casadi/libcasadi_conic_nlpsol.3.7.dylib +0 -0
  1341. casadi/libcasadi_conic_nlpsol.dylib +0 -0
  1342. casadi/libcasadi_conic_osqp.3.7.dylib +0 -0
  1343. casadi/libcasadi_conic_osqp.dylib +0 -0
  1344. casadi/libcasadi_conic_proxqp.3.7.dylib +0 -0
  1345. casadi/libcasadi_conic_proxqp.dylib +0 -0
  1346. casadi/libcasadi_conic_qpoases.3.7.dylib +0 -0
  1347. casadi/libcasadi_conic_qpoases.dylib +0 -0
  1348. casadi/libcasadi_conic_qrqp.3.7.dylib +0 -0
  1349. casadi/libcasadi_conic_qrqp.dylib +0 -0
  1350. casadi/libcasadi_conic_superscs.3.7.dylib +0 -0
  1351. casadi/libcasadi_conic_superscs.dylib +0 -0
  1352. casadi/libcasadi_importer_shell.3.7.dylib +0 -0
  1353. casadi/libcasadi_importer_shell.dylib +0 -0
  1354. casadi/libcasadi_integrator_collocation.3.7.dylib +0 -0
  1355. casadi/libcasadi_integrator_collocation.dylib +0 -0
  1356. casadi/libcasadi_integrator_cvodes.3.7.dylib +0 -0
  1357. casadi/libcasadi_integrator_cvodes.dylib +0 -0
  1358. casadi/libcasadi_integrator_idas.3.7.dylib +0 -0
  1359. casadi/libcasadi_integrator_idas.dylib +0 -0
  1360. casadi/libcasadi_integrator_rk.3.7.dylib +0 -0
  1361. casadi/libcasadi_integrator_rk.dylib +0 -0
  1362. casadi/libcasadi_interpolant_bspline.3.7.dylib +0 -0
  1363. casadi/libcasadi_interpolant_bspline.dylib +0 -0
  1364. casadi/libcasadi_interpolant_linear.3.7.dylib +0 -0
  1365. casadi/libcasadi_interpolant_linear.dylib +0 -0
  1366. casadi/libcasadi_linsol_csparse.3.7.dylib +0 -0
  1367. casadi/libcasadi_linsol_csparse.dylib +0 -0
  1368. casadi/libcasadi_linsol_csparsecholesky.3.7.dylib +0 -0
  1369. casadi/libcasadi_linsol_csparsecholesky.dylib +0 -0
  1370. casadi/libcasadi_linsol_lapacklu.3.7.dylib +0 -0
  1371. casadi/libcasadi_linsol_lapacklu.dylib +0 -0
  1372. casadi/libcasadi_linsol_lapackqr.3.7.dylib +0 -0
  1373. casadi/libcasadi_linsol_lapackqr.dylib +0 -0
  1374. casadi/libcasadi_linsol_ldl.3.7.dylib +0 -0
  1375. casadi/libcasadi_linsol_ldl.dylib +0 -0
  1376. casadi/libcasadi_linsol_lsqr.3.7.dylib +0 -0
  1377. casadi/libcasadi_linsol_lsqr.dylib +0 -0
  1378. casadi/libcasadi_linsol_ma27.3.7.dylib +0 -0
  1379. casadi/libcasadi_linsol_ma27.dylib +0 -0
  1380. casadi/libcasadi_linsol_mumps.3.7.dylib +0 -0
  1381. casadi/libcasadi_linsol_mumps.dylib +0 -0
  1382. casadi/libcasadi_linsol_qr.3.7.dylib +0 -0
  1383. casadi/libcasadi_linsol_qr.dylib +0 -0
  1384. casadi/libcasadi_linsol_symbolicqr.3.7.dylib +0 -0
  1385. casadi/libcasadi_linsol_symbolicqr.dylib +0 -0
  1386. casadi/libcasadi_linsol_tridiag.3.7.dylib +0 -0
  1387. casadi/libcasadi_linsol_tridiag.dylib +0 -0
  1388. casadi/libcasadi_nlpsol_ampl.3.7.dylib +0 -0
  1389. casadi/libcasadi_nlpsol_ampl.dylib +0 -0
  1390. casadi/libcasadi_nlpsol_blocksqp.3.7.dylib +0 -0
  1391. casadi/libcasadi_nlpsol_blocksqp.dylib +0 -0
  1392. casadi/libcasadi_nlpsol_bonmin.3.7.dylib +0 -0
  1393. casadi/libcasadi_nlpsol_bonmin.dylib +0 -0
  1394. casadi/libcasadi_nlpsol_feasiblesqpmethod.3.7.dylib +0 -0
  1395. casadi/libcasadi_nlpsol_feasiblesqpmethod.dylib +0 -0
  1396. casadi/libcasadi_nlpsol_ipopt.3.7.dylib +0 -0
  1397. casadi/libcasadi_nlpsol_ipopt.dylib +0 -0
  1398. casadi/libcasadi_nlpsol_knitro.3.7.dylib +0 -0
  1399. casadi/libcasadi_nlpsol_knitro.dylib +0 -0
  1400. casadi/libcasadi_nlpsol_qrsqp.3.7.dylib +0 -0
  1401. casadi/libcasadi_nlpsol_qrsqp.dylib +0 -0
  1402. casadi/libcasadi_nlpsol_scpgen.3.7.dylib +0 -0
  1403. casadi/libcasadi_nlpsol_scpgen.dylib +0 -0
  1404. casadi/libcasadi_nlpsol_snopt.3.7.dylib +0 -0
  1405. casadi/libcasadi_nlpsol_snopt.dylib +0 -0
  1406. casadi/libcasadi_nlpsol_sqpmethod.3.7.dylib +0 -0
  1407. casadi/libcasadi_nlpsol_sqpmethod.dylib +0 -0
  1408. casadi/libcasadi_rootfinder_fast_newton.3.7.dylib +0 -0
  1409. casadi/libcasadi_rootfinder_fast_newton.dylib +0 -0
  1410. casadi/libcasadi_rootfinder_kinsol.3.7.dylib +0 -0
  1411. casadi/libcasadi_rootfinder_kinsol.dylib +0 -0
  1412. casadi/libcasadi_rootfinder_newton.3.7.dylib +0 -0
  1413. casadi/libcasadi_rootfinder_newton.dylib +0 -0
  1414. casadi/libcasadi_rootfinder_nlpsol.3.7.dylib +0 -0
  1415. casadi/libcasadi_rootfinder_nlpsol.dylib +0 -0
  1416. casadi/libcasadi_sundials_common.3.7.dylib +0 -0
  1417. casadi/libcasadi_sundials_common.dylib +0 -0
  1418. casadi/libcasadi_xmlfile_tinyxml.3.7.dylib +0 -0
  1419. casadi/libcasadi_xmlfile_tinyxml.dylib +0 -0
  1420. casadi/libcoinmetis.2.dylib +0 -0
  1421. casadi/libcoinmetis.dylib +0 -0
  1422. casadi/libcoinmetis.la +41 -0
  1423. casadi/libcoinmumps.3.dylib +0 -0
  1424. casadi/libcoinmumps.dylib +0 -0
  1425. casadi/libcoinmumps.la +41 -0
  1426. casadi/libcplex_adaptor.dylib +0 -0
  1427. casadi/libgcc_s.1.1.dylib +0 -0
  1428. casadi/libgfortran.5.dylib +0 -0
  1429. casadi/libgurobi_adaptor.dylib +0 -0
  1430. casadi/libhighs.1.4.0.dylib +0 -0
  1431. casadi/libhighs.1.4.dylib +0 -0
  1432. casadi/libhighs.dylib +0 -0
  1433. casadi/libindirect.a +0 -0
  1434. casadi/libipopt.3.dylib +0 -0
  1435. casadi/libipopt.dylib +0 -0
  1436. casadi/libipopt.la +41 -0
  1437. casadi/liblinsys.a +0 -0
  1438. casadi/libosqp.a +0 -0
  1439. casadi/libosqp.dylib +0 -0
  1440. casadi/libqdldl.a +0 -0
  1441. casadi/libqdldl.dylib +0 -0
  1442. casadi/libquadmath.0.dylib +0 -0
  1443. casadi/libsipopt.3.dylib +0 -0
  1444. casadi/libsipopt.dylib +0 -0
  1445. casadi/libsipopt.la +41 -0
  1446. casadi/libsuperscs.a +0 -0
  1447. casadi/libz.1.2.12.dylib +0 -0
  1448. casadi/pkgconfig/bonmin.pc +12 -0
  1449. casadi/pkgconfig/casadi.pc +12 -0
  1450. casadi/pkgconfig/cbc.pc +12 -0
  1451. casadi/pkgconfig/cgl.pc +12 -0
  1452. casadi/pkgconfig/clp.pc +12 -0
  1453. casadi/pkgconfig/coinmetis.pc +13 -0
  1454. casadi/pkgconfig/coinmumps.pc +15 -0
  1455. casadi/pkgconfig/coinutils.pc +12 -0
  1456. casadi/pkgconfig/highs.pc +12 -0
  1457. casadi/pkgconfig/ipopt.pc +15 -0
  1458. casadi/pkgconfig/osi-cbc.pc +12 -0
  1459. casadi/pkgconfig/osi-clp.pc +12 -0
  1460. casadi/pkgconfig/osi-unittests.pc +12 -0
  1461. casadi/pkgconfig/osi.pc +12 -0
  1462. casadi/pkgconfig/proxsuite.pc +22 -0
  1463. casadi/tools/__init__.py +48 -0
  1464. casadi/tools/bounds.py +107 -0
  1465. casadi/tools/graph/__init__.py +35 -0
  1466. casadi/tools/graph/graph.py +747 -0
  1467. casadi/tools/in_out.py +89 -0
  1468. casadi/tools/structure.py +1446 -0
  1469. casadi/tools/structure3.py +1441 -0
  1470. casadi-3.6.0.dist-info/METADATA +37 -0
  1471. casadi-3.6.0.dist-info/RECORD +1473 -0
  1472. casadi-3.6.0.dist-info/WHEEL +4 -0
  1473. dummy.txt +1 -0
@@ -0,0 +1,966 @@
1
+ // This file is part of Eigen, a lightweight C++ template library
2
+ // for linear algebra.
3
+ //
4
+ // Copyright (C) 2014 Benoit Steiner <benoit.steiner.goog@gmail.com>
5
+ //
6
+ // This Source Code Form is subject to the terms of the Mozilla
7
+ // Public License v. 2.0. If a copy of the MPL was not distributed
8
+ // with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
9
+
10
+ #ifndef EIGEN_CXX11_TENSOR_TENSOR_REDUCTION_GPU_H
11
+ #define EIGEN_CXX11_TENSOR_TENSOR_REDUCTION_GPU_H
12
+
13
+ namespace Eigen {
14
+ namespace internal {
15
+
16
+
17
+ #if defined(EIGEN_USE_GPU) && defined(EIGEN_GPUCC)
18
+ // Full reducers for GPU, don't vectorize for now
19
+
20
+ // Reducer function that enables multiple gpu thread to safely accumulate at the same
21
+ // output address. It basically reads the current value of the output variable, and
22
+ // attempts to update it with the new value. If in the meantime another gpu thread
23
+ // updated the content of the output address it will try again.
24
+ template <typename T, typename R>
25
+ __device__ EIGEN_ALWAYS_INLINE void atomicReduce(T* output, T accum, R& reducer) {
26
+ #if (defined(EIGEN_HIP_DEVICE_COMPILE) && defined(__HIP_ARCH_HAS_WARP_SHUFFLE__)) || (EIGEN_CUDA_ARCH >= 300)
27
+ if (sizeof(T) == 4)
28
+ {
29
+ unsigned int oldval = *reinterpret_cast<unsigned int*>(output);
30
+ unsigned int newval = oldval;
31
+ reducer.reduce(accum, reinterpret_cast<T*>(&newval));
32
+ if (newval == oldval) {
33
+ return;
34
+ }
35
+ unsigned int readback;
36
+ while ((readback = atomicCAS((unsigned int*)output, oldval, newval)) != oldval) {
37
+ oldval = readback;
38
+ newval = oldval;
39
+ reducer.reduce(accum, reinterpret_cast<T*>(&newval));
40
+ if (newval == oldval) {
41
+ return;
42
+ }
43
+ }
44
+ }
45
+ else if (sizeof(T) == 8) {
46
+ unsigned long long oldval = *reinterpret_cast<unsigned long long*>(output);
47
+ unsigned long long newval = oldval;
48
+ reducer.reduce(accum, reinterpret_cast<T*>(&newval));
49
+ if (newval == oldval) {
50
+ return;
51
+ }
52
+ unsigned long long readback;
53
+ while ((readback = atomicCAS((unsigned long long*)output, oldval, newval)) != oldval) {
54
+ oldval = readback;
55
+ newval = oldval;
56
+ reducer.reduce(accum, reinterpret_cast<T*>(&newval));
57
+ if (newval == oldval) {
58
+ return;
59
+ }
60
+ }
61
+ }
62
+ else {
63
+ gpu_assert(0 && "Wordsize not supported");
64
+ }
65
+ #else // EIGEN_CUDA_ARCH >= 300
66
+ gpu_assert(0 && "Shouldn't be called on unsupported device");
67
+ #endif // EIGEN_CUDA_ARCH >= 300
68
+ }
69
+
70
+ // We extend atomicExch to support extra data types
71
+ template <typename Type>
72
+ __device__ inline Type atomicExchCustom(Type* address, Type val) {
73
+ return atomicExch(address, val);
74
+ }
75
+
76
+ template <>
77
+ __device__ inline double atomicExchCustom(double* address, double val) {
78
+ unsigned long long int* address_as_ull = reinterpret_cast<unsigned long long int*>(address);
79
+ return __longlong_as_double(atomicExch(address_as_ull, __double_as_longlong(val)));
80
+ }
81
+
82
+ #ifdef EIGEN_HAS_GPU_FP16
83
+ template <typename R>
84
+ __device__ inline void atomicReduce(half2* output, half2 accum, R& reducer) {
85
+ unsigned int oldval = *reinterpret_cast<unsigned int*>(output);
86
+ unsigned int newval = oldval;
87
+ reducer.reducePacket(accum, reinterpret_cast<half2*>(&newval));
88
+ if (newval == oldval) {
89
+ return;
90
+ }
91
+ unsigned int readback;
92
+ while ((readback = atomicCAS((unsigned int*)output, oldval, newval)) != oldval) {
93
+ oldval = readback;
94
+ newval = oldval;
95
+ reducer.reducePacket(accum, reinterpret_cast<half2*>(&newval));
96
+ if (newval == oldval) {
97
+ return;
98
+ }
99
+ }
100
+ }
101
+ // reduction should be associative since reduction is not atomic in wide vector but atomic in half2 operations
102
+ template <typename R>
103
+ __device__ inline void atomicReduce(Packet4h2* output, Packet4h2 accum, R& reducer) {
104
+ half2* houtput=reinterpret_cast<half2*>(output);
105
+ half2* haccum=reinterpret_cast<half2*>(&accum);
106
+ for(int i=0;i<4;++i){
107
+ atomicReduce(houtput+i,*(haccum+i),reducer);
108
+ }
109
+ }
110
+ #endif // EIGEN_HAS_GPU_FP16
111
+
112
+ template <>
113
+ __device__ inline void atomicReduce(float* output, float accum, SumReducer<float>&) {
114
+ #if (defined(EIGEN_HIP_DEVICE_COMPILE) && defined(__HIP_ARCH_HAS_WARP_SHUFFLE__)) || (EIGEN_CUDA_ARCH >= 300)
115
+ atomicAdd(output, accum);
116
+ #else // EIGEN_CUDA_ARCH >= 300
117
+ gpu_assert(0 && "Shouldn't be called on unsupported device");
118
+ #endif // EIGEN_CUDA_ARCH >= 300
119
+ }
120
+
121
+
122
+ template <typename CoeffType, typename Index>
123
+ __global__ EIGEN_HIP_LAUNCH_BOUNDS_1024 void ReductionInitKernel(const CoeffType val, Index num_preserved_coeffs, CoeffType* output) {
124
+ const Index thread_id = blockIdx.x * blockDim.x + threadIdx.x;
125
+ const Index num_threads = blockDim.x * gridDim.x;
126
+ for (Index i = thread_id; i < num_preserved_coeffs; i += num_threads) {
127
+ output[i] = val;
128
+ }
129
+ }
130
+
131
+
132
+ template <int BlockSize, int NumPerThread, typename Self,
133
+ typename Reducer, typename Index>
134
+ __global__ EIGEN_HIP_LAUNCH_BOUNDS_1024 void FullReductionKernel(Reducer reducer, const Self input, Index num_coeffs,
135
+ typename Self::CoeffReturnType* output, unsigned int* semaphore) {
136
+ #if (defined(EIGEN_HIP_DEVICE_COMPILE) && defined(__HIP_ARCH_HAS_WARP_SHUFFLE__)) || (EIGEN_CUDA_ARCH >= 300)
137
+ // Initialize the output value
138
+ const Index first_index = blockIdx.x * BlockSize * NumPerThread + threadIdx.x;
139
+ if (gridDim.x == 1) {
140
+ if (first_index == 0) {
141
+ *output = reducer.initialize();
142
+ }
143
+ }
144
+ else {
145
+ if (threadIdx.x == 0) {
146
+ unsigned int block = atomicCAS(semaphore, 0u, 1u);
147
+ if (block == 0) {
148
+ // We're the first block to run, initialize the output value
149
+ atomicExchCustom(output, reducer.initialize());
150
+ __threadfence();
151
+ atomicExch(semaphore, 2u);
152
+ }
153
+ else {
154
+ // Wait for the first block to initialize the output value.
155
+ // Use atomicCAS here to ensure that the reads aren't cached
156
+ unsigned int val;
157
+ do {
158
+ val = atomicCAS(semaphore, 2u, 2u);
159
+ }
160
+ while (val < 2u);
161
+ }
162
+ }
163
+ }
164
+
165
+ __syncthreads();
166
+
167
+ eigen_assert(gridDim.x == 1 || *semaphore >= 2u);
168
+
169
+ typename Self::CoeffReturnType accum = reducer.initialize();
170
+ Index max_iter = numext::mini<Index>(num_coeffs - first_index, NumPerThread*BlockSize);
171
+ for (Index i = 0; i < max_iter; i+=BlockSize) {
172
+ const Index index = first_index + i;
173
+ eigen_assert(index < num_coeffs);
174
+ typename Self::CoeffReturnType val = input.m_impl.coeff(index);
175
+ reducer.reduce(val, &accum);
176
+ }
177
+
178
+ #pragma unroll
179
+ for (int offset = warpSize/2; offset > 0; offset /= 2) {
180
+ #if defined(EIGEN_HIPCC)
181
+ // use std::is_floating_point to determine the type of reduced_val
182
+ // This is needed because when Type == double, hipcc will give a "call to __shfl_down is ambguous" error
183
+ // and list the float and int versions of __shfl_down as the candidate functions.
184
+ if (std::is_floating_point<typename Self::CoeffReturnType>::value) {
185
+ reducer.reduce(__shfl_down(static_cast<float>(accum), offset, warpSize), &accum);
186
+ } else {
187
+ reducer.reduce(__shfl_down(static_cast<int>(accum), offset, warpSize), &accum);
188
+ }
189
+ #elif defined(EIGEN_CUDA_SDK_VER) && EIGEN_CUDA_SDK_VER < 90000
190
+ reducer.reduce(__shfl_down(accum, offset, warpSize), &accum);
191
+ #else
192
+ reducer.reduce(__shfl_down_sync(0xFFFFFFFF, accum, offset, warpSize), &accum);
193
+ #endif
194
+ }
195
+
196
+ if ((threadIdx.x & (warpSize - 1)) == 0) {
197
+ atomicReduce(output, accum, reducer);
198
+ }
199
+
200
+ if (gridDim.x > 1 && threadIdx.x == 0) {
201
+ // Let the last block reset the semaphore
202
+ atomicInc(semaphore, gridDim.x + 1);
203
+ #if defined(EIGEN_HIPCC)
204
+ __threadfence_system();
205
+ #endif
206
+ }
207
+ #else // EIGEN_CUDA_ARCH >= 300
208
+ gpu_assert(0 && "Shouldn't be called on unsupported device");
209
+ #endif // EIGEN_CUDA_ARCH >= 300
210
+ }
211
+
212
+
213
+ #ifdef EIGEN_HAS_GPU_FP16
214
+ template <typename Self,
215
+ typename Reducer, typename Index>
216
+ __global__ EIGEN_HIP_LAUNCH_BOUNDS_1024 void ReductionInitFullReduxKernelHalfFloat(Reducer reducer, const Self input, Index num_coeffs,
217
+ packet_traits<Eigen::half>::type* scratch) {
218
+ eigen_assert(blockDim.x == 1);
219
+ eigen_assert(gridDim.x == 1);
220
+ typedef packet_traits<Eigen::half>::type packet_type;
221
+ Index packet_remainder =
222
+ num_coeffs % Index(unpacket_traits<packet_type>::size);
223
+ if (packet_remainder != 0) {
224
+ half2* h2scratch = reinterpret_cast<half2*>(scratch);
225
+ for (Index i = num_coeffs - packet_remainder; i + 2 <= num_coeffs; i += 2) {
226
+ *h2scratch =
227
+ __halves2half2(input.m_impl.coeff(i), input.m_impl.coeff(i + 1));
228
+ h2scratch++;
229
+ }
230
+ if ((num_coeffs & 1) != 0) {
231
+ half lastCoeff = input.m_impl.coeff(num_coeffs - 1);
232
+ *h2scratch = __halves2half2(lastCoeff, reducer.initialize());
233
+ }
234
+ } else {
235
+ *scratch = reducer.template initializePacket<packet_type>();
236
+ }
237
+ }
238
+
239
+ template <typename Self,
240
+ typename Reducer, typename Index>
241
+ __global__ EIGEN_HIP_LAUNCH_BOUNDS_1024 void ReductionInitKernelHalfFloat(Reducer reducer, const Self input, Index num_coeffs, half* output) {
242
+ const Index thread_id = blockIdx.x * blockDim.x + threadIdx.x;
243
+ const Index num_threads = blockDim.x * gridDim.x;
244
+ typedef typename packet_traits<Eigen::half>::type PacketType;
245
+
246
+ const Index num_packets =
247
+ num_coeffs / Index(unpacket_traits<PacketType>::size);
248
+ PacketType* p_output = reinterpret_cast<PacketType*>(output);
249
+ for (Index i = thread_id; i < num_packets; i += num_threads) {
250
+ p_output[i] = reducer.template initializePacket<PacketType>();
251
+ }
252
+ Index packet_remainder =
253
+ num_coeffs % Index(unpacket_traits<PacketType>::size);
254
+ if (thread_id < packet_remainder) {
255
+ output[num_coeffs - packet_remainder + thread_id] = reducer.initialize();
256
+ }
257
+ }
258
+
259
+ template <int BlockSize, int NumPerThread, typename Self,
260
+ typename Reducer, typename Index>
261
+ __global__ EIGEN_HIP_LAUNCH_BOUNDS_1024 void FullReductionKernelHalfFloat(Reducer reducer, const Self input, Index num_coeffs,
262
+ half* output, packet_traits<Eigen::half>::type* scratch) {
263
+ typedef typename packet_traits<Eigen::half>::type PacketType;
264
+ const int packet_width = unpacket_traits<PacketType>::size;
265
+ eigen_assert(NumPerThread % packet_width == 0);
266
+ const Index first_index =
267
+ blockIdx.x * BlockSize * NumPerThread + packet_width * threadIdx.x;
268
+
269
+ // Initialize the output value if it wasn't initialized by the ReductionInitKernel
270
+
271
+ if (gridDim.x == 1) {
272
+ if (first_index == 0) {
273
+ int rem = num_coeffs % packet_width;
274
+ if (rem != 0) {
275
+ half2* p_scratch = reinterpret_cast<half2*>(scratch);
276
+ *scratch = reducer.template initializePacket<PacketType>();
277
+ for (int i = 0; i < rem / 2; i++) {
278
+ *p_scratch = __halves2half2(
279
+ input.m_impl.coeff(num_coeffs - packet_width + 2 * i),
280
+ input.m_impl.coeff(num_coeffs - packet_width + 2 * i + 1));
281
+ p_scratch++;
282
+ }
283
+ if ((num_coeffs & 1) != 0) {
284
+ half last = input.m_impl.coeff(num_coeffs - 1);
285
+ *p_scratch = __halves2half2(last, reducer.initialize());
286
+ }
287
+ } else {
288
+ *scratch = reducer.template initializePacket<PacketType>();
289
+ }
290
+ }
291
+ __syncthreads();
292
+ }
293
+
294
+ PacketType accum = reducer.template initializePacket<PacketType>();
295
+ const Index max_iter =
296
+ numext::mini<Index>((num_coeffs - first_index) / packet_width,
297
+ NumPerThread * BlockSize / packet_width);
298
+ for (Index i = 0; i < max_iter; i += BlockSize) {
299
+ const Index index = first_index + packet_width * i;
300
+ eigen_assert(index + packet_width < num_coeffs);
301
+ PacketType val = input.m_impl.template packet<Unaligned>(index);
302
+ reducer.reducePacket(val, &accum);
303
+ }
304
+
305
+ #pragma unroll
306
+ for (int offset = warpSize/2; offset > 0; offset /= 2) {
307
+ #if defined(EIGEN_HIPCC)
308
+ PacketType r1;
309
+ half2* hr = reinterpret_cast<half2*>(&r1);
310
+ half2* hacc = reinterpret_cast<half2*>(&accum);
311
+ for (int i = 0; i < packet_width / 2; i++) {
312
+ // FIXME : remove this workaround once we have native half/half2 support for __shfl_down
313
+ union { int i; half2 h; } wka_in, wka_out;
314
+ wka_in.h = hacc[i];
315
+ wka_out.i = __shfl_down(wka_in.i, offset, warpSize);
316
+ hr[i] = wka_out.h;
317
+ }
318
+ reducer.reducePacket(r1, &accum);
319
+ #elif defined(EIGEN_CUDA_SDK_VER) && EIGEN_CUDA_SDK_VER < 90000
320
+ PacketType r1;
321
+ half2* hr = reinterpret_cast<half2*>(&r1);
322
+ half2* hacc = reinterpret_cast<half2*>(&accum);
323
+ for (int i = 0; i < packet_width / 2; i++) {
324
+ hr[i] = __shfl_down(hacc[i], offset, warpSize);
325
+ }
326
+ reducer.reducePacket(r1, &accum);
327
+ #else
328
+ PacketType r1;
329
+ half2* hr = reinterpret_cast<half2*>(&r1);
330
+ half2* hacc = reinterpret_cast<half2*>(&accum);
331
+ for (int i = 0; i < packet_width / 2; i++) {
332
+ hr[i] = __shfl_down_sync(0xFFFFFFFF, hacc[i], (unsigned)offset, warpSize);
333
+ }
334
+ reducer.reducePacket(r1, &accum);
335
+
336
+ #endif
337
+ }
338
+
339
+ if ((threadIdx.x & (warpSize - 1)) == 0) {
340
+ atomicReduce(scratch, accum, reducer);
341
+ }
342
+
343
+ __syncthreads();
344
+ half2* rv1 = reinterpret_cast<half2*>(scratch);
345
+ if (packet_width > 2) {
346
+ reducer.reducePacket(rv1[2], rv1);
347
+ reducer.reducePacket(rv1[3], rv1 + 1);
348
+ reducer.reducePacket(rv1[1], rv1);
349
+ }
350
+ if (gridDim.x == 1) {
351
+ if (first_index == 0) {
352
+ half tmp = __low2half(*rv1);
353
+ reducer.reduce(__high2half(*rv1), &tmp);
354
+ *output = tmp;
355
+ }
356
+ }
357
+ }
358
+
359
+ template <typename Op>
360
+ __global__ EIGEN_HIP_LAUNCH_BOUNDS_1024 void ReductionCleanupKernelHalfFloat(Op reducer, half* output, packet_traits<Eigen::half>::type* scratch) {
361
+ eigen_assert(threadIdx.x == 1);
362
+ half2* pscratch = reinterpret_cast<half2*>(scratch);
363
+ half tmp = __float2half(0.f);
364
+ typedef packet_traits<Eigen::half>::type packet_type;
365
+ for (int i = 0; i < unpacket_traits<packet_type>::size; i += 2) {
366
+ reducer.reduce(__low2half(*pscratch), &tmp);
367
+ reducer.reduce(__high2half(*pscratch), &tmp);
368
+ pscratch++;
369
+ }
370
+ *output = tmp;
371
+ }
372
+
373
+ #endif // EIGEN_HAS_GPU_FP16
374
+
375
+ template <typename Self, typename Op, typename OutputType, bool PacketAccess, typename Enabled = void>
376
+ struct FullReductionLauncher {
377
+ static void run(const Self&, Op&, const GpuDevice&, OutputType*, typename Self::Index) {
378
+ gpu_assert(false && "Should only be called on doubles, floats and half floats");
379
+ }
380
+ };
381
+
382
+ // Specialization for float and double
383
+ template <typename Self, typename Op, typename OutputType, bool PacketAccess>
384
+ struct FullReductionLauncher<
385
+ Self, Op, OutputType, PacketAccess,
386
+ typename internal::enable_if<
387
+ internal::is_same<float, OutputType>::value ||
388
+ internal::is_same<double, OutputType>::value,
389
+ void>::type> {
390
+ static void run(const Self& self, Op& reducer, const GpuDevice& device, OutputType* output, typename Self::Index num_coeffs) {
391
+
392
+ typedef typename Self::Index Index;
393
+ const int block_size = 256;
394
+ const int num_per_thread = 128;
395
+ const int num_blocks = divup<int>(num_coeffs, block_size * num_per_thread);
396
+
397
+ unsigned int* semaphore = NULL;
398
+ if (num_blocks > 1) {
399
+ semaphore = device.semaphore();
400
+ }
401
+
402
+ LAUNCH_GPU_KERNEL((FullReductionKernel<block_size, num_per_thread, Self, Op, Index>),
403
+ num_blocks, block_size, 0, device, reducer, self, num_coeffs, output, semaphore);
404
+ }
405
+ };
406
+
407
+ #ifdef EIGEN_HAS_GPU_FP16
408
+ template <typename Self, typename Op>
409
+ struct FullReductionLauncher<Self, Op, Eigen::half, false> {
410
+ static void run(const Self&, Op&, const GpuDevice&, half*, typename Self::Index) {
411
+ gpu_assert(false && "Should not be called since there is no packet accessor");
412
+ }
413
+ };
414
+
415
+ template <typename Self, typename Op>
416
+ struct FullReductionLauncher<Self, Op, Eigen::half, true> {
417
+ static void run(const Self& self, Op& reducer, const GpuDevice& device, half* output, typename Self::Index num_coeffs) {
418
+ typedef typename Self::Index Index;
419
+ typedef typename packet_traits<Eigen::half>::type PacketType;
420
+
421
+ const int block_size = 256;
422
+ const int num_per_thread = 128;
423
+ const int num_blocks = divup<int>(num_coeffs, block_size * num_per_thread);
424
+ PacketType* scratch = static_cast<PacketType*>(device.scratchpad());
425
+ // half2* scratch = static_cast<half2*>(device.scratchpad());
426
+
427
+ if (num_blocks > 1) {
428
+ // We initialize the output and the scrathpad outside the reduction kernel when we can't be sure that there
429
+ // won't be a race conditions between multiple thread blocks.
430
+ LAUNCH_GPU_KERNEL((ReductionInitFullReduxKernelHalfFloat<Self, Op, Index>),
431
+ 1, 1, 0, device, reducer, self, num_coeffs, scratch);
432
+ }
433
+
434
+ LAUNCH_GPU_KERNEL((FullReductionKernelHalfFloat<block_size, num_per_thread, Self, Op, Index>),
435
+ num_blocks, block_size, 0, device, reducer, self, num_coeffs, output, scratch);
436
+
437
+ if (num_blocks > 1) {
438
+ LAUNCH_GPU_KERNEL((ReductionCleanupKernelHalfFloat<Op>),
439
+ 1, 1, 0, device, reducer, output, scratch);
440
+ }
441
+ }
442
+ };
443
+ #endif // EIGEN_HAS_GPU_FP16
444
+
445
+
446
+ template <typename Self, typename Op, bool Vectorizable>
447
+ struct FullReducer<Self, Op, GpuDevice, Vectorizable> {
448
+ // Unfortunately nvidia doesn't support well exotic types such as complex,
449
+ // so reduce the scope of the optimized version of the code to the simple cases
450
+ // of doubles, floats and half floats
451
+ #ifdef EIGEN_HAS_GPU_FP16
452
+ static const bool HasOptimizedImplementation = !Self::ReducerTraits::IsStateful &&
453
+ (internal::is_same<typename Self::CoeffReturnType, float>::value ||
454
+ internal::is_same<typename Self::CoeffReturnType, double>::value ||
455
+ (internal::is_same<typename Self::CoeffReturnType, Eigen::half>::value && reducer_traits<Op, GpuDevice>::PacketAccess));
456
+ #else // EIGEN_HAS_GPU_FP16
457
+ static const bool HasOptimizedImplementation = !Self::ReducerTraits::IsStateful &&
458
+ (internal::is_same<typename Self::CoeffReturnType, float>::value ||
459
+ internal::is_same<typename Self::CoeffReturnType, double>::value);
460
+ #endif // EIGEN_HAS_GPU_FP16
461
+
462
+ template <typename OutputType>
463
+ static void run(const Self& self, Op& reducer, const GpuDevice& device, OutputType* output) {
464
+ gpu_assert(HasOptimizedImplementation && "Should only be called on doubles, floats or half floats");
465
+ const Index num_coeffs = array_prod(self.m_impl.dimensions());
466
+ // Don't crash when we're called with an input tensor of size 0.
467
+ if (num_coeffs == 0) {
468
+ return;
469
+ }
470
+
471
+ FullReductionLauncher<Self, Op, OutputType, reducer_traits<Op, GpuDevice>::PacketAccess>::run(self, reducer, device, output, num_coeffs);
472
+ }
473
+ };
474
+
475
+
476
+ template <int NumPerThread, typename Self,
477
+ typename Reducer, typename Index>
478
+ __global__ EIGEN_HIP_LAUNCH_BOUNDS_1024 void InnerReductionKernel(Reducer reducer, const Self input, Index num_coeffs_to_reduce, Index num_preserved_coeffs,
479
+ typename Self::CoeffReturnType* output) {
480
+ #if (defined(EIGEN_HIP_DEVICE_COMPILE) && defined(__HIP_ARCH_HAS_WARP_SHUFFLE__)) || (EIGEN_CUDA_ARCH >= 300)
481
+ typedef typename Self::CoeffReturnType Type;
482
+ eigen_assert(blockDim.y == 1);
483
+ eigen_assert(blockDim.z == 1);
484
+ eigen_assert(gridDim.y == 1);
485
+ eigen_assert(gridDim.z == 1);
486
+
487
+ const int unroll_times = 16;
488
+ eigen_assert(NumPerThread % unroll_times == 0);
489
+
490
+ const Index input_col_blocks = divup<Index>(num_coeffs_to_reduce, blockDim.x * NumPerThread);
491
+ const Index num_input_blocks = input_col_blocks * num_preserved_coeffs;
492
+
493
+ const Index num_threads = blockDim.x * gridDim.x;
494
+ const Index thread_id = blockIdx.x * blockDim.x + threadIdx.x;
495
+
496
+ // Initialize the output values if they weren't initialized by the ReductionInitKernel
497
+ if (gridDim.x == 1) {
498
+ for (Index i = thread_id; i < num_preserved_coeffs; i += num_threads) {
499
+ output[i] = reducer.initialize();
500
+ }
501
+ __syncthreads();
502
+ }
503
+
504
+ for (Index i = blockIdx.x; i < num_input_blocks; i += gridDim.x) {
505
+ const Index row = i / input_col_blocks;
506
+
507
+ if (row < num_preserved_coeffs) {
508
+ const Index col_block = i % input_col_blocks;
509
+ const Index col_begin = col_block * blockDim.x * NumPerThread + threadIdx.x;
510
+
511
+ Type reduced_val = reducer.initialize();
512
+
513
+ for (Index j = 0; j < NumPerThread; j += unroll_times) {
514
+ const Index last_col = col_begin + blockDim.x * (j + unroll_times - 1);
515
+ if (last_col >= num_coeffs_to_reduce) {
516
+ for (Index col = col_begin + blockDim.x * j; col < num_coeffs_to_reduce; col += blockDim.x) {
517
+ const Type val = input.m_impl.coeff(row * num_coeffs_to_reduce + col);
518
+ reducer.reduce(val, &reduced_val);
519
+ }
520
+ break;
521
+ } else {
522
+ // Faster version of the loop with no branches after unrolling.
523
+ #pragma unroll
524
+ for (int k = 0; k < unroll_times; ++k) {
525
+ const Index col = col_begin + blockDim.x * (j + k);
526
+ reducer.reduce(input.m_impl.coeff(row * num_coeffs_to_reduce + col), &reduced_val);
527
+ }
528
+ }
529
+ }
530
+
531
+ #pragma unroll
532
+ for (int offset = warpSize/2; offset > 0; offset /= 2) {
533
+ #if defined(EIGEN_HIPCC)
534
+ // use std::is_floating_point to determine the type of reduced_val
535
+ // This is needed because when Type == double, hipcc will give a "call to __shfl_down is ambguous" error
536
+ // and list the float and int versions of __shfl_down as the candidate functions.
537
+ if (std::is_floating_point<Type>::value) {
538
+ reducer.reduce(__shfl_down(static_cast<float>(reduced_val), offset), &reduced_val);
539
+ } else {
540
+ reducer.reduce(__shfl_down(static_cast<int>(reduced_val), offset), &reduced_val);
541
+ }
542
+ #elif defined(EIGEN_CUDA_SDK_VER) && EIGEN_CUDA_SDK_VER < 90000
543
+ reducer.reduce(__shfl_down(reduced_val, offset), &reduced_val);
544
+ #else
545
+ reducer.reduce(__shfl_down_sync(0xFFFFFFFF, reduced_val, offset), &reduced_val);
546
+ #endif
547
+ }
548
+
549
+ if ((threadIdx.x & (warpSize - 1)) == 0) {
550
+ atomicReduce(&(output[row]), reduced_val, reducer);
551
+ }
552
+ }
553
+ }
554
+ #else // EIGEN_CUDA_ARCH >= 300
555
+ gpu_assert(0 && "Shouldn't be called on unsupported device");
556
+ #endif // EIGEN_CUDA_ARCH >= 300
557
+ }
558
+
559
+ #ifdef EIGEN_HAS_GPU_FP16
560
+
561
+ template <int NumPerThread, typename Self,
562
+ typename Reducer, typename Index>
563
+ __global__ EIGEN_HIP_LAUNCH_BOUNDS_1024 void InnerReductionKernelHalfFloat(Reducer reducer, const Self input, Index num_coeffs_to_reduce, Index num_preserved_coeffs,
564
+ half* output) {
565
+ eigen_assert(blockDim.y == 1);
566
+ eigen_assert(blockDim.z == 1);
567
+ eigen_assert(gridDim.y == 1);
568
+ eigen_assert(gridDim.z == 1);
569
+
570
+ typedef typename packet_traits<Eigen::half>::type PacketType;
571
+ const int packet_width = unpacket_traits<PacketType>::size;
572
+ const int unroll_times = 16 / packet_width;
573
+ eigen_assert(NumPerThread % unroll_times == 0);
574
+ eigen_assert(unroll_times % 2 == 0);
575
+
576
+ const Index input_col_blocks = divup<Index>(num_coeffs_to_reduce, blockDim.x * NumPerThread * 2);
577
+ const Index num_input_blocks = divup<Index>(input_col_blocks * num_preserved_coeffs, 2);
578
+
579
+ const Index num_threads = blockDim.x * gridDim.x;
580
+ const Index thread_id = blockIdx.x * blockDim.x + threadIdx.x;
581
+
582
+ // Initialize the output values if they weren't initialized by the ReductionInitKernel
583
+ if (gridDim.x == 1) {
584
+ Index i = packet_width * thread_id;
585
+ for (; i + packet_width <= num_preserved_coeffs;
586
+ i += packet_width * num_threads) {
587
+ PacketType* poutput = reinterpret_cast<PacketType*>(output + i);
588
+ *poutput = reducer.template initializePacket<PacketType>();
589
+ }
590
+ if (i < num_preserved_coeffs) {
591
+ output[i] = reducer.initialize();
592
+ }
593
+ __syncthreads();
594
+ }
595
+
596
+ for (Index i = blockIdx.x; i < num_input_blocks; i += gridDim.x) {
597
+ const Index row = 2 * (i / input_col_blocks); // everybody takes 2 rows
598
+
599
+ if (row + 1 < num_preserved_coeffs) {
600
+ const Index col_block = i % input_col_blocks;
601
+ const Index col_begin =
602
+ packet_width * (col_block * blockDim.x * NumPerThread + threadIdx.x);
603
+
604
+ PacketType reduced_val1 = reducer.template initializePacket<PacketType>();
605
+ PacketType reduced_val2 = reducer.template initializePacket<PacketType>();
606
+
607
+ for (Index j = 0; j < NumPerThread; j += unroll_times) {
608
+ const Index last_col =
609
+ col_begin + blockDim.x * (j + unroll_times - 1) * packet_width;
610
+ if (last_col >= num_coeffs_to_reduce) {
611
+ Index col = col_begin + blockDim.x * j;
612
+ for (; col + packet_width <= num_coeffs_to_reduce;
613
+ col += blockDim.x) {
614
+ const PacketType val1 = input.m_impl.template packet<Unaligned>(
615
+ row * num_coeffs_to_reduce + col);
616
+ reducer.reducePacket(val1, &reduced_val1);
617
+ const PacketType val2 = input.m_impl.template packet<Unaligned>(
618
+ (row + 1) * num_coeffs_to_reduce + col);
619
+ reducer.reducePacket(val2, &reduced_val2);
620
+ }
621
+ if (col < num_coeffs_to_reduce) {
622
+ PacketType r1 = reducer.template initializePacket<PacketType>();
623
+ PacketType r2 = reducer.template initializePacket<PacketType>();
624
+ half2* hr1 = reinterpret_cast<half2*>(&r1);
625
+ half2* hr2 = reinterpret_cast<half2*>(&r2);
626
+ while (col + 1 < num_coeffs_to_reduce) {
627
+ *hr1 = __halves2half2(
628
+ input.m_impl.coeff(row * num_coeffs_to_reduce + col),
629
+ input.m_impl.coeff(row * num_coeffs_to_reduce + col + 1));
630
+ *hr2 = __halves2half2(
631
+ input.m_impl.coeff((row + 1) * num_coeffs_to_reduce + col),
632
+ input.m_impl.coeff((row + 1) * num_coeffs_to_reduce + col +
633
+ 1));
634
+ hr1++;
635
+ hr2++;
636
+ col += 2;
637
+ }
638
+ if (col < num_coeffs_to_reduce) {
639
+ // Peel;
640
+ const half last1 =
641
+ input.m_impl.coeff(row * num_coeffs_to_reduce + col);
642
+ *hr1 = __halves2half2(last1, reducer.initialize());
643
+ const half last2 =
644
+ input.m_impl.coeff((row + 1) * num_coeffs_to_reduce + col);
645
+ *hr2 = __halves2half2(last2, reducer.initialize());
646
+ }
647
+ reducer.reducePacket(r1, &reduced_val1);
648
+ reducer.reducePacket(r2, &reduced_val2);
649
+ }
650
+ break;
651
+ } else {
652
+ // Faster version of the loop with no branches after unrolling.
653
+ #pragma unroll
654
+ for (int k = 0; k < unroll_times; ++k) {
655
+ const Index col = col_begin + blockDim.x * (j + k) * packet_width;
656
+ reducer.reducePacket(input.m_impl.template packet<Unaligned>(
657
+ row * num_coeffs_to_reduce + col),
658
+ &reduced_val1);
659
+ reducer.reducePacket(input.m_impl.template packet<Unaligned>(
660
+ (row + 1) * num_coeffs_to_reduce + col),
661
+ &reduced_val2);
662
+ }
663
+ }
664
+ }
665
+
666
+ #pragma unroll
667
+ for (int offset = warpSize/2; offset > 0; offset /= 2) {
668
+ #if defined(EIGEN_HIPCC)
669
+ PacketType r1;
670
+ PacketType r2;
671
+ half2* hr1 = reinterpret_cast<half2*>(&r1);
672
+ half2* hr2 = reinterpret_cast<half2*>(&r2);
673
+ half2* rv1 = reinterpret_cast<half2*>(&reduced_val1);
674
+ half2* rv2 = reinterpret_cast<half2*>(&reduced_val2);
675
+ for (int i = 0; i < packet_width / 2; i++) {
676
+ // FIXME : remove this workaround once we have native half/half2 support for __shfl_down
677
+ union { int i; half2 h; } wka_in1, wka_out1;
678
+ wka_in1.h = rv1[i];
679
+ wka_out1.i = __shfl_down(wka_in1.i, offset, warpSize);
680
+ hr1[i] = wka_out1.h;
681
+
682
+ union { int i; half2 h; } wka_in2, wka_out2;
683
+ wka_in2.h = rv2[i];
684
+ wka_out2.i = __shfl_down(wka_in2.i, offset, warpSize);
685
+ hr2[i] = wka_out2.h;
686
+ }
687
+ reducer.reducePacket(r1, &reduced_val1);
688
+ reducer.reducePacket(r2, &reduced_val2);
689
+ #elif defined(EIGEN_CUDA_SDK_VER) && EIGEN_CUDA_SDK_VER < 90000
690
+ PacketType r1;
691
+ PacketType r2;
692
+ half2* hr1 = reinterpret_cast<half2*>(&r1);
693
+ half2* hr2 = reinterpret_cast<half2*>(&r2);
694
+ half2* rv1 = reinterpret_cast<half2*>(&reduced_val1);
695
+ half2* rv2 = reinterpret_cast<half2*>(&reduced_val2);
696
+ for (int i = 0; i < packet_width / 2; i++) {
697
+ hr1[i] = __shfl_down(rv1[i], offset, warpSize);
698
+ hr2[i] = __shfl_down(rv2[i], offset, warpSize);
699
+ }
700
+ reducer.reducePacket(r1, &reduced_val1);
701
+ reducer.reducePacket(r2, &reduced_val2);
702
+ #else
703
+ PacketType r1;
704
+ PacketType r2;
705
+ half2* hr1 = reinterpret_cast<half2*>(&r1);
706
+ half2* hr2 = reinterpret_cast<half2*>(&r2);
707
+ half2* rr1 = reinterpret_cast<half2*>(&reduced_val1);
708
+ half2* rr2 = reinterpret_cast<half2*>(&reduced_val2);
709
+ for (int i = 0; i < packet_width / 2; i++) {
710
+ hr1[i] =
711
+ __shfl_down_sync(0xFFFFFFFF, rr1[i], (unsigned)offset, warpSize);
712
+ hr2[i] =
713
+ __shfl_down_sync(0xFFFFFFFF, rr2[i], (unsigned)offset, warpSize);
714
+ }
715
+ reducer.reducePacket(r1, &reduced_val1);
716
+ reducer.reducePacket(r2, &reduced_val2);
717
+
718
+ #endif
719
+ }
720
+ half2* rv1 = reinterpret_cast<half2*>(&reduced_val1);
721
+ half2* rv2 = reinterpret_cast<half2*>(&reduced_val2);
722
+ half2 val;
723
+ if (packet_width > 2) {
724
+ reducer.reducePacket(rv1[2], rv1);
725
+ reducer.reducePacket(rv1[3], rv1 + 1);
726
+ reducer.reducePacket(rv1[1], rv1);
727
+ reducer.reducePacket(rv2[2], rv2);
728
+ reducer.reducePacket(rv2[3], rv2 + 1);
729
+ reducer.reducePacket(rv2[1], rv2);
730
+ }
731
+ half val1 = __low2half(*rv1);
732
+ reducer.reduce(__high2half(*rv1), &val1);
733
+ half val2 = __low2half(*rv2);
734
+ reducer.reduce(__high2half(*rv2), &val2);
735
+ val = __halves2half2(val1, val2);
736
+ if ((threadIdx.x & (warpSize - 1)) == 0) {
737
+ half* loc = output + row;
738
+ atomicReduce((half2*)loc, val, reducer);
739
+ }
740
+ }
741
+ }
742
+ }
743
+
744
+ #endif // EIGEN_HAS_GPU_FP16
745
+
746
+ template <typename Self, typename Op, typename OutputType, bool PacketAccess, typename Enabled = void>
747
+ struct InnerReductionLauncher {
748
+ static EIGEN_DEVICE_FUNC bool run(const Self&, Op&, const GpuDevice&, OutputType*, typename Self::Index, typename Self::Index) {
749
+ gpu_assert(false && "Should only be called to reduce doubles, floats and half floats on a gpu device");
750
+ return true;
751
+ }
752
+ };
753
+
754
+ // Specialization for float and double
755
+ template <typename Self, typename Op, typename OutputType, bool PacketAccess>
756
+ struct InnerReductionLauncher<
757
+ Self, Op, OutputType, PacketAccess,
758
+ typename internal::enable_if<
759
+ internal::is_same<float, OutputType>::value ||
760
+ internal::is_same<double, OutputType>::value,
761
+ void>::type> {
762
+ static bool run(const Self& self, Op& reducer, const GpuDevice& device, OutputType* output, typename Self::Index num_coeffs_to_reduce, typename Self::Index num_preserved_vals) {
763
+ typedef typename Self::Index Index;
764
+
765
+ const Index num_coeffs = num_coeffs_to_reduce * num_preserved_vals;
766
+ const int block_size = 256;
767
+ const int num_per_thread = 128;
768
+ const int dyn_blocks = divup<int>(num_coeffs, block_size * num_per_thread);
769
+ const int max_blocks = device.getNumGpuMultiProcessors() *
770
+ device.maxGpuThreadsPerMultiProcessor() / block_size;
771
+ const int num_blocks = numext::mini<int>(max_blocks, dyn_blocks);
772
+
773
+ if (num_blocks > 1) {
774
+ // We initialize the outputs outside the reduction kernel when we can't be sure that there
775
+ // won't be a race conditions between multiple thread blocks.
776
+ const int dyn_blocks = divup<int>(num_preserved_vals, 1024);
777
+ const int max_blocks = device.getNumGpuMultiProcessors() *
778
+ device.maxGpuThreadsPerMultiProcessor() / 1024;
779
+ const int num_blocks = numext::mini<int>(max_blocks, dyn_blocks);
780
+ LAUNCH_GPU_KERNEL((ReductionInitKernel<OutputType, Index>),
781
+ num_blocks, 1024, 0, device, reducer.initialize(),
782
+ num_preserved_vals, output);
783
+ }
784
+
785
+ LAUNCH_GPU_KERNEL((InnerReductionKernel<num_per_thread, Self, Op, Index>),
786
+ num_blocks, block_size, 0, device, reducer, self, num_coeffs_to_reduce, num_preserved_vals, output);
787
+
788
+ return false;
789
+ }
790
+ };
791
+
792
+ #ifdef EIGEN_HAS_GPU_FP16
793
+ template <typename Self, typename Op>
794
+ struct InnerReductionLauncher<Self, Op, Eigen::half, false> {
795
+ static bool run(const Self&, Op&, const GpuDevice&, half*, typename Self::Index, typename Self::Index) {
796
+ gpu_assert(false && "Should not be called since there is no packet accessor");
797
+ return true;
798
+ }
799
+ };
800
+
801
+ template <typename Self, typename Op>
802
+ struct InnerReductionLauncher<Self, Op, Eigen::half, true> {
803
+ static bool run(const Self& self, Op& reducer, const GpuDevice& device, half* output, typename Self::Index num_coeffs_to_reduce, typename Self::Index num_preserved_vals) {
804
+ typedef typename Self::Index Index;
805
+
806
+ if (num_preserved_vals % 2 != 0) {
807
+ // Not supported yet, revert to the slower code path
808
+ return true;
809
+ }
810
+
811
+ const Index num_coeffs = num_coeffs_to_reduce * num_preserved_vals;
812
+ const int block_size = /*256*/128;
813
+ const int num_per_thread = /*128*/64;
814
+ const int dyn_blocks = divup<int>(num_coeffs, block_size * num_per_thread);
815
+ const int max_blocks = device.getNumGpuMultiProcessors() *
816
+ device.maxGpuThreadsPerMultiProcessor() / block_size;
817
+ const int num_blocks = numext::mini<int>(max_blocks, dyn_blocks);
818
+
819
+ if (num_blocks > 1) {
820
+ // We initialize the outputs outside the reduction kernel when we can't be sure that there
821
+ // won't be a race conditions between multiple thread blocks.
822
+ LAUNCH_GPU_KERNEL((ReductionInitKernelHalfFloat<Self, Op, Index>),
823
+ 1, 1, 0, device, reducer, self, num_preserved_vals, output);
824
+ }
825
+
826
+ LAUNCH_GPU_KERNEL((InnerReductionKernelHalfFloat<num_per_thread, Self, Op, Index>),
827
+ num_blocks, block_size, 0, device, reducer, self, num_coeffs_to_reduce, num_preserved_vals, output);
828
+
829
+ return false;
830
+ }
831
+ };
832
+ #endif // EIGEN_HAS_GPU_FP16
833
+
834
+
835
+ template <typename Self, typename Op>
836
+ struct InnerReducer<Self, Op, GpuDevice> {
837
+ // Unfortunately nvidia doesn't support well exotic types such as complex,
838
+ // so reduce the scope of the optimized version of the code to the simple case
839
+ // of floats and half floats.
840
+ #ifdef EIGEN_HAS_GPU_FP16
841
+ static const bool HasOptimizedImplementation = !Self::ReducerTraits::IsStateful &&
842
+ (internal::is_same<typename Self::CoeffReturnType, float>::value ||
843
+ internal::is_same<typename Self::CoeffReturnType, double>::value ||
844
+ (internal::is_same<typename Self::CoeffReturnType, Eigen::half>::value && reducer_traits<Op, GpuDevice>::PacketAccess));
845
+ #else // EIGEN_HAS_GPU_FP16
846
+ static const bool HasOptimizedImplementation = !Self::ReducerTraits::IsStateful &&
847
+ (internal::is_same<typename Self::CoeffReturnType, float>::value ||
848
+ internal::is_same<typename Self::CoeffReturnType, double>::value);
849
+ #endif // EIGEN_HAS_GPU_FP16
850
+
851
+ template <typename OutputType>
852
+ static bool run(const Self& self, Op& reducer, const GpuDevice& device, OutputType* output, typename Self::Index num_coeffs_to_reduce, typename Self::Index num_preserved_vals) {
853
+ gpu_assert(HasOptimizedImplementation && "Should only be called on doubles, floats or half floats");
854
+ const Index num_coeffs = array_prod(self.m_impl.dimensions());
855
+ // Don't crash when we're called with an input tensor of size 0.
856
+ if (num_coeffs == 0) {
857
+ return true;
858
+ }
859
+ // It's faster to use the usual code.
860
+ if (num_coeffs_to_reduce <= 128) {
861
+ return true;
862
+ }
863
+
864
+ return InnerReductionLauncher<Self, Op, OutputType, reducer_traits<Op, GpuDevice>::PacketAccess>::run(self, reducer, device, output, num_coeffs_to_reduce, num_preserved_vals);
865
+ }
866
+ };
867
+
868
+ template <int NumPerThread, typename Self,
869
+ typename Reducer, typename Index>
870
+ __global__ EIGEN_HIP_LAUNCH_BOUNDS_1024 void OuterReductionKernel(Reducer reducer, const Self input, Index num_coeffs_to_reduce, Index num_preserved_coeffs,
871
+ typename Self::CoeffReturnType* output) {
872
+ const Index num_threads = blockDim.x * gridDim.x;
873
+ const Index thread_id = blockIdx.x * blockDim.x + threadIdx.x;
874
+ // Initialize the output values if they weren't initialized by the ReductionInitKernel
875
+ if (gridDim.x == 1) {
876
+ for (Index i = thread_id; i < num_preserved_coeffs; i += num_threads) {
877
+ output[i] = reducer.initialize();
878
+ }
879
+ __syncthreads();
880
+ }
881
+
882
+ // Do the reduction.
883
+ const Index max_iter = num_preserved_coeffs * divup<Index>(num_coeffs_to_reduce, NumPerThread);
884
+ for (Index i = thread_id; i < max_iter; i += num_threads) {
885
+ const Index input_col = i % num_preserved_coeffs;
886
+ const Index input_row = (i / num_preserved_coeffs) * NumPerThread;
887
+ typename Self::CoeffReturnType reduced_val = reducer.initialize();
888
+ const Index max_row = numext::mini(input_row + NumPerThread, num_coeffs_to_reduce);
889
+ for (Index j = input_row; j < max_row; j++) {
890
+ typename Self::CoeffReturnType val = input.m_impl.coeff(j * num_preserved_coeffs + input_col);
891
+ reducer.reduce(val, &reduced_val);
892
+ }
893
+ atomicReduce(&(output[input_col]), reduced_val, reducer);
894
+ }
895
+ }
896
+
897
+
898
+ template <typename Self, typename Op>
899
+ struct OuterReducer<Self, Op, GpuDevice> {
900
+ // Unfortunately nvidia doesn't support well exotic types such as complex,
901
+ // so reduce the scope of the optimized version of the code to the simple case
902
+ // of floats.
903
+ static const bool HasOptimizedImplementation = !Self::ReducerTraits::IsStateful &&
904
+ (internal::is_same<typename Self::CoeffReturnType, float>::value ||
905
+ internal::is_same<typename Self::CoeffReturnType, double>::value);
906
+ template <typename Device, typename OutputType>
907
+ static
908
+ #if !defined(EIGEN_HIPCC)
909
+ // FIXME : leaving this EIGEN_DEVICE_FUNC in, results in the following runtime error
910
+ // (in the cxx11_tensor_reduction_gpu test)
911
+ //
912
+ // terminate called after throwing an instance of 'std::runtime_error'
913
+ // what(): No device code available for function: _ZN5Eigen8internal20OuterReductionKernelIL...
914
+ //
915
+ // don't know why this happens (and why is it a runtime error instead of a compile time error)
916
+ //
917
+ // this will be fixed by HIP PR#457
918
+ EIGEN_DEVICE_FUNC
919
+ #endif
920
+ bool run(const Self&, Op&, const Device&, OutputType*, typename Self::Index, typename Self::Index) {
921
+ gpu_assert(false && "Should only be called to reduce doubles or floats on a gpu device");
922
+ return true;
923
+ }
924
+
925
+ static bool run(const Self& self, Op& reducer, const GpuDevice& device, float* output, typename Self::Index num_coeffs_to_reduce, typename Self::Index num_preserved_vals) {
926
+ typedef typename Self::Index Index;
927
+
928
+ // It's faster to use the usual code.
929
+ if (num_coeffs_to_reduce <= 32) {
930
+ return true;
931
+ }
932
+
933
+ const Index num_coeffs = num_coeffs_to_reduce * num_preserved_vals;
934
+ const int block_size = 256;
935
+ const int num_per_thread = 16;
936
+ const int dyn_blocks = divup<int>(num_coeffs, block_size * num_per_thread);
937
+ const int max_blocks = device.getNumGpuMultiProcessors() *
938
+ device.maxGpuThreadsPerMultiProcessor() / block_size;
939
+ const int num_blocks = numext::mini<int>(max_blocks, dyn_blocks);
940
+
941
+ if (num_blocks > 1) {
942
+ // We initialize the outputs in the reduction kernel itself when we don't have to worry
943
+ // about race conditions between multiple thread blocks.
944
+ const int dyn_blocks = divup<int>(num_preserved_vals, 1024);
945
+ const int max_blocks = device.getNumGpuMultiProcessors() *
946
+ device.maxGpuThreadsPerMultiProcessor() / 1024;
947
+ const int num_blocks = numext::mini<int>(max_blocks, dyn_blocks);
948
+ LAUNCH_GPU_KERNEL((ReductionInitKernel<float, Index>),
949
+ num_blocks, 1024, 0, device, reducer.initialize(),
950
+ num_preserved_vals, output);
951
+ }
952
+
953
+ LAUNCH_GPU_KERNEL((OuterReductionKernel<num_per_thread, Self, Op, Index>),
954
+ num_blocks, block_size, 0, device, reducer, self, num_coeffs_to_reduce, num_preserved_vals, output);
955
+
956
+ return false;
957
+ }
958
+ };
959
+
960
+ #endif // defined(EIGEN_USE_GPU) && defined(EIGEN_GPUCC)
961
+
962
+
963
+ } // end namespace internal
964
+ } // end namespace Eigen
965
+
966
+ #endif // EIGEN_CXX11_TENSOR_TENSOR_REDUCTION_GPU_H