casadi 3.6.4__cp39-none-manylinux2014_aarch64.whl → 3.6.6__cp39-none-manylinux2014_aarch64.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 (1439) hide show
  1. casadi/_casadi.so +0 -0
  2. casadi/casadi.py +984 -500
  3. casadi/cmake/alpaqa/alpaqaConfigVersion.cmake +0 -5
  4. casadi/cmake/alpaqa/alpaqaTargets.cmake +1 -1
  5. casadi/cmake/casadi-config-version.cmake +1 -1
  6. casadi/cmake/casadi-targets.cmake +1 -1
  7. casadi/cmake/osqp/osqp-targets.cmake +1 -1
  8. casadi/cmake/proxsuite/proxsuiteConfigVersion.cmake +0 -5
  9. casadi/cmake/proxsuite/proxsuiteTargets.cmake +1 -1
  10. casadi/cmake/qdldl/qdldl-targets.cmake +1 -1
  11. casadi/include/casadi/casadi.i +33 -15
  12. casadi/include/casadi/casadi_c.h +2 -0
  13. casadi/include/casadi/config.h +8 -8
  14. casadi/include/casadi/core/casadi_common.hpp +1 -0
  15. casadi/include/casadi/core/casadi_misc.hpp +13 -0
  16. casadi/include/casadi/core/casadi_types.hpp +3 -2
  17. casadi/include/casadi/core/code_generator.hpp +59 -2
  18. casadi/include/casadi/core/core.hpp +1 -0
  19. casadi/include/casadi/core/generic_expression.hpp +1 -1
  20. casadi/include/casadi/core/generic_type.hpp +25 -1
  21. casadi/include/casadi/core/global_options.hpp +2 -0
  22. casadi/include/casadi/core/matrix_decl.hpp +15 -0
  23. casadi/include/casadi/core/mx.hpp +13 -3
  24. casadi/include/casadi/core/optistack.hpp +23 -0
  25. casadi/include/casadi/core/runtime/casadi_nlp.hpp +133 -6
  26. casadi/include/casadi/core/runtime/casadi_ocp_block.hpp +55 -0
  27. casadi/include/casadi/core/runtime/casadi_oracle.hpp +44 -0
  28. casadi/include/casadi/core/runtime/casadi_oracle_callback.hpp +39 -0
  29. casadi/include/casadi/core/runtime/casadi_runtime.hpp +4 -1
  30. casadi/include/casadi/core/runtime/casadi_scaled_copy.hpp +31 -0
  31. casadi/include/casadi/core/runtime/casadi_sqpmethod.hpp +11 -1
  32. casadi/include/casadi/core/serializing_stream.hpp +2 -2
  33. casadi/include/casadi/core/sparsity.hpp +12 -3
  34. casadi/include/casadi/core/tools.hpp +67 -0
  35. casadi/include/casadi/doc.i +2283 -1491
  36. casadi/include/casadi/doc_merged.i +1522 -1065
  37. casadi/include/casadi/mem.h +1 -0
  38. casadi/include/daqp/api.h +46 -0
  39. casadi/include/daqp/auxiliary.h +29 -0
  40. casadi/include/daqp/bnb.h +32 -0
  41. casadi/include/daqp/codegen.h +18 -0
  42. casadi/include/daqp/constants.h +92 -0
  43. casadi/include/daqp/daqp.h +22 -0
  44. casadi/include/daqp/daqp_prox.h +18 -0
  45. casadi/include/daqp/factorization.h +18 -0
  46. casadi/include/daqp/types.h +161 -0
  47. casadi/include/daqp/utils.h +44 -0
  48. casadi/include/fatrop/auxiliary/Common.hpp +33 -0
  49. casadi/include/fatrop/auxiliary/DynamicLib.hpp +34 -0
  50. casadi/include/fatrop/auxiliary/FatropOptions.hpp +68 -0
  51. casadi/include/fatrop/auxiliary/FatropVector.hpp +143 -0
  52. casadi/include/fatrop/auxiliary/LinearAlgebra.hpp +88 -0
  53. casadi/include/fatrop/auxiliary/VectorUtils.hpp +54 -0
  54. casadi/include/fatrop/blasfeo_wrapper/LinearAlgebraBlasfeo.hpp +492 -0
  55. casadi/include/fatrop/function_evaluation/CasadiCodegen.hpp +104 -0
  56. casadi/include/fatrop/function_evaluation/FunctionEvaluation.hpp +60 -0
  57. casadi/include/fatrop/json/json.h +946 -0
  58. casadi/include/fatrop/ocp/CasadiCApiUserdataWrap.hpp +87 -0
  59. casadi/include/fatrop/ocp/DuInfEvaluator.hpp +38 -0
  60. casadi/include/fatrop/ocp/FatropOCP.hpp +161 -0
  61. casadi/include/fatrop/ocp/FatropOCPBuilder.hpp +52 -0
  62. casadi/include/fatrop/ocp/OCP.hpp +82 -0
  63. casadi/include/fatrop/ocp/OCPAbstract.hpp +254 -0
  64. casadi/include/fatrop/ocp/OCPAdapter.hpp +197 -0
  65. casadi/include/fatrop/ocp/OCPCInterface.h +289 -0
  66. casadi/include/fatrop/ocp/OCPDims.hpp +60 -0
  67. casadi/include/fatrop/ocp/OCPInitializer.hpp +41 -0
  68. casadi/include/fatrop/ocp/OCPKKT.hpp +69 -0
  69. casadi/include/fatrop/ocp/OCPLSRiccati.hpp +191 -0
  70. casadi/include/fatrop/ocp/OCPLSScaler.hpp +66 -0
  71. casadi/include/fatrop/ocp/OCPLinearSolver.hpp +75 -0
  72. casadi/include/fatrop/ocp/OCPNoScaling.hpp +42 -0
  73. casadi/include/fatrop/ocp/OCPScalingMethod.hpp +42 -0
  74. casadi/include/fatrop/ocp/StageOCP.hpp +592 -0
  75. casadi/include/fatrop/ocp/StageOCPApplication.hpp +242 -0
  76. casadi/include/fatrop/ocp/StageOCPExpressions.hpp +182 -0
  77. casadi/include/fatrop/ocp/UStageEvalAbstract.hpp +168 -0
  78. casadi/include/fatrop/ocp/UStageOCPImpl.hpp +152 -0
  79. casadi/include/fatrop/quasi_newton/bfgs.hpp +159 -0
  80. casadi/include/fatrop/solver/AlgBuilder.hpp +66 -0
  81. casadi/include/fatrop/solver/AlgStrategy.hpp +33 -0
  82. casadi/include/fatrop/solver/FatropAlg.hpp +108 -0
  83. casadi/include/fatrop/solver/FatropData.hpp +188 -0
  84. casadi/include/fatrop/solver/FatropOptions.hpp +94 -0
  85. casadi/include/fatrop/solver/FatropPrinter.hpp +65 -0
  86. casadi/include/fatrop/solver/FatropStats.hpp +63 -0
  87. casadi/include/fatrop/solver/Filter.hpp +54 -0
  88. casadi/include/fatrop/solver/IterationData.hpp +55 -0
  89. casadi/include/fatrop/solver/LineSearch.hpp +86 -0
  90. casadi/include/fatrop/solver/NLPL1.hpp +263 -0
  91. casadi/include/fatrop/templates/NLPAlg.hpp +102 -0
  92. casadi/include/licenses/daqp-external/LICENSE +21 -0
  93. casadi/include/licenses/fatrop-external/LICENSE.txt +165 -0
  94. casadi/include/licenses/fatrop-external/external/blasfeo/LICENSE.txt +26 -0
  95. casadi/include/licenses/fatrop-external/external/pybind11/LICENSE +29 -0
  96. casadi/include/osqp/constants.h +2 -3
  97. casadi/include/osqp/version.h +9 -0
  98. casadi/lib/cmake/tinyxml2/tinyxml2-config-version.cmake +0 -5
  99. casadi/lib/cmake/tinyxml2/tinyxml2-static-targets.cmake +1 -1
  100. casadi/libcasadi.so +0 -0
  101. casadi/libcasadi.so.3.7 +0 -0
  102. casadi/libcasadi_conic_cplex.so +0 -0
  103. casadi/libcasadi_conic_cplex.so.3.7 +0 -0
  104. casadi/libcasadi_conic_daqp.so +0 -0
  105. casadi/libcasadi_conic_daqp.so.3.7 +0 -0
  106. casadi/libcasadi_conic_fatrop.so +0 -0
  107. casadi/libcasadi_conic_fatrop.so.3.7 +0 -0
  108. casadi/libcasadi_conic_gurobi.so +0 -0
  109. casadi/libcasadi_conic_gurobi.so.3.7 +0 -0
  110. casadi/libcasadi_conic_hpipm.so +0 -0
  111. casadi/libcasadi_conic_hpipm.so.3.7 +0 -0
  112. casadi/libcasadi_conic_ipqp.so +0 -0
  113. casadi/libcasadi_conic_ipqp.so.3.7 +0 -0
  114. casadi/libcasadi_conic_nlpsol.so +0 -0
  115. casadi/libcasadi_conic_nlpsol.so.3.7 +0 -0
  116. casadi/libcasadi_conic_osqp.so +0 -0
  117. casadi/libcasadi_conic_osqp.so.3.7 +0 -0
  118. casadi/libcasadi_conic_proxqp.so +0 -0
  119. casadi/libcasadi_conic_proxqp.so.3.7 +0 -0
  120. casadi/libcasadi_conic_qpoases.so +0 -0
  121. casadi/libcasadi_conic_qpoases.so.3.7 +0 -0
  122. casadi/libcasadi_conic_qrqp.so +0 -0
  123. casadi/libcasadi_conic_qrqp.so.3.7 +0 -0
  124. casadi/libcasadi_conic_superscs.so +0 -0
  125. casadi/libcasadi_conic_superscs.so.3.7 +0 -0
  126. casadi/libcasadi_integrator_collocation.so +0 -0
  127. casadi/libcasadi_integrator_collocation.so.3.7 +0 -0
  128. casadi/libcasadi_integrator_cvodes.so +0 -0
  129. casadi/libcasadi_integrator_cvodes.so.3.7 +0 -0
  130. casadi/libcasadi_integrator_idas.so +0 -0
  131. casadi/libcasadi_integrator_idas.so.3.7 +0 -0
  132. casadi/libcasadi_integrator_rk.so +0 -0
  133. casadi/libcasadi_integrator_rk.so.3.7 +0 -0
  134. casadi/libcasadi_nlpsol_alpaqa.so +0 -0
  135. casadi/libcasadi_nlpsol_alpaqa.so.3.7 +0 -0
  136. casadi/libcasadi_nlpsol_ampl.so +0 -0
  137. casadi/libcasadi_nlpsol_ampl.so.3.7 +0 -0
  138. casadi/libcasadi_nlpsol_blocksqp.so +0 -0
  139. casadi/libcasadi_nlpsol_blocksqp.so.3.7 +0 -0
  140. casadi/libcasadi_nlpsol_fatrop.so +0 -0
  141. casadi/libcasadi_nlpsol_fatrop.so.3.7 +0 -0
  142. casadi/libcasadi_nlpsol_feasiblesqpmethod.so +0 -0
  143. casadi/libcasadi_nlpsol_feasiblesqpmethod.so.3.7 +0 -0
  144. casadi/libcasadi_nlpsol_ipopt.so +0 -0
  145. casadi/libcasadi_nlpsol_ipopt.so.3.7 +0 -0
  146. casadi/libcasadi_nlpsol_knitro.so +0 -0
  147. casadi/libcasadi_nlpsol_knitro.so.3.7 +0 -0
  148. casadi/libcasadi_nlpsol_madnlp.so +0 -0
  149. casadi/libcasadi_nlpsol_madnlp.so.3.7 +0 -0
  150. casadi/libcasadi_nlpsol_qrsqp.so +0 -0
  151. casadi/libcasadi_nlpsol_qrsqp.so.3.7 +0 -0
  152. casadi/libcasadi_nlpsol_scpgen.so +0 -0
  153. casadi/libcasadi_nlpsol_scpgen.so.3.7 +0 -0
  154. casadi/libcasadi_nlpsol_snopt.so +0 -0
  155. casadi/libcasadi_nlpsol_snopt.so.3.7 +0 -0
  156. casadi/libcasadi_nlpsol_sqpmethod.so +0 -0
  157. casadi/libcasadi_nlpsol_sqpmethod.so.3.7 +0 -0
  158. casadi/libcasadi_nlpsol_worhp.so +0 -0
  159. casadi/libcasadi_nlpsol_worhp.so.3.7 +0 -0
  160. casadi/libcasadi_rootfinder_fast_newton.so +0 -0
  161. casadi/libcasadi_rootfinder_fast_newton.so.3.7 +0 -0
  162. casadi/libcasadi_rootfinder_kinsol.so +0 -0
  163. casadi/libcasadi_rootfinder_kinsol.so.3.7 +0 -0
  164. casadi/libcasadi_rootfinder_newton.so +0 -0
  165. casadi/libcasadi_rootfinder_newton.so.3.7 +0 -0
  166. casadi/libcasadi_rootfinder_nlpsol.so +0 -0
  167. casadi/libcasadi_rootfinder_nlpsol.so.3.7 +0 -0
  168. casadi/libcasadi_sundials_common.so +0 -0
  169. casadi/libcasadi_sundials_common.so.3.7 +0 -0
  170. casadi/libdaqp.so +0 -0
  171. casadi/libdaqpstat.a +0 -0
  172. casadi/libfatrop.so +0 -0
  173. casadi/libipopt.so +0 -0
  174. casadi/libipopt.so.3 +0 -0
  175. casadi/libipopt.so.3.14.11 +0 -0
  176. casadi/libmatlab_ipc.so +0 -0
  177. casadi/libosqp.a +0 -0
  178. casadi/libosqp.so +0 -0
  179. casadi/libsipopt.so +0 -0
  180. casadi/libsipopt.so.3 +0 -0
  181. casadi/libsipopt.so.3.14.11 +0 -0
  182. casadi/pkgconfig/casadi.pc +1 -1
  183. casadi/tools/__init__.py +4 -0
  184. casadi/tools/bounds.py +3 -3
  185. {casadi-3.6.4.dist-info → casadi-3.6.6.dist-info}/METADATA +12 -4
  186. casadi-3.6.6.dist-info/RECORD +1681 -0
  187. casadi/include/include/eigen3/Eigen/Cholesky +0 -45
  188. casadi/include/include/eigen3/Eigen/CholmodSupport +0 -48
  189. casadi/include/include/eigen3/Eigen/Core +0 -384
  190. casadi/include/include/eigen3/Eigen/Dense +0 -7
  191. casadi/include/include/eigen3/Eigen/Eigen +0 -2
  192. casadi/include/include/eigen3/Eigen/Eigenvalues +0 -60
  193. casadi/include/include/eigen3/Eigen/Geometry +0 -59
  194. casadi/include/include/eigen3/Eigen/Householder +0 -29
  195. casadi/include/include/eigen3/Eigen/IterativeLinearSolvers +0 -48
  196. casadi/include/include/eigen3/Eigen/Jacobi +0 -32
  197. casadi/include/include/eigen3/Eigen/KLUSupport +0 -41
  198. casadi/include/include/eigen3/Eigen/LU +0 -47
  199. casadi/include/include/eigen3/Eigen/MetisSupport +0 -35
  200. casadi/include/include/eigen3/Eigen/OrderingMethods +0 -70
  201. casadi/include/include/eigen3/Eigen/PaStiXSupport +0 -49
  202. casadi/include/include/eigen3/Eigen/PardisoSupport +0 -35
  203. casadi/include/include/eigen3/Eigen/QR +0 -50
  204. casadi/include/include/eigen3/Eigen/QtAlignedMalloc +0 -39
  205. casadi/include/include/eigen3/Eigen/SPQRSupport +0 -34
  206. casadi/include/include/eigen3/Eigen/SVD +0 -50
  207. casadi/include/include/eigen3/Eigen/Sparse +0 -34
  208. casadi/include/include/eigen3/Eigen/SparseCholesky +0 -37
  209. casadi/include/include/eigen3/Eigen/SparseCore +0 -69
  210. casadi/include/include/eigen3/Eigen/SparseLU +0 -50
  211. casadi/include/include/eigen3/Eigen/SparseQR +0 -36
  212. casadi/include/include/eigen3/Eigen/StdDeque +0 -27
  213. casadi/include/include/eigen3/Eigen/StdList +0 -26
  214. casadi/include/include/eigen3/Eigen/StdVector +0 -27
  215. casadi/include/include/eigen3/Eigen/SuperLUSupport +0 -64
  216. casadi/include/include/eigen3/Eigen/UmfPackSupport +0 -40
  217. casadi/include/include/eigen3/Eigen/src/Cholesky/LDLT.h +0 -688
  218. casadi/include/include/eigen3/Eigen/src/Cholesky/LLT.h +0 -558
  219. casadi/include/include/eigen3/Eigen/src/Cholesky/LLT_LAPACKE.h +0 -99
  220. casadi/include/include/eigen3/Eigen/src/CholmodSupport/CholmodSupport.h +0 -682
  221. casadi/include/include/eigen3/Eigen/src/Core/ArithmeticSequence.h +0 -413
  222. casadi/include/include/eigen3/Eigen/src/Core/Array.h +0 -417
  223. casadi/include/include/eigen3/Eigen/src/Core/ArrayBase.h +0 -226
  224. casadi/include/include/eigen3/Eigen/src/Core/ArrayWrapper.h +0 -209
  225. casadi/include/include/eigen3/Eigen/src/Core/Assign.h +0 -90
  226. casadi/include/include/eigen3/Eigen/src/Core/AssignEvaluator.h +0 -1010
  227. casadi/include/include/eigen3/Eigen/src/Core/Assign_MKL.h +0 -178
  228. casadi/include/include/eigen3/Eigen/src/Core/BandMatrix.h +0 -353
  229. casadi/include/include/eigen3/Eigen/src/Core/Block.h +0 -448
  230. casadi/include/include/eigen3/Eigen/src/Core/BooleanRedux.h +0 -162
  231. casadi/include/include/eigen3/Eigen/src/Core/CommaInitializer.h +0 -164
  232. casadi/include/include/eigen3/Eigen/src/Core/ConditionEstimator.h +0 -175
  233. casadi/include/include/eigen3/Eigen/src/Core/CoreEvaluators.h +0 -1741
  234. casadi/include/include/eigen3/Eigen/src/Core/CoreIterators.h +0 -132
  235. casadi/include/include/eigen3/Eigen/src/Core/CwiseBinaryOp.h +0 -183
  236. casadi/include/include/eigen3/Eigen/src/Core/CwiseNullaryOp.h +0 -1001
  237. casadi/include/include/eigen3/Eigen/src/Core/CwiseTernaryOp.h +0 -197
  238. casadi/include/include/eigen3/Eigen/src/Core/CwiseUnaryOp.h +0 -103
  239. casadi/include/include/eigen3/Eigen/src/Core/CwiseUnaryView.h +0 -132
  240. casadi/include/include/eigen3/Eigen/src/Core/DenseBase.h +0 -701
  241. casadi/include/include/eigen3/Eigen/src/Core/DenseCoeffsBase.h +0 -685
  242. casadi/include/include/eigen3/Eigen/src/Core/DenseStorage.h +0 -652
  243. casadi/include/include/eigen3/Eigen/src/Core/Diagonal.h +0 -258
  244. casadi/include/include/eigen3/Eigen/src/Core/DiagonalMatrix.h +0 -391
  245. casadi/include/include/eigen3/Eigen/src/Core/DiagonalProduct.h +0 -28
  246. casadi/include/include/eigen3/Eigen/src/Core/Dot.h +0 -318
  247. casadi/include/include/eigen3/Eigen/src/Core/EigenBase.h +0 -160
  248. casadi/include/include/eigen3/Eigen/src/Core/ForceAlignedAccess.h +0 -150
  249. casadi/include/include/eigen3/Eigen/src/Core/Fuzzy.h +0 -155
  250. casadi/include/include/eigen3/Eigen/src/Core/GeneralProduct.h +0 -465
  251. casadi/include/include/eigen3/Eigen/src/Core/GenericPacketMath.h +0 -1040
  252. casadi/include/include/eigen3/Eigen/src/Core/GlobalFunctions.h +0 -194
  253. casadi/include/include/eigen3/Eigen/src/Core/IO.h +0 -258
  254. casadi/include/include/eigen3/Eigen/src/Core/IndexedView.h +0 -237
  255. casadi/include/include/eigen3/Eigen/src/Core/Inverse.h +0 -117
  256. casadi/include/include/eigen3/Eigen/src/Core/Map.h +0 -171
  257. casadi/include/include/eigen3/Eigen/src/Core/MapBase.h +0 -310
  258. casadi/include/include/eigen3/Eigen/src/Core/MathFunctions.h +0 -2057
  259. casadi/include/include/eigen3/Eigen/src/Core/MathFunctionsImpl.h +0 -200
  260. casadi/include/include/eigen3/Eigen/src/Core/Matrix.h +0 -565
  261. casadi/include/include/eigen3/Eigen/src/Core/MatrixBase.h +0 -547
  262. casadi/include/include/eigen3/Eigen/src/Core/NestByValue.h +0 -85
  263. casadi/include/include/eigen3/Eigen/src/Core/NoAlias.h +0 -109
  264. casadi/include/include/eigen3/Eigen/src/Core/NumTraits.h +0 -335
  265. casadi/include/include/eigen3/Eigen/src/Core/PartialReduxEvaluator.h +0 -232
  266. casadi/include/include/eigen3/Eigen/src/Core/PermutationMatrix.h +0 -605
  267. casadi/include/include/eigen3/Eigen/src/Core/PlainObjectBase.h +0 -1128
  268. casadi/include/include/eigen3/Eigen/src/Core/Product.h +0 -191
  269. casadi/include/include/eigen3/Eigen/src/Core/ProductEvaluators.h +0 -1179
  270. casadi/include/include/eigen3/Eigen/src/Core/Random.h +0 -218
  271. casadi/include/include/eigen3/Eigen/src/Core/Redux.h +0 -515
  272. casadi/include/include/eigen3/Eigen/src/Core/Ref.h +0 -381
  273. casadi/include/include/eigen3/Eigen/src/Core/Replicate.h +0 -142
  274. casadi/include/include/eigen3/Eigen/src/Core/Reshaped.h +0 -454
  275. casadi/include/include/eigen3/Eigen/src/Core/ReturnByValue.h +0 -119
  276. casadi/include/include/eigen3/Eigen/src/Core/Reverse.h +0 -217
  277. casadi/include/include/eigen3/Eigen/src/Core/Select.h +0 -164
  278. casadi/include/include/eigen3/Eigen/src/Core/SelfAdjointView.h +0 -365
  279. casadi/include/include/eigen3/Eigen/src/Core/SelfCwiseBinaryOp.h +0 -47
  280. casadi/include/include/eigen3/Eigen/src/Core/Solve.h +0 -188
  281. casadi/include/include/eigen3/Eigen/src/Core/SolveTriangular.h +0 -235
  282. casadi/include/include/eigen3/Eigen/src/Core/SolverBase.h +0 -168
  283. casadi/include/include/eigen3/Eigen/src/Core/StableNorm.h +0 -251
  284. casadi/include/include/eigen3/Eigen/src/Core/StlIterators.h +0 -463
  285. casadi/include/include/eigen3/Eigen/src/Core/Stride.h +0 -116
  286. casadi/include/include/eigen3/Eigen/src/Core/Swap.h +0 -68
  287. casadi/include/include/eigen3/Eigen/src/Core/Transpose.h +0 -464
  288. casadi/include/include/eigen3/Eigen/src/Core/Transpositions.h +0 -386
  289. casadi/include/include/eigen3/Eigen/src/Core/TriangularMatrix.h +0 -1001
  290. casadi/include/include/eigen3/Eigen/src/Core/VectorBlock.h +0 -96
  291. casadi/include/include/eigen3/Eigen/src/Core/VectorwiseOp.h +0 -784
  292. casadi/include/include/eigen3/Eigen/src/Core/Visitor.h +0 -381
  293. casadi/include/include/eigen3/Eigen/src/Core/arch/AVX/Complex.h +0 -372
  294. casadi/include/include/eigen3/Eigen/src/Core/arch/AVX/MathFunctions.h +0 -228
  295. casadi/include/include/eigen3/Eigen/src/Core/arch/AVX/PacketMath.h +0 -1574
  296. casadi/include/include/eigen3/Eigen/src/Core/arch/AVX/TypeCasting.h +0 -115
  297. casadi/include/include/eigen3/Eigen/src/Core/arch/AVX512/Complex.h +0 -422
  298. casadi/include/include/eigen3/Eigen/src/Core/arch/AVX512/MathFunctions.h +0 -362
  299. casadi/include/include/eigen3/Eigen/src/Core/arch/AVX512/PacketMath.h +0 -2303
  300. casadi/include/include/eigen3/Eigen/src/Core/arch/AVX512/TypeCasting.h +0 -89
  301. casadi/include/include/eigen3/Eigen/src/Core/arch/AltiVec/Complex.h +0 -417
  302. casadi/include/include/eigen3/Eigen/src/Core/arch/AltiVec/MathFunctions.h +0 -90
  303. casadi/include/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProduct.h +0 -2937
  304. casadi/include/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductCommon.h +0 -221
  305. casadi/include/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h +0 -629
  306. casadi/include/include/eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h +0 -2711
  307. casadi/include/include/eigen3/Eigen/src/Core/arch/CUDA/Complex.h +0 -258
  308. casadi/include/include/eigen3/Eigen/src/Core/arch/Default/BFloat16.h +0 -700
  309. casadi/include/include/eigen3/Eigen/src/Core/arch/Default/ConjHelper.h +0 -117
  310. casadi/include/include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h +0 -1649
  311. casadi/include/include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h +0 -110
  312. casadi/include/include/eigen3/Eigen/src/Core/arch/Default/Half.h +0 -942
  313. casadi/include/include/eigen3/Eigen/src/Core/arch/Default/Settings.h +0 -49
  314. casadi/include/include/eigen3/Eigen/src/Core/arch/Default/TypeCasting.h +0 -120
  315. casadi/include/include/eigen3/Eigen/src/Core/arch/GPU/MathFunctions.h +0 -103
  316. casadi/include/include/eigen3/Eigen/src/Core/arch/GPU/PacketMath.h +0 -1685
  317. casadi/include/include/eigen3/Eigen/src/Core/arch/GPU/TypeCasting.h +0 -80
  318. casadi/include/include/eigen3/Eigen/src/Core/arch/HIP/hcc/math_constants.h +0 -23
  319. casadi/include/include/eigen3/Eigen/src/Core/arch/MSA/Complex.h +0 -648
  320. casadi/include/include/eigen3/Eigen/src/Core/arch/MSA/MathFunctions.h +0 -387
  321. casadi/include/include/eigen3/Eigen/src/Core/arch/MSA/PacketMath.h +0 -1233
  322. casadi/include/include/eigen3/Eigen/src/Core/arch/NEON/Complex.h +0 -584
  323. casadi/include/include/eigen3/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h +0 -183
  324. casadi/include/include/eigen3/Eigen/src/Core/arch/NEON/MathFunctions.h +0 -75
  325. casadi/include/include/eigen3/Eigen/src/Core/arch/NEON/PacketMath.h +0 -4587
  326. casadi/include/include/eigen3/Eigen/src/Core/arch/NEON/TypeCasting.h +0 -1419
  327. casadi/include/include/eigen3/Eigen/src/Core/arch/SSE/Complex.h +0 -351
  328. casadi/include/include/eigen3/Eigen/src/Core/arch/SSE/MathFunctions.h +0 -199
  329. casadi/include/include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h +0 -1505
  330. casadi/include/include/eigen3/Eigen/src/Core/arch/SSE/TypeCasting.h +0 -142
  331. casadi/include/include/eigen3/Eigen/src/Core/arch/SVE/MathFunctions.h +0 -44
  332. casadi/include/include/eigen3/Eigen/src/Core/arch/SVE/PacketMath.h +0 -752
  333. casadi/include/include/eigen3/Eigen/src/Core/arch/SVE/TypeCasting.h +0 -49
  334. casadi/include/include/eigen3/Eigen/src/Core/arch/SYCL/InteropHeaders.h +0 -232
  335. casadi/include/include/eigen3/Eigen/src/Core/arch/SYCL/MathFunctions.h +0 -301
  336. casadi/include/include/eigen3/Eigen/src/Core/arch/SYCL/PacketMath.h +0 -670
  337. casadi/include/include/eigen3/Eigen/src/Core/arch/SYCL/SyclMemoryModel.h +0 -694
  338. casadi/include/include/eigen3/Eigen/src/Core/arch/SYCL/TypeCasting.h +0 -85
  339. casadi/include/include/eigen3/Eigen/src/Core/arch/ZVector/Complex.h +0 -426
  340. casadi/include/include/eigen3/Eigen/src/Core/arch/ZVector/MathFunctions.h +0 -233
  341. casadi/include/include/eigen3/Eigen/src/Core/arch/ZVector/PacketMath.h +0 -1060
  342. casadi/include/include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h +0 -177
  343. casadi/include/include/eigen3/Eigen/src/Core/functors/BinaryFunctors.h +0 -541
  344. casadi/include/include/eigen3/Eigen/src/Core/functors/NullaryFunctors.h +0 -189
  345. casadi/include/include/eigen3/Eigen/src/Core/functors/StlFunctors.h +0 -166
  346. casadi/include/include/eigen3/Eigen/src/Core/functors/TernaryFunctors.h +0 -25
  347. casadi/include/include/eigen3/Eigen/src/Core/functors/UnaryFunctors.h +0 -1131
  348. casadi/include/include/eigen3/Eigen/src/Core/products/GeneralBlockPanelKernel.h +0 -2645
  349. casadi/include/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix.h +0 -517
  350. casadi/include/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h +0 -317
  351. casadi/include/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular_BLAS.h +0 -145
  352. casadi/include/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix_BLAS.h +0 -124
  353. casadi/include/include/eigen3/Eigen/src/Core/products/GeneralMatrixVector.h +0 -518
  354. casadi/include/include/eigen3/Eigen/src/Core/products/GeneralMatrixVector_BLAS.h +0 -136
  355. casadi/include/include/eigen3/Eigen/src/Core/products/Parallelizer.h +0 -180
  356. casadi/include/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +0 -544
  357. casadi/include/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix_BLAS.h +0 -295
  358. casadi/include/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector.h +0 -262
  359. casadi/include/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector_BLAS.h +0 -118
  360. casadi/include/include/eigen3/Eigen/src/Core/products/SelfadjointProduct.h +0 -133
  361. casadi/include/include/eigen3/Eigen/src/Core/products/SelfadjointRank2Update.h +0 -94
  362. casadi/include/include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix.h +0 -472
  363. casadi/include/include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix_BLAS.h +0 -317
  364. casadi/include/include/eigen3/Eigen/src/Core/products/TriangularMatrixVector.h +0 -350
  365. casadi/include/include/eigen3/Eigen/src/Core/products/TriangularMatrixVector_BLAS.h +0 -255
  366. casadi/include/include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix.h +0 -337
  367. casadi/include/include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix_BLAS.h +0 -167
  368. casadi/include/include/eigen3/Eigen/src/Core/products/TriangularSolverVector.h +0 -148
  369. casadi/include/include/eigen3/Eigen/src/Core/util/BlasUtil.h +0 -583
  370. casadi/include/include/eigen3/Eigen/src/Core/util/ConfigureVectorization.h +0 -512
  371. casadi/include/include/eigen3/Eigen/src/Core/util/Constants.h +0 -563
  372. casadi/include/include/eigen3/Eigen/src/Core/util/DisableStupidWarnings.h +0 -106
  373. casadi/include/include/eigen3/Eigen/src/Core/util/ForwardDeclarations.h +0 -322
  374. casadi/include/include/eigen3/Eigen/src/Core/util/IndexedViewHelper.h +0 -186
  375. casadi/include/include/eigen3/Eigen/src/Core/util/IntegralConstant.h +0 -272
  376. casadi/include/include/eigen3/Eigen/src/Core/util/MKL_support.h +0 -137
  377. casadi/include/include/eigen3/Eigen/src/Core/util/Macros.h +0 -1464
  378. casadi/include/include/eigen3/Eigen/src/Core/util/Memory.h +0 -1163
  379. casadi/include/include/eigen3/Eigen/src/Core/util/Meta.h +0 -812
  380. casadi/include/include/eigen3/Eigen/src/Core/util/NonMPL2.h +0 -3
  381. casadi/include/include/eigen3/Eigen/src/Core/util/ReenableStupidWarnings.h +0 -31
  382. casadi/include/include/eigen3/Eigen/src/Core/util/ReshapedHelper.h +0 -51
  383. casadi/include/include/eigen3/Eigen/src/Core/util/StaticAssert.h +0 -221
  384. casadi/include/include/eigen3/Eigen/src/Core/util/SymbolicIndex.h +0 -293
  385. casadi/include/include/eigen3/Eigen/src/Core/util/XprHelper.h +0 -856
  386. casadi/include/include/eigen3/Eigen/src/Eigenvalues/ComplexEigenSolver.h +0 -346
  387. casadi/include/include/eigen3/Eigen/src/Eigenvalues/ComplexSchur.h +0 -462
  388. casadi/include/include/eigen3/Eigen/src/Eigenvalues/ComplexSchur_LAPACKE.h +0 -91
  389. casadi/include/include/eigen3/Eigen/src/Eigenvalues/EigenSolver.h +0 -622
  390. casadi/include/include/eigen3/Eigen/src/Eigenvalues/GeneralizedEigenSolver.h +0 -418
  391. casadi/include/include/eigen3/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h +0 -226
  392. casadi/include/include/eigen3/Eigen/src/Eigenvalues/HessenbergDecomposition.h +0 -374
  393. casadi/include/include/eigen3/Eigen/src/Eigenvalues/MatrixBaseEigenvalues.h +0 -158
  394. casadi/include/include/eigen3/Eigen/src/Eigenvalues/RealQZ.h +0 -657
  395. casadi/include/include/eigen3/Eigen/src/Eigenvalues/RealSchur.h +0 -558
  396. casadi/include/include/eigen3/Eigen/src/Eigenvalues/RealSchur_LAPACKE.h +0 -77
  397. casadi/include/include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h +0 -904
  398. casadi/include/include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver_LAPACKE.h +0 -87
  399. casadi/include/include/eigen3/Eigen/src/Eigenvalues/Tridiagonalization.h +0 -561
  400. casadi/include/include/eigen3/Eigen/src/Geometry/AlignedBox.h +0 -486
  401. casadi/include/include/eigen3/Eigen/src/Geometry/AngleAxis.h +0 -247
  402. casadi/include/include/eigen3/Eigen/src/Geometry/EulerAngles.h +0 -114
  403. casadi/include/include/eigen3/Eigen/src/Geometry/Homogeneous.h +0 -501
  404. casadi/include/include/eigen3/Eigen/src/Geometry/Hyperplane.h +0 -282
  405. casadi/include/include/eigen3/Eigen/src/Geometry/OrthoMethods.h +0 -235
  406. casadi/include/include/eigen3/Eigen/src/Geometry/ParametrizedLine.h +0 -232
  407. casadi/include/include/eigen3/Eigen/src/Geometry/Quaternion.h +0 -870
  408. casadi/include/include/eigen3/Eigen/src/Geometry/Rotation2D.h +0 -199
  409. casadi/include/include/eigen3/Eigen/src/Geometry/RotationBase.h +0 -206
  410. casadi/include/include/eigen3/Eigen/src/Geometry/Scaling.h +0 -188
  411. casadi/include/include/eigen3/Eigen/src/Geometry/Transform.h +0 -1563
  412. casadi/include/include/eigen3/Eigen/src/Geometry/Translation.h +0 -202
  413. casadi/include/include/eigen3/Eigen/src/Geometry/Umeyama.h +0 -166
  414. casadi/include/include/eigen3/Eigen/src/Geometry/arch/Geometry_SIMD.h +0 -168
  415. casadi/include/include/eigen3/Eigen/src/Householder/BlockHouseholder.h +0 -110
  416. casadi/include/include/eigen3/Eigen/src/Householder/Householder.h +0 -176
  417. casadi/include/include/eigen3/Eigen/src/Householder/HouseholderSequence.h +0 -545
  418. casadi/include/include/eigen3/Eigen/src/IterativeLinearSolvers/BasicPreconditioners.h +0 -226
  419. casadi/include/include/eigen3/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h +0 -212
  420. casadi/include/include/eigen3/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h +0 -229
  421. casadi/include/include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h +0 -394
  422. casadi/include/include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteLUT.h +0 -453
  423. casadi/include/include/eigen3/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h +0 -444
  424. casadi/include/include/eigen3/Eigen/src/IterativeLinearSolvers/LeastSquareConjugateGradient.h +0 -198
  425. casadi/include/include/eigen3/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h +0 -117
  426. casadi/include/include/eigen3/Eigen/src/Jacobi/Jacobi.h +0 -483
  427. casadi/include/include/eigen3/Eigen/src/KLUSupport/KLUSupport.h +0 -358
  428. casadi/include/include/eigen3/Eigen/src/LU/Determinant.h +0 -117
  429. casadi/include/include/eigen3/Eigen/src/LU/FullPivLU.h +0 -877
  430. casadi/include/include/eigen3/Eigen/src/LU/InverseImpl.h +0 -432
  431. casadi/include/include/eigen3/Eigen/src/LU/PartialPivLU.h +0 -624
  432. casadi/include/include/eigen3/Eigen/src/LU/PartialPivLU_LAPACKE.h +0 -83
  433. casadi/include/include/eigen3/Eigen/src/LU/arch/InverseSize4.h +0 -351
  434. casadi/include/include/eigen3/Eigen/src/MetisSupport/MetisSupport.h +0 -137
  435. casadi/include/include/eigen3/Eigen/src/OrderingMethods/Amd.h +0 -435
  436. casadi/include/include/eigen3/Eigen/src/OrderingMethods/Eigen_Colamd.h +0 -1863
  437. casadi/include/include/eigen3/Eigen/src/OrderingMethods/Ordering.h +0 -153
  438. casadi/include/include/eigen3/Eigen/src/PaStiXSupport/PaStiXSupport.h +0 -678
  439. casadi/include/include/eigen3/Eigen/src/PardisoSupport/PardisoSupport.h +0 -545
  440. casadi/include/include/eigen3/Eigen/src/QR/ColPivHouseholderQR.h +0 -674
  441. casadi/include/include/eigen3/Eigen/src/QR/ColPivHouseholderQR_LAPACKE.h +0 -97
  442. casadi/include/include/eigen3/Eigen/src/QR/CompleteOrthogonalDecomposition.h +0 -635
  443. casadi/include/include/eigen3/Eigen/src/QR/FullPivHouseholderQR.h +0 -713
  444. casadi/include/include/eigen3/Eigen/src/QR/HouseholderQR.h +0 -434
  445. casadi/include/include/eigen3/Eigen/src/QR/HouseholderQR_LAPACKE.h +0 -68
  446. casadi/include/include/eigen3/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h +0 -335
  447. casadi/include/include/eigen3/Eigen/src/SVD/BDCSVD.h +0 -1366
  448. casadi/include/include/eigen3/Eigen/src/SVD/JacobiSVD.h +0 -812
  449. casadi/include/include/eigen3/Eigen/src/SVD/JacobiSVD_LAPACKE.h +0 -91
  450. casadi/include/include/eigen3/Eigen/src/SVD/SVDBase.h +0 -376
  451. casadi/include/include/eigen3/Eigen/src/SVD/UpperBidiagonalization.h +0 -414
  452. casadi/include/include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky.h +0 -697
  453. casadi/include/include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h +0 -174
  454. casadi/include/include/eigen3/Eigen/src/SparseCore/AmbiVector.h +0 -378
  455. casadi/include/include/eigen3/Eigen/src/SparseCore/CompressedStorage.h +0 -274
  456. casadi/include/include/eigen3/Eigen/src/SparseCore/ConservativeSparseSparseProduct.h +0 -352
  457. casadi/include/include/eigen3/Eigen/src/SparseCore/MappedSparseMatrix.h +0 -67
  458. casadi/include/include/eigen3/Eigen/src/SparseCore/SparseAssign.h +0 -270
  459. casadi/include/include/eigen3/Eigen/src/SparseCore/SparseBlock.h +0 -571
  460. casadi/include/include/eigen3/Eigen/src/SparseCore/SparseColEtree.h +0 -206
  461. casadi/include/include/eigen3/Eigen/src/SparseCore/SparseCompressedBase.h +0 -370
  462. casadi/include/include/eigen3/Eigen/src/SparseCore/SparseCwiseBinaryOp.h +0 -722
  463. casadi/include/include/eigen3/Eigen/src/SparseCore/SparseCwiseUnaryOp.h +0 -150
  464. casadi/include/include/eigen3/Eigen/src/SparseCore/SparseDenseProduct.h +0 -342
  465. casadi/include/include/eigen3/Eigen/src/SparseCore/SparseDiagonalProduct.h +0 -138
  466. casadi/include/include/eigen3/Eigen/src/SparseCore/SparseDot.h +0 -98
  467. casadi/include/include/eigen3/Eigen/src/SparseCore/SparseFuzzy.h +0 -29
  468. casadi/include/include/eigen3/Eigen/src/SparseCore/SparseMap.h +0 -305
  469. casadi/include/include/eigen3/Eigen/src/SparseCore/SparseMatrix.h +0 -1518
  470. casadi/include/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h +0 -398
  471. casadi/include/include/eigen3/Eigen/src/SparseCore/SparsePermutation.h +0 -178
  472. casadi/include/include/eigen3/Eigen/src/SparseCore/SparseProduct.h +0 -181
  473. casadi/include/include/eigen3/Eigen/src/SparseCore/SparseRedux.h +0 -49
  474. casadi/include/include/eigen3/Eigen/src/SparseCore/SparseRef.h +0 -397
  475. casadi/include/include/eigen3/Eigen/src/SparseCore/SparseSelfAdjointView.h +0 -659
  476. casadi/include/include/eigen3/Eigen/src/SparseCore/SparseSolverBase.h +0 -124
  477. casadi/include/include/eigen3/Eigen/src/SparseCore/SparseSparseProductWithPruning.h +0 -198
  478. casadi/include/include/eigen3/Eigen/src/SparseCore/SparseTranspose.h +0 -92
  479. casadi/include/include/eigen3/Eigen/src/SparseCore/SparseTriangularView.h +0 -189
  480. casadi/include/include/eigen3/Eigen/src/SparseCore/SparseUtil.h +0 -186
  481. casadi/include/include/eigen3/Eigen/src/SparseCore/SparseVector.h +0 -478
  482. casadi/include/include/eigen3/Eigen/src/SparseCore/SparseView.h +0 -254
  483. casadi/include/include/eigen3/Eigen/src/SparseCore/TriangularSolver.h +0 -315
  484. casadi/include/include/eigen3/Eigen/src/SparseLU/SparseLU.h +0 -923
  485. casadi/include/include/eigen3/Eigen/src/SparseLU/SparseLUImpl.h +0 -66
  486. casadi/include/include/eigen3/Eigen/src/SparseLU/SparseLU_Memory.h +0 -226
  487. casadi/include/include/eigen3/Eigen/src/SparseLU/SparseLU_Structs.h +0 -110
  488. casadi/include/include/eigen3/Eigen/src/SparseLU/SparseLU_SupernodalMatrix.h +0 -375
  489. casadi/include/include/eigen3/Eigen/src/SparseLU/SparseLU_Utils.h +0 -80
  490. casadi/include/include/eigen3/Eigen/src/SparseLU/SparseLU_column_bmod.h +0 -181
  491. casadi/include/include/eigen3/Eigen/src/SparseLU/SparseLU_column_dfs.h +0 -179
  492. casadi/include/include/eigen3/Eigen/src/SparseLU/SparseLU_copy_to_ucol.h +0 -107
  493. casadi/include/include/eigen3/Eigen/src/SparseLU/SparseLU_gemm_kernel.h +0 -280
  494. casadi/include/include/eigen3/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h +0 -126
  495. casadi/include/include/eigen3/Eigen/src/SparseLU/SparseLU_kernel_bmod.h +0 -130
  496. casadi/include/include/eigen3/Eigen/src/SparseLU/SparseLU_panel_bmod.h +0 -223
  497. casadi/include/include/eigen3/Eigen/src/SparseLU/SparseLU_panel_dfs.h +0 -258
  498. casadi/include/include/eigen3/Eigen/src/SparseLU/SparseLU_pivotL.h +0 -137
  499. casadi/include/include/eigen3/Eigen/src/SparseLU/SparseLU_pruneL.h +0 -136
  500. casadi/include/include/eigen3/Eigen/src/SparseLU/SparseLU_relax_snode.h +0 -83
  501. casadi/include/include/eigen3/Eigen/src/SparseQR/SparseQR.h +0 -758
  502. casadi/include/include/eigen3/Eigen/src/StlSupport/StdDeque.h +0 -116
  503. casadi/include/include/eigen3/Eigen/src/StlSupport/StdList.h +0 -106
  504. casadi/include/include/eigen3/Eigen/src/StlSupport/StdVector.h +0 -131
  505. casadi/include/include/eigen3/Eigen/src/StlSupport/details.h +0 -84
  506. casadi/include/include/eigen3/Eigen/src/SuperLUSupport/SuperLUSupport.h +0 -1025
  507. casadi/include/include/eigen3/Eigen/src/UmfPackSupport/UmfPackSupport.h +0 -642
  508. casadi/include/include/eigen3/Eigen/src/misc/Image.h +0 -82
  509. casadi/include/include/eigen3/Eigen/src/misc/Kernel.h +0 -79
  510. casadi/include/include/eigen3/Eigen/src/misc/RealSvd2x2.h +0 -55
  511. casadi/include/include/eigen3/Eigen/src/misc/blas.h +0 -440
  512. casadi/include/include/eigen3/Eigen/src/misc/lapack.h +0 -152
  513. casadi/include/include/eigen3/Eigen/src/misc/lapacke.h +0 -16292
  514. casadi/include/include/eigen3/Eigen/src/plugins/ArrayCwiseBinaryOps.h +0 -358
  515. casadi/include/include/eigen3/Eigen/src/plugins/ArrayCwiseUnaryOps.h +0 -696
  516. casadi/include/include/eigen3/Eigen/src/plugins/BlockMethods.h +0 -1442
  517. casadi/include/include/eigen3/Eigen/src/plugins/CommonCwiseBinaryOps.h +0 -115
  518. casadi/include/include/eigen3/Eigen/src/plugins/CommonCwiseUnaryOps.h +0 -177
  519. casadi/include/include/eigen3/Eigen/src/plugins/IndexedViewMethods.h +0 -262
  520. casadi/include/include/eigen3/Eigen/src/plugins/MatrixCwiseBinaryOps.h +0 -152
  521. casadi/include/include/eigen3/Eigen/src/plugins/MatrixCwiseUnaryOps.h +0 -95
  522. casadi/include/include/eigen3/Eigen/src/plugins/ReshapedMethods.h +0 -149
  523. casadi/include/include/eigen3/signature_of_eigen3_matrix_library +0 -1
  524. casadi/include/include/eigen3/unsupported/Eigen/AdolcForward +0 -159
  525. casadi/include/include/eigen3/unsupported/Eigen/AlignedVector3 +0 -234
  526. casadi/include/include/eigen3/unsupported/Eigen/ArpackSupport +0 -30
  527. casadi/include/include/eigen3/unsupported/Eigen/AutoDiff +0 -46
  528. casadi/include/include/eigen3/unsupported/Eigen/BVH +0 -95
  529. casadi/include/include/eigen3/unsupported/Eigen/CXX11/Tensor +0 -137
  530. casadi/include/include/eigen3/unsupported/Eigen/CXX11/TensorSymmetry +0 -42
  531. casadi/include/include/eigen3/unsupported/Eigen/CXX11/ThreadPool +0 -74
  532. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/Tensor.h +0 -554
  533. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h +0 -329
  534. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h +0 -247
  535. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBase.h +0 -1176
  536. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h +0 -1559
  537. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h +0 -1093
  538. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h +0 -518
  539. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h +0 -377
  540. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h +0 -1023
  541. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionBlocking.h +0 -73
  542. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionCuda.h +0 -6
  543. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionGpu.h +0 -1413
  544. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h +0 -575
  545. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionSycl.h +0 -1650
  546. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h +0 -1679
  547. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h +0 -456
  548. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +0 -1132
  549. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolutionSycl.h +0 -544
  550. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCostModel.h +0 -214
  551. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCustomOp.h +0 -347
  552. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDevice.h +0 -137
  553. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceCuda.h +0 -6
  554. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceDefault.h +0 -104
  555. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceGpu.h +0 -389
  556. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h +0 -1048
  557. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h +0 -409
  558. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h +0 -236
  559. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h +0 -490
  560. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvalTo.h +0 -236
  561. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h +0 -983
  562. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h +0 -703
  563. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h +0 -388
  564. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFFT.h +0 -669
  565. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h +0 -379
  566. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForcedEval.h +0 -237
  567. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h +0 -191
  568. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h +0 -488
  569. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGenerator.h +0 -302
  570. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGlobalFunctions.h +0 -33
  571. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaDefines.h +0 -99
  572. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaUndefines.h +0 -44
  573. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIO.h +0 -79
  574. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h +0 -603
  575. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h +0 -738
  576. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInflation.h +0 -247
  577. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInitializer.h +0 -82
  578. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h +0 -263
  579. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorLayoutSwap.h +0 -216
  580. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMacros.h +0 -98
  581. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMap.h +0 -327
  582. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h +0 -311
  583. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h +0 -1102
  584. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPadding.h +0 -708
  585. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPatch.h +0 -291
  586. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h +0 -322
  587. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h +0 -998
  588. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionCuda.h +0 -6
  589. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionGpu.h +0 -966
  590. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionSycl.h +0 -582
  591. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRef.h +0 -454
  592. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReverse.h +0 -465
  593. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorScan.h +0 -528
  594. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorScanSycl.h +0 -513
  595. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorShuffling.h +0 -471
  596. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h +0 -161
  597. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStriding.h +0 -346
  598. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTrace.h +0 -303
  599. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h +0 -264
  600. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h +0 -249
  601. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorVolumePatch.h +0 -629
  602. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/DynamicSymmetry.h +0 -293
  603. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/StaticSymmetry.h +0 -236
  604. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/Symmetry.h +0 -338
  605. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/util/TemplateGroupTheory.h +0 -669
  606. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/Barrier.h +0 -67
  607. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/EventCount.h +0 -249
  608. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/NonBlockingThreadPool.h +0 -486
  609. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/RunQueue.h +0 -236
  610. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadCancel.h +0 -23
  611. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadEnvironment.h +0 -40
  612. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadLocal.h +0 -301
  613. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadPoolInterface.h +0 -48
  614. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadYield.h +0 -20
  615. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/util/CXX11Meta.h +0 -537
  616. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/util/CXX11Workarounds.h +0 -88
  617. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/util/EmulateArray.h +0 -261
  618. casadi/include/include/eigen3/unsupported/Eigen/CXX11/src/util/MaxSizeVector.h +0 -158
  619. casadi/include/include/eigen3/unsupported/Eigen/EulerAngles +0 -43
  620. casadi/include/include/eigen3/unsupported/Eigen/FFT +0 -419
  621. casadi/include/include/eigen3/unsupported/Eigen/IterativeSolvers +0 -51
  622. casadi/include/include/eigen3/unsupported/Eigen/KroneckerProduct +0 -36
  623. casadi/include/include/eigen3/unsupported/Eigen/LevenbergMarquardt +0 -49
  624. casadi/include/include/eigen3/unsupported/Eigen/MPRealSupport +0 -213
  625. casadi/include/include/eigen3/unsupported/Eigen/MatrixFunctions +0 -504
  626. casadi/include/include/eigen3/unsupported/Eigen/MoreVectorization +0 -24
  627. casadi/include/include/eigen3/unsupported/Eigen/NonLinearOptimization +0 -140
  628. casadi/include/include/eigen3/unsupported/Eigen/NumericalDiff +0 -56
  629. casadi/include/include/eigen3/unsupported/Eigen/OpenGLSupport +0 -322
  630. casadi/include/include/eigen3/unsupported/Eigen/Polynomials +0 -137
  631. casadi/include/include/eigen3/unsupported/Eigen/Skyline +0 -39
  632. casadi/include/include/eigen3/unsupported/Eigen/SparseExtra +0 -54
  633. casadi/include/include/eigen3/unsupported/Eigen/SpecialFunctions +0 -103
  634. casadi/include/include/eigen3/unsupported/Eigen/Splines +0 -35
  635. casadi/include/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffJacobian.h +0 -108
  636. casadi/include/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h +0 -730
  637. casadi/include/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffVector.h +0 -220
  638. casadi/include/include/eigen3/unsupported/Eigen/src/BVH/BVAlgorithms.h +0 -293
  639. casadi/include/include/eigen3/unsupported/Eigen/src/BVH/KdBVH.h +0 -223
  640. casadi/include/include/eigen3/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h +0 -790
  641. casadi/include/include/eigen3/unsupported/Eigen/src/EulerAngles/EulerAngles.h +0 -355
  642. casadi/include/include/eigen3/unsupported/Eigen/src/EulerAngles/EulerSystem.h +0 -305
  643. casadi/include/include/eigen3/unsupported/Eigen/src/FFT/ei_fftw_impl.h +0 -261
  644. casadi/include/include/eigen3/unsupported/Eigen/src/FFT/ei_kissfft_impl.h +0 -449
  645. casadi/include/include/eigen3/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h +0 -187
  646. casadi/include/include/eigen3/unsupported/Eigen/src/IterativeSolvers/DGMRES.h +0 -511
  647. casadi/include/include/eigen3/unsupported/Eigen/src/IterativeSolvers/GMRES.h +0 -335
  648. casadi/include/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IDRS.h +0 -436
  649. casadi/include/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IncompleteLU.h +0 -90
  650. casadi/include/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IterationController.h +0 -154
  651. casadi/include/include/eigen3/unsupported/Eigen/src/IterativeSolvers/MINRES.h +0 -267
  652. casadi/include/include/eigen3/unsupported/Eigen/src/IterativeSolvers/Scaling.h +0 -193
  653. casadi/include/include/eigen3/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h +0 -305
  654. casadi/include/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMcovar.h +0 -84
  655. casadi/include/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMonestep.h +0 -202
  656. casadi/include/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMpar.h +0 -160
  657. casadi/include/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMqrsolv.h +0 -188
  658. casadi/include/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LevenbergMarquardt.h +0 -396
  659. casadi/include/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h +0 -441
  660. casadi/include/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixFunction.h +0 -569
  661. casadi/include/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixLogarithm.h +0 -373
  662. casadi/include/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixPower.h +0 -705
  663. casadi/include/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h +0 -368
  664. casadi/include/include/eigen3/unsupported/Eigen/src/MatrixFunctions/StemFunction.h +0 -117
  665. casadi/include/include/eigen3/unsupported/Eigen/src/MoreVectorization/MathFunctions.h +0 -95
  666. casadi/include/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h +0 -601
  667. casadi/include/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h +0 -657
  668. casadi/include/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/chkder.h +0 -66
  669. casadi/include/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/covar.h +0 -70
  670. casadi/include/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/dogleg.h +0 -107
  671. casadi/include/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/fdjac1.h +0 -79
  672. casadi/include/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/lmpar.h +0 -298
  673. casadi/include/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/qrsolv.h +0 -91
  674. casadi/include/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1mpyq.h +0 -30
  675. casadi/include/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1updt.h +0 -99
  676. casadi/include/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/rwupdt.h +0 -49
  677. casadi/include/include/eigen3/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h +0 -130
  678. casadi/include/include/eigen3/unsupported/Eigen/src/Polynomials/Companion.h +0 -280
  679. casadi/include/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h +0 -428
  680. casadi/include/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h +0 -143
  681. casadi/include/include/eigen3/unsupported/Eigen/src/Skyline/SkylineInplaceLU.h +0 -352
  682. casadi/include/include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrix.h +0 -862
  683. casadi/include/include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrixBase.h +0 -212
  684. casadi/include/include/eigen3/unsupported/Eigen/src/Skyline/SkylineProduct.h +0 -295
  685. casadi/include/include/eigen3/unsupported/Eigen/src/Skyline/SkylineStorage.h +0 -259
  686. casadi/include/include/eigen3/unsupported/Eigen/src/Skyline/SkylineUtil.h +0 -89
  687. casadi/include/include/eigen3/unsupported/Eigen/src/SparseExtra/BlockOfDynamicSparseMatrix.h +0 -122
  688. casadi/include/include/eigen3/unsupported/Eigen/src/SparseExtra/BlockSparseMatrix.h +0 -1079
  689. casadi/include/include/eigen3/unsupported/Eigen/src/SparseExtra/DynamicSparseMatrix.h +0 -404
  690. casadi/include/include/eigen3/unsupported/Eigen/src/SparseExtra/MarketIO.h +0 -282
  691. casadi/include/include/eigen3/unsupported/Eigen/src/SparseExtra/MatrixMarketIterator.h +0 -247
  692. casadi/include/include/eigen3/unsupported/Eigen/src/SparseExtra/RandomSetter.h +0 -349
  693. casadi/include/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsArrayAPI.h +0 -286
  694. casadi/include/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsBFloat16.h +0 -68
  695. casadi/include/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsFunctors.h +0 -357
  696. casadi/include/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsHalf.h +0 -66
  697. casadi/include/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsImpl.h +0 -1959
  698. casadi/include/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsPacketMath.h +0 -118
  699. casadi/include/include/eigen3/unsupported/Eigen/src/SpecialFunctions/HipVectorCompatibility.h +0 -67
  700. casadi/include/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsArrayAPI.h +0 -167
  701. casadi/include/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsBFloat16.h +0 -58
  702. casadi/include/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsFunctors.h +0 -330
  703. casadi/include/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsHalf.h +0 -58
  704. casadi/include/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h +0 -2045
  705. casadi/include/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsPacketMath.h +0 -79
  706. casadi/include/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX/BesselFunctions.h +0 -46
  707. casadi/include/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX/SpecialFunctions.h +0 -16
  708. casadi/include/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/BesselFunctions.h +0 -46
  709. casadi/include/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/SpecialFunctions.h +0 -16
  710. casadi/include/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/GPU/SpecialFunctions.h +0 -369
  711. casadi/include/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/NEON/BesselFunctions.h +0 -54
  712. casadi/include/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/NEON/SpecialFunctions.h +0 -34
  713. casadi/include/include/eigen3/unsupported/Eigen/src/Splines/Spline.h +0 -507
  714. casadi/include/include/eigen3/unsupported/Eigen/src/Splines/SplineFitting.h +0 -431
  715. casadi/include/include/eigen3/unsupported/Eigen/src/Splines/SplineFwd.h +0 -93
  716. casadi/include/include/openblas/openblas/lapacke_mangling.h +0 -17
  717. casadi/include/include/osqp/auxil.h +0 -181
  718. casadi/include/include/osqp/constants.h +0 -129
  719. casadi/include/include/osqp/cs.h +0 -180
  720. casadi/include/include/osqp/ctrlc.h +0 -56
  721. casadi/include/include/osqp/error.h +0 -38
  722. casadi/include/include/osqp/glob_opts.h +0 -167
  723. casadi/include/include/osqp/lin_alg.h +0 -216
  724. casadi/include/include/osqp/lin_sys.h +0 -54
  725. casadi/include/include/osqp/osqp.h +0 -430
  726. casadi/include/include/osqp/osqp_configure.h +0 -49
  727. casadi/include/include/osqp/polish.h +0 -25
  728. casadi/include/include/osqp/proj.h +0 -37
  729. casadi/include/include/osqp/scaling.h +0 -44
  730. casadi/include/include/osqp/types.h +0 -326
  731. casadi/include/include/osqp/util.h +0 -222
  732. casadi/include/include/proxsuite/config.hpp +0 -68
  733. casadi/include/include/proxsuite/deprecated.hpp +0 -56
  734. casadi/include/include/proxsuite/fwd.hpp +0 -52
  735. casadi/include/include/proxsuite/helpers/common.hpp +0 -70
  736. casadi/include/include/proxsuite/helpers/instruction-set.hpp +0 -275
  737. casadi/include/include/proxsuite/helpers/optional.hpp +0 -46
  738. casadi/include/include/proxsuite/helpers/tl-optional.hpp +0 -2472
  739. casadi/include/include/proxsuite/helpers/version.hpp +0 -39
  740. casadi/include/include/proxsuite/linalg/dense/core.hpp +0 -863
  741. casadi/include/include/proxsuite/linalg/dense/factorize.hpp +0 -375
  742. casadi/include/include/proxsuite/linalg/dense/ldlt.hpp +0 -817
  743. casadi/include/include/proxsuite/linalg/dense/modify.hpp +0 -333
  744. casadi/include/include/proxsuite/linalg/dense/solve.hpp +0 -38
  745. casadi/include/include/proxsuite/linalg/dense/update.hpp +0 -330
  746. casadi/include/include/proxsuite/linalg/sparse/core.hpp +0 -531
  747. casadi/include/include/proxsuite/linalg/sparse/factorize.hpp +0 -1303
  748. casadi/include/include/proxsuite/linalg/sparse/rowmod.hpp +0 -443
  749. casadi/include/include/proxsuite/linalg/sparse/update.hpp +0 -348
  750. casadi/include/include/proxsuite/linalg/veg/internal/assert_impl.hpp +0 -20
  751. casadi/include/include/proxsuite/linalg/veg/internal/collection_algo.hpp +0 -93
  752. casadi/include/include/proxsuite/linalg/veg/internal/dbg.hpp +0 -15
  753. casadi/include/include/proxsuite/linalg/veg/internal/delete_special_members.hpp +0 -77
  754. casadi/include/include/proxsuite/linalg/veg/internal/dyn_index.hpp +0 -292
  755. casadi/include/include/proxsuite/linalg/veg/internal/epilogue.hpp +0 -31
  756. casadi/include/include/proxsuite/linalg/veg/internal/external/hedley.ext.hpp +0 -2074
  757. casadi/include/include/proxsuite/linalg/veg/internal/external/unhedley.ext.hpp +0 -148
  758. casadi/include/include/proxsuite/linalg/veg/internal/fix_index.hpp +0 -339
  759. casadi/include/include/proxsuite/linalg/veg/internal/has_asan.hpp +0 -17
  760. casadi/include/include/proxsuite/linalg/veg/internal/integer_seq.hpp +0 -248
  761. casadi/include/include/proxsuite/linalg/veg/internal/macros.hpp +0 -1312
  762. casadi/include/include/proxsuite/linalg/veg/internal/narrow.hpp +0 -46
  763. casadi/include/include/proxsuite/linalg/veg/internal/preprocessor.hpp +0 -434
  764. casadi/include/include/proxsuite/linalg/veg/internal/prologue.hpp +0 -157
  765. casadi/include/include/proxsuite/linalg/veg/internal/std.hpp +0 -13
  766. casadi/include/include/proxsuite/linalg/veg/internal/terminate.hpp +0 -22
  767. casadi/include/include/proxsuite/linalg/veg/internal/typedefs.hpp +0 -58
  768. casadi/include/include/proxsuite/linalg/veg/memory/address.hpp +0 -97
  769. casadi/include/include/proxsuite/linalg/veg/memory/alloc.hpp +0 -352
  770. casadi/include/include/proxsuite/linalg/veg/memory/dynamic_stack.hpp +0 -504
  771. casadi/include/include/proxsuite/linalg/veg/memory/placement.hpp +0 -202
  772. casadi/include/include/proxsuite/linalg/veg/memory/stack_alloc.hpp +0 -239
  773. casadi/include/include/proxsuite/linalg/veg/ref.hpp +0 -148
  774. casadi/include/include/proxsuite/linalg/veg/slice.hpp +0 -240
  775. casadi/include/include/proxsuite/linalg/veg/tuple.hpp +0 -876
  776. casadi/include/include/proxsuite/linalg/veg/type_traits/alloc.hpp +0 -169
  777. casadi/include/include/proxsuite/linalg/veg/type_traits/assignable.hpp +0 -53
  778. casadi/include/include/proxsuite/linalg/veg/type_traits/constructible.hpp +0 -217
  779. casadi/include/include/proxsuite/linalg/veg/type_traits/core.hpp +0 -298
  780. casadi/include/include/proxsuite/linalg/veg/type_traits/invocable.hpp +0 -47
  781. casadi/include/include/proxsuite/linalg/veg/type_traits/primitives.hpp +0 -43
  782. casadi/include/include/proxsuite/linalg/veg/type_traits/tags.hpp +0 -47
  783. casadi/include/include/proxsuite/linalg/veg/util/assert.hpp +0 -48
  784. casadi/include/include/proxsuite/linalg/veg/util/dbg.hpp +0 -6
  785. casadi/include/include/proxsuite/linalg/veg/util/defer.hpp +0 -57
  786. casadi/include/include/proxsuite/linalg/veg/util/dynstack_alloc.hpp +0 -19
  787. casadi/include/include/proxsuite/linalg/veg/util/get.hpp +0 -153
  788. casadi/include/include/proxsuite/linalg/veg/util/index.hpp +0 -6
  789. casadi/include/include/proxsuite/linalg/veg/util/unreachable.hpp +0 -41
  790. casadi/include/include/proxsuite/linalg/veg/vec.hpp +0 -1034
  791. casadi/include/include/proxsuite/proxqp/dense/dense.hpp +0 -10
  792. casadi/include/include/proxsuite/proxqp/dense/fwd.hpp +0 -55
  793. casadi/include/include/proxsuite/proxqp/dense/helpers.hpp +0 -520
  794. casadi/include/include/proxsuite/proxqp/dense/linesearch.hpp +0 -517
  795. casadi/include/include/proxsuite/proxqp/dense/model.hpp +0 -147
  796. casadi/include/include/proxsuite/proxqp/dense/preconditioner/identity.hpp +0 -113
  797. casadi/include/include/proxsuite/proxqp/dense/preconditioner/ruiz.hpp +0 -571
  798. casadi/include/include/proxsuite/proxqp/dense/solver.hpp +0 -1330
  799. casadi/include/include/proxsuite/proxqp/dense/utils.hpp +0 -415
  800. casadi/include/include/proxsuite/proxqp/dense/views.hpp +0 -1466
  801. casadi/include/include/proxsuite/proxqp/dense/workspace.hpp +0 -264
  802. casadi/include/include/proxsuite/proxqp/dense/wrapper.hpp +0 -491
  803. casadi/include/include/proxsuite/proxqp/results.hpp +0 -212
  804. casadi/include/include/proxsuite/proxqp/settings.hpp +0 -302
  805. casadi/include/include/proxsuite/proxqp/sparse/fwd.hpp +0 -58
  806. casadi/include/include/proxsuite/proxqp/sparse/helpers.hpp +0 -309
  807. casadi/include/include/proxsuite/proxqp/sparse/model.hpp +0 -228
  808. casadi/include/include/proxsuite/proxqp/sparse/preconditioner/identity.hpp +0 -64
  809. casadi/include/include/proxsuite/proxqp/sparse/preconditioner/ruiz.hpp +0 -569
  810. casadi/include/include/proxsuite/proxqp/sparse/solver.hpp +0 -1441
  811. casadi/include/include/proxsuite/proxqp/sparse/sparse.hpp +0 -10
  812. casadi/include/include/proxsuite/proxqp/sparse/utils.hpp +0 -815
  813. casadi/include/include/proxsuite/proxqp/sparse/views.hpp +0 -63
  814. casadi/include/include/proxsuite/proxqp/sparse/workspace.hpp +0 -790
  815. casadi/include/include/proxsuite/proxqp/sparse/wrapper.hpp +0 -772
  816. casadi/include/include/proxsuite/proxqp/status.hpp +0 -46
  817. casadi/include/include/proxsuite/proxqp/timings.hpp +0 -101
  818. casadi/include/include/proxsuite/proxqp/utils/prints.hpp +0 -47
  819. casadi/include/include/proxsuite/proxqp/utils/random_qp_problems.hpp +0 -669
  820. casadi/include/include/proxsuite/serialization/archive.hpp +0 -231
  821. casadi/include/include/proxsuite/serialization/eigen.hpp +0 -107
  822. casadi/include/include/proxsuite/serialization/model.hpp +0 -34
  823. casadi/include/include/proxsuite/serialization/results.hpp +0 -74
  824. casadi/include/include/proxsuite/serialization/settings.hpp +0 -60
  825. casadi/include/include/proxsuite/serialization/wrapper.hpp +0 -24
  826. casadi/include/include/proxsuite/warning.hpp +0 -35
  827. casadi/include/include/simde/arm/neon/aba.h +0 -208
  828. casadi/include/include/simde/arm/neon/abd.h +0 -384
  829. casadi/include/include/simde/arm/neon/abdl.h +0 -147
  830. casadi/include/include/simde/arm/neon/abs.h +0 -408
  831. casadi/include/include/simde/arm/neon/add.h +0 -681
  832. casadi/include/include/simde/arm/neon/addl.h +0 -127
  833. casadi/include/include/simde/arm/neon/addl_high.h +0 -127
  834. casadi/include/include/simde/arm/neon/addlv.h +0 -317
  835. casadi/include/include/simde/arm/neon/addv.h +0 -447
  836. casadi/include/include/simde/arm/neon/addw.h +0 -222
  837. casadi/include/include/simde/arm/neon/addw_high.h +0 -193
  838. casadi/include/include/simde/arm/neon/and.h +0 -552
  839. casadi/include/include/simde/arm/neon/bic.h +0 -472
  840. casadi/include/include/simde/arm/neon/bsl.h +0 -448
  841. casadi/include/include/simde/arm/neon/cagt.h +0 -168
  842. casadi/include/include/simde/arm/neon/ceq.h +0 -711
  843. casadi/include/include/simde/arm/neon/ceqz.h +0 -335
  844. casadi/include/include/simde/arm/neon/cge.h +0 -677
  845. casadi/include/include/simde/arm/neon/cgez.h +0 -378
  846. casadi/include/include/simde/arm/neon/cgt.h +0 -686
  847. casadi/include/include/simde/arm/neon/cgtz.h +0 -380
  848. casadi/include/include/simde/arm/neon/cle.h +0 -677
  849. casadi/include/include/simde/arm/neon/clez.h +0 -378
  850. casadi/include/include/simde/arm/neon/cls.h +0 -148
  851. casadi/include/include/simde/arm/neon/clt.h +0 -679
  852. casadi/include/include/simde/arm/neon/cltz.h +0 -263
  853. casadi/include/include/simde/arm/neon/clz.h +0 -423
  854. casadi/include/include/simde/arm/neon/cnt.h +0 -145
  855. casadi/include/include/simde/arm/neon/combine.h +0 -343
  856. casadi/include/include/simde/arm/neon/create.h +0 -186
  857. casadi/include/include/simde/arm/neon/cvt.h +0 -492
  858. casadi/include/include/simde/arm/neon/dot.h +0 -171
  859. casadi/include/include/simde/arm/neon/dot_lane.h +0 -196
  860. casadi/include/include/simde/arm/neon/dup_lane.h +0 -702
  861. casadi/include/include/simde/arm/neon/dup_n.h +0 -534
  862. casadi/include/include/simde/arm/neon/eor.h +0 -552
  863. casadi/include/include/simde/arm/neon/ext.h +0 -887
  864. casadi/include/include/simde/arm/neon/get_high.h +0 -260
  865. casadi/include/include/simde/arm/neon/get_lane.h +0 -499
  866. casadi/include/include/simde/arm/neon/get_low.h +0 -276
  867. casadi/include/include/simde/arm/neon/hadd.h +0 -287
  868. casadi/include/include/simde/arm/neon/hsub.h +0 -287
  869. casadi/include/include/simde/arm/neon/ld1.h +0 -399
  870. casadi/include/include/simde/arm/neon/ld3.h +0 -609
  871. casadi/include/include/simde/arm/neon/ld4.h +0 -448
  872. casadi/include/include/simde/arm/neon/max.h +0 -614
  873. casadi/include/include/simde/arm/neon/maxnm.h +0 -215
  874. casadi/include/include/simde/arm/neon/maxv.h +0 -400
  875. casadi/include/include/simde/arm/neon/min.h +0 -660
  876. casadi/include/include/simde/arm/neon/minnm.h +0 -215
  877. casadi/include/include/simde/arm/neon/minv.h +0 -424
  878. casadi/include/include/simde/arm/neon/mla.h +0 -530
  879. casadi/include/include/simde/arm/neon/mla_n.h +0 -333
  880. casadi/include/include/simde/arm/neon/mlal.h +0 -156
  881. casadi/include/include/simde/arm/neon/mlal_high.h +0 -156
  882. casadi/include/include/simde/arm/neon/mlal_n.h +0 -128
  883. casadi/include/include/simde/arm/neon/mls.h +0 -264
  884. casadi/include/include/simde/arm/neon/mlsl.h +0 -124
  885. casadi/include/include/simde/arm/neon/mlsl_high.h +0 -124
  886. casadi/include/include/simde/arm/neon/mlsl_n.h +0 -96
  887. casadi/include/include/simde/arm/neon/movl.h +0 -208
  888. casadi/include/include/simde/arm/neon/movl_high.h +0 -126
  889. casadi/include/include/simde/arm/neon/movn.h +0 -195
  890. casadi/include/include/simde/arm/neon/movn_high.h +0 -125
  891. casadi/include/include/simde/arm/neon/mul.h +0 -594
  892. casadi/include/include/simde/arm/neon/mul_lane.h +0 -472
  893. casadi/include/include/simde/arm/neon/mul_n.h +0 -383
  894. casadi/include/include/simde/arm/neon/mull.h +0 -236
  895. casadi/include/include/simde/arm/neon/mull_high.h +0 -125
  896. casadi/include/include/simde/arm/neon/mull_n.h +0 -158
  897. casadi/include/include/simde/arm/neon/mvn.h +0 -426
  898. casadi/include/include/simde/arm/neon/neg.h +0 -393
  899. casadi/include/include/simde/arm/neon/orn.h +0 -505
  900. casadi/include/include/simde/arm/neon/orr.h +0 -552
  901. casadi/include/include/simde/arm/neon/padal.h +0 -211
  902. casadi/include/include/simde/arm/neon/padd.h +0 -293
  903. casadi/include/include/simde/arm/neon/paddl.h +0 -239
  904. casadi/include/include/simde/arm/neon/pmax.h +0 -253
  905. casadi/include/include/simde/arm/neon/pmin.h +0 -260
  906. casadi/include/include/simde/arm/neon/qabs.h +0 -281
  907. casadi/include/include/simde/arm/neon/qadd.h +0 -553
  908. casadi/include/include/simde/arm/neon/qdmulh.h +0 -125
  909. casadi/include/include/simde/arm/neon/qdmull.h +0 -125
  910. casadi/include/include/simde/arm/neon/qmovn.h +0 -273
  911. casadi/include/include/simde/arm/neon/qmovn_high.h +0 -127
  912. casadi/include/include/simde/arm/neon/qmovun.h +0 -159
  913. casadi/include/include/simde/arm/neon/qneg.h +0 -301
  914. casadi/include/include/simde/arm/neon/qrdmulh.h +0 -165
  915. casadi/include/include/simde/arm/neon/qrdmulh_n.h +0 -136
  916. casadi/include/include/simde/arm/neon/qshl.h +0 -732
  917. casadi/include/include/simde/arm/neon/qsub.h +0 -549
  918. casadi/include/include/simde/arm/neon/qtbl.h +0 -455
  919. casadi/include/include/simde/arm/neon/qtbx.h +0 -470
  920. casadi/include/include/simde/arm/neon/rbit.h +0 -165
  921. casadi/include/include/simde/arm/neon/reinterpret.h +0 -3101
  922. casadi/include/include/simde/arm/neon/rev16.h +0 -137
  923. casadi/include/include/simde/arm/neon/rev32.h +0 -235
  924. casadi/include/include/simde/arm/neon/rev64.h +0 -358
  925. casadi/include/include/simde/arm/neon/rhadd.h +0 -406
  926. casadi/include/include/simde/arm/neon/rnd.h +0 -143
  927. casadi/include/include/simde/arm/neon/rndi.h +0 -135
  928. casadi/include/include/simde/arm/neon/rndm.h +0 -143
  929. casadi/include/include/simde/arm/neon/rndn.h +0 -135
  930. casadi/include/include/simde/arm/neon/rndp.h +0 -143
  931. casadi/include/include/simde/arm/neon/rshl.h +0 -903
  932. casadi/include/include/simde/arm/neon/rshr_n.h +0 -471
  933. casadi/include/include/simde/arm/neon/rsra_n.h +0 -209
  934. casadi/include/include/simde/arm/neon/set_lane.h +0 -422
  935. casadi/include/include/simde/arm/neon/shl.h +0 -805
  936. casadi/include/include/simde/arm/neon/shl_n.h +0 -560
  937. casadi/include/include/simde/arm/neon/shr_n.h +0 -612
  938. casadi/include/include/simde/arm/neon/sra_n.h +0 -202
  939. casadi/include/include/simde/arm/neon/st1.h +0 -353
  940. casadi/include/include/simde/arm/neon/st1_lane.h +0 -363
  941. casadi/include/include/simde/arm/neon/st3.h +0 -426
  942. casadi/include/include/simde/arm/neon/st4.h +0 -445
  943. casadi/include/include/simde/arm/neon/sub.h +0 -659
  944. casadi/include/include/simde/arm/neon/subl.h +0 -127
  945. casadi/include/include/simde/arm/neon/subw.h +0 -221
  946. casadi/include/include/simde/arm/neon/subw_high.h +0 -222
  947. casadi/include/include/simde/arm/neon/tbl.h +0 -224
  948. casadi/include/include/simde/arm/neon/tbx.h +0 -247
  949. casadi/include/include/simde/arm/neon/trn.h +0 -252
  950. casadi/include/include/simde/arm/neon/trn1.h +0 -500
  951. casadi/include/include/simde/arm/neon/trn2.h +0 -499
  952. casadi/include/include/simde/arm/neon/tst.h +0 -540
  953. casadi/include/include/simde/arm/neon/types.h +0 -683
  954. casadi/include/include/simde/arm/neon/uqadd.h +0 -325
  955. casadi/include/include/simde/arm/neon/uzp.h +0 -252
  956. casadi/include/include/simde/arm/neon/uzp1.h +0 -643
  957. casadi/include/include/simde/arm/neon/uzp2.h +0 -647
  958. casadi/include/include/simde/arm/neon/zip.h +0 -252
  959. casadi/include/include/simde/arm/neon/zip1.h +0 -625
  960. casadi/include/include/simde/arm/neon/zip2.h +0 -625
  961. casadi/include/include/simde/arm/neon.h +0 -166
  962. casadi/include/include/simde/check.h +0 -276
  963. casadi/include/include/simde/debug-trap.h +0 -85
  964. casadi/include/include/simde/hedley.h +0 -1971
  965. casadi/include/include/simde/simde-align.h +0 -449
  966. casadi/include/include/simde/simde-arch.h +0 -532
  967. casadi/include/include/simde/simde-common.h +0 -890
  968. casadi/include/include/simde/simde-complex.h +0 -148
  969. casadi/include/include/simde/simde-constify.h +0 -397
  970. casadi/include/include/simde/simde-detect-clang.h +0 -109
  971. casadi/include/include/simde/simde-diagnostic.h +0 -428
  972. casadi/include/include/simde/simde-features.h +0 -522
  973. casadi/include/include/simde/simde-math.h +0 -1805
  974. casadi/include/include/simde/x86/avx.h +0 -6193
  975. casadi/include/include/simde/x86/avx2.h +0 -5660
  976. casadi/include/include/simde/x86/avx512/2intersect.h +0 -250
  977. casadi/include/include/simde/x86/avx512/abs.h +0 -562
  978. casadi/include/include/simde/x86/avx512/add.h +0 -641
  979. casadi/include/include/simde/x86/avx512/adds.h +0 -390
  980. casadi/include/include/simde/x86/avx512/and.h +0 -305
  981. casadi/include/include/simde/x86/avx512/andnot.h +0 -193
  982. casadi/include/include/simde/x86/avx512/avg.h +0 -258
  983. casadi/include/include/simde/x86/avx512/blend.h +0 -293
  984. casadi/include/include/simde/x86/avx512/broadcast.h +0 -897
  985. casadi/include/include/simde/x86/avx512/cast.h +0 -324
  986. casadi/include/include/simde/x86/avx512/cmp.h +0 -587
  987. casadi/include/include/simde/x86/avx512/cmpeq.h +0 -179
  988. casadi/include/include/simde/x86/avx512/cmpge.h +0 -104
  989. casadi/include/include/simde/x86/avx512/cmpgt.h +0 -189
  990. casadi/include/include/simde/x86/avx512/cmple.h +0 -103
  991. casadi/include/include/simde/x86/avx512/cmplt.h +0 -123
  992. casadi/include/include/simde/x86/avx512/copysign.h +0 -86
  993. casadi/include/include/simde/x86/avx512/cvt.h +0 -122
  994. casadi/include/include/simde/x86/avx512/cvts.h +0 -723
  995. casadi/include/include/simde/x86/avx512/div.h +0 -162
  996. casadi/include/include/simde/x86/avx512/extract.h +0 -198
  997. casadi/include/include/simde/x86/avx512/fmadd.h +0 -136
  998. casadi/include/include/simde/x86/avx512/fmsub.h +0 -108
  999. casadi/include/include/simde/x86/avx512/fnmadd.h +0 -108
  1000. casadi/include/include/simde/x86/avx512/fnmsub.h +0 -108
  1001. casadi/include/include/simde/x86/avx512/insert.h +0 -193
  1002. casadi/include/include/simde/x86/avx512/kshift.h +0 -152
  1003. casadi/include/include/simde/x86/avx512/load.h +0 -67
  1004. casadi/include/include/simde/x86/avx512/loadu.h +0 -113
  1005. casadi/include/include/simde/x86/avx512/lzcnt.h +0 -209
  1006. casadi/include/include/simde/x86/avx512/madd.h +0 -155
  1007. casadi/include/include/simde/x86/avx512/maddubs.h +0 -159
  1008. casadi/include/include/simde/x86/avx512/max.h +0 -587
  1009. casadi/include/include/simde/x86/avx512/min.h +0 -587
  1010. casadi/include/include/simde/x86/avx512/mov.h +0 -859
  1011. casadi/include/include/simde/x86/avx512/mov_mask.h +0 -372
  1012. casadi/include/include/simde/x86/avx512/movm.h +0 -460
  1013. casadi/include/include/simde/x86/avx512/mul.h +0 -279
  1014. casadi/include/include/simde/x86/avx512/mulhi.h +0 -65
  1015. casadi/include/include/simde/x86/avx512/mulhrs.h +0 -65
  1016. casadi/include/include/simde/x86/avx512/mullo.h +0 -117
  1017. casadi/include/include/simde/x86/avx512/negate.h +0 -88
  1018. casadi/include/include/simde/x86/avx512/or.h +0 -252
  1019. casadi/include/include/simde/x86/avx512/packs.h +0 -122
  1020. casadi/include/include/simde/x86/avx512/packus.h +0 -122
  1021. casadi/include/include/simde/x86/avx512/permutex2var.h +0 -1645
  1022. casadi/include/include/simde/x86/avx512/permutexvar.h +0 -1180
  1023. casadi/include/include/simde/x86/avx512/sad.h +0 -77
  1024. casadi/include/include/simde/x86/avx512/set.h +0 -477
  1025. casadi/include/include/simde/x86/avx512/set1.h +0 -331
  1026. casadi/include/include/simde/x86/avx512/set4.h +0 -140
  1027. casadi/include/include/simde/x86/avx512/setone.h +0 -66
  1028. casadi/include/include/simde/x86/avx512/setr.h +0 -144
  1029. casadi/include/include/simde/x86/avx512/setr4.h +0 -140
  1030. casadi/include/include/simde/x86/avx512/setzero.h +0 -90
  1031. casadi/include/include/simde/x86/avx512/shuffle.h +0 -176
  1032. casadi/include/include/simde/x86/avx512/sll.h +0 -247
  1033. casadi/include/include/simde/x86/avx512/slli.h +0 -179
  1034. casadi/include/include/simde/x86/avx512/sllv.h +0 -68
  1035. casadi/include/include/simde/x86/avx512/sqrt.h +0 -127
  1036. casadi/include/include/simde/x86/avx512/sra.h +0 -81
  1037. casadi/include/include/simde/x86/avx512/srai.h +0 -70
  1038. casadi/include/include/simde/x86/avx512/srav.h +0 -67
  1039. casadi/include/include/simde/x86/avx512/srl.h +0 -216
  1040. casadi/include/include/simde/x86/avx512/srli.h +0 -180
  1041. casadi/include/include/simde/x86/avx512/srlv.h +0 -282
  1042. casadi/include/include/simde/x86/avx512/store.h +0 -93
  1043. casadi/include/include/simde/x86/avx512/storeu.h +0 -93
  1044. casadi/include/include/simde/x86/avx512/sub.h +0 -351
  1045. casadi/include/include/simde/x86/avx512/subs.h +0 -222
  1046. casadi/include/include/simde/x86/avx512/test.h +0 -193
  1047. casadi/include/include/simde/x86/avx512/types.h +0 -380
  1048. casadi/include/include/simde/x86/avx512/unpackhi.h +0 -380
  1049. casadi/include/include/simde/x86/avx512/unpacklo.h +0 -104
  1050. casadi/include/include/simde/x86/avx512/xor.h +0 -263
  1051. casadi/include/include/simde/x86/avx512/xorsign.h +0 -72
  1052. casadi/include/include/simde/x86/avx512.h +0 -108
  1053. casadi/include/include/simde/x86/clmul.h +0 -414
  1054. casadi/include/include/simde/x86/fma.h +0 -724
  1055. casadi/include/include/simde/x86/gfni.h +0 -802
  1056. casadi/include/include/simde/x86/mmx.h +0 -2399
  1057. casadi/include/include/simde/x86/sse.h +0 -4471
  1058. casadi/include/include/simde/x86/sse2.h +0 -7389
  1059. casadi/include/include/simde/x86/sse3.h +0 -499
  1060. casadi/include/include/simde/x86/sse4.1.h +0 -2216
  1061. casadi/include/include/simde/x86/sse4.2.h +0 -347
  1062. casadi/include/include/simde/x86/ssse3.h +0 -1032
  1063. casadi/include/include/simde/x86/svml.h +0 -12139
  1064. casadi/include/include/simde/x86/xop.h +0 -3644
  1065. casadi/include/include/superscs/cones.h +0 -185
  1066. casadi/include/include/superscs/constants.h +0 -144
  1067. casadi/include/include/superscs/cs.h +0 -109
  1068. casadi/include/include/superscs/ctrlc.h +0 -77
  1069. casadi/include/include/superscs/directions.h +0 -125
  1070. casadi/include/include/superscs/glbopts.h +0 -240
  1071. casadi/include/include/superscs/linAlg.h +0 -437
  1072. casadi/include/include/superscs/linSys.h +0 -205
  1073. casadi/include/include/superscs/linsys/amatrix.h +0 -77
  1074. casadi/include/include/superscs/linsys/common.h +0 -49
  1075. casadi/include/include/superscs/normalize.h +0 -138
  1076. casadi/include/include/superscs/scs.h +0 -656
  1077. casadi/include/include/superscs/scs_blas.h +0 -79
  1078. casadi/include/include/superscs/scs_parser.h +0 -187
  1079. casadi/include/include/superscs/unit_test_util.h +0 -210
  1080. casadi/include/include/superscs/util.h +0 -354
  1081. casadi-3.6.4.dist-info/RECORD +0 -2499
  1082. /casadi/include/{include/alpaqa → alpaqa}/accelerators/anderson.hpp +0 -0
  1083. /casadi/include/{include/alpaqa → alpaqa}/accelerators/internal/anderson-helpers.hpp +0 -0
  1084. /casadi/include/{include/alpaqa → alpaqa}/accelerators/internal/limited-memory-qr.hpp +0 -0
  1085. /casadi/include/{include/alpaqa → alpaqa}/accelerators/lbfgs.hpp +0 -0
  1086. /casadi/include/{include/alpaqa → alpaqa}/accelerators/steihaugcg.hpp +0 -0
  1087. /casadi/include/{include/alpaqa → alpaqa}/alpaqa.hpp +0 -0
  1088. /casadi/include/{include/alpaqa → alpaqa}/casadi/CasADiControlProblem.hpp +0 -0
  1089. /casadi/include/{include/alpaqa → alpaqa}/casadi/CasADiFunctionWrapper.hpp +0 -0
  1090. /casadi/include/{include/alpaqa → alpaqa}/casadi/CasADiProblem.hpp +0 -0
  1091. /casadi/include/{include/alpaqa → alpaqa}/casadi-loader-export.hpp +0 -0
  1092. /casadi/include/{include/alpaqa → alpaqa}/casadi-ocp-loader-export.hpp +0 -0
  1093. /casadi/include/{include/alpaqa → alpaqa}/config/config.hpp +0 -0
  1094. /casadi/include/{include/alpaqa → alpaqa}/dl/dl-problem.h +0 -0
  1095. /casadi/include/{include/alpaqa → alpaqa}/dl/dl-problem.hpp +0 -0
  1096. /casadi/include/{include/alpaqa → alpaqa}/export.h +0 -0
  1097. /casadi/include/{include/alpaqa → alpaqa}/export.hpp +0 -0
  1098. /casadi/include/{include/alpaqa → alpaqa}/implementation/accelerators/lbfgs.tpp +0 -0
  1099. /casadi/include/{include/alpaqa → alpaqa}/implementation/casadi/CasADiControlProblem.tpp +0 -0
  1100. /casadi/include/{include/alpaqa → alpaqa}/implementation/casadi/CasADiLoader-util.hpp +0 -0
  1101. /casadi/include/{include/alpaqa → alpaqa}/implementation/casadi/CasADiProblem.tpp +0 -0
  1102. /casadi/include/{include/alpaqa → alpaqa}/implementation/inner/directions/panoc/structured-lbfgs.tpp +0 -0
  1103. /casadi/include/{include/alpaqa → alpaqa}/implementation/inner/panoc-helpers.tpp +0 -0
  1104. /casadi/include/{include/alpaqa → alpaqa}/implementation/inner/panoc-ocp.tpp +0 -0
  1105. /casadi/include/{include/alpaqa → alpaqa}/implementation/inner/panoc.tpp +0 -0
  1106. /casadi/include/{include/alpaqa → alpaqa}/implementation/inner/pantr.tpp +0 -0
  1107. /casadi/include/{include/alpaqa → alpaqa}/implementation/inner/zerofpr.tpp +0 -0
  1108. /casadi/include/{include/alpaqa → alpaqa}/implementation/outer/alm.tpp +0 -0
  1109. /casadi/include/{include/alpaqa → alpaqa}/implementation/outer/internal/alm-helpers.tpp +0 -0
  1110. /casadi/include/{include/alpaqa → alpaqa}/implementation/params/params.tpp +0 -0
  1111. /casadi/include/{include/alpaqa → alpaqa}/implementation/problem/ocproblem.tpp +0 -0
  1112. /casadi/include/{include/alpaqa → alpaqa}/implementation/problem/type-erased-problem.tpp +0 -0
  1113. /casadi/include/{include/alpaqa → alpaqa}/implementation/util/io/csv.tpp +0 -0
  1114. /casadi/include/{include/alpaqa → alpaqa}/implementation/util/print.tpp +0 -0
  1115. /casadi/include/{include/alpaqa → alpaqa}/inner/directions/panoc/anderson.hpp +0 -0
  1116. /casadi/include/{include/alpaqa → alpaqa}/inner/directions/panoc/lbfgs.hpp +0 -0
  1117. /casadi/include/{include/alpaqa → alpaqa}/inner/directions/panoc/structured-lbfgs.hpp +0 -0
  1118. /casadi/include/{include/alpaqa → alpaqa}/inner/directions/panoc/structured-newton.hpp +0 -0
  1119. /casadi/include/{include/alpaqa → alpaqa}/inner/directions/panoc-direction-update.hpp +0 -0
  1120. /casadi/include/{include/alpaqa → alpaqa}/inner/directions/panoc-ocp/lqr.hpp +0 -0
  1121. /casadi/include/{include/alpaqa → alpaqa}/inner/directions/panoc-ocp/ocp-vars.hpp +0 -0
  1122. /casadi/include/{include/alpaqa → alpaqa}/inner/directions/pantr/newton-tr.hpp +0 -0
  1123. /casadi/include/{include/alpaqa → alpaqa}/inner/directions/pantr/pantr-direction.hpp +0 -0
  1124. /casadi/include/{include/alpaqa → alpaqa}/inner/inner-solve-options.hpp +0 -0
  1125. /casadi/include/{include/alpaqa → alpaqa}/inner/internal/lipschitz.hpp +0 -0
  1126. /casadi/include/{include/alpaqa → alpaqa}/inner/internal/panoc-helpers.hpp +0 -0
  1127. /casadi/include/{include/alpaqa → alpaqa}/inner/internal/panoc-stop-crit.hpp +0 -0
  1128. /casadi/include/{include/alpaqa → alpaqa}/inner/internal/solverstatus.hpp +0 -0
  1129. /casadi/include/{include/alpaqa → alpaqa}/inner/panoc-ocp.hpp +0 -0
  1130. /casadi/include/{include/alpaqa → alpaqa}/inner/panoc.hpp +0 -0
  1131. /casadi/include/{include/alpaqa → alpaqa}/inner/pantr.hpp +0 -0
  1132. /casadi/include/{include/alpaqa → alpaqa}/inner/zerofpr.hpp +0 -0
  1133. /casadi/include/{include/alpaqa → alpaqa}/ipopt/ipopt-adapter.hpp +0 -0
  1134. /casadi/include/{include/alpaqa → alpaqa}/ipopt/ipopt-enums.hpp +0 -0
  1135. /casadi/include/{include/alpaqa → alpaqa}/lbfgsb/lbfgsb-adapter.hpp +0 -0
  1136. /casadi/include/{include/alpaqa → alpaqa}/newton-tr-pantr-alm.hpp +0 -0
  1137. /casadi/include/{include/alpaqa → alpaqa}/outer/alm.hpp +0 -0
  1138. /casadi/include/{include/alpaqa → alpaqa}/outer/internal/alm-helpers.hpp +0 -0
  1139. /casadi/include/{include/alpaqa → alpaqa}/panoc-alm.hpp +0 -0
  1140. /casadi/include/{include/alpaqa → alpaqa}/panoc-anderson-alm.hpp +0 -0
  1141. /casadi/include/{include/alpaqa → alpaqa}/params/params.hpp +0 -0
  1142. /casadi/include/{include/alpaqa → alpaqa}/problem/box-constr-problem.hpp +0 -0
  1143. /casadi/include/{include/alpaqa → alpaqa}/problem/box.hpp +0 -0
  1144. /casadi/include/{include/alpaqa → alpaqa}/problem/functional-problem.hpp +0 -0
  1145. /casadi/include/{include/alpaqa → alpaqa}/problem/kkt-error.hpp +0 -0
  1146. /casadi/include/{include/alpaqa → alpaqa}/problem/ocproblem-counters.hpp +0 -0
  1147. /casadi/include/{include/alpaqa → alpaqa}/problem/ocproblem.hpp +0 -0
  1148. /casadi/include/{include/alpaqa → alpaqa}/problem/problem-counters.hpp +0 -0
  1149. /casadi/include/{include/alpaqa → alpaqa}/problem/problem-with-counters.hpp +0 -0
  1150. /casadi/include/{include/alpaqa → alpaqa}/problem/type-erased-problem.hpp +0 -0
  1151. /casadi/include/{include/alpaqa → alpaqa}/problem/unconstr-problem.hpp +0 -0
  1152. /casadi/include/{include/alpaqa → alpaqa}/structured-panoc-alm.hpp +0 -0
  1153. /casadi/include/{include/alpaqa → alpaqa}/structured-zerofpr-alm.hpp +0 -0
  1154. /casadi/include/{include/alpaqa → alpaqa}/util/alloc-check.hpp +0 -0
  1155. /casadi/include/{include/alpaqa → alpaqa}/util/atomic-stop-signal.hpp +0 -0
  1156. /casadi/include/{include/alpaqa → alpaqa}/util/check-dim.hpp +0 -0
  1157. /casadi/include/{include/alpaqa → alpaqa}/util/copyable_unique_ptr.hpp +0 -0
  1158. /casadi/include/{include/alpaqa → alpaqa}/util/demangled-typename.hpp +0 -0
  1159. /casadi/include/{include/alpaqa → alpaqa}/util/enumerate.hpp +0 -0
  1160. /casadi/include/{include/alpaqa → alpaqa}/util/float.hpp +0 -0
  1161. /casadi/include/{include/alpaqa → alpaqa}/util/index-set.hpp +0 -0
  1162. /casadi/include/{include/alpaqa → alpaqa}/util/io/csv.hpp +0 -0
  1163. /casadi/include/{include/alpaqa → alpaqa}/util/iter-adapter.hpp +0 -0
  1164. /casadi/include/{include/alpaqa → alpaqa}/util/max-history.hpp +0 -0
  1165. /casadi/include/{include/alpaqa → alpaqa}/util/noop-delete.hpp +0 -0
  1166. /casadi/include/{include/alpaqa → alpaqa}/util/not-implemented.hpp +0 -0
  1167. /casadi/include/{include/alpaqa → alpaqa}/util/print.hpp +0 -0
  1168. /casadi/include/{include/alpaqa → alpaqa}/util/quadmath/quadmath-print.hpp +0 -0
  1169. /casadi/include/{include/alpaqa → alpaqa}/util/quadmath/quadmath.hpp +0 -0
  1170. /casadi/include/{include/alpaqa → alpaqa}/util/required-method.hpp +0 -0
  1171. /casadi/include/{include/alpaqa → alpaqa}/util/ringbuffer.hpp +0 -0
  1172. /casadi/include/{include/alpaqa → alpaqa}/util/set-intersection.hpp +0 -0
  1173. /casadi/include/{include/alpaqa → alpaqa}/util/sparse-ops.hpp +0 -0
  1174. /casadi/include/{include/alpaqa → alpaqa}/util/timed.hpp +0 -0
  1175. /casadi/include/{include/alpaqa → alpaqa}/util/type-erasure.hpp +0 -0
  1176. /casadi/include/{include/alpaqa → alpaqa}/util/type-traits.hpp +0 -0
  1177. /casadi/include/{include/alpaqa → alpaqa}/zerofpr-alm.hpp +0 -0
  1178. /casadi/include/{include/alpaqa → alpaqa}/zerofpr-anderson-alm.hpp +0 -0
  1179. /casadi/include/{include/alpaqa-version.h → alpaqa-version.h} +0 -0
  1180. /casadi/include/{include/blasfeo.h → blasfeo.h} +0 -0
  1181. /casadi/include/{include/blasfeo_block_size.h → blasfeo_block_size.h} +0 -0
  1182. /casadi/include/{include/blasfeo_common.h → blasfeo_common.h} +0 -0
  1183. /casadi/include/{include/blasfeo_d_aux.h → blasfeo_d_aux.h} +0 -0
  1184. /casadi/include/{include/blasfeo_d_aux_ext_dep.h → blasfeo_d_aux_ext_dep.h} +0 -0
  1185. /casadi/include/{include/blasfeo_d_aux_ext_dep_ref.h → blasfeo_d_aux_ext_dep_ref.h} +0 -0
  1186. /casadi/include/{include/blasfeo_d_aux_old.h → blasfeo_d_aux_old.h} +0 -0
  1187. /casadi/include/{include/blasfeo_d_aux_ref.h → blasfeo_d_aux_ref.h} +0 -0
  1188. /casadi/include/{include/blasfeo_d_aux_test.h → blasfeo_d_aux_test.h} +0 -0
  1189. /casadi/include/{include/blasfeo_d_blas.h → blasfeo_d_blas.h} +0 -0
  1190. /casadi/include/{include/blasfeo_d_blas_api.h → blasfeo_d_blas_api.h} +0 -0
  1191. /casadi/include/{include/blasfeo_d_blasfeo_api.h → blasfeo_d_blasfeo_api.h} +0 -0
  1192. /casadi/include/{include/blasfeo_d_blasfeo_api_ref.h → blasfeo_d_blasfeo_api_ref.h} +0 -0
  1193. /casadi/include/{include/blasfeo_d_blasfeo_hp_api.h → blasfeo_d_blasfeo_hp_api.h} +0 -0
  1194. /casadi/include/{include/blasfeo_d_blasfeo_ref_api.h → blasfeo_d_blasfeo_ref_api.h} +0 -0
  1195. /casadi/include/{include/blasfeo_d_kernel.h → blasfeo_d_kernel.h} +0 -0
  1196. /casadi/include/{include/blasfeo_i_aux_ext_dep.h → blasfeo_i_aux_ext_dep.h} +0 -0
  1197. /casadi/include/{include/blasfeo_m_aux.h → blasfeo_m_aux.h} +0 -0
  1198. /casadi/include/{include/blasfeo_memory.h → blasfeo_memory.h} +0 -0
  1199. /casadi/include/{include/blasfeo_naming.h → blasfeo_naming.h} +0 -0
  1200. /casadi/include/{include/blasfeo_processor_features.h → blasfeo_processor_features.h} +0 -0
  1201. /casadi/include/{include/blasfeo_s_aux.h → blasfeo_s_aux.h} +0 -0
  1202. /casadi/include/{include/blasfeo_s_aux_ext_dep.h → blasfeo_s_aux_ext_dep.h} +0 -0
  1203. /casadi/include/{include/blasfeo_s_aux_ext_dep_ref.h → blasfeo_s_aux_ext_dep_ref.h} +0 -0
  1204. /casadi/include/{include/blasfeo_s_aux_old.h → blasfeo_s_aux_old.h} +0 -0
  1205. /casadi/include/{include/blasfeo_s_aux_ref.h → blasfeo_s_aux_ref.h} +0 -0
  1206. /casadi/include/{include/blasfeo_s_aux_test.h → blasfeo_s_aux_test.h} +0 -0
  1207. /casadi/include/{include/blasfeo_s_blas.h → blasfeo_s_blas.h} +0 -0
  1208. /casadi/include/{include/blasfeo_s_blas_api.h → blasfeo_s_blas_api.h} +0 -0
  1209. /casadi/include/{include/blasfeo_s_blasfeo_api.h → blasfeo_s_blasfeo_api.h} +0 -0
  1210. /casadi/include/{include/blasfeo_s_blasfeo_api_ref.h → blasfeo_s_blasfeo_api_ref.h} +0 -0
  1211. /casadi/include/{include/blasfeo_s_blasfeo_ref_api.h → blasfeo_s_blasfeo_ref_api.h} +0 -0
  1212. /casadi/include/{include/blasfeo_s_kernel.h → blasfeo_s_kernel.h} +0 -0
  1213. /casadi/include/{include/blasfeo_stdlib.h → blasfeo_stdlib.h} +0 -0
  1214. /casadi/include/{include/blasfeo_target.h → blasfeo_target.h} +0 -0
  1215. /casadi/include/{include/blasfeo_timing.h → blasfeo_timing.h} +0 -0
  1216. /casadi/include/{include/blasfeo_v_aux_ext_dep.h → blasfeo_v_aux_ext_dep.h} +0 -0
  1217. /casadi/include/{include/coin-or → coin-or}/IpAlgBuilder.hpp +0 -0
  1218. /casadi/include/{include/coin-or → coin-or}/IpAlgStrategy.hpp +0 -0
  1219. /casadi/include/{include/coin-or → coin-or}/IpAlgTypes.hpp +0 -0
  1220. /casadi/include/{include/coin-or → coin-or}/IpAugSystemSolver.hpp +0 -0
  1221. /casadi/include/{include/coin-or → coin-or}/IpBlas.hpp +0 -0
  1222. /casadi/include/{include/coin-or → coin-or}/IpCachedResults.hpp +0 -0
  1223. /casadi/include/{include/coin-or → coin-or}/IpCompoundMatrix.hpp +0 -0
  1224. /casadi/include/{include/coin-or → coin-or}/IpCompoundSymMatrix.hpp +0 -0
  1225. /casadi/include/{include/coin-or → coin-or}/IpCompoundVector.hpp +0 -0
  1226. /casadi/include/{include/coin-or → coin-or}/IpConvCheck.hpp +0 -0
  1227. /casadi/include/{include/coin-or → coin-or}/IpDebug.hpp +0 -0
  1228. /casadi/include/{include/coin-or → coin-or}/IpDenseVector.hpp +0 -0
  1229. /casadi/include/{include/coin-or → coin-or}/IpDiagMatrix.hpp +0 -0
  1230. /casadi/include/{include/coin-or → coin-or}/IpEqMultCalculator.hpp +0 -0
  1231. /casadi/include/{include/coin-or → coin-or}/IpException.hpp +0 -0
  1232. /casadi/include/{include/coin-or → coin-or}/IpExpansionMatrix.hpp +0 -0
  1233. /casadi/include/{include/coin-or → coin-or}/IpGenTMatrix.hpp +0 -0
  1234. /casadi/include/{include/coin-or → coin-or}/IpHessianUpdater.hpp +0 -0
  1235. /casadi/include/{include/coin-or → coin-or}/IpIdentityMatrix.hpp +0 -0
  1236. /casadi/include/{include/coin-or → coin-or}/IpIpoptAlg.hpp +0 -0
  1237. /casadi/include/{include/coin-or → coin-or}/IpIpoptApplication.hpp +0 -0
  1238. /casadi/include/{include/coin-or → coin-or}/IpIpoptCalculatedQuantities.hpp +0 -0
  1239. /casadi/include/{include/coin-or → coin-or}/IpIpoptData.hpp +0 -0
  1240. /casadi/include/{include/coin-or → coin-or}/IpIpoptNLP.hpp +0 -0
  1241. /casadi/include/{include/coin-or → coin-or}/IpIterateInitializer.hpp +0 -0
  1242. /casadi/include/{include/coin-or → coin-or}/IpIteratesVector.hpp +0 -0
  1243. /casadi/include/{include/coin-or → coin-or}/IpIterationOutput.hpp +0 -0
  1244. /casadi/include/{include/coin-or → coin-or}/IpJournalist.hpp +0 -0
  1245. /casadi/include/{include/coin-or → coin-or}/IpLapack.hpp +0 -0
  1246. /casadi/include/{include/coin-or → coin-or}/IpLibraryLoader.hpp +0 -0
  1247. /casadi/include/{include/coin-or → coin-or}/IpLineSearch.hpp +0 -0
  1248. /casadi/include/{include/coin-or → coin-or}/IpLinearSolvers.h +0 -0
  1249. /casadi/include/{include/coin-or → coin-or}/IpMatrix.hpp +0 -0
  1250. /casadi/include/{include/coin-or → coin-or}/IpMuUpdate.hpp +0 -0
  1251. /casadi/include/{include/coin-or → coin-or}/IpNLP.hpp +0 -0
  1252. /casadi/include/{include/coin-or → coin-or}/IpNLPScaling.hpp +0 -0
  1253. /casadi/include/{include/coin-or → coin-or}/IpObserver.hpp +0 -0
  1254. /casadi/include/{include/coin-or → coin-or}/IpOptionsList.hpp +0 -0
  1255. /casadi/include/{include/coin-or → coin-or}/IpOrigIpoptNLP.hpp +0 -0
  1256. /casadi/include/{include/coin-or → coin-or}/IpPDSystemSolver.hpp +0 -0
  1257. /casadi/include/{include/coin-or → coin-or}/IpReferenced.hpp +0 -0
  1258. /casadi/include/{include/coin-or → coin-or}/IpRegOptions.hpp +0 -0
  1259. /casadi/include/{include/coin-or → coin-or}/IpReturnCodes.h +0 -0
  1260. /casadi/include/{include/coin-or → coin-or}/IpReturnCodes.hpp +0 -0
  1261. /casadi/include/{include/coin-or → coin-or}/IpReturnCodes.inc +0 -0
  1262. /casadi/include/{include/coin-or → coin-or}/IpReturnCodes_inc.h +0 -0
  1263. /casadi/include/{include/coin-or → coin-or}/IpScaledMatrix.hpp +0 -0
  1264. /casadi/include/{include/coin-or → coin-or}/IpSearchDirCalculator.hpp +0 -0
  1265. /casadi/include/{include/coin-or → coin-or}/IpSmartPtr.hpp +0 -0
  1266. /casadi/include/{include/coin-or → coin-or}/IpSolveStatistics.hpp +0 -0
  1267. /casadi/include/{include/coin-or → coin-or}/IpSparseSymLinearSolverInterface.hpp +0 -0
  1268. /casadi/include/{include/coin-or → coin-or}/IpStdAugSystemSolver.cpp +0 -0
  1269. /casadi/include/{include/coin-or → coin-or}/IpStdCInterface.h +0 -0
  1270. /casadi/include/{include/coin-or → coin-or}/IpSumSymMatrix.hpp +0 -0
  1271. /casadi/include/{include/coin-or → coin-or}/IpSymLinearSolver.hpp +0 -0
  1272. /casadi/include/{include/coin-or → coin-or}/IpSymMatrix.hpp +0 -0
  1273. /casadi/include/{include/coin-or → coin-or}/IpSymScaledMatrix.hpp +0 -0
  1274. /casadi/include/{include/coin-or → coin-or}/IpSymTMatrix.hpp +0 -0
  1275. /casadi/include/{include/coin-or → coin-or}/IpTNLP.hpp +0 -0
  1276. /casadi/include/{include/coin-or → coin-or}/IpTNLPAdapter.hpp +0 -0
  1277. /casadi/include/{include/coin-or → coin-or}/IpTNLPReducer.hpp +0 -0
  1278. /casadi/include/{include/coin-or → coin-or}/IpTaggedObject.hpp +0 -0
  1279. /casadi/include/{include/coin-or → coin-or}/IpTimedTask.hpp +0 -0
  1280. /casadi/include/{include/coin-or → coin-or}/IpTimingStatistics.hpp +0 -0
  1281. /casadi/include/{include/coin-or → coin-or}/IpTripletHelper.hpp +0 -0
  1282. /casadi/include/{include/coin-or → coin-or}/IpTypes.h +0 -0
  1283. /casadi/include/{include/coin-or → coin-or}/IpTypes.hpp +0 -0
  1284. /casadi/include/{include/coin-or → coin-or}/IpUtils.hpp +0 -0
  1285. /casadi/include/{include/coin-or → coin-or}/IpVector.hpp +0 -0
  1286. /casadi/include/{include/coin-or → coin-or}/IpZeroSymMatrix.hpp +0 -0
  1287. /casadi/include/{include/coin-or → coin-or}/IpoptConfig.h +0 -0
  1288. /casadi/include/{include/coin-or → coin-or}/SensAlgorithm.hpp +0 -0
  1289. /casadi/include/{include/coin-or → coin-or}/SensApplication.hpp +0 -0
  1290. /casadi/include/{include/coin-or → coin-or}/SensBacksolver.hpp +0 -0
  1291. /casadi/include/{include/coin-or → coin-or}/SensMeasurement.hpp +0 -0
  1292. /casadi/include/{include/coin-or → coin-or}/SensPCalculator.hpp +0 -0
  1293. /casadi/include/{include/coin-or → coin-or}/SensRegOp.hpp +0 -0
  1294. /casadi/include/{include/coin-or → coin-or}/SensSchurData.hpp +0 -0
  1295. /casadi/include/{include/coin-or → coin-or}/SensSchurDriver.hpp +0 -0
  1296. /casadi/include/{include/coin-or → coin-or}/SensSimpleBacksolver.hpp +0 -0
  1297. /casadi/include/{include/coin-or → coin-or}/SensStepCalc.hpp +0 -0
  1298. /casadi/include/{include/coin-or → coin-or}/SensUtils.hpp +0 -0
  1299. /casadi/include/{include/coin-or → coin-or}/metis/defs.h +0 -0
  1300. /casadi/include/{include/coin-or → coin-or}/metis/macros.h +0 -0
  1301. /casadi/include/{include/coin-or → coin-or}/metis/metis.h +0 -0
  1302. /casadi/include/{include/coin-or → coin-or}/metis/proto.h +0 -0
  1303. /casadi/include/{include/coin-or → coin-or}/metis/rename.h +0 -0
  1304. /casadi/include/{include/coin-or → coin-or}/metis/struct.h +0 -0
  1305. /casadi/include/{include/coin-or → coin-or}/mumps/dmumps_c.h +0 -0
  1306. /casadi/include/{include/coin-or → coin-or}/mumps/mumps_c_types.h +0 -0
  1307. /casadi/include/{include/coin-or → coin-or}/mumps/mumps_compat.h +0 -0
  1308. /casadi/include/{include/coin-or → coin-or}/mumps/mumps_int_def.h +0 -0
  1309. /casadi/include/{include/coin-or → coin-or}/mumps/mumps_mpi.h +0 -0
  1310. /casadi/include/{include/d_blas.h → d_blas.h} +0 -0
  1311. /casadi/include/{include/d_blas_64.h → d_blas_64.h} +0 -0
  1312. /casadi/include/{include/hpipm_aux_mem.h → hpipm_aux_mem.h} +0 -0
  1313. /casadi/include/{include/hpipm_aux_string.h → hpipm_aux_string.h} +0 -0
  1314. /casadi/include/{include/hpipm_common.h → hpipm_common.h} +0 -0
  1315. /casadi/include/{include/hpipm_d_cast_qcqp.h → hpipm_d_cast_qcqp.h} +0 -0
  1316. /casadi/include/{include/hpipm_d_cond.h → hpipm_d_cond.h} +0 -0
  1317. /casadi/include/{include/hpipm_d_cond_aux.h → hpipm_d_cond_aux.h} +0 -0
  1318. /casadi/include/{include/hpipm_d_cond_qcqp.h → hpipm_d_cond_qcqp.h} +0 -0
  1319. /casadi/include/{include/hpipm_d_core_qp_ipm.h → hpipm_d_core_qp_ipm.h} +0 -0
  1320. /casadi/include/{include/hpipm_d_core_qp_ipm_aux.h → hpipm_d_core_qp_ipm_aux.h} +0 -0
  1321. /casadi/include/{include/hpipm_d_dense_qcqp.h → hpipm_d_dense_qcqp.h} +0 -0
  1322. /casadi/include/{include/hpipm_d_dense_qcqp_dim.h → hpipm_d_dense_qcqp_dim.h} +0 -0
  1323. /casadi/include/{include/hpipm_d_dense_qcqp_ipm.h → hpipm_d_dense_qcqp_ipm.h} +0 -0
  1324. /casadi/include/{include/hpipm_d_dense_qcqp_res.h → hpipm_d_dense_qcqp_res.h} +0 -0
  1325. /casadi/include/{include/hpipm_d_dense_qcqp_sol.h → hpipm_d_dense_qcqp_sol.h} +0 -0
  1326. /casadi/include/{include/hpipm_d_dense_qcqp_utils.h → hpipm_d_dense_qcqp_utils.h} +0 -0
  1327. /casadi/include/{include/hpipm_d_dense_qp.h → hpipm_d_dense_qp.h} +0 -0
  1328. /casadi/include/{include/hpipm_d_dense_qp_dim.h → hpipm_d_dense_qp_dim.h} +0 -0
  1329. /casadi/include/{include/hpipm_d_dense_qp_ipm.h → hpipm_d_dense_qp_ipm.h} +0 -0
  1330. /casadi/include/{include/hpipm_d_dense_qp_kkt.h → hpipm_d_dense_qp_kkt.h} +0 -0
  1331. /casadi/include/{include/hpipm_d_dense_qp_res.h → hpipm_d_dense_qp_res.h} +0 -0
  1332. /casadi/include/{include/hpipm_d_dense_qp_sol.h → hpipm_d_dense_qp_sol.h} +0 -0
  1333. /casadi/include/{include/hpipm_d_dense_qp_utils.h → hpipm_d_dense_qp_utils.h} +0 -0
  1334. /casadi/include/{include/hpipm_d_ocp_qcqp.h → hpipm_d_ocp_qcqp.h} +0 -0
  1335. /casadi/include/{include/hpipm_d_ocp_qcqp_dim.h → hpipm_d_ocp_qcqp_dim.h} +0 -0
  1336. /casadi/include/{include/hpipm_d_ocp_qcqp_ipm.h → hpipm_d_ocp_qcqp_ipm.h} +0 -0
  1337. /casadi/include/{include/hpipm_d_ocp_qcqp_red.h → hpipm_d_ocp_qcqp_red.h} +0 -0
  1338. /casadi/include/{include/hpipm_d_ocp_qcqp_res.h → hpipm_d_ocp_qcqp_res.h} +0 -0
  1339. /casadi/include/{include/hpipm_d_ocp_qcqp_sol.h → hpipm_d_ocp_qcqp_sol.h} +0 -0
  1340. /casadi/include/{include/hpipm_d_ocp_qcqp_utils.h → hpipm_d_ocp_qcqp_utils.h} +0 -0
  1341. /casadi/include/{include/hpipm_d_ocp_qp.h → hpipm_d_ocp_qp.h} +0 -0
  1342. /casadi/include/{include/hpipm_d_ocp_qp_dim.h → hpipm_d_ocp_qp_dim.h} +0 -0
  1343. /casadi/include/{include/hpipm_d_ocp_qp_ipm.h → hpipm_d_ocp_qp_ipm.h} +0 -0
  1344. /casadi/include/{include/hpipm_d_ocp_qp_kkt.h → hpipm_d_ocp_qp_kkt.h} +0 -0
  1345. /casadi/include/{include/hpipm_d_ocp_qp_red.h → hpipm_d_ocp_qp_red.h} +0 -0
  1346. /casadi/include/{include/hpipm_d_ocp_qp_res.h → hpipm_d_ocp_qp_res.h} +0 -0
  1347. /casadi/include/{include/hpipm_d_ocp_qp_sol.h → hpipm_d_ocp_qp_sol.h} +0 -0
  1348. /casadi/include/{include/hpipm_d_ocp_qp_utils.h → hpipm_d_ocp_qp_utils.h} +0 -0
  1349. /casadi/include/{include/hpipm_d_part_cond.h → hpipm_d_part_cond.h} +0 -0
  1350. /casadi/include/{include/hpipm_d_part_cond_qcqp.h → hpipm_d_part_cond_qcqp.h} +0 -0
  1351. /casadi/include/{include/hpipm_d_sim_erk.h → hpipm_d_sim_erk.h} +0 -0
  1352. /casadi/include/{include/hpipm_d_sim_rk.h → hpipm_d_sim_rk.h} +0 -0
  1353. /casadi/include/{include/hpipm_d_tree_ocp_qcqp.h → hpipm_d_tree_ocp_qcqp.h} +0 -0
  1354. /casadi/include/{include/hpipm_d_tree_ocp_qcqp_dim.h → hpipm_d_tree_ocp_qcqp_dim.h} +0 -0
  1355. /casadi/include/{include/hpipm_d_tree_ocp_qcqp_ipm.h → hpipm_d_tree_ocp_qcqp_ipm.h} +0 -0
  1356. /casadi/include/{include/hpipm_d_tree_ocp_qcqp_res.h → hpipm_d_tree_ocp_qcqp_res.h} +0 -0
  1357. /casadi/include/{include/hpipm_d_tree_ocp_qcqp_sol.h → hpipm_d_tree_ocp_qcqp_sol.h} +0 -0
  1358. /casadi/include/{include/hpipm_d_tree_ocp_qcqp_utils.h → hpipm_d_tree_ocp_qcqp_utils.h} +0 -0
  1359. /casadi/include/{include/hpipm_d_tree_ocp_qp.h → hpipm_d_tree_ocp_qp.h} +0 -0
  1360. /casadi/include/{include/hpipm_d_tree_ocp_qp_dim.h → hpipm_d_tree_ocp_qp_dim.h} +0 -0
  1361. /casadi/include/{include/hpipm_d_tree_ocp_qp_ipm.h → hpipm_d_tree_ocp_qp_ipm.h} +0 -0
  1362. /casadi/include/{include/hpipm_d_tree_ocp_qp_kkt.h → hpipm_d_tree_ocp_qp_kkt.h} +0 -0
  1363. /casadi/include/{include/hpipm_d_tree_ocp_qp_res.h → hpipm_d_tree_ocp_qp_res.h} +0 -0
  1364. /casadi/include/{include/hpipm_d_tree_ocp_qp_sol.h → hpipm_d_tree_ocp_qp_sol.h} +0 -0
  1365. /casadi/include/{include/hpipm_d_tree_ocp_qp_utils.h → hpipm_d_tree_ocp_qp_utils.h} +0 -0
  1366. /casadi/include/{include/hpipm_m_dense_qp.h → hpipm_m_dense_qp.h} +0 -0
  1367. /casadi/include/{include/hpipm_m_dense_qp_dim.h → hpipm_m_dense_qp_dim.h} +0 -0
  1368. /casadi/include/{include/hpipm_m_ocp_qp.h → hpipm_m_ocp_qp.h} +0 -0
  1369. /casadi/include/{include/hpipm_m_ocp_qp_ipm_hard.h → hpipm_m_ocp_qp_ipm_hard.h} +0 -0
  1370. /casadi/include/{include/hpipm_m_ocp_qp_kkt.h → hpipm_m_ocp_qp_kkt.h} +0 -0
  1371. /casadi/include/{include/hpipm_s_cast_qcqp.h → hpipm_s_cast_qcqp.h} +0 -0
  1372. /casadi/include/{include/hpipm_s_cond.h → hpipm_s_cond.h} +0 -0
  1373. /casadi/include/{include/hpipm_s_cond_aux.h → hpipm_s_cond_aux.h} +0 -0
  1374. /casadi/include/{include/hpipm_s_cond_qcqp.h → hpipm_s_cond_qcqp.h} +0 -0
  1375. /casadi/include/{include/hpipm_s_core_qp_ipm.h → hpipm_s_core_qp_ipm.h} +0 -0
  1376. /casadi/include/{include/hpipm_s_core_qp_ipm_aux.h → hpipm_s_core_qp_ipm_aux.h} +0 -0
  1377. /casadi/include/{include/hpipm_s_dense_qcqp.h → hpipm_s_dense_qcqp.h} +0 -0
  1378. /casadi/include/{include/hpipm_s_dense_qcqp_dim.h → hpipm_s_dense_qcqp_dim.h} +0 -0
  1379. /casadi/include/{include/hpipm_s_dense_qcqp_ipm.h → hpipm_s_dense_qcqp_ipm.h} +0 -0
  1380. /casadi/include/{include/hpipm_s_dense_qcqp_res.h → hpipm_s_dense_qcqp_res.h} +0 -0
  1381. /casadi/include/{include/hpipm_s_dense_qcqp_sol.h → hpipm_s_dense_qcqp_sol.h} +0 -0
  1382. /casadi/include/{include/hpipm_s_dense_qcqp_utils.h → hpipm_s_dense_qcqp_utils.h} +0 -0
  1383. /casadi/include/{include/hpipm_s_dense_qp.h → hpipm_s_dense_qp.h} +0 -0
  1384. /casadi/include/{include/hpipm_s_dense_qp_dim.h → hpipm_s_dense_qp_dim.h} +0 -0
  1385. /casadi/include/{include/hpipm_s_dense_qp_ipm.h → hpipm_s_dense_qp_ipm.h} +0 -0
  1386. /casadi/include/{include/hpipm_s_dense_qp_kkt.h → hpipm_s_dense_qp_kkt.h} +0 -0
  1387. /casadi/include/{include/hpipm_s_dense_qp_res.h → hpipm_s_dense_qp_res.h} +0 -0
  1388. /casadi/include/{include/hpipm_s_dense_qp_sol.h → hpipm_s_dense_qp_sol.h} +0 -0
  1389. /casadi/include/{include/hpipm_s_dense_qp_utils.h → hpipm_s_dense_qp_utils.h} +0 -0
  1390. /casadi/include/{include/hpipm_s_ocp_qcqp.h → hpipm_s_ocp_qcqp.h} +0 -0
  1391. /casadi/include/{include/hpipm_s_ocp_qcqp_dim.h → hpipm_s_ocp_qcqp_dim.h} +0 -0
  1392. /casadi/include/{include/hpipm_s_ocp_qcqp_ipm.h → hpipm_s_ocp_qcqp_ipm.h} +0 -0
  1393. /casadi/include/{include/hpipm_s_ocp_qcqp_red.h → hpipm_s_ocp_qcqp_red.h} +0 -0
  1394. /casadi/include/{include/hpipm_s_ocp_qcqp_res.h → hpipm_s_ocp_qcqp_res.h} +0 -0
  1395. /casadi/include/{include/hpipm_s_ocp_qcqp_sol.h → hpipm_s_ocp_qcqp_sol.h} +0 -0
  1396. /casadi/include/{include/hpipm_s_ocp_qcqp_utils.h → hpipm_s_ocp_qcqp_utils.h} +0 -0
  1397. /casadi/include/{include/hpipm_s_ocp_qp.h → hpipm_s_ocp_qp.h} +0 -0
  1398. /casadi/include/{include/hpipm_s_ocp_qp_dim.h → hpipm_s_ocp_qp_dim.h} +0 -0
  1399. /casadi/include/{include/hpipm_s_ocp_qp_ipm.h → hpipm_s_ocp_qp_ipm.h} +0 -0
  1400. /casadi/include/{include/hpipm_s_ocp_qp_kkt.h → hpipm_s_ocp_qp_kkt.h} +0 -0
  1401. /casadi/include/{include/hpipm_s_ocp_qp_red.h → hpipm_s_ocp_qp_red.h} +0 -0
  1402. /casadi/include/{include/hpipm_s_ocp_qp_res.h → hpipm_s_ocp_qp_res.h} +0 -0
  1403. /casadi/include/{include/hpipm_s_ocp_qp_sol.h → hpipm_s_ocp_qp_sol.h} +0 -0
  1404. /casadi/include/{include/hpipm_s_ocp_qp_utils.h → hpipm_s_ocp_qp_utils.h} +0 -0
  1405. /casadi/include/{include/hpipm_s_part_cond.h → hpipm_s_part_cond.h} +0 -0
  1406. /casadi/include/{include/hpipm_s_part_cond_qcqp.h → hpipm_s_part_cond_qcqp.h} +0 -0
  1407. /casadi/include/{include/hpipm_s_sim_erk.h → hpipm_s_sim_erk.h} +0 -0
  1408. /casadi/include/{include/hpipm_s_sim_rk.h → hpipm_s_sim_rk.h} +0 -0
  1409. /casadi/include/{include/hpipm_s_tree_ocp_qcqp.h → hpipm_s_tree_ocp_qcqp.h} +0 -0
  1410. /casadi/include/{include/hpipm_s_tree_ocp_qcqp_dim.h → hpipm_s_tree_ocp_qcqp_dim.h} +0 -0
  1411. /casadi/include/{include/hpipm_s_tree_ocp_qcqp_ipm.h → hpipm_s_tree_ocp_qcqp_ipm.h} +0 -0
  1412. /casadi/include/{include/hpipm_s_tree_ocp_qcqp_res.h → hpipm_s_tree_ocp_qcqp_res.h} +0 -0
  1413. /casadi/include/{include/hpipm_s_tree_ocp_qcqp_sol.h → hpipm_s_tree_ocp_qcqp_sol.h} +0 -0
  1414. /casadi/include/{include/hpipm_s_tree_ocp_qcqp_utils.h → hpipm_s_tree_ocp_qcqp_utils.h} +0 -0
  1415. /casadi/include/{include/hpipm_s_tree_ocp_qp.h → hpipm_s_tree_ocp_qp.h} +0 -0
  1416. /casadi/include/{include/hpipm_s_tree_ocp_qp_dim.h → hpipm_s_tree_ocp_qp_dim.h} +0 -0
  1417. /casadi/include/{include/hpipm_s_tree_ocp_qp_ipm.h → hpipm_s_tree_ocp_qp_ipm.h} +0 -0
  1418. /casadi/include/{include/hpipm_s_tree_ocp_qp_kkt.h → hpipm_s_tree_ocp_qp_kkt.h} +0 -0
  1419. /casadi/include/{include/hpipm_s_tree_ocp_qp_res.h → hpipm_s_tree_ocp_qp_res.h} +0 -0
  1420. /casadi/include/{include/hpipm_s_tree_ocp_qp_sol.h → hpipm_s_tree_ocp_qp_sol.h} +0 -0
  1421. /casadi/include/{include/hpipm_s_tree_ocp_qp_utils.h → hpipm_s_tree_ocp_qp_utils.h} +0 -0
  1422. /casadi/include/{include/hpipm_scenario_tree.h → hpipm_scenario_tree.h} +0 -0
  1423. /casadi/include/{include/hpipm_timing.h → hpipm_timing.h} +0 -0
  1424. /casadi/include/{include/hpipm_tree.h → hpipm_tree.h} +0 -0
  1425. /casadi/include/{include/openblas → openblas}/cblas.h +0 -0
  1426. /casadi/include/{include/openblas → openblas}/f77blas.h +0 -0
  1427. /casadi/include/{include/openblas → openblas}/lapack.h +0 -0
  1428. /casadi/include/{include/openblas → openblas}/lapacke.h +0 -0
  1429. /casadi/include/{include/openblas → openblas}/lapacke_config.h +0 -0
  1430. /casadi/include/{include/openblas → openblas}/lapacke_example_aux.h +0 -0
  1431. /casadi/include/{include/eigen3/Eigen/src/misc → openblas}/lapacke_mangling.h +0 -0
  1432. /casadi/include/{include/openblas → openblas}/lapacke_utils.h +0 -0
  1433. /casadi/include/{include → openblas}/openblas/lapacke_mangling.h +0 -0
  1434. /casadi/include/{include/openblas → openblas}/openblas_config.h +0 -0
  1435. /casadi/include/{include/qdldl → qdldl}/qdldl.h +0 -0
  1436. /casadi/include/{include/qdldl → qdldl}/qdldl_types.h +0 -0
  1437. /casadi/include/{include/s_blas.h → s_blas.h} +0 -0
  1438. /casadi/include/{include/s_blas_64.h → s_blas_64.h} +0 -0
  1439. {casadi-3.6.4.dist-info → casadi-3.6.6.dist-info}/WHEEL +0 -0
@@ -1,2645 +0,0 @@
1
- // This file is part of Eigen, a lightweight C++ template library
2
- // for linear algebra.
3
- //
4
- // Copyright (C) 2008-2009 Gael Guennebaud <gael.guennebaud@inria.fr>
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_GENERAL_BLOCK_PANEL_H
11
- #define EIGEN_GENERAL_BLOCK_PANEL_H
12
-
13
-
14
- namespace Eigen {
15
-
16
- namespace internal {
17
-
18
- enum GEBPPacketSizeType {
19
- GEBPPacketFull = 0,
20
- GEBPPacketHalf,
21
- GEBPPacketQuarter
22
- };
23
-
24
- template<typename _LhsScalar, typename _RhsScalar, bool _ConjLhs=false, bool _ConjRhs=false, int Arch=Architecture::Target, int _PacketSize=GEBPPacketFull>
25
- class gebp_traits;
26
-
27
-
28
- /** \internal \returns b if a<=0, and returns a otherwise. */
29
- inline std::ptrdiff_t manage_caching_sizes_helper(std::ptrdiff_t a, std::ptrdiff_t b)
30
- {
31
- return a<=0 ? b : a;
32
- }
33
-
34
- #if defined(EIGEN_DEFAULT_L1_CACHE_SIZE)
35
- #define EIGEN_SET_DEFAULT_L1_CACHE_SIZE(val) EIGEN_DEFAULT_L1_CACHE_SIZE
36
- #else
37
- #define EIGEN_SET_DEFAULT_L1_CACHE_SIZE(val) val
38
- #endif // defined(EIGEN_DEFAULT_L1_CACHE_SIZE)
39
-
40
- #if defined(EIGEN_DEFAULT_L2_CACHE_SIZE)
41
- #define EIGEN_SET_DEFAULT_L2_CACHE_SIZE(val) EIGEN_DEFAULT_L2_CACHE_SIZE
42
- #else
43
- #define EIGEN_SET_DEFAULT_L2_CACHE_SIZE(val) val
44
- #endif // defined(EIGEN_DEFAULT_L2_CACHE_SIZE)
45
-
46
- #if defined(EIGEN_DEFAULT_L3_CACHE_SIZE)
47
- #define EIGEN_SET_DEFAULT_L3_CACHE_SIZE(val) EIGEN_DEFAULT_L3_CACHE_SIZE
48
- #else
49
- #define EIGEN_SET_DEFAULT_L3_CACHE_SIZE(val) val
50
- #endif // defined(EIGEN_DEFAULT_L3_CACHE_SIZE)
51
-
52
- #if EIGEN_ARCH_i386_OR_x86_64
53
- const std::ptrdiff_t defaultL1CacheSize = EIGEN_SET_DEFAULT_L1_CACHE_SIZE(32*1024);
54
- const std::ptrdiff_t defaultL2CacheSize = EIGEN_SET_DEFAULT_L2_CACHE_SIZE(256*1024);
55
- const std::ptrdiff_t defaultL3CacheSize = EIGEN_SET_DEFAULT_L3_CACHE_SIZE(2*1024*1024);
56
- #elif EIGEN_ARCH_PPC
57
- const std::ptrdiff_t defaultL1CacheSize = EIGEN_SET_DEFAULT_L1_CACHE_SIZE(64*1024);
58
- const std::ptrdiff_t defaultL2CacheSize = EIGEN_SET_DEFAULT_L2_CACHE_SIZE(512*1024);
59
- const std::ptrdiff_t defaultL3CacheSize = EIGEN_SET_DEFAULT_L3_CACHE_SIZE(4*1024*1024);
60
- #else
61
- const std::ptrdiff_t defaultL1CacheSize = EIGEN_SET_DEFAULT_L1_CACHE_SIZE(16*1024);
62
- const std::ptrdiff_t defaultL2CacheSize = EIGEN_SET_DEFAULT_L2_CACHE_SIZE(512*1024);
63
- const std::ptrdiff_t defaultL3CacheSize = EIGEN_SET_DEFAULT_L3_CACHE_SIZE(512*1024);
64
- #endif
65
-
66
- #undef EIGEN_SET_DEFAULT_L1_CACHE_SIZE
67
- #undef EIGEN_SET_DEFAULT_L2_CACHE_SIZE
68
- #undef EIGEN_SET_DEFAULT_L3_CACHE_SIZE
69
-
70
- /** \internal */
71
- struct CacheSizes {
72
- CacheSizes(): m_l1(-1),m_l2(-1),m_l3(-1) {
73
- int l1CacheSize, l2CacheSize, l3CacheSize;
74
- queryCacheSizes(l1CacheSize, l2CacheSize, l3CacheSize);
75
- m_l1 = manage_caching_sizes_helper(l1CacheSize, defaultL1CacheSize);
76
- m_l2 = manage_caching_sizes_helper(l2CacheSize, defaultL2CacheSize);
77
- m_l3 = manage_caching_sizes_helper(l3CacheSize, defaultL3CacheSize);
78
- }
79
-
80
- std::ptrdiff_t m_l1;
81
- std::ptrdiff_t m_l2;
82
- std::ptrdiff_t m_l3;
83
- };
84
-
85
- /** \internal */
86
- inline void manage_caching_sizes(Action action, std::ptrdiff_t* l1, std::ptrdiff_t* l2, std::ptrdiff_t* l3)
87
- {
88
- static CacheSizes m_cacheSizes;
89
-
90
- if(action==SetAction)
91
- {
92
- // set the cpu cache size and cache all block sizes from a global cache size in byte
93
- eigen_internal_assert(l1!=0 && l2!=0);
94
- m_cacheSizes.m_l1 = *l1;
95
- m_cacheSizes.m_l2 = *l2;
96
- m_cacheSizes.m_l3 = *l3;
97
- }
98
- else if(action==GetAction)
99
- {
100
- eigen_internal_assert(l1!=0 && l2!=0);
101
- *l1 = m_cacheSizes.m_l1;
102
- *l2 = m_cacheSizes.m_l2;
103
- *l3 = m_cacheSizes.m_l3;
104
- }
105
- else
106
- {
107
- eigen_internal_assert(false);
108
- }
109
- }
110
-
111
- /* Helper for computeProductBlockingSizes.
112
- *
113
- * Given a m x k times k x n matrix product of scalar types \c LhsScalar and \c RhsScalar,
114
- * this function computes the blocking size parameters along the respective dimensions
115
- * for matrix products and related algorithms. The blocking sizes depends on various
116
- * parameters:
117
- * - the L1 and L2 cache sizes,
118
- * - the register level blocking sizes defined by gebp_traits,
119
- * - the number of scalars that fit into a packet (when vectorization is enabled).
120
- *
121
- * \sa setCpuCacheSizes */
122
-
123
- template<typename LhsScalar, typename RhsScalar, int KcFactor, typename Index>
124
- void evaluateProductBlockingSizesHeuristic(Index& k, Index& m, Index& n, Index num_threads = 1)
125
- {
126
- typedef gebp_traits<LhsScalar,RhsScalar> Traits;
127
-
128
- // Explanations:
129
- // Let's recall that the product algorithms form mc x kc vertical panels A' on the lhs and
130
- // kc x nc blocks B' on the rhs. B' has to fit into L2/L3 cache. Moreover, A' is processed
131
- // per mr x kc horizontal small panels where mr is the blocking size along the m dimension
132
- // at the register level. This small horizontal panel has to stay within L1 cache.
133
- std::ptrdiff_t l1, l2, l3;
134
- manage_caching_sizes(GetAction, &l1, &l2, &l3);
135
- #ifdef EIGEN_VECTORIZE_AVX512
136
- // We need to find a rationale for that, but without this adjustment,
137
- // performance with AVX512 is pretty bad, like -20% slower.
138
- // One reason is that with increasing packet-size, the blocking size k
139
- // has to become pretty small if we want that 1 lhs panel fit within L1.
140
- // For instance, with the 3pX4 kernel and double, the size of the lhs+rhs panels are:
141
- // k*(3*64 + 4*8) Bytes, with l1=32kBytes, and k%8=0, we have k=144.
142
- // This is quite small for a good reuse of the accumulation registers.
143
- l1 *= 4;
144
- #endif
145
-
146
- if (num_threads > 1) {
147
- typedef typename Traits::ResScalar ResScalar;
148
- enum {
149
- kdiv = KcFactor * (Traits::mr * sizeof(LhsScalar) + Traits::nr * sizeof(RhsScalar)),
150
- ksub = Traits::mr * Traits::nr * sizeof(ResScalar),
151
- kr = 8,
152
- mr = Traits::mr,
153
- nr = Traits::nr
154
- };
155
- // Increasing k gives us more time to prefetch the content of the "C"
156
- // registers. However once the latency is hidden there is no point in
157
- // increasing the value of k, so we'll cap it at 320 (value determined
158
- // experimentally).
159
- // To avoid that k vanishes, we make k_cache at least as big as kr
160
- const Index k_cache = numext::maxi<Index>(kr, (numext::mini<Index>)((l1-ksub)/kdiv, 320));
161
- if (k_cache < k) {
162
- k = k_cache - (k_cache % kr);
163
- eigen_internal_assert(k > 0);
164
- }
165
-
166
- const Index n_cache = (l2-l1) / (nr * sizeof(RhsScalar) * k);
167
- const Index n_per_thread = numext::div_ceil(n, num_threads);
168
- if (n_cache <= n_per_thread) {
169
- // Don't exceed the capacity of the l2 cache.
170
- eigen_internal_assert(n_cache >= static_cast<Index>(nr));
171
- n = n_cache - (n_cache % nr);
172
- eigen_internal_assert(n > 0);
173
- } else {
174
- n = (numext::mini<Index>)(n, (n_per_thread + nr - 1) - ((n_per_thread + nr - 1) % nr));
175
- }
176
-
177
- if (l3 > l2) {
178
- // l3 is shared between all cores, so we'll give each thread its own chunk of l3.
179
- const Index m_cache = (l3-l2) / (sizeof(LhsScalar) * k * num_threads);
180
- const Index m_per_thread = numext::div_ceil(m, num_threads);
181
- if(m_cache < m_per_thread && m_cache >= static_cast<Index>(mr)) {
182
- m = m_cache - (m_cache % mr);
183
- eigen_internal_assert(m > 0);
184
- } else {
185
- m = (numext::mini<Index>)(m, (m_per_thread + mr - 1) - ((m_per_thread + mr - 1) % mr));
186
- }
187
- }
188
- }
189
- else {
190
- // In unit tests we do not want to use extra large matrices,
191
- // so we reduce the cache size to check the blocking strategy is not flawed
192
- #ifdef EIGEN_DEBUG_SMALL_PRODUCT_BLOCKS
193
- l1 = 9*1024;
194
- l2 = 32*1024;
195
- l3 = 512*1024;
196
- #endif
197
-
198
- // Early return for small problems because the computation below are time consuming for small problems.
199
- // Perhaps it would make more sense to consider k*n*m??
200
- // Note that for very tiny problem, this function should be bypassed anyway
201
- // because we use the coefficient-based implementation for them.
202
- if((numext::maxi)(k,(numext::maxi)(m,n))<48)
203
- return;
204
-
205
- typedef typename Traits::ResScalar ResScalar;
206
- enum {
207
- k_peeling = 8,
208
- k_div = KcFactor * (Traits::mr * sizeof(LhsScalar) + Traits::nr * sizeof(RhsScalar)),
209
- k_sub = Traits::mr * Traits::nr * sizeof(ResScalar)
210
- };
211
-
212
- // ---- 1st level of blocking on L1, yields kc ----
213
-
214
- // Blocking on the third dimension (i.e., k) is chosen so that an horizontal panel
215
- // of size mr x kc of the lhs plus a vertical panel of kc x nr of the rhs both fits within L1 cache.
216
- // We also include a register-level block of the result (mx x nr).
217
- // (In an ideal world only the lhs panel would stay in L1)
218
- // Moreover, kc has to be a multiple of 8 to be compatible with loop peeling, leading to a maximum blocking size of:
219
- const Index max_kc = numext::maxi<Index>(((l1-k_sub)/k_div) & (~(k_peeling-1)),1);
220
- const Index old_k = k;
221
- if(k>max_kc)
222
- {
223
- // We are really blocking on the third dimension:
224
- // -> reduce blocking size to make sure the last block is as large as possible
225
- // while keeping the same number of sweeps over the result.
226
- k = (k%max_kc)==0 ? max_kc
227
- : max_kc - k_peeling * ((max_kc-1-(k%max_kc))/(k_peeling*(k/max_kc+1)));
228
-
229
- eigen_internal_assert(((old_k/k) == (old_k/max_kc)) && "the number of sweeps has to remain the same");
230
- }
231
-
232
- // ---- 2nd level of blocking on max(L2,L3), yields nc ----
233
-
234
- // TODO find a reliable way to get the actual amount of cache per core to use for 2nd level blocking, that is:
235
- // actual_l2 = max(l2, l3/nb_core_sharing_l3)
236
- // The number below is quite conservative: it is better to underestimate the cache size rather than overestimating it)
237
- // For instance, it corresponds to 6MB of L3 shared among 4 cores.
238
- #ifdef EIGEN_DEBUG_SMALL_PRODUCT_BLOCKS
239
- const Index actual_l2 = l3;
240
- #else
241
- const Index actual_l2 = 1572864; // == 1.5 MB
242
- #endif
243
-
244
- // Here, nc is chosen such that a block of kc x nc of the rhs fit within half of L2.
245
- // The second half is implicitly reserved to access the result and lhs coefficients.
246
- // When k<max_kc, then nc can arbitrarily growth. In practice, it seems to be fruitful
247
- // to limit this growth: we bound nc to growth by a factor x1.5.
248
- // However, if the entire lhs block fit within L1, then we are not going to block on the rows at all,
249
- // and it becomes fruitful to keep the packed rhs blocks in L1 if there is enough remaining space.
250
- Index max_nc;
251
- const Index lhs_bytes = m * k * sizeof(LhsScalar);
252
- const Index remaining_l1 = l1- k_sub - lhs_bytes;
253
- if(remaining_l1 >= Index(Traits::nr*sizeof(RhsScalar))*k)
254
- {
255
- // L1 blocking
256
- max_nc = remaining_l1 / (k*sizeof(RhsScalar));
257
- }
258
- else
259
- {
260
- // L2 blocking
261
- max_nc = (3*actual_l2)/(2*2*max_kc*sizeof(RhsScalar));
262
- }
263
- // WARNING Below, we assume that Traits::nr is a power of two.
264
- Index nc = numext::mini<Index>(actual_l2/(2*k*sizeof(RhsScalar)), max_nc) & (~(Traits::nr-1));
265
- if(n>nc)
266
- {
267
- // We are really blocking over the columns:
268
- // -> reduce blocking size to make sure the last block is as large as possible
269
- // while keeping the same number of sweeps over the packed lhs.
270
- // Here we allow one more sweep if this gives us a perfect match, thus the commented "-1"
271
- n = (n%nc)==0 ? nc
272
- : (nc - Traits::nr * ((nc/*-1*/-(n%nc))/(Traits::nr*(n/nc+1))));
273
- }
274
- else if(old_k==k)
275
- {
276
- // So far, no blocking at all, i.e., kc==k, and nc==n.
277
- // In this case, let's perform a blocking over the rows such that the packed lhs data is kept in cache L1/L2
278
- // TODO: part of this blocking strategy is now implemented within the kernel itself, so the L1-based heuristic here should be obsolete.
279
- Index problem_size = k*n*sizeof(LhsScalar);
280
- Index actual_lm = actual_l2;
281
- Index max_mc = m;
282
- if(problem_size<=1024)
283
- {
284
- // problem is small enough to keep in L1
285
- // Let's choose m such that lhs's block fit in 1/3 of L1
286
- actual_lm = l1;
287
- }
288
- else if(l3!=0 && problem_size<=32768)
289
- {
290
- // we have both L2 and L3, and problem is small enough to be kept in L2
291
- // Let's choose m such that lhs's block fit in 1/3 of L2
292
- actual_lm = l2;
293
- max_mc = (numext::mini<Index>)(576,max_mc);
294
- }
295
- Index mc = (numext::mini<Index>)(actual_lm/(3*k*sizeof(LhsScalar)), max_mc);
296
- if (mc > Traits::mr) mc -= mc % Traits::mr;
297
- else if (mc==0) return;
298
- m = (m%mc)==0 ? mc
299
- : (mc - Traits::mr * ((mc/*-1*/-(m%mc))/(Traits::mr*(m/mc+1))));
300
- }
301
- }
302
- }
303
-
304
- template <typename Index>
305
- inline bool useSpecificBlockingSizes(Index& k, Index& m, Index& n)
306
- {
307
- #ifdef EIGEN_TEST_SPECIFIC_BLOCKING_SIZES
308
- if (EIGEN_TEST_SPECIFIC_BLOCKING_SIZES) {
309
- k = numext::mini<Index>(k, EIGEN_TEST_SPECIFIC_BLOCKING_SIZE_K);
310
- m = numext::mini<Index>(m, EIGEN_TEST_SPECIFIC_BLOCKING_SIZE_M);
311
- n = numext::mini<Index>(n, EIGEN_TEST_SPECIFIC_BLOCKING_SIZE_N);
312
- return true;
313
- }
314
- #else
315
- EIGEN_UNUSED_VARIABLE(k)
316
- EIGEN_UNUSED_VARIABLE(m)
317
- EIGEN_UNUSED_VARIABLE(n)
318
- #endif
319
- return false;
320
- }
321
-
322
- /** \brief Computes the blocking parameters for a m x k times k x n matrix product
323
- *
324
- * \param[in,out] k Input: the third dimension of the product. Output: the blocking size along the same dimension.
325
- * \param[in,out] m Input: the number of rows of the left hand side. Output: the blocking size along the same dimension.
326
- * \param[in,out] n Input: the number of columns of the right hand side. Output: the blocking size along the same dimension.
327
- *
328
- * Given a m x k times k x n matrix product of scalar types \c LhsScalar and \c RhsScalar,
329
- * this function computes the blocking size parameters along the respective dimensions
330
- * for matrix products and related algorithms.
331
- *
332
- * The blocking size parameters may be evaluated:
333
- * - either by a heuristic based on cache sizes;
334
- * - or using fixed prescribed values (for testing purposes).
335
- *
336
- * \sa setCpuCacheSizes */
337
-
338
- template<typename LhsScalar, typename RhsScalar, int KcFactor, typename Index>
339
- void computeProductBlockingSizes(Index& k, Index& m, Index& n, Index num_threads = 1)
340
- {
341
- if (!useSpecificBlockingSizes(k, m, n)) {
342
- evaluateProductBlockingSizesHeuristic<LhsScalar, RhsScalar, KcFactor, Index>(k, m, n, num_threads);
343
- }
344
- }
345
-
346
- template<typename LhsScalar, typename RhsScalar, typename Index>
347
- inline void computeProductBlockingSizes(Index& k, Index& m, Index& n, Index num_threads = 1)
348
- {
349
- computeProductBlockingSizes<LhsScalar,RhsScalar,1,Index>(k, m, n, num_threads);
350
- }
351
-
352
- template <typename RhsPacket, typename RhsPacketx4, int registers_taken>
353
- struct RhsPanelHelper {
354
- private:
355
- static const int remaining_registers = EIGEN_ARCH_DEFAULT_NUMBER_OF_REGISTERS - registers_taken;
356
- public:
357
- typedef typename conditional<remaining_registers>=4, RhsPacketx4, RhsPacket>::type type;
358
- };
359
-
360
- template <typename Packet>
361
- struct QuadPacket
362
- {
363
- Packet B_0, B1, B2, B3;
364
- const Packet& get(const FixedInt<0>&) const { return B_0; }
365
- const Packet& get(const FixedInt<1>&) const { return B1; }
366
- const Packet& get(const FixedInt<2>&) const { return B2; }
367
- const Packet& get(const FixedInt<3>&) const { return B3; }
368
- };
369
-
370
- template <int N, typename T1, typename T2, typename T3>
371
- struct packet_conditional { typedef T3 type; };
372
-
373
- template <typename T1, typename T2, typename T3>
374
- struct packet_conditional<GEBPPacketFull, T1, T2, T3> { typedef T1 type; };
375
-
376
- template <typename T1, typename T2, typename T3>
377
- struct packet_conditional<GEBPPacketHalf, T1, T2, T3> { typedef T2 type; };
378
-
379
- #define PACKET_DECL_COND_PREFIX(prefix, name, packet_size) \
380
- typedef typename packet_conditional<packet_size, \
381
- typename packet_traits<name ## Scalar>::type, \
382
- typename packet_traits<name ## Scalar>::half, \
383
- typename unpacket_traits<typename packet_traits<name ## Scalar>::half>::half>::type \
384
- prefix ## name ## Packet
385
-
386
- #define PACKET_DECL_COND(name, packet_size) \
387
- typedef typename packet_conditional<packet_size, \
388
- typename packet_traits<name ## Scalar>::type, \
389
- typename packet_traits<name ## Scalar>::half, \
390
- typename unpacket_traits<typename packet_traits<name ## Scalar>::half>::half>::type \
391
- name ## Packet
392
-
393
- #define PACKET_DECL_COND_SCALAR_PREFIX(prefix, packet_size) \
394
- typedef typename packet_conditional<packet_size, \
395
- typename packet_traits<Scalar>::type, \
396
- typename packet_traits<Scalar>::half, \
397
- typename unpacket_traits<typename packet_traits<Scalar>::half>::half>::type \
398
- prefix ## ScalarPacket
399
-
400
- #define PACKET_DECL_COND_SCALAR(packet_size) \
401
- typedef typename packet_conditional<packet_size, \
402
- typename packet_traits<Scalar>::type, \
403
- typename packet_traits<Scalar>::half, \
404
- typename unpacket_traits<typename packet_traits<Scalar>::half>::half>::type \
405
- ScalarPacket
406
-
407
- /* Vectorization logic
408
- * real*real: unpack rhs to constant packets, ...
409
- *
410
- * cd*cd : unpack rhs to (b_r,b_r), (b_i,b_i), mul to get (a_r b_r,a_i b_r) (a_r b_i,a_i b_i),
411
- * storing each res packet into two packets (2x2),
412
- * at the end combine them: swap the second and addsub them
413
- * cf*cf : same but with 2x4 blocks
414
- * cplx*real : unpack rhs to constant packets, ...
415
- * real*cplx : load lhs as (a0,a0,a1,a1), and mul as usual
416
- */
417
- template<typename _LhsScalar, typename _RhsScalar, bool _ConjLhs, bool _ConjRhs, int Arch, int _PacketSize>
418
- class gebp_traits
419
- {
420
- public:
421
- typedef _LhsScalar LhsScalar;
422
- typedef _RhsScalar RhsScalar;
423
- typedef typename ScalarBinaryOpTraits<LhsScalar, RhsScalar>::ReturnType ResScalar;
424
-
425
- PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize);
426
- PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize);
427
- PACKET_DECL_COND_PREFIX(_, Res, _PacketSize);
428
-
429
- enum {
430
- ConjLhs = _ConjLhs,
431
- ConjRhs = _ConjRhs,
432
- Vectorizable = unpacket_traits<_LhsPacket>::vectorizable && unpacket_traits<_RhsPacket>::vectorizable,
433
- LhsPacketSize = Vectorizable ? unpacket_traits<_LhsPacket>::size : 1,
434
- RhsPacketSize = Vectorizable ? unpacket_traits<_RhsPacket>::size : 1,
435
- ResPacketSize = Vectorizable ? unpacket_traits<_ResPacket>::size : 1,
436
-
437
- NumberOfRegisters = EIGEN_ARCH_DEFAULT_NUMBER_OF_REGISTERS,
438
-
439
- // register block size along the N direction must be 1 or 4
440
- nr = 4,
441
-
442
- // register block size along the M direction (currently, this one cannot be modified)
443
- default_mr = (EIGEN_PLAIN_ENUM_MIN(16,NumberOfRegisters)/2/nr)*LhsPacketSize,
444
- #if defined(EIGEN_HAS_SINGLE_INSTRUCTION_MADD) && !defined(EIGEN_VECTORIZE_ALTIVEC) && !defined(EIGEN_VECTORIZE_VSX) \
445
- && ((!EIGEN_COMP_MSVC) || (EIGEN_COMP_MSVC>=1914))
446
- // we assume 16 registers or more
447
- // See bug 992, if the scalar type is not vectorizable but that EIGEN_HAS_SINGLE_INSTRUCTION_MADD is defined,
448
- // then using 3*LhsPacketSize triggers non-implemented paths in syrk.
449
- // Bug 1515: MSVC prior to v19.14 yields to register spilling.
450
- mr = Vectorizable ? 3*LhsPacketSize : default_mr,
451
- #else
452
- mr = default_mr,
453
- #endif
454
-
455
- LhsProgress = LhsPacketSize,
456
- RhsProgress = 1
457
- };
458
-
459
-
460
- typedef typename conditional<Vectorizable,_LhsPacket,LhsScalar>::type LhsPacket;
461
- typedef typename conditional<Vectorizable,_RhsPacket,RhsScalar>::type RhsPacket;
462
- typedef typename conditional<Vectorizable,_ResPacket,ResScalar>::type ResPacket;
463
- typedef LhsPacket LhsPacket4Packing;
464
-
465
- typedef QuadPacket<RhsPacket> RhsPacketx4;
466
- typedef ResPacket AccPacket;
467
-
468
- EIGEN_STRONG_INLINE void initAcc(AccPacket& p)
469
- {
470
- p = pset1<ResPacket>(ResScalar(0));
471
- }
472
-
473
- template<typename RhsPacketType>
474
- EIGEN_STRONG_INLINE void loadRhs(const RhsScalar* b, RhsPacketType& dest) const
475
- {
476
- dest = pset1<RhsPacketType>(*b);
477
- }
478
-
479
- EIGEN_STRONG_INLINE void loadRhs(const RhsScalar* b, RhsPacketx4& dest) const
480
- {
481
- pbroadcast4(b, dest.B_0, dest.B1, dest.B2, dest.B3);
482
- }
483
-
484
- template<typename RhsPacketType>
485
- EIGEN_STRONG_INLINE void updateRhs(const RhsScalar* b, RhsPacketType& dest) const
486
- {
487
- loadRhs(b, dest);
488
- }
489
-
490
- EIGEN_STRONG_INLINE void updateRhs(const RhsScalar*, RhsPacketx4&) const
491
- {
492
- }
493
-
494
- EIGEN_STRONG_INLINE void loadRhsQuad(const RhsScalar* b, RhsPacket& dest) const
495
- {
496
- dest = ploadquad<RhsPacket>(b);
497
- }
498
-
499
- template<typename LhsPacketType>
500
- EIGEN_STRONG_INLINE void loadLhs(const LhsScalar* a, LhsPacketType& dest) const
501
- {
502
- dest = pload<LhsPacketType>(a);
503
- }
504
-
505
- template<typename LhsPacketType>
506
- EIGEN_STRONG_INLINE void loadLhsUnaligned(const LhsScalar* a, LhsPacketType& dest) const
507
- {
508
- dest = ploadu<LhsPacketType>(a);
509
- }
510
-
511
- template<typename LhsPacketType, typename RhsPacketType, typename AccPacketType, typename LaneIdType>
512
- EIGEN_STRONG_INLINE void madd(const LhsPacketType& a, const RhsPacketType& b, AccPacketType& c, RhsPacketType& tmp, const LaneIdType&) const
513
- {
514
- conj_helper<LhsPacketType,RhsPacketType,ConjLhs,ConjRhs> cj;
515
- // It would be a lot cleaner to call pmadd all the time. Unfortunately if we
516
- // let gcc allocate the register in which to store the result of the pmul
517
- // (in the case where there is no FMA) gcc fails to figure out how to avoid
518
- // spilling register.
519
- #ifdef EIGEN_HAS_SINGLE_INSTRUCTION_MADD
520
- EIGEN_UNUSED_VARIABLE(tmp);
521
- c = cj.pmadd(a,b,c);
522
- #else
523
- tmp = b; tmp = cj.pmul(a,tmp); c = padd(c,tmp);
524
- #endif
525
- }
526
-
527
- template<typename LhsPacketType, typename AccPacketType, typename LaneIdType>
528
- EIGEN_STRONG_INLINE void madd(const LhsPacketType& a, const RhsPacketx4& b, AccPacketType& c, RhsPacket& tmp, const LaneIdType& lane) const
529
- {
530
- madd(a, b.get(lane), c, tmp, lane);
531
- }
532
-
533
- EIGEN_STRONG_INLINE void acc(const AccPacket& c, const ResPacket& alpha, ResPacket& r) const
534
- {
535
- r = pmadd(c,alpha,r);
536
- }
537
-
538
- template<typename ResPacketHalf>
539
- EIGEN_STRONG_INLINE void acc(const ResPacketHalf& c, const ResPacketHalf& alpha, ResPacketHalf& r) const
540
- {
541
- r = pmadd(c,alpha,r);
542
- }
543
-
544
- };
545
-
546
- template<typename RealScalar, bool _ConjLhs, int Arch, int _PacketSize>
547
- class gebp_traits<std::complex<RealScalar>, RealScalar, _ConjLhs, false, Arch, _PacketSize>
548
- {
549
- public:
550
- typedef std::complex<RealScalar> LhsScalar;
551
- typedef RealScalar RhsScalar;
552
- typedef typename ScalarBinaryOpTraits<LhsScalar, RhsScalar>::ReturnType ResScalar;
553
-
554
- PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize);
555
- PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize);
556
- PACKET_DECL_COND_PREFIX(_, Res, _PacketSize);
557
-
558
- enum {
559
- ConjLhs = _ConjLhs,
560
- ConjRhs = false,
561
- Vectorizable = unpacket_traits<_LhsPacket>::vectorizable && unpacket_traits<_RhsPacket>::vectorizable,
562
- LhsPacketSize = Vectorizable ? unpacket_traits<_LhsPacket>::size : 1,
563
- RhsPacketSize = Vectorizable ? unpacket_traits<_RhsPacket>::size : 1,
564
- ResPacketSize = Vectorizable ? unpacket_traits<_ResPacket>::size : 1,
565
-
566
- NumberOfRegisters = EIGEN_ARCH_DEFAULT_NUMBER_OF_REGISTERS,
567
- nr = 4,
568
- #if defined(EIGEN_HAS_SINGLE_INSTRUCTION_MADD) && !defined(EIGEN_VECTORIZE_ALTIVEC) && !defined(EIGEN_VECTORIZE_VSX)
569
- // we assume 16 registers
570
- mr = 3*LhsPacketSize,
571
- #else
572
- mr = (EIGEN_PLAIN_ENUM_MIN(16,NumberOfRegisters)/2/nr)*LhsPacketSize,
573
- #endif
574
-
575
- LhsProgress = LhsPacketSize,
576
- RhsProgress = 1
577
- };
578
-
579
- typedef typename conditional<Vectorizable,_LhsPacket,LhsScalar>::type LhsPacket;
580
- typedef typename conditional<Vectorizable,_RhsPacket,RhsScalar>::type RhsPacket;
581
- typedef typename conditional<Vectorizable,_ResPacket,ResScalar>::type ResPacket;
582
- typedef LhsPacket LhsPacket4Packing;
583
-
584
- typedef QuadPacket<RhsPacket> RhsPacketx4;
585
-
586
- typedef ResPacket AccPacket;
587
-
588
- EIGEN_STRONG_INLINE void initAcc(AccPacket& p)
589
- {
590
- p = pset1<ResPacket>(ResScalar(0));
591
- }
592
-
593
- template<typename RhsPacketType>
594
- EIGEN_STRONG_INLINE void loadRhs(const RhsScalar* b, RhsPacketType& dest) const
595
- {
596
- dest = pset1<RhsPacketType>(*b);
597
- }
598
-
599
- EIGEN_STRONG_INLINE void loadRhs(const RhsScalar* b, RhsPacketx4& dest) const
600
- {
601
- pbroadcast4(b, dest.B_0, dest.B1, dest.B2, dest.B3);
602
- }
603
-
604
- template<typename RhsPacketType>
605
- EIGEN_STRONG_INLINE void updateRhs(const RhsScalar* b, RhsPacketType& dest) const
606
- {
607
- loadRhs(b, dest);
608
- }
609
-
610
- EIGEN_STRONG_INLINE void updateRhs(const RhsScalar*, RhsPacketx4&) const
611
- {}
612
-
613
- EIGEN_STRONG_INLINE void loadRhsQuad(const RhsScalar* b, RhsPacket& dest) const
614
- {
615
- loadRhsQuad_impl(b,dest, typename conditional<RhsPacketSize==16,true_type,false_type>::type());
616
- }
617
-
618
- EIGEN_STRONG_INLINE void loadRhsQuad_impl(const RhsScalar* b, RhsPacket& dest, const true_type&) const
619
- {
620
- // FIXME we can do better!
621
- // what we want here is a ploadheight
622
- RhsScalar tmp[4] = {b[0],b[0],b[1],b[1]};
623
- dest = ploadquad<RhsPacket>(tmp);
624
- }
625
-
626
- EIGEN_STRONG_INLINE void loadRhsQuad_impl(const RhsScalar* b, RhsPacket& dest, const false_type&) const
627
- {
628
- eigen_internal_assert(RhsPacketSize<=8);
629
- dest = pset1<RhsPacket>(*b);
630
- }
631
-
632
- EIGEN_STRONG_INLINE void loadLhs(const LhsScalar* a, LhsPacket& dest) const
633
- {
634
- dest = pload<LhsPacket>(a);
635
- }
636
-
637
- template<typename LhsPacketType>
638
- EIGEN_STRONG_INLINE void loadLhsUnaligned(const LhsScalar* a, LhsPacketType& dest) const
639
- {
640
- dest = ploadu<LhsPacketType>(a);
641
- }
642
-
643
- template <typename LhsPacketType, typename RhsPacketType, typename AccPacketType, typename LaneIdType>
644
- EIGEN_STRONG_INLINE void madd(const LhsPacketType& a, const RhsPacketType& b, AccPacketType& c, RhsPacketType& tmp, const LaneIdType&) const
645
- {
646
- madd_impl(a, b, c, tmp, typename conditional<Vectorizable,true_type,false_type>::type());
647
- }
648
-
649
- template <typename LhsPacketType, typename RhsPacketType, typename AccPacketType>
650
- EIGEN_STRONG_INLINE void madd_impl(const LhsPacketType& a, const RhsPacketType& b, AccPacketType& c, RhsPacketType& tmp, const true_type&) const
651
- {
652
- #ifdef EIGEN_HAS_SINGLE_INSTRUCTION_MADD
653
- EIGEN_UNUSED_VARIABLE(tmp);
654
- c.v = pmadd(a.v,b,c.v);
655
- #else
656
- tmp = b; tmp = pmul(a.v,tmp); c.v = padd(c.v,tmp);
657
- #endif
658
- }
659
-
660
- EIGEN_STRONG_INLINE void madd_impl(const LhsScalar& a, const RhsScalar& b, ResScalar& c, RhsScalar& /*tmp*/, const false_type&) const
661
- {
662
- c += a * b;
663
- }
664
-
665
- template<typename LhsPacketType, typename AccPacketType, typename LaneIdType>
666
- EIGEN_STRONG_INLINE void madd(const LhsPacketType& a, const RhsPacketx4& b, AccPacketType& c, RhsPacket& tmp, const LaneIdType& lane) const
667
- {
668
- madd(a, b.get(lane), c, tmp, lane);
669
- }
670
-
671
- template <typename ResPacketType, typename AccPacketType>
672
- EIGEN_STRONG_INLINE void acc(const AccPacketType& c, const ResPacketType& alpha, ResPacketType& r) const
673
- {
674
- conj_helper<ResPacketType,ResPacketType,ConjLhs,false> cj;
675
- r = cj.pmadd(c,alpha,r);
676
- }
677
-
678
- protected:
679
- };
680
-
681
- template<typename Packet>
682
- struct DoublePacket
683
- {
684
- Packet first;
685
- Packet second;
686
- };
687
-
688
- template<typename Packet>
689
- DoublePacket<Packet> padd(const DoublePacket<Packet> &a, const DoublePacket<Packet> &b)
690
- {
691
- DoublePacket<Packet> res;
692
- res.first = padd(a.first, b.first);
693
- res.second = padd(a.second,b.second);
694
- return res;
695
- }
696
-
697
- // note that for DoublePacket<RealPacket> the "4" in "downto4"
698
- // corresponds to the number of complexes, so it means "8"
699
- // it terms of real coefficients.
700
-
701
- template<typename Packet>
702
- const DoublePacket<Packet>&
703
- predux_half_dowto4(const DoublePacket<Packet> &a,
704
- typename enable_if<unpacket_traits<Packet>::size<=8>::type* = 0)
705
- {
706
- return a;
707
- }
708
-
709
- template<typename Packet>
710
- DoublePacket<typename unpacket_traits<Packet>::half>
711
- predux_half_dowto4(const DoublePacket<Packet> &a,
712
- typename enable_if<unpacket_traits<Packet>::size==16>::type* = 0)
713
- {
714
- // yes, that's pretty hackish :(
715
- DoublePacket<typename unpacket_traits<Packet>::half> res;
716
- typedef std::complex<typename unpacket_traits<Packet>::type> Cplx;
717
- typedef typename packet_traits<Cplx>::type CplxPacket;
718
- res.first = predux_half_dowto4(CplxPacket(a.first)).v;
719
- res.second = predux_half_dowto4(CplxPacket(a.second)).v;
720
- return res;
721
- }
722
-
723
- // same here, "quad" actually means "8" in terms of real coefficients
724
- template<typename Scalar, typename RealPacket>
725
- void loadQuadToDoublePacket(const Scalar* b, DoublePacket<RealPacket>& dest,
726
- typename enable_if<unpacket_traits<RealPacket>::size<=8>::type* = 0)
727
- {
728
- dest.first = pset1<RealPacket>(numext::real(*b));
729
- dest.second = pset1<RealPacket>(numext::imag(*b));
730
- }
731
-
732
- template<typename Scalar, typename RealPacket>
733
- void loadQuadToDoublePacket(const Scalar* b, DoublePacket<RealPacket>& dest,
734
- typename enable_if<unpacket_traits<RealPacket>::size==16>::type* = 0)
735
- {
736
- // yes, that's pretty hackish too :(
737
- typedef typename NumTraits<Scalar>::Real RealScalar;
738
- RealScalar r[4] = {numext::real(b[0]), numext::real(b[0]), numext::real(b[1]), numext::real(b[1])};
739
- RealScalar i[4] = {numext::imag(b[0]), numext::imag(b[0]), numext::imag(b[1]), numext::imag(b[1])};
740
- dest.first = ploadquad<RealPacket>(r);
741
- dest.second = ploadquad<RealPacket>(i);
742
- }
743
-
744
-
745
- template<typename Packet> struct unpacket_traits<DoublePacket<Packet> > {
746
- typedef DoublePacket<typename unpacket_traits<Packet>::half> half;
747
- };
748
- // template<typename Packet>
749
- // DoublePacket<Packet> pmadd(const DoublePacket<Packet> &a, const DoublePacket<Packet> &b)
750
- // {
751
- // DoublePacket<Packet> res;
752
- // res.first = padd(a.first, b.first);
753
- // res.second = padd(a.second,b.second);
754
- // return res;
755
- // }
756
-
757
- template<typename RealScalar, bool _ConjLhs, bool _ConjRhs, int Arch, int _PacketSize>
758
- class gebp_traits<std::complex<RealScalar>, std::complex<RealScalar>, _ConjLhs, _ConjRhs, Arch, _PacketSize >
759
- {
760
- public:
761
- typedef std::complex<RealScalar> Scalar;
762
- typedef std::complex<RealScalar> LhsScalar;
763
- typedef std::complex<RealScalar> RhsScalar;
764
- typedef std::complex<RealScalar> ResScalar;
765
-
766
- PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize);
767
- PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize);
768
- PACKET_DECL_COND_PREFIX(_, Res, _PacketSize);
769
- PACKET_DECL_COND(Real, _PacketSize);
770
- PACKET_DECL_COND_SCALAR(_PacketSize);
771
-
772
- enum {
773
- ConjLhs = _ConjLhs,
774
- ConjRhs = _ConjRhs,
775
- Vectorizable = unpacket_traits<RealPacket>::vectorizable
776
- && unpacket_traits<ScalarPacket>::vectorizable,
777
- ResPacketSize = Vectorizable ? unpacket_traits<_ResPacket>::size : 1,
778
- LhsPacketSize = Vectorizable ? unpacket_traits<_LhsPacket>::size : 1,
779
- RhsPacketSize = Vectorizable ? unpacket_traits<RhsScalar>::size : 1,
780
- RealPacketSize = Vectorizable ? unpacket_traits<RealPacket>::size : 1,
781
-
782
- // FIXME: should depend on NumberOfRegisters
783
- nr = 4,
784
- mr = ResPacketSize,
785
-
786
- LhsProgress = ResPacketSize,
787
- RhsProgress = 1
788
- };
789
-
790
- typedef DoublePacket<RealPacket> DoublePacketType;
791
-
792
- typedef typename conditional<Vectorizable,ScalarPacket,Scalar>::type LhsPacket4Packing;
793
- typedef typename conditional<Vectorizable,RealPacket, Scalar>::type LhsPacket;
794
- typedef typename conditional<Vectorizable,DoublePacketType,Scalar>::type RhsPacket;
795
- typedef typename conditional<Vectorizable,ScalarPacket,Scalar>::type ResPacket;
796
- typedef typename conditional<Vectorizable,DoublePacketType,Scalar>::type AccPacket;
797
-
798
- // this actualy holds 8 packets!
799
- typedef QuadPacket<RhsPacket> RhsPacketx4;
800
-
801
- EIGEN_STRONG_INLINE void initAcc(Scalar& p) { p = Scalar(0); }
802
-
803
- EIGEN_STRONG_INLINE void initAcc(DoublePacketType& p)
804
- {
805
- p.first = pset1<RealPacket>(RealScalar(0));
806
- p.second = pset1<RealPacket>(RealScalar(0));
807
- }
808
-
809
- // Scalar path
810
- EIGEN_STRONG_INLINE void loadRhs(const RhsScalar* b, ScalarPacket& dest) const
811
- {
812
- dest = pset1<ScalarPacket>(*b);
813
- }
814
-
815
- // Vectorized path
816
- template<typename RealPacketType>
817
- EIGEN_STRONG_INLINE void loadRhs(const RhsScalar* b, DoublePacket<RealPacketType>& dest) const
818
- {
819
- dest.first = pset1<RealPacketType>(numext::real(*b));
820
- dest.second = pset1<RealPacketType>(numext::imag(*b));
821
- }
822
-
823
- EIGEN_STRONG_INLINE void loadRhs(const RhsScalar* b, RhsPacketx4& dest) const
824
- {
825
- loadRhs(b, dest.B_0);
826
- loadRhs(b + 1, dest.B1);
827
- loadRhs(b + 2, dest.B2);
828
- loadRhs(b + 3, dest.B3);
829
- }
830
-
831
- // Scalar path
832
- EIGEN_STRONG_INLINE void updateRhs(const RhsScalar* b, ScalarPacket& dest) const
833
- {
834
- loadRhs(b, dest);
835
- }
836
-
837
- // Vectorized path
838
- template<typename RealPacketType>
839
- EIGEN_STRONG_INLINE void updateRhs(const RhsScalar* b, DoublePacket<RealPacketType>& dest) const
840
- {
841
- loadRhs(b, dest);
842
- }
843
-
844
- EIGEN_STRONG_INLINE void updateRhs(const RhsScalar*, RhsPacketx4&) const {}
845
-
846
- EIGEN_STRONG_INLINE void loadRhsQuad(const RhsScalar* b, ResPacket& dest) const
847
- {
848
- loadRhs(b,dest);
849
- }
850
- EIGEN_STRONG_INLINE void loadRhsQuad(const RhsScalar* b, DoublePacketType& dest) const
851
- {
852
- loadQuadToDoublePacket(b,dest);
853
- }
854
-
855
- // nothing special here
856
- EIGEN_STRONG_INLINE void loadLhs(const LhsScalar* a, LhsPacket& dest) const
857
- {
858
- dest = pload<LhsPacket>((const typename unpacket_traits<LhsPacket>::type*)(a));
859
- }
860
-
861
- template<typename LhsPacketType>
862
- EIGEN_STRONG_INLINE void loadLhsUnaligned(const LhsScalar* a, LhsPacketType& dest) const
863
- {
864
- dest = ploadu<LhsPacketType>((const typename unpacket_traits<LhsPacketType>::type*)(a));
865
- }
866
-
867
- template<typename LhsPacketType, typename RhsPacketType, typename ResPacketType, typename TmpType, typename LaneIdType>
868
- EIGEN_STRONG_INLINE
869
- typename enable_if<!is_same<RhsPacketType,RhsPacketx4>::value>::type
870
- madd(const LhsPacketType& a, const RhsPacketType& b, DoublePacket<ResPacketType>& c, TmpType& /*tmp*/, const LaneIdType&) const
871
- {
872
- c.first = padd(pmul(a,b.first), c.first);
873
- c.second = padd(pmul(a,b.second),c.second);
874
- }
875
-
876
- template<typename LaneIdType>
877
- EIGEN_STRONG_INLINE void madd(const LhsPacket& a, const RhsPacket& b, ResPacket& c, RhsPacket& /*tmp*/, const LaneIdType&) const
878
- {
879
- c = cj.pmadd(a,b,c);
880
- }
881
-
882
- template<typename LhsPacketType, typename AccPacketType, typename LaneIdType>
883
- EIGEN_STRONG_INLINE void madd(const LhsPacketType& a, const RhsPacketx4& b, AccPacketType& c, RhsPacket& tmp, const LaneIdType& lane) const
884
- {
885
- madd(a, b.get(lane), c, tmp, lane);
886
- }
887
-
888
- EIGEN_STRONG_INLINE void acc(const Scalar& c, const Scalar& alpha, Scalar& r) const { r += alpha * c; }
889
-
890
- template<typename RealPacketType, typename ResPacketType>
891
- EIGEN_STRONG_INLINE void acc(const DoublePacket<RealPacketType>& c, const ResPacketType& alpha, ResPacketType& r) const
892
- {
893
- // assemble c
894
- ResPacketType tmp;
895
- if((!ConjLhs)&&(!ConjRhs))
896
- {
897
- tmp = pcplxflip(pconj(ResPacketType(c.second)));
898
- tmp = padd(ResPacketType(c.first),tmp);
899
- }
900
- else if((!ConjLhs)&&(ConjRhs))
901
- {
902
- tmp = pconj(pcplxflip(ResPacketType(c.second)));
903
- tmp = padd(ResPacketType(c.first),tmp);
904
- }
905
- else if((ConjLhs)&&(!ConjRhs))
906
- {
907
- tmp = pcplxflip(ResPacketType(c.second));
908
- tmp = padd(pconj(ResPacketType(c.first)),tmp);
909
- }
910
- else if((ConjLhs)&&(ConjRhs))
911
- {
912
- tmp = pcplxflip(ResPacketType(c.second));
913
- tmp = psub(pconj(ResPacketType(c.first)),tmp);
914
- }
915
-
916
- r = pmadd(tmp,alpha,r);
917
- }
918
-
919
- protected:
920
- conj_helper<LhsScalar,RhsScalar,ConjLhs,ConjRhs> cj;
921
- };
922
-
923
- template<typename RealScalar, bool _ConjRhs, int Arch, int _PacketSize>
924
- class gebp_traits<RealScalar, std::complex<RealScalar>, false, _ConjRhs, Arch, _PacketSize >
925
- {
926
- public:
927
- typedef std::complex<RealScalar> Scalar;
928
- typedef RealScalar LhsScalar;
929
- typedef Scalar RhsScalar;
930
- typedef Scalar ResScalar;
931
-
932
- PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize);
933
- PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize);
934
- PACKET_DECL_COND_PREFIX(_, Res, _PacketSize);
935
- PACKET_DECL_COND_PREFIX(_, Real, _PacketSize);
936
- PACKET_DECL_COND_SCALAR_PREFIX(_, _PacketSize);
937
-
938
- #undef PACKET_DECL_COND_SCALAR_PREFIX
939
- #undef PACKET_DECL_COND_PREFIX
940
- #undef PACKET_DECL_COND_SCALAR
941
- #undef PACKET_DECL_COND
942
-
943
- enum {
944
- ConjLhs = false,
945
- ConjRhs = _ConjRhs,
946
- Vectorizable = unpacket_traits<_RealPacket>::vectorizable
947
- && unpacket_traits<_ScalarPacket>::vectorizable,
948
- LhsPacketSize = Vectorizable ? unpacket_traits<_LhsPacket>::size : 1,
949
- RhsPacketSize = Vectorizable ? unpacket_traits<_RhsPacket>::size : 1,
950
- ResPacketSize = Vectorizable ? unpacket_traits<_ResPacket>::size : 1,
951
-
952
- NumberOfRegisters = EIGEN_ARCH_DEFAULT_NUMBER_OF_REGISTERS,
953
- // FIXME: should depend on NumberOfRegisters
954
- nr = 4,
955
- mr = (EIGEN_PLAIN_ENUM_MIN(16,NumberOfRegisters)/2/nr)*ResPacketSize,
956
-
957
- LhsProgress = ResPacketSize,
958
- RhsProgress = 1
959
- };
960
-
961
- typedef typename conditional<Vectorizable,_LhsPacket,LhsScalar>::type LhsPacket;
962
- typedef typename conditional<Vectorizable,_RhsPacket,RhsScalar>::type RhsPacket;
963
- typedef typename conditional<Vectorizable,_ResPacket,ResScalar>::type ResPacket;
964
- typedef LhsPacket LhsPacket4Packing;
965
- typedef QuadPacket<RhsPacket> RhsPacketx4;
966
- typedef ResPacket AccPacket;
967
-
968
- EIGEN_STRONG_INLINE void initAcc(AccPacket& p)
969
- {
970
- p = pset1<ResPacket>(ResScalar(0));
971
- }
972
-
973
- template<typename RhsPacketType>
974
- EIGEN_STRONG_INLINE void loadRhs(const RhsScalar* b, RhsPacketType& dest) const
975
- {
976
- dest = pset1<RhsPacketType>(*b);
977
- }
978
-
979
- EIGEN_STRONG_INLINE void loadRhs(const RhsScalar* b, RhsPacketx4& dest) const
980
- {
981
- pbroadcast4(b, dest.B_0, dest.B1, dest.B2, dest.B3);
982
- }
983
-
984
- template<typename RhsPacketType>
985
- EIGEN_STRONG_INLINE void updateRhs(const RhsScalar* b, RhsPacketType& dest) const
986
- {
987
- loadRhs(b, dest);
988
- }
989
-
990
- EIGEN_STRONG_INLINE void updateRhs(const RhsScalar*, RhsPacketx4&) const
991
- {}
992
-
993
- EIGEN_STRONG_INLINE void loadLhs(const LhsScalar* a, LhsPacket& dest) const
994
- {
995
- dest = ploaddup<LhsPacket>(a);
996
- }
997
-
998
- EIGEN_STRONG_INLINE void loadRhsQuad(const RhsScalar* b, RhsPacket& dest) const
999
- {
1000
- dest = ploadquad<RhsPacket>(b);
1001
- }
1002
-
1003
- template<typename LhsPacketType>
1004
- EIGEN_STRONG_INLINE void loadLhsUnaligned(const LhsScalar* a, LhsPacketType& dest) const
1005
- {
1006
- dest = ploaddup<LhsPacketType>(a);
1007
- }
1008
-
1009
- template <typename LhsPacketType, typename RhsPacketType, typename AccPacketType, typename LaneIdType>
1010
- EIGEN_STRONG_INLINE void madd(const LhsPacketType& a, const RhsPacketType& b, AccPacketType& c, RhsPacketType& tmp, const LaneIdType&) const
1011
- {
1012
- madd_impl(a, b, c, tmp, typename conditional<Vectorizable,true_type,false_type>::type());
1013
- }
1014
-
1015
- template <typename LhsPacketType, typename RhsPacketType, typename AccPacketType>
1016
- EIGEN_STRONG_INLINE void madd_impl(const LhsPacketType& a, const RhsPacketType& b, AccPacketType& c, RhsPacketType& tmp, const true_type&) const
1017
- {
1018
- #ifdef EIGEN_HAS_SINGLE_INSTRUCTION_MADD
1019
- EIGEN_UNUSED_VARIABLE(tmp);
1020
- c.v = pmadd(a,b.v,c.v);
1021
- #else
1022
- tmp = b; tmp.v = pmul(a,tmp.v); c = padd(c,tmp);
1023
- #endif
1024
-
1025
- }
1026
-
1027
- EIGEN_STRONG_INLINE void madd_impl(const LhsScalar& a, const RhsScalar& b, ResScalar& c, RhsScalar& /*tmp*/, const false_type&) const
1028
- {
1029
- c += a * b;
1030
- }
1031
-
1032
- template<typename LhsPacketType, typename AccPacketType, typename LaneIdType>
1033
- EIGEN_STRONG_INLINE void madd(const LhsPacketType& a, const RhsPacketx4& b, AccPacketType& c, RhsPacket& tmp, const LaneIdType& lane) const
1034
- {
1035
- madd(a, b.get(lane), c, tmp, lane);
1036
- }
1037
-
1038
- template <typename ResPacketType, typename AccPacketType>
1039
- EIGEN_STRONG_INLINE void acc(const AccPacketType& c, const ResPacketType& alpha, ResPacketType& r) const
1040
- {
1041
- conj_helper<ResPacketType,ResPacketType,false,ConjRhs> cj;
1042
- r = cj.pmadd(alpha,c,r);
1043
- }
1044
-
1045
- protected:
1046
-
1047
- };
1048
-
1049
- /* optimized General packed Block * packed Panel product kernel
1050
- *
1051
- * Mixing type logic: C += A * B
1052
- * | A | B | comments
1053
- * |real |cplx | no vectorization yet, would require to pack A with duplication
1054
- * |cplx |real | easy vectorization
1055
- */
1056
- template<typename LhsScalar, typename RhsScalar, typename Index, typename DataMapper, int mr, int nr, bool ConjugateLhs, bool ConjugateRhs>
1057
- struct gebp_kernel
1058
- {
1059
- typedef gebp_traits<LhsScalar,RhsScalar,ConjugateLhs,ConjugateRhs,Architecture::Target> Traits;
1060
- typedef gebp_traits<LhsScalar,RhsScalar,ConjugateLhs,ConjugateRhs,Architecture::Target,GEBPPacketHalf> HalfTraits;
1061
- typedef gebp_traits<LhsScalar,RhsScalar,ConjugateLhs,ConjugateRhs,Architecture::Target,GEBPPacketQuarter> QuarterTraits;
1062
-
1063
- typedef typename Traits::ResScalar ResScalar;
1064
- typedef typename Traits::LhsPacket LhsPacket;
1065
- typedef typename Traits::RhsPacket RhsPacket;
1066
- typedef typename Traits::ResPacket ResPacket;
1067
- typedef typename Traits::AccPacket AccPacket;
1068
- typedef typename Traits::RhsPacketx4 RhsPacketx4;
1069
-
1070
- typedef typename RhsPanelHelper<RhsPacket, RhsPacketx4, 15>::type RhsPanel15;
1071
-
1072
- typedef gebp_traits<RhsScalar,LhsScalar,ConjugateRhs,ConjugateLhs,Architecture::Target> SwappedTraits;
1073
-
1074
- typedef typename SwappedTraits::ResScalar SResScalar;
1075
- typedef typename SwappedTraits::LhsPacket SLhsPacket;
1076
- typedef typename SwappedTraits::RhsPacket SRhsPacket;
1077
- typedef typename SwappedTraits::ResPacket SResPacket;
1078
- typedef typename SwappedTraits::AccPacket SAccPacket;
1079
-
1080
- typedef typename HalfTraits::LhsPacket LhsPacketHalf;
1081
- typedef typename HalfTraits::RhsPacket RhsPacketHalf;
1082
- typedef typename HalfTraits::ResPacket ResPacketHalf;
1083
- typedef typename HalfTraits::AccPacket AccPacketHalf;
1084
-
1085
- typedef typename QuarterTraits::LhsPacket LhsPacketQuarter;
1086
- typedef typename QuarterTraits::RhsPacket RhsPacketQuarter;
1087
- typedef typename QuarterTraits::ResPacket ResPacketQuarter;
1088
- typedef typename QuarterTraits::AccPacket AccPacketQuarter;
1089
-
1090
- typedef typename DataMapper::LinearMapper LinearMapper;
1091
-
1092
- enum {
1093
- Vectorizable = Traits::Vectorizable,
1094
- LhsProgress = Traits::LhsProgress,
1095
- LhsProgressHalf = HalfTraits::LhsProgress,
1096
- LhsProgressQuarter = QuarterTraits::LhsProgress,
1097
- RhsProgress = Traits::RhsProgress,
1098
- RhsProgressHalf = HalfTraits::RhsProgress,
1099
- RhsProgressQuarter = QuarterTraits::RhsProgress,
1100
- ResPacketSize = Traits::ResPacketSize
1101
- };
1102
-
1103
- EIGEN_DONT_INLINE
1104
- void operator()(const DataMapper& res, const LhsScalar* blockA, const RhsScalar* blockB,
1105
- Index rows, Index depth, Index cols, ResScalar alpha,
1106
- Index strideA=-1, Index strideB=-1, Index offsetA=0, Index offsetB=0);
1107
- };
1108
-
1109
- template<typename LhsScalar, typename RhsScalar, typename Index, typename DataMapper, int mr, int nr, bool ConjugateLhs, bool ConjugateRhs,
1110
- int SwappedLhsProgress = gebp_traits<RhsScalar,LhsScalar,ConjugateRhs,ConjugateLhs,Architecture::Target>::LhsProgress>
1111
- struct last_row_process_16_packets
1112
- {
1113
- typedef gebp_traits<LhsScalar,RhsScalar,ConjugateLhs,ConjugateRhs,Architecture::Target> Traits;
1114
- typedef gebp_traits<RhsScalar,LhsScalar,ConjugateRhs,ConjugateLhs,Architecture::Target> SwappedTraits;
1115
-
1116
- typedef typename Traits::ResScalar ResScalar;
1117
- typedef typename SwappedTraits::LhsPacket SLhsPacket;
1118
- typedef typename SwappedTraits::RhsPacket SRhsPacket;
1119
- typedef typename SwappedTraits::ResPacket SResPacket;
1120
- typedef typename SwappedTraits::AccPacket SAccPacket;
1121
-
1122
- EIGEN_STRONG_INLINE void operator()(const DataMapper& res, SwappedTraits &straits, const LhsScalar* blA,
1123
- const RhsScalar* blB, Index depth, const Index endk, Index i, Index j2,
1124
- ResScalar alpha, SAccPacket &C0)
1125
- {
1126
- EIGEN_UNUSED_VARIABLE(res);
1127
- EIGEN_UNUSED_VARIABLE(straits);
1128
- EIGEN_UNUSED_VARIABLE(blA);
1129
- EIGEN_UNUSED_VARIABLE(blB);
1130
- EIGEN_UNUSED_VARIABLE(depth);
1131
- EIGEN_UNUSED_VARIABLE(endk);
1132
- EIGEN_UNUSED_VARIABLE(i);
1133
- EIGEN_UNUSED_VARIABLE(j2);
1134
- EIGEN_UNUSED_VARIABLE(alpha);
1135
- EIGEN_UNUSED_VARIABLE(C0);
1136
- }
1137
- };
1138
-
1139
-
1140
- template<typename LhsScalar, typename RhsScalar, typename Index, typename DataMapper, int mr, int nr, bool ConjugateLhs, bool ConjugateRhs>
1141
- struct last_row_process_16_packets<LhsScalar, RhsScalar, Index, DataMapper, mr, nr, ConjugateLhs, ConjugateRhs, 16> {
1142
- typedef gebp_traits<LhsScalar,RhsScalar,ConjugateLhs,ConjugateRhs,Architecture::Target> Traits;
1143
- typedef gebp_traits<RhsScalar,LhsScalar,ConjugateRhs,ConjugateLhs,Architecture::Target> SwappedTraits;
1144
-
1145
- typedef typename Traits::ResScalar ResScalar;
1146
- typedef typename SwappedTraits::LhsPacket SLhsPacket;
1147
- typedef typename SwappedTraits::RhsPacket SRhsPacket;
1148
- typedef typename SwappedTraits::ResPacket SResPacket;
1149
- typedef typename SwappedTraits::AccPacket SAccPacket;
1150
-
1151
- EIGEN_STRONG_INLINE void operator()(const DataMapper& res, SwappedTraits &straits, const LhsScalar* blA,
1152
- const RhsScalar* blB, Index depth, const Index endk, Index i, Index j2,
1153
- ResScalar alpha, SAccPacket &C0)
1154
- {
1155
- typedef typename unpacket_traits<typename unpacket_traits<SResPacket>::half>::half SResPacketQuarter;
1156
- typedef typename unpacket_traits<typename unpacket_traits<SLhsPacket>::half>::half SLhsPacketQuarter;
1157
- typedef typename unpacket_traits<typename unpacket_traits<SRhsPacket>::half>::half SRhsPacketQuarter;
1158
- typedef typename unpacket_traits<typename unpacket_traits<SAccPacket>::half>::half SAccPacketQuarter;
1159
-
1160
- SResPacketQuarter R = res.template gatherPacket<SResPacketQuarter>(i, j2);
1161
- SResPacketQuarter alphav = pset1<SResPacketQuarter>(alpha);
1162
-
1163
- if (depth - endk > 0)
1164
- {
1165
- // We have to handle the last row(s) of the rhs, which
1166
- // correspond to a half-packet
1167
- SAccPacketQuarter c0 = predux_half_dowto4(predux_half_dowto4(C0));
1168
-
1169
- for (Index kk = endk; kk < depth; kk++)
1170
- {
1171
- SLhsPacketQuarter a0;
1172
- SRhsPacketQuarter b0;
1173
- straits.loadLhsUnaligned(blB, a0);
1174
- straits.loadRhs(blA, b0);
1175
- straits.madd(a0,b0,c0,b0, fix<0>);
1176
- blB += SwappedTraits::LhsProgress/4;
1177
- blA += 1;
1178
- }
1179
- straits.acc(c0, alphav, R);
1180
- }
1181
- else
1182
- {
1183
- straits.acc(predux_half_dowto4(predux_half_dowto4(C0)), alphav, R);
1184
- }
1185
- res.scatterPacket(i, j2, R);
1186
- }
1187
- };
1188
-
1189
- template<int nr, Index LhsProgress, Index RhsProgress, typename LhsScalar, typename RhsScalar, typename ResScalar, typename AccPacket, typename LhsPacket, typename RhsPacket, typename ResPacket, typename GEBPTraits, typename LinearMapper, typename DataMapper>
1190
- struct lhs_process_one_packet
1191
- {
1192
- typedef typename GEBPTraits::RhsPacketx4 RhsPacketx4;
1193
-
1194
- EIGEN_STRONG_INLINE void peeled_kc_onestep(Index K, const LhsScalar* blA, const RhsScalar* blB, GEBPTraits traits, LhsPacket *A0, RhsPacketx4 *rhs_panel, RhsPacket *T0, AccPacket *C0, AccPacket *C1, AccPacket *C2, AccPacket *C3)
1195
- {
1196
- EIGEN_ASM_COMMENT("begin step of gebp micro kernel 1X4");
1197
- EIGEN_ASM_COMMENT("Note: these asm comments work around bug 935!");
1198
- traits.loadLhs(&blA[(0+1*K)*LhsProgress], *A0);
1199
- traits.loadRhs(&blB[(0+4*K)*RhsProgress], *rhs_panel);
1200
- traits.madd(*A0, *rhs_panel, *C0, *T0, fix<0>);
1201
- traits.madd(*A0, *rhs_panel, *C1, *T0, fix<1>);
1202
- traits.madd(*A0, *rhs_panel, *C2, *T0, fix<2>);
1203
- traits.madd(*A0, *rhs_panel, *C3, *T0, fix<3>);
1204
- #if EIGEN_GNUC_AT_LEAST(6,0) && defined(EIGEN_VECTORIZE_SSE)
1205
- __asm__ ("" : "+x,m" (*A0));
1206
- #endif
1207
- EIGEN_ASM_COMMENT("end step of gebp micro kernel 1X4");
1208
- }
1209
-
1210
- EIGEN_STRONG_INLINE void operator()(
1211
- const DataMapper& res, const LhsScalar* blockA, const RhsScalar* blockB, ResScalar alpha,
1212
- Index peelStart, Index peelEnd, Index strideA, Index strideB, Index offsetA, Index offsetB,
1213
- int prefetch_res_offset, Index peeled_kc, Index pk, Index cols, Index depth, Index packet_cols4)
1214
- {
1215
- GEBPTraits traits;
1216
-
1217
- // loops on each largest micro horizontal panel of lhs
1218
- // (LhsProgress x depth)
1219
- for(Index i=peelStart; i<peelEnd; i+=LhsProgress)
1220
- {
1221
- // loops on each largest micro vertical panel of rhs (depth * nr)
1222
- for(Index j2=0; j2<packet_cols4; j2+=nr)
1223
- {
1224
- // We select a LhsProgress x nr micro block of res
1225
- // which is entirely stored into 1 x nr registers.
1226
-
1227
- const LhsScalar* blA = &blockA[i*strideA+offsetA*(LhsProgress)];
1228
- prefetch(&blA[0]);
1229
-
1230
- // gets res block as register
1231
- AccPacket C0, C1, C2, C3;
1232
- traits.initAcc(C0);
1233
- traits.initAcc(C1);
1234
- traits.initAcc(C2);
1235
- traits.initAcc(C3);
1236
- // To improve instruction pipelining, let's double the accumulation registers:
1237
- // even k will accumulate in C*, while odd k will accumulate in D*.
1238
- // This trick is crutial to get good performance with FMA, otherwise it is
1239
- // actually faster to perform separated MUL+ADD because of a naturally
1240
- // better instruction-level parallelism.
1241
- AccPacket D0, D1, D2, D3;
1242
- traits.initAcc(D0);
1243
- traits.initAcc(D1);
1244
- traits.initAcc(D2);
1245
- traits.initAcc(D3);
1246
-
1247
- LinearMapper r0 = res.getLinearMapper(i, j2 + 0);
1248
- LinearMapper r1 = res.getLinearMapper(i, j2 + 1);
1249
- LinearMapper r2 = res.getLinearMapper(i, j2 + 2);
1250
- LinearMapper r3 = res.getLinearMapper(i, j2 + 3);
1251
-
1252
- r0.prefetch(prefetch_res_offset);
1253
- r1.prefetch(prefetch_res_offset);
1254
- r2.prefetch(prefetch_res_offset);
1255
- r3.prefetch(prefetch_res_offset);
1256
-
1257
- // performs "inner" products
1258
- const RhsScalar* blB = &blockB[j2*strideB+offsetB*nr];
1259
- prefetch(&blB[0]);
1260
- LhsPacket A0, A1;
1261
-
1262
- for(Index k=0; k<peeled_kc; k+=pk)
1263
- {
1264
- EIGEN_ASM_COMMENT("begin gebp micro kernel 1/half/quarterX4");
1265
- RhsPacketx4 rhs_panel;
1266
- RhsPacket T0;
1267
-
1268
- internal::prefetch(blB+(48+0));
1269
- peeled_kc_onestep(0, blA, blB, traits, &A0, &rhs_panel, &T0, &C0, &C1, &C2, &C3);
1270
- peeled_kc_onestep(1, blA, blB, traits, &A1, &rhs_panel, &T0, &D0, &D1, &D2, &D3);
1271
- peeled_kc_onestep(2, blA, blB, traits, &A0, &rhs_panel, &T0, &C0, &C1, &C2, &C3);
1272
- peeled_kc_onestep(3, blA, blB, traits, &A1, &rhs_panel, &T0, &D0, &D1, &D2, &D3);
1273
- internal::prefetch(blB+(48+16));
1274
- peeled_kc_onestep(4, blA, blB, traits, &A0, &rhs_panel, &T0, &C0, &C1, &C2, &C3);
1275
- peeled_kc_onestep(5, blA, blB, traits, &A1, &rhs_panel, &T0, &D0, &D1, &D2, &D3);
1276
- peeled_kc_onestep(6, blA, blB, traits, &A0, &rhs_panel, &T0, &C0, &C1, &C2, &C3);
1277
- peeled_kc_onestep(7, blA, blB, traits, &A1, &rhs_panel, &T0, &D0, &D1, &D2, &D3);
1278
-
1279
- blB += pk*4*RhsProgress;
1280
- blA += pk*LhsProgress;
1281
-
1282
- EIGEN_ASM_COMMENT("end gebp micro kernel 1/half/quarterX4");
1283
- }
1284
- C0 = padd(C0,D0);
1285
- C1 = padd(C1,D1);
1286
- C2 = padd(C2,D2);
1287
- C3 = padd(C3,D3);
1288
-
1289
- // process remaining peeled loop
1290
- for(Index k=peeled_kc; k<depth; k++)
1291
- {
1292
- RhsPacketx4 rhs_panel;
1293
- RhsPacket T0;
1294
- peeled_kc_onestep(0, blA, blB, traits, &A0, &rhs_panel, &T0, &C0, &C1, &C2, &C3);
1295
- blB += 4*RhsProgress;
1296
- blA += LhsProgress;
1297
- }
1298
-
1299
- ResPacket R0, R1;
1300
- ResPacket alphav = pset1<ResPacket>(alpha);
1301
-
1302
- R0 = r0.template loadPacket<ResPacket>(0);
1303
- R1 = r1.template loadPacket<ResPacket>(0);
1304
- traits.acc(C0, alphav, R0);
1305
- traits.acc(C1, alphav, R1);
1306
- r0.storePacket(0, R0);
1307
- r1.storePacket(0, R1);
1308
-
1309
- R0 = r2.template loadPacket<ResPacket>(0);
1310
- R1 = r3.template loadPacket<ResPacket>(0);
1311
- traits.acc(C2, alphav, R0);
1312
- traits.acc(C3, alphav, R1);
1313
- r2.storePacket(0, R0);
1314
- r3.storePacket(0, R1);
1315
- }
1316
-
1317
- // Deal with remaining columns of the rhs
1318
- for(Index j2=packet_cols4; j2<cols; j2++)
1319
- {
1320
- // One column at a time
1321
- const LhsScalar* blA = &blockA[i*strideA+offsetA*(LhsProgress)];
1322
- prefetch(&blA[0]);
1323
-
1324
- // gets res block as register
1325
- AccPacket C0;
1326
- traits.initAcc(C0);
1327
-
1328
- LinearMapper r0 = res.getLinearMapper(i, j2);
1329
-
1330
- // performs "inner" products
1331
- const RhsScalar* blB = &blockB[j2*strideB+offsetB];
1332
- LhsPacket A0;
1333
-
1334
- for(Index k= 0; k<peeled_kc; k+=pk)
1335
- {
1336
- EIGEN_ASM_COMMENT("begin gebp micro kernel 1/half/quarterX1");
1337
- RhsPacket B_0;
1338
-
1339
- #define EIGEN_GEBGP_ONESTEP(K) \
1340
- do { \
1341
- EIGEN_ASM_COMMENT("begin step of gebp micro kernel 1/half/quarterX1"); \
1342
- EIGEN_ASM_COMMENT("Note: these asm comments work around bug 935!"); \
1343
- /* FIXME: why unaligned???? */ \
1344
- traits.loadLhsUnaligned(&blA[(0+1*K)*LhsProgress], A0); \
1345
- traits.loadRhs(&blB[(0+K)*RhsProgress], B_0); \
1346
- traits.madd(A0, B_0, C0, B_0, fix<0>); \
1347
- EIGEN_ASM_COMMENT("end step of gebp micro kernel 1/half/quarterX1"); \
1348
- } while(false);
1349
-
1350
- EIGEN_GEBGP_ONESTEP(0);
1351
- EIGEN_GEBGP_ONESTEP(1);
1352
- EIGEN_GEBGP_ONESTEP(2);
1353
- EIGEN_GEBGP_ONESTEP(3);
1354
- EIGEN_GEBGP_ONESTEP(4);
1355
- EIGEN_GEBGP_ONESTEP(5);
1356
- EIGEN_GEBGP_ONESTEP(6);
1357
- EIGEN_GEBGP_ONESTEP(7);
1358
-
1359
- blB += pk*RhsProgress;
1360
- blA += pk*LhsProgress;
1361
-
1362
- EIGEN_ASM_COMMENT("end gebp micro kernel 1/half/quarterX1");
1363
- }
1364
-
1365
- // process remaining peeled loop
1366
- for(Index k=peeled_kc; k<depth; k++)
1367
- {
1368
- RhsPacket B_0;
1369
- EIGEN_GEBGP_ONESTEP(0);
1370
- blB += RhsProgress;
1371
- blA += LhsProgress;
1372
- }
1373
- #undef EIGEN_GEBGP_ONESTEP
1374
- ResPacket R0;
1375
- ResPacket alphav = pset1<ResPacket>(alpha);
1376
- R0 = r0.template loadPacket<ResPacket>(0);
1377
- traits.acc(C0, alphav, R0);
1378
- r0.storePacket(0, R0);
1379
- }
1380
- }
1381
- }
1382
- };
1383
-
1384
- template<int nr, Index LhsProgress, Index RhsProgress, typename LhsScalar, typename RhsScalar, typename ResScalar, typename AccPacket, typename LhsPacket, typename RhsPacket, typename ResPacket, typename GEBPTraits, typename LinearMapper, typename DataMapper>
1385
- struct lhs_process_fraction_of_packet : lhs_process_one_packet<nr, LhsProgress, RhsProgress, LhsScalar, RhsScalar, ResScalar, AccPacket, LhsPacket, RhsPacket, ResPacket, GEBPTraits, LinearMapper, DataMapper>
1386
- {
1387
-
1388
- EIGEN_STRONG_INLINE void peeled_kc_onestep(Index K, const LhsScalar* blA, const RhsScalar* blB, GEBPTraits traits, LhsPacket *A0, RhsPacket *B_0, RhsPacket *B1, RhsPacket *B2, RhsPacket *B3, AccPacket *C0, AccPacket *C1, AccPacket *C2, AccPacket *C3)
1389
- {
1390
- EIGEN_ASM_COMMENT("begin step of gebp micro kernel 1X4");
1391
- EIGEN_ASM_COMMENT("Note: these asm comments work around bug 935!");
1392
- traits.loadLhsUnaligned(&blA[(0+1*K)*(LhsProgress)], *A0);
1393
- traits.broadcastRhs(&blB[(0+4*K)*RhsProgress], *B_0, *B1, *B2, *B3);
1394
- traits.madd(*A0, *B_0, *C0, *B_0);
1395
- traits.madd(*A0, *B1, *C1, *B1);
1396
- traits.madd(*A0, *B2, *C2, *B2);
1397
- traits.madd(*A0, *B3, *C3, *B3);
1398
- EIGEN_ASM_COMMENT("end step of gebp micro kernel 1X4");
1399
- }
1400
- };
1401
-
1402
- template<typename LhsScalar, typename RhsScalar, typename Index, typename DataMapper, int mr, int nr, bool ConjugateLhs, bool ConjugateRhs>
1403
- EIGEN_DONT_INLINE
1404
- void gebp_kernel<LhsScalar,RhsScalar,Index,DataMapper,mr,nr,ConjugateLhs,ConjugateRhs>
1405
- ::operator()(const DataMapper& res, const LhsScalar* blockA, const RhsScalar* blockB,
1406
- Index rows, Index depth, Index cols, ResScalar alpha,
1407
- Index strideA, Index strideB, Index offsetA, Index offsetB)
1408
- {
1409
- Traits traits;
1410
- SwappedTraits straits;
1411
-
1412
- if(strideA==-1) strideA = depth;
1413
- if(strideB==-1) strideB = depth;
1414
- conj_helper<LhsScalar,RhsScalar,ConjugateLhs,ConjugateRhs> cj;
1415
- Index packet_cols4 = nr>=4 ? (cols/4) * 4 : 0;
1416
- const Index peeled_mc3 = mr>=3*Traits::LhsProgress ? (rows/(3*LhsProgress))*(3*LhsProgress) : 0;
1417
- const Index peeled_mc2 = mr>=2*Traits::LhsProgress ? peeled_mc3+((rows-peeled_mc3)/(2*LhsProgress))*(2*LhsProgress) : 0;
1418
- const Index peeled_mc1 = mr>=1*Traits::LhsProgress ? peeled_mc2+((rows-peeled_mc2)/(1*LhsProgress))*(1*LhsProgress) : 0;
1419
- const Index peeled_mc_half = mr>=LhsProgressHalf ? peeled_mc1+((rows-peeled_mc1)/(LhsProgressHalf))*(LhsProgressHalf) : 0;
1420
- const Index peeled_mc_quarter = mr>=LhsProgressQuarter ? peeled_mc_half+((rows-peeled_mc_half)/(LhsProgressQuarter))*(LhsProgressQuarter) : 0;
1421
- enum { pk = 8 }; // NOTE Such a large peeling factor is important for large matrices (~ +5% when >1000 on Haswell)
1422
- const Index peeled_kc = depth & ~(pk-1);
1423
- const int prefetch_res_offset = 32/sizeof(ResScalar);
1424
- // const Index depth2 = depth & ~1;
1425
-
1426
- //---------- Process 3 * LhsProgress rows at once ----------
1427
- // This corresponds to 3*LhsProgress x nr register blocks.
1428
- // Usually, make sense only with FMA
1429
- if(mr>=3*Traits::LhsProgress)
1430
- {
1431
- // Here, the general idea is to loop on each largest micro horizontal panel of the lhs (3*Traits::LhsProgress x depth)
1432
- // and on each largest micro vertical panel of the rhs (depth * nr).
1433
- // Blocking sizes, i.e., 'depth' has been computed so that the micro horizontal panel of the lhs fit in L1.
1434
- // However, if depth is too small, we can extend the number of rows of these horizontal panels.
1435
- // This actual number of rows is computed as follow:
1436
- const Index l1 = defaultL1CacheSize; // in Bytes, TODO, l1 should be passed to this function.
1437
- // The max(1, ...) here is needed because we may be using blocking params larger than what our known l1 cache size
1438
- // suggests we should be using: either because our known l1 cache size is inaccurate (e.g. on Android, we can only guess),
1439
- // or because we are testing specific blocking sizes.
1440
- const Index actual_panel_rows = (3*LhsProgress) * std::max<Index>(1,( (l1 - sizeof(ResScalar)*mr*nr - depth*nr*sizeof(RhsScalar)) / (depth * sizeof(LhsScalar) * 3*LhsProgress) ));
1441
- for(Index i1=0; i1<peeled_mc3; i1+=actual_panel_rows)
1442
- {
1443
- const Index actual_panel_end = (std::min)(i1+actual_panel_rows, peeled_mc3);
1444
- for(Index j2=0; j2<packet_cols4; j2+=nr)
1445
- {
1446
- for(Index i=i1; i<actual_panel_end; i+=3*LhsProgress)
1447
- {
1448
-
1449
- // We selected a 3*Traits::LhsProgress x nr micro block of res which is entirely
1450
- // stored into 3 x nr registers.
1451
-
1452
- const LhsScalar* blA = &blockA[i*strideA+offsetA*(3*LhsProgress)];
1453
- prefetch(&blA[0]);
1454
-
1455
- // gets res block as register
1456
- AccPacket C0, C1, C2, C3,
1457
- C4, C5, C6, C7,
1458
- C8, C9, C10, C11;
1459
- traits.initAcc(C0); traits.initAcc(C1); traits.initAcc(C2); traits.initAcc(C3);
1460
- traits.initAcc(C4); traits.initAcc(C5); traits.initAcc(C6); traits.initAcc(C7);
1461
- traits.initAcc(C8); traits.initAcc(C9); traits.initAcc(C10); traits.initAcc(C11);
1462
-
1463
- LinearMapper r0 = res.getLinearMapper(i, j2 + 0);
1464
- LinearMapper r1 = res.getLinearMapper(i, j2 + 1);
1465
- LinearMapper r2 = res.getLinearMapper(i, j2 + 2);
1466
- LinearMapper r3 = res.getLinearMapper(i, j2 + 3);
1467
-
1468
- r0.prefetch(0);
1469
- r1.prefetch(0);
1470
- r2.prefetch(0);
1471
- r3.prefetch(0);
1472
-
1473
- // performs "inner" products
1474
- const RhsScalar* blB = &blockB[j2*strideB+offsetB*nr];
1475
- prefetch(&blB[0]);
1476
- LhsPacket A0, A1;
1477
-
1478
- for(Index k=0; k<peeled_kc; k+=pk)
1479
- {
1480
- EIGEN_ASM_COMMENT("begin gebp micro kernel 3pX4");
1481
- // 15 registers are taken (12 for acc, 2 for lhs).
1482
- RhsPanel15 rhs_panel;
1483
- RhsPacket T0;
1484
- LhsPacket A2;
1485
- #if EIGEN_COMP_GNUC_STRICT && EIGEN_ARCH_ARM64 && defined(EIGEN_VECTORIZE_NEON) && !(EIGEN_GNUC_AT_LEAST(9,0))
1486
- // see http://eigen.tuxfamily.org/bz/show_bug.cgi?id=1633
1487
- // without this workaround A0, A1, and A2 are loaded in the same register,
1488
- // which is not good for pipelining
1489
- #define EIGEN_GEBP_3PX4_REGISTER_ALLOC_WORKAROUND __asm__ ("" : "+w,m" (A0), "+w,m" (A1), "+w,m" (A2));
1490
- #else
1491
- #define EIGEN_GEBP_3PX4_REGISTER_ALLOC_WORKAROUND
1492
- #endif
1493
- #define EIGEN_GEBP_ONESTEP(K) \
1494
- do { \
1495
- EIGEN_ASM_COMMENT("begin step of gebp micro kernel 3pX4"); \
1496
- EIGEN_ASM_COMMENT("Note: these asm comments work around bug 935!"); \
1497
- internal::prefetch(blA + (3 * K + 16) * LhsProgress); \
1498
- if (EIGEN_ARCH_ARM || EIGEN_ARCH_MIPS) { \
1499
- internal::prefetch(blB + (4 * K + 16) * RhsProgress); \
1500
- } /* Bug 953 */ \
1501
- traits.loadLhs(&blA[(0 + 3 * K) * LhsProgress], A0); \
1502
- traits.loadLhs(&blA[(1 + 3 * K) * LhsProgress], A1); \
1503
- traits.loadLhs(&blA[(2 + 3 * K) * LhsProgress], A2); \
1504
- EIGEN_GEBP_3PX4_REGISTER_ALLOC_WORKAROUND \
1505
- traits.loadRhs(blB + (0+4*K) * Traits::RhsProgress, rhs_panel); \
1506
- traits.madd(A0, rhs_panel, C0, T0, fix<0>); \
1507
- traits.madd(A1, rhs_panel, C4, T0, fix<0>); \
1508
- traits.madd(A2, rhs_panel, C8, T0, fix<0>); \
1509
- traits.updateRhs(blB + (1+4*K) * Traits::RhsProgress, rhs_panel); \
1510
- traits.madd(A0, rhs_panel, C1, T0, fix<1>); \
1511
- traits.madd(A1, rhs_panel, C5, T0, fix<1>); \
1512
- traits.madd(A2, rhs_panel, C9, T0, fix<1>); \
1513
- traits.updateRhs(blB + (2+4*K) * Traits::RhsProgress, rhs_panel); \
1514
- traits.madd(A0, rhs_panel, C2, T0, fix<2>); \
1515
- traits.madd(A1, rhs_panel, C6, T0, fix<2>); \
1516
- traits.madd(A2, rhs_panel, C10, T0, fix<2>); \
1517
- traits.updateRhs(blB + (3+4*K) * Traits::RhsProgress, rhs_panel); \
1518
- traits.madd(A0, rhs_panel, C3, T0, fix<3>); \
1519
- traits.madd(A1, rhs_panel, C7, T0, fix<3>); \
1520
- traits.madd(A2, rhs_panel, C11, T0, fix<3>); \
1521
- EIGEN_ASM_COMMENT("end step of gebp micro kernel 3pX4"); \
1522
- } while (false)
1523
-
1524
- internal::prefetch(blB);
1525
- EIGEN_GEBP_ONESTEP(0);
1526
- EIGEN_GEBP_ONESTEP(1);
1527
- EIGEN_GEBP_ONESTEP(2);
1528
- EIGEN_GEBP_ONESTEP(3);
1529
- EIGEN_GEBP_ONESTEP(4);
1530
- EIGEN_GEBP_ONESTEP(5);
1531
- EIGEN_GEBP_ONESTEP(6);
1532
- EIGEN_GEBP_ONESTEP(7);
1533
-
1534
- blB += pk*4*RhsProgress;
1535
- blA += pk*3*Traits::LhsProgress;
1536
-
1537
- EIGEN_ASM_COMMENT("end gebp micro kernel 3pX4");
1538
- }
1539
- // process remaining peeled loop
1540
- for(Index k=peeled_kc; k<depth; k++)
1541
- {
1542
- RhsPanel15 rhs_panel;
1543
- RhsPacket T0;
1544
- LhsPacket A2;
1545
- EIGEN_GEBP_ONESTEP(0);
1546
- blB += 4*RhsProgress;
1547
- blA += 3*Traits::LhsProgress;
1548
- }
1549
-
1550
- #undef EIGEN_GEBP_ONESTEP
1551
-
1552
- ResPacket R0, R1, R2;
1553
- ResPacket alphav = pset1<ResPacket>(alpha);
1554
-
1555
- R0 = r0.template loadPacket<ResPacket>(0 * Traits::ResPacketSize);
1556
- R1 = r0.template loadPacket<ResPacket>(1 * Traits::ResPacketSize);
1557
- R2 = r0.template loadPacket<ResPacket>(2 * Traits::ResPacketSize);
1558
- traits.acc(C0, alphav, R0);
1559
- traits.acc(C4, alphav, R1);
1560
- traits.acc(C8, alphav, R2);
1561
- r0.storePacket(0 * Traits::ResPacketSize, R0);
1562
- r0.storePacket(1 * Traits::ResPacketSize, R1);
1563
- r0.storePacket(2 * Traits::ResPacketSize, R2);
1564
-
1565
- R0 = r1.template loadPacket<ResPacket>(0 * Traits::ResPacketSize);
1566
- R1 = r1.template loadPacket<ResPacket>(1 * Traits::ResPacketSize);
1567
- R2 = r1.template loadPacket<ResPacket>(2 * Traits::ResPacketSize);
1568
- traits.acc(C1, alphav, R0);
1569
- traits.acc(C5, alphav, R1);
1570
- traits.acc(C9, alphav, R2);
1571
- r1.storePacket(0 * Traits::ResPacketSize, R0);
1572
- r1.storePacket(1 * Traits::ResPacketSize, R1);
1573
- r1.storePacket(2 * Traits::ResPacketSize, R2);
1574
-
1575
- R0 = r2.template loadPacket<ResPacket>(0 * Traits::ResPacketSize);
1576
- R1 = r2.template loadPacket<ResPacket>(1 * Traits::ResPacketSize);
1577
- R2 = r2.template loadPacket<ResPacket>(2 * Traits::ResPacketSize);
1578
- traits.acc(C2, alphav, R0);
1579
- traits.acc(C6, alphav, R1);
1580
- traits.acc(C10, alphav, R2);
1581
- r2.storePacket(0 * Traits::ResPacketSize, R0);
1582
- r2.storePacket(1 * Traits::ResPacketSize, R1);
1583
- r2.storePacket(2 * Traits::ResPacketSize, R2);
1584
-
1585
- R0 = r3.template loadPacket<ResPacket>(0 * Traits::ResPacketSize);
1586
- R1 = r3.template loadPacket<ResPacket>(1 * Traits::ResPacketSize);
1587
- R2 = r3.template loadPacket<ResPacket>(2 * Traits::ResPacketSize);
1588
- traits.acc(C3, alphav, R0);
1589
- traits.acc(C7, alphav, R1);
1590
- traits.acc(C11, alphav, R2);
1591
- r3.storePacket(0 * Traits::ResPacketSize, R0);
1592
- r3.storePacket(1 * Traits::ResPacketSize, R1);
1593
- r3.storePacket(2 * Traits::ResPacketSize, R2);
1594
- }
1595
- }
1596
-
1597
- // Deal with remaining columns of the rhs
1598
- for(Index j2=packet_cols4; j2<cols; j2++)
1599
- {
1600
- for(Index i=i1; i<actual_panel_end; i+=3*LhsProgress)
1601
- {
1602
- // One column at a time
1603
- const LhsScalar* blA = &blockA[i*strideA+offsetA*(3*Traits::LhsProgress)];
1604
- prefetch(&blA[0]);
1605
-
1606
- // gets res block as register
1607
- AccPacket C0, C4, C8;
1608
- traits.initAcc(C0);
1609
- traits.initAcc(C4);
1610
- traits.initAcc(C8);
1611
-
1612
- LinearMapper r0 = res.getLinearMapper(i, j2);
1613
- r0.prefetch(0);
1614
-
1615
- // performs "inner" products
1616
- const RhsScalar* blB = &blockB[j2*strideB+offsetB];
1617
- LhsPacket A0, A1, A2;
1618
-
1619
- for(Index k=0; k<peeled_kc; k+=pk)
1620
- {
1621
- EIGEN_ASM_COMMENT("begin gebp micro kernel 3pX1");
1622
- RhsPacket B_0;
1623
- #define EIGEN_GEBGP_ONESTEP(K) \
1624
- do { \
1625
- EIGEN_ASM_COMMENT("begin step of gebp micro kernel 3pX1"); \
1626
- EIGEN_ASM_COMMENT("Note: these asm comments work around bug 935!"); \
1627
- traits.loadLhs(&blA[(0 + 3 * K) * LhsProgress], A0); \
1628
- traits.loadLhs(&blA[(1 + 3 * K) * LhsProgress], A1); \
1629
- traits.loadLhs(&blA[(2 + 3 * K) * LhsProgress], A2); \
1630
- traits.loadRhs(&blB[(0 + K) * RhsProgress], B_0); \
1631
- traits.madd(A0, B_0, C0, B_0, fix<0>); \
1632
- traits.madd(A1, B_0, C4, B_0, fix<0>); \
1633
- traits.madd(A2, B_0, C8, B_0, fix<0>); \
1634
- EIGEN_ASM_COMMENT("end step of gebp micro kernel 3pX1"); \
1635
- } while (false)
1636
-
1637
- EIGEN_GEBGP_ONESTEP(0);
1638
- EIGEN_GEBGP_ONESTEP(1);
1639
- EIGEN_GEBGP_ONESTEP(2);
1640
- EIGEN_GEBGP_ONESTEP(3);
1641
- EIGEN_GEBGP_ONESTEP(4);
1642
- EIGEN_GEBGP_ONESTEP(5);
1643
- EIGEN_GEBGP_ONESTEP(6);
1644
- EIGEN_GEBGP_ONESTEP(7);
1645
-
1646
- blB += int(pk) * int(RhsProgress);
1647
- blA += int(pk) * 3 * int(Traits::LhsProgress);
1648
-
1649
- EIGEN_ASM_COMMENT("end gebp micro kernel 3pX1");
1650
- }
1651
-
1652
- // process remaining peeled loop
1653
- for(Index k=peeled_kc; k<depth; k++)
1654
- {
1655
- RhsPacket B_0;
1656
- EIGEN_GEBGP_ONESTEP(0);
1657
- blB += RhsProgress;
1658
- blA += 3*Traits::LhsProgress;
1659
- }
1660
- #undef EIGEN_GEBGP_ONESTEP
1661
- ResPacket R0, R1, R2;
1662
- ResPacket alphav = pset1<ResPacket>(alpha);
1663
-
1664
- R0 = r0.template loadPacket<ResPacket>(0 * Traits::ResPacketSize);
1665
- R1 = r0.template loadPacket<ResPacket>(1 * Traits::ResPacketSize);
1666
- R2 = r0.template loadPacket<ResPacket>(2 * Traits::ResPacketSize);
1667
- traits.acc(C0, alphav, R0);
1668
- traits.acc(C4, alphav, R1);
1669
- traits.acc(C8, alphav, R2);
1670
- r0.storePacket(0 * Traits::ResPacketSize, R0);
1671
- r0.storePacket(1 * Traits::ResPacketSize, R1);
1672
- r0.storePacket(2 * Traits::ResPacketSize, R2);
1673
- }
1674
- }
1675
- }
1676
- }
1677
-
1678
- //---------- Process 2 * LhsProgress rows at once ----------
1679
- if(mr>=2*Traits::LhsProgress)
1680
- {
1681
- const Index l1 = defaultL1CacheSize; // in Bytes, TODO, l1 should be passed to this function.
1682
- // The max(1, ...) here is needed because we may be using blocking params larger than what our known l1 cache size
1683
- // suggests we should be using: either because our known l1 cache size is inaccurate (e.g. on Android, we can only guess),
1684
- // or because we are testing specific blocking sizes.
1685
- Index actual_panel_rows = (2*LhsProgress) * std::max<Index>(1,( (l1 - sizeof(ResScalar)*mr*nr - depth*nr*sizeof(RhsScalar)) / (depth * sizeof(LhsScalar) * 2*LhsProgress) ));
1686
-
1687
- for(Index i1=peeled_mc3; i1<peeled_mc2; i1+=actual_panel_rows)
1688
- {
1689
- Index actual_panel_end = (std::min)(i1+actual_panel_rows, peeled_mc2);
1690
- for(Index j2=0; j2<packet_cols4; j2+=nr)
1691
- {
1692
- for(Index i=i1; i<actual_panel_end; i+=2*LhsProgress)
1693
- {
1694
-
1695
- // We selected a 2*Traits::LhsProgress x nr micro block of res which is entirely
1696
- // stored into 2 x nr registers.
1697
-
1698
- const LhsScalar* blA = &blockA[i*strideA+offsetA*(2*Traits::LhsProgress)];
1699
- prefetch(&blA[0]);
1700
-
1701
- // gets res block as register
1702
- AccPacket C0, C1, C2, C3,
1703
- C4, C5, C6, C7;
1704
- traits.initAcc(C0); traits.initAcc(C1); traits.initAcc(C2); traits.initAcc(C3);
1705
- traits.initAcc(C4); traits.initAcc(C5); traits.initAcc(C6); traits.initAcc(C7);
1706
-
1707
- LinearMapper r0 = res.getLinearMapper(i, j2 + 0);
1708
- LinearMapper r1 = res.getLinearMapper(i, j2 + 1);
1709
- LinearMapper r2 = res.getLinearMapper(i, j2 + 2);
1710
- LinearMapper r3 = res.getLinearMapper(i, j2 + 3);
1711
-
1712
- r0.prefetch(prefetch_res_offset);
1713
- r1.prefetch(prefetch_res_offset);
1714
- r2.prefetch(prefetch_res_offset);
1715
- r3.prefetch(prefetch_res_offset);
1716
-
1717
- // performs "inner" products
1718
- const RhsScalar* blB = &blockB[j2*strideB+offsetB*nr];
1719
- prefetch(&blB[0]);
1720
- LhsPacket A0, A1;
1721
-
1722
- for(Index k=0; k<peeled_kc; k+=pk)
1723
- {
1724
- EIGEN_ASM_COMMENT("begin gebp micro kernel 2pX4");
1725
- RhsPacketx4 rhs_panel;
1726
- RhsPacket T0;
1727
-
1728
- // NOTE: the begin/end asm comments below work around bug 935!
1729
- // but they are not enough for gcc>=6 without FMA (bug 1637)
1730
- #if EIGEN_GNUC_AT_LEAST(6,0) && defined(EIGEN_VECTORIZE_SSE)
1731
- #define EIGEN_GEBP_2PX4_SPILLING_WORKAROUND __asm__ ("" : [a0] "+x,m" (A0),[a1] "+x,m" (A1));
1732
- #else
1733
- #define EIGEN_GEBP_2PX4_SPILLING_WORKAROUND
1734
- #endif
1735
- #define EIGEN_GEBGP_ONESTEP(K) \
1736
- do { \
1737
- EIGEN_ASM_COMMENT("begin step of gebp micro kernel 2pX4"); \
1738
- traits.loadLhs(&blA[(0 + 2 * K) * LhsProgress], A0); \
1739
- traits.loadLhs(&blA[(1 + 2 * K) * LhsProgress], A1); \
1740
- traits.loadRhs(&blB[(0 + 4 * K) * RhsProgress], rhs_panel); \
1741
- traits.madd(A0, rhs_panel, C0, T0, fix<0>); \
1742
- traits.madd(A1, rhs_panel, C4, T0, fix<0>); \
1743
- traits.madd(A0, rhs_panel, C1, T0, fix<1>); \
1744
- traits.madd(A1, rhs_panel, C5, T0, fix<1>); \
1745
- traits.madd(A0, rhs_panel, C2, T0, fix<2>); \
1746
- traits.madd(A1, rhs_panel, C6, T0, fix<2>); \
1747
- traits.madd(A0, rhs_panel, C3, T0, fix<3>); \
1748
- traits.madd(A1, rhs_panel, C7, T0, fix<3>); \
1749
- EIGEN_GEBP_2PX4_SPILLING_WORKAROUND \
1750
- EIGEN_ASM_COMMENT("end step of gebp micro kernel 2pX4"); \
1751
- } while (false)
1752
-
1753
- internal::prefetch(blB+(48+0));
1754
- EIGEN_GEBGP_ONESTEP(0);
1755
- EIGEN_GEBGP_ONESTEP(1);
1756
- EIGEN_GEBGP_ONESTEP(2);
1757
- EIGEN_GEBGP_ONESTEP(3);
1758
- internal::prefetch(blB+(48+16));
1759
- EIGEN_GEBGP_ONESTEP(4);
1760
- EIGEN_GEBGP_ONESTEP(5);
1761
- EIGEN_GEBGP_ONESTEP(6);
1762
- EIGEN_GEBGP_ONESTEP(7);
1763
-
1764
- blB += pk*4*RhsProgress;
1765
- blA += pk*(2*Traits::LhsProgress);
1766
-
1767
- EIGEN_ASM_COMMENT("end gebp micro kernel 2pX4");
1768
- }
1769
- // process remaining peeled loop
1770
- for(Index k=peeled_kc; k<depth; k++)
1771
- {
1772
- RhsPacketx4 rhs_panel;
1773
- RhsPacket T0;
1774
- EIGEN_GEBGP_ONESTEP(0);
1775
- blB += 4*RhsProgress;
1776
- blA += 2*Traits::LhsProgress;
1777
- }
1778
- #undef EIGEN_GEBGP_ONESTEP
1779
-
1780
- ResPacket R0, R1, R2, R3;
1781
- ResPacket alphav = pset1<ResPacket>(alpha);
1782
-
1783
- R0 = r0.template loadPacket<ResPacket>(0 * Traits::ResPacketSize);
1784
- R1 = r0.template loadPacket<ResPacket>(1 * Traits::ResPacketSize);
1785
- R2 = r1.template loadPacket<ResPacket>(0 * Traits::ResPacketSize);
1786
- R3 = r1.template loadPacket<ResPacket>(1 * Traits::ResPacketSize);
1787
- traits.acc(C0, alphav, R0);
1788
- traits.acc(C4, alphav, R1);
1789
- traits.acc(C1, alphav, R2);
1790
- traits.acc(C5, alphav, R3);
1791
- r0.storePacket(0 * Traits::ResPacketSize, R0);
1792
- r0.storePacket(1 * Traits::ResPacketSize, R1);
1793
- r1.storePacket(0 * Traits::ResPacketSize, R2);
1794
- r1.storePacket(1 * Traits::ResPacketSize, R3);
1795
-
1796
- R0 = r2.template loadPacket<ResPacket>(0 * Traits::ResPacketSize);
1797
- R1 = r2.template loadPacket<ResPacket>(1 * Traits::ResPacketSize);
1798
- R2 = r3.template loadPacket<ResPacket>(0 * Traits::ResPacketSize);
1799
- R3 = r3.template loadPacket<ResPacket>(1 * Traits::ResPacketSize);
1800
- traits.acc(C2, alphav, R0);
1801
- traits.acc(C6, alphav, R1);
1802
- traits.acc(C3, alphav, R2);
1803
- traits.acc(C7, alphav, R3);
1804
- r2.storePacket(0 * Traits::ResPacketSize, R0);
1805
- r2.storePacket(1 * Traits::ResPacketSize, R1);
1806
- r3.storePacket(0 * Traits::ResPacketSize, R2);
1807
- r3.storePacket(1 * Traits::ResPacketSize, R3);
1808
- }
1809
- }
1810
-
1811
- // Deal with remaining columns of the rhs
1812
- for(Index j2=packet_cols4; j2<cols; j2++)
1813
- {
1814
- for(Index i=i1; i<actual_panel_end; i+=2*LhsProgress)
1815
- {
1816
- // One column at a time
1817
- const LhsScalar* blA = &blockA[i*strideA+offsetA*(2*Traits::LhsProgress)];
1818
- prefetch(&blA[0]);
1819
-
1820
- // gets res block as register
1821
- AccPacket C0, C4;
1822
- traits.initAcc(C0);
1823
- traits.initAcc(C4);
1824
-
1825
- LinearMapper r0 = res.getLinearMapper(i, j2);
1826
- r0.prefetch(prefetch_res_offset);
1827
-
1828
- // performs "inner" products
1829
- const RhsScalar* blB = &blockB[j2*strideB+offsetB];
1830
- LhsPacket A0, A1;
1831
-
1832
- for(Index k=0; k<peeled_kc; k+=pk)
1833
- {
1834
- EIGEN_ASM_COMMENT("begin gebp micro kernel 2pX1");
1835
- RhsPacket B_0, B1;
1836
-
1837
- #define EIGEN_GEBGP_ONESTEP(K) \
1838
- do { \
1839
- EIGEN_ASM_COMMENT("begin step of gebp micro kernel 2pX1"); \
1840
- EIGEN_ASM_COMMENT("Note: these asm comments work around bug 935!"); \
1841
- traits.loadLhs(&blA[(0+2*K)*LhsProgress], A0); \
1842
- traits.loadLhs(&blA[(1+2*K)*LhsProgress], A1); \
1843
- traits.loadRhs(&blB[(0+K)*RhsProgress], B_0); \
1844
- traits.madd(A0, B_0, C0, B1, fix<0>); \
1845
- traits.madd(A1, B_0, C4, B_0, fix<0>); \
1846
- EIGEN_ASM_COMMENT("end step of gebp micro kernel 2pX1"); \
1847
- } while(false)
1848
-
1849
- EIGEN_GEBGP_ONESTEP(0);
1850
- EIGEN_GEBGP_ONESTEP(1);
1851
- EIGEN_GEBGP_ONESTEP(2);
1852
- EIGEN_GEBGP_ONESTEP(3);
1853
- EIGEN_GEBGP_ONESTEP(4);
1854
- EIGEN_GEBGP_ONESTEP(5);
1855
- EIGEN_GEBGP_ONESTEP(6);
1856
- EIGEN_GEBGP_ONESTEP(7);
1857
-
1858
- blB += int(pk) * int(RhsProgress);
1859
- blA += int(pk) * 2 * int(Traits::LhsProgress);
1860
-
1861
- EIGEN_ASM_COMMENT("end gebp micro kernel 2pX1");
1862
- }
1863
-
1864
- // process remaining peeled loop
1865
- for(Index k=peeled_kc; k<depth; k++)
1866
- {
1867
- RhsPacket B_0, B1;
1868
- EIGEN_GEBGP_ONESTEP(0);
1869
- blB += RhsProgress;
1870
- blA += 2*Traits::LhsProgress;
1871
- }
1872
- #undef EIGEN_GEBGP_ONESTEP
1873
- ResPacket R0, R1;
1874
- ResPacket alphav = pset1<ResPacket>(alpha);
1875
-
1876
- R0 = r0.template loadPacket<ResPacket>(0 * Traits::ResPacketSize);
1877
- R1 = r0.template loadPacket<ResPacket>(1 * Traits::ResPacketSize);
1878
- traits.acc(C0, alphav, R0);
1879
- traits.acc(C4, alphav, R1);
1880
- r0.storePacket(0 * Traits::ResPacketSize, R0);
1881
- r0.storePacket(1 * Traits::ResPacketSize, R1);
1882
- }
1883
- }
1884
- }
1885
- }
1886
- //---------- Process 1 * LhsProgress rows at once ----------
1887
- if(mr>=1*Traits::LhsProgress)
1888
- {
1889
- lhs_process_one_packet<nr, LhsProgress, RhsProgress, LhsScalar, RhsScalar, ResScalar, AccPacket, LhsPacket, RhsPacket, ResPacket, Traits, LinearMapper, DataMapper> p;
1890
- p(res, blockA, blockB, alpha, peeled_mc2, peeled_mc1, strideA, strideB, offsetA, offsetB, prefetch_res_offset, peeled_kc, pk, cols, depth, packet_cols4);
1891
- }
1892
- //---------- Process LhsProgressHalf rows at once ----------
1893
- if((LhsProgressHalf < LhsProgress) && mr>=LhsProgressHalf)
1894
- {
1895
- lhs_process_fraction_of_packet<nr, LhsProgressHalf, RhsProgressHalf, LhsScalar, RhsScalar, ResScalar, AccPacketHalf, LhsPacketHalf, RhsPacketHalf, ResPacketHalf, HalfTraits, LinearMapper, DataMapper> p;
1896
- p(res, blockA, blockB, alpha, peeled_mc1, peeled_mc_half, strideA, strideB, offsetA, offsetB, prefetch_res_offset, peeled_kc, pk, cols, depth, packet_cols4);
1897
- }
1898
- //---------- Process LhsProgressQuarter rows at once ----------
1899
- if((LhsProgressQuarter < LhsProgressHalf) && mr>=LhsProgressQuarter)
1900
- {
1901
- lhs_process_fraction_of_packet<nr, LhsProgressQuarter, RhsProgressQuarter, LhsScalar, RhsScalar, ResScalar, AccPacketQuarter, LhsPacketQuarter, RhsPacketQuarter, ResPacketQuarter, QuarterTraits, LinearMapper, DataMapper> p;
1902
- p(res, blockA, blockB, alpha, peeled_mc_half, peeled_mc_quarter, strideA, strideB, offsetA, offsetB, prefetch_res_offset, peeled_kc, pk, cols, depth, packet_cols4);
1903
- }
1904
- //---------- Process remaining rows, 1 at once ----------
1905
- if(peeled_mc_quarter<rows)
1906
- {
1907
- // loop on each panel of the rhs
1908
- for(Index j2=0; j2<packet_cols4; j2+=nr)
1909
- {
1910
- // loop on each row of the lhs (1*LhsProgress x depth)
1911
- for(Index i=peeled_mc_quarter; i<rows; i+=1)
1912
- {
1913
- const LhsScalar* blA = &blockA[i*strideA+offsetA];
1914
- prefetch(&blA[0]);
1915
- const RhsScalar* blB = &blockB[j2*strideB+offsetB*nr];
1916
-
1917
- // If LhsProgress is 8 or 16, it assumes that there is a
1918
- // half or quarter packet, respectively, of the same size as
1919
- // nr (which is currently 4) for the return type.
1920
- const int SResPacketHalfSize = unpacket_traits<typename unpacket_traits<SResPacket>::half>::size;
1921
- const int SResPacketQuarterSize = unpacket_traits<typename unpacket_traits<typename unpacket_traits<SResPacket>::half>::half>::size;
1922
- if ((SwappedTraits::LhsProgress % 4) == 0 &&
1923
- (SwappedTraits::LhsProgress<=16) &&
1924
- (SwappedTraits::LhsProgress!=8 || SResPacketHalfSize==nr) &&
1925
- (SwappedTraits::LhsProgress!=16 || SResPacketQuarterSize==nr))
1926
- {
1927
- SAccPacket C0, C1, C2, C3;
1928
- straits.initAcc(C0);
1929
- straits.initAcc(C1);
1930
- straits.initAcc(C2);
1931
- straits.initAcc(C3);
1932
-
1933
- const Index spk = (std::max)(1,SwappedTraits::LhsProgress/4);
1934
- const Index endk = (depth/spk)*spk;
1935
- const Index endk4 = (depth/(spk*4))*(spk*4);
1936
-
1937
- Index k=0;
1938
- for(; k<endk4; k+=4*spk)
1939
- {
1940
- SLhsPacket A0,A1;
1941
- SRhsPacket B_0,B_1;
1942
-
1943
- straits.loadLhsUnaligned(blB+0*SwappedTraits::LhsProgress, A0);
1944
- straits.loadLhsUnaligned(blB+1*SwappedTraits::LhsProgress, A1);
1945
-
1946
- straits.loadRhsQuad(blA+0*spk, B_0);
1947
- straits.loadRhsQuad(blA+1*spk, B_1);
1948
- straits.madd(A0,B_0,C0,B_0, fix<0>);
1949
- straits.madd(A1,B_1,C1,B_1, fix<0>);
1950
-
1951
- straits.loadLhsUnaligned(blB+2*SwappedTraits::LhsProgress, A0);
1952
- straits.loadLhsUnaligned(blB+3*SwappedTraits::LhsProgress, A1);
1953
- straits.loadRhsQuad(blA+2*spk, B_0);
1954
- straits.loadRhsQuad(blA+3*spk, B_1);
1955
- straits.madd(A0,B_0,C2,B_0, fix<0>);
1956
- straits.madd(A1,B_1,C3,B_1, fix<0>);
1957
-
1958
- blB += 4*SwappedTraits::LhsProgress;
1959
- blA += 4*spk;
1960
- }
1961
- C0 = padd(padd(C0,C1),padd(C2,C3));
1962
- for(; k<endk; k+=spk)
1963
- {
1964
- SLhsPacket A0;
1965
- SRhsPacket B_0;
1966
-
1967
- straits.loadLhsUnaligned(blB, A0);
1968
- straits.loadRhsQuad(blA, B_0);
1969
- straits.madd(A0,B_0,C0,B_0, fix<0>);
1970
-
1971
- blB += SwappedTraits::LhsProgress;
1972
- blA += spk;
1973
- }
1974
- if(SwappedTraits::LhsProgress==8)
1975
- {
1976
- // Special case where we have to first reduce the accumulation register C0
1977
- typedef typename conditional<SwappedTraits::LhsProgress>=8,typename unpacket_traits<SResPacket>::half,SResPacket>::type SResPacketHalf;
1978
- typedef typename conditional<SwappedTraits::LhsProgress>=8,typename unpacket_traits<SLhsPacket>::half,SLhsPacket>::type SLhsPacketHalf;
1979
- typedef typename conditional<SwappedTraits::LhsProgress>=8,typename unpacket_traits<SRhsPacket>::half,SRhsPacket>::type SRhsPacketHalf;
1980
- typedef typename conditional<SwappedTraits::LhsProgress>=8,typename unpacket_traits<SAccPacket>::half,SAccPacket>::type SAccPacketHalf;
1981
-
1982
- SResPacketHalf R = res.template gatherPacket<SResPacketHalf>(i, j2);
1983
- SResPacketHalf alphav = pset1<SResPacketHalf>(alpha);
1984
-
1985
- if(depth-endk>0)
1986
- {
1987
- // We have to handle the last row of the rhs which corresponds to a half-packet
1988
- SLhsPacketHalf a0;
1989
- SRhsPacketHalf b0;
1990
- straits.loadLhsUnaligned(blB, a0);
1991
- straits.loadRhs(blA, b0);
1992
- SAccPacketHalf c0 = predux_half_dowto4(C0);
1993
- straits.madd(a0,b0,c0,b0, fix<0>);
1994
- straits.acc(c0, alphav, R);
1995
- }
1996
- else
1997
- {
1998
- straits.acc(predux_half_dowto4(C0), alphav, R);
1999
- }
2000
- res.scatterPacket(i, j2, R);
2001
- }
2002
- else if (SwappedTraits::LhsProgress==16)
2003
- {
2004
- // Special case where we have to first reduce the
2005
- // accumulation register C0. We specialize the block in
2006
- // template form, so that LhsProgress < 16 paths don't
2007
- // fail to compile
2008
- last_row_process_16_packets<LhsScalar, RhsScalar, Index, DataMapper, mr, nr, ConjugateLhs, ConjugateRhs> p;
2009
- p(res, straits, blA, blB, depth, endk, i, j2,alpha, C0);
2010
- }
2011
- else
2012
- {
2013
- SResPacket R = res.template gatherPacket<SResPacket>(i, j2);
2014
- SResPacket alphav = pset1<SResPacket>(alpha);
2015
- straits.acc(C0, alphav, R);
2016
- res.scatterPacket(i, j2, R);
2017
- }
2018
- }
2019
- else // scalar path
2020
- {
2021
- // get a 1 x 4 res block as registers
2022
- ResScalar C0(0), C1(0), C2(0), C3(0);
2023
-
2024
- for(Index k=0; k<depth; k++)
2025
- {
2026
- LhsScalar A0;
2027
- RhsScalar B_0, B_1;
2028
-
2029
- A0 = blA[k];
2030
-
2031
- B_0 = blB[0];
2032
- B_1 = blB[1];
2033
- C0 = cj.pmadd(A0,B_0,C0);
2034
- C1 = cj.pmadd(A0,B_1,C1);
2035
-
2036
- B_0 = blB[2];
2037
- B_1 = blB[3];
2038
- C2 = cj.pmadd(A0,B_0,C2);
2039
- C3 = cj.pmadd(A0,B_1,C3);
2040
-
2041
- blB += 4;
2042
- }
2043
- res(i, j2 + 0) += alpha * C0;
2044
- res(i, j2 + 1) += alpha * C1;
2045
- res(i, j2 + 2) += alpha * C2;
2046
- res(i, j2 + 3) += alpha * C3;
2047
- }
2048
- }
2049
- }
2050
- // remaining columns
2051
- for(Index j2=packet_cols4; j2<cols; j2++)
2052
- {
2053
- // loop on each row of the lhs (1*LhsProgress x depth)
2054
- for(Index i=peeled_mc_quarter; i<rows; i+=1)
2055
- {
2056
- const LhsScalar* blA = &blockA[i*strideA+offsetA];
2057
- prefetch(&blA[0]);
2058
- // gets a 1 x 1 res block as registers
2059
- ResScalar C0(0);
2060
- const RhsScalar* blB = &blockB[j2*strideB+offsetB];
2061
- for(Index k=0; k<depth; k++)
2062
- {
2063
- LhsScalar A0 = blA[k];
2064
- RhsScalar B_0 = blB[k];
2065
- C0 = cj.pmadd(A0, B_0, C0);
2066
- }
2067
- res(i, j2) += alpha * C0;
2068
- }
2069
- }
2070
- }
2071
- }
2072
-
2073
-
2074
- // pack a block of the lhs
2075
- // The traversal is as follow (mr==4):
2076
- // 0 4 8 12 ...
2077
- // 1 5 9 13 ...
2078
- // 2 6 10 14 ...
2079
- // 3 7 11 15 ...
2080
- //
2081
- // 16 20 24 28 ...
2082
- // 17 21 25 29 ...
2083
- // 18 22 26 30 ...
2084
- // 19 23 27 31 ...
2085
- //
2086
- // 32 33 34 35 ...
2087
- // 36 36 38 39 ...
2088
- template<typename Scalar, typename Index, typename DataMapper, int Pack1, int Pack2, typename Packet, bool Conjugate, bool PanelMode>
2089
- struct gemm_pack_lhs<Scalar, Index, DataMapper, Pack1, Pack2, Packet, ColMajor, Conjugate, PanelMode>
2090
- {
2091
- typedef typename DataMapper::LinearMapper LinearMapper;
2092
- EIGEN_DONT_INLINE void operator()(Scalar* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride=0, Index offset=0);
2093
- };
2094
-
2095
- template<typename Scalar, typename Index, typename DataMapper, int Pack1, int Pack2, typename Packet, bool Conjugate, bool PanelMode>
2096
- EIGEN_DONT_INLINE void gemm_pack_lhs<Scalar, Index, DataMapper, Pack1, Pack2, Packet, ColMajor, Conjugate, PanelMode>
2097
- ::operator()(Scalar* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride, Index offset)
2098
- {
2099
- typedef typename unpacket_traits<Packet>::half HalfPacket;
2100
- typedef typename unpacket_traits<typename unpacket_traits<Packet>::half>::half QuarterPacket;
2101
- enum { PacketSize = unpacket_traits<Packet>::size,
2102
- HalfPacketSize = unpacket_traits<HalfPacket>::size,
2103
- QuarterPacketSize = unpacket_traits<QuarterPacket>::size,
2104
- HasHalf = (int)HalfPacketSize < (int)PacketSize,
2105
- HasQuarter = (int)QuarterPacketSize < (int)HalfPacketSize};
2106
-
2107
- EIGEN_ASM_COMMENT("EIGEN PRODUCT PACK LHS");
2108
- EIGEN_UNUSED_VARIABLE(stride);
2109
- EIGEN_UNUSED_VARIABLE(offset);
2110
- eigen_assert(((!PanelMode) && stride==0 && offset==0) || (PanelMode && stride>=depth && offset<=stride));
2111
- eigen_assert( ((Pack1%PacketSize)==0 && Pack1<=4*PacketSize) || (Pack1<=4) );
2112
- conj_if<NumTraits<Scalar>::IsComplex && Conjugate> cj;
2113
- Index count = 0;
2114
-
2115
- const Index peeled_mc3 = Pack1>=3*PacketSize ? (rows/(3*PacketSize))*(3*PacketSize) : 0;
2116
- const Index peeled_mc2 = Pack1>=2*PacketSize ? peeled_mc3+((rows-peeled_mc3)/(2*PacketSize))*(2*PacketSize) : 0;
2117
- const Index peeled_mc1 = Pack1>=1*PacketSize ? peeled_mc2+((rows-peeled_mc2)/(1*PacketSize))*(1*PacketSize) : 0;
2118
- const Index peeled_mc_half = Pack1>=HalfPacketSize ? peeled_mc1+((rows-peeled_mc1)/(HalfPacketSize))*(HalfPacketSize) : 0;
2119
- const Index peeled_mc_quarter = Pack1>=QuarterPacketSize ? (rows/(QuarterPacketSize))*(QuarterPacketSize) : 0;
2120
- const Index last_lhs_progress = rows > peeled_mc_quarter ? (rows - peeled_mc_quarter) & ~1 : 0;
2121
- const Index peeled_mc0 = Pack2>=PacketSize ? peeled_mc_quarter
2122
- : Pack2>1 && last_lhs_progress ? (rows/last_lhs_progress)*last_lhs_progress : 0;
2123
-
2124
- Index i=0;
2125
-
2126
- // Pack 3 packets
2127
- if(Pack1>=3*PacketSize)
2128
- {
2129
- for(; i<peeled_mc3; i+=3*PacketSize)
2130
- {
2131
- if(PanelMode) count += (3*PacketSize) * offset;
2132
-
2133
- for(Index k=0; k<depth; k++)
2134
- {
2135
- Packet A, B, C;
2136
- A = lhs.template loadPacket<Packet>(i+0*PacketSize, k);
2137
- B = lhs.template loadPacket<Packet>(i+1*PacketSize, k);
2138
- C = lhs.template loadPacket<Packet>(i+2*PacketSize, k);
2139
- pstore(blockA+count, cj.pconj(A)); count+=PacketSize;
2140
- pstore(blockA+count, cj.pconj(B)); count+=PacketSize;
2141
- pstore(blockA+count, cj.pconj(C)); count+=PacketSize;
2142
- }
2143
- if(PanelMode) count += (3*PacketSize) * (stride-offset-depth);
2144
- }
2145
- }
2146
- // Pack 2 packets
2147
- if(Pack1>=2*PacketSize)
2148
- {
2149
- for(; i<peeled_mc2; i+=2*PacketSize)
2150
- {
2151
- if(PanelMode) count += (2*PacketSize) * offset;
2152
-
2153
- for(Index k=0; k<depth; k++)
2154
- {
2155
- Packet A, B;
2156
- A = lhs.template loadPacket<Packet>(i+0*PacketSize, k);
2157
- B = lhs.template loadPacket<Packet>(i+1*PacketSize, k);
2158
- pstore(blockA+count, cj.pconj(A)); count+=PacketSize;
2159
- pstore(blockA+count, cj.pconj(B)); count+=PacketSize;
2160
- }
2161
- if(PanelMode) count += (2*PacketSize) * (stride-offset-depth);
2162
- }
2163
- }
2164
- // Pack 1 packets
2165
- if(Pack1>=1*PacketSize)
2166
- {
2167
- for(; i<peeled_mc1; i+=1*PacketSize)
2168
- {
2169
- if(PanelMode) count += (1*PacketSize) * offset;
2170
-
2171
- for(Index k=0; k<depth; k++)
2172
- {
2173
- Packet A;
2174
- A = lhs.template loadPacket<Packet>(i+0*PacketSize, k);
2175
- pstore(blockA+count, cj.pconj(A));
2176
- count+=PacketSize;
2177
- }
2178
- if(PanelMode) count += (1*PacketSize) * (stride-offset-depth);
2179
- }
2180
- }
2181
- // Pack half packets
2182
- if(HasHalf && Pack1>=HalfPacketSize)
2183
- {
2184
- for(; i<peeled_mc_half; i+=HalfPacketSize)
2185
- {
2186
- if(PanelMode) count += (HalfPacketSize) * offset;
2187
-
2188
- for(Index k=0; k<depth; k++)
2189
- {
2190
- HalfPacket A;
2191
- A = lhs.template loadPacket<HalfPacket>(i+0*(HalfPacketSize), k);
2192
- pstoreu(blockA+count, cj.pconj(A));
2193
- count+=HalfPacketSize;
2194
- }
2195
- if(PanelMode) count += (HalfPacketSize) * (stride-offset-depth);
2196
- }
2197
- }
2198
- // Pack quarter packets
2199
- if(HasQuarter && Pack1>=QuarterPacketSize)
2200
- {
2201
- for(; i<peeled_mc_quarter; i+=QuarterPacketSize)
2202
- {
2203
- if(PanelMode) count += (QuarterPacketSize) * offset;
2204
-
2205
- for(Index k=0; k<depth; k++)
2206
- {
2207
- QuarterPacket A;
2208
- A = lhs.template loadPacket<QuarterPacket>(i+0*(QuarterPacketSize), k);
2209
- pstoreu(blockA+count, cj.pconj(A));
2210
- count+=QuarterPacketSize;
2211
- }
2212
- if(PanelMode) count += (QuarterPacketSize) * (stride-offset-depth);
2213
- }
2214
- }
2215
- // Pack2 may be *smaller* than PacketSize—that happens for
2216
- // products like real * complex, where we have to go half the
2217
- // progress on the lhs in order to duplicate those operands to
2218
- // address both real & imaginary parts on the rhs. This portion will
2219
- // pack those half ones until they match the number expected on the
2220
- // last peeling loop at this point (for the rhs).
2221
- if(Pack2<PacketSize && Pack2>1)
2222
- {
2223
- for(; i<peeled_mc0; i+=last_lhs_progress)
2224
- {
2225
- if(PanelMode) count += last_lhs_progress * offset;
2226
-
2227
- for(Index k=0; k<depth; k++)
2228
- for(Index w=0; w<last_lhs_progress; w++)
2229
- blockA[count++] = cj(lhs(i+w, k));
2230
-
2231
- if(PanelMode) count += last_lhs_progress * (stride-offset-depth);
2232
- }
2233
- }
2234
- // Pack scalars
2235
- for(; i<rows; i++)
2236
- {
2237
- if(PanelMode) count += offset;
2238
- for(Index k=0; k<depth; k++)
2239
- blockA[count++] = cj(lhs(i, k));
2240
- if(PanelMode) count += (stride-offset-depth);
2241
- }
2242
- }
2243
-
2244
- template<typename Scalar, typename Index, typename DataMapper, int Pack1, int Pack2, typename Packet, bool Conjugate, bool PanelMode>
2245
- struct gemm_pack_lhs<Scalar, Index, DataMapper, Pack1, Pack2, Packet, RowMajor, Conjugate, PanelMode>
2246
- {
2247
- typedef typename DataMapper::LinearMapper LinearMapper;
2248
- EIGEN_DONT_INLINE void operator()(Scalar* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride=0, Index offset=0);
2249
- };
2250
-
2251
- template<typename Scalar, typename Index, typename DataMapper, int Pack1, int Pack2, typename Packet, bool Conjugate, bool PanelMode>
2252
- EIGEN_DONT_INLINE void gemm_pack_lhs<Scalar, Index, DataMapper, Pack1, Pack2, Packet, RowMajor, Conjugate, PanelMode>
2253
- ::operator()(Scalar* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride, Index offset)
2254
- {
2255
- typedef typename unpacket_traits<Packet>::half HalfPacket;
2256
- typedef typename unpacket_traits<typename unpacket_traits<Packet>::half>::half QuarterPacket;
2257
- enum { PacketSize = unpacket_traits<Packet>::size,
2258
- HalfPacketSize = unpacket_traits<HalfPacket>::size,
2259
- QuarterPacketSize = unpacket_traits<QuarterPacket>::size,
2260
- HasHalf = (int)HalfPacketSize < (int)PacketSize,
2261
- HasQuarter = (int)QuarterPacketSize < (int)HalfPacketSize};
2262
-
2263
- EIGEN_ASM_COMMENT("EIGEN PRODUCT PACK LHS");
2264
- EIGEN_UNUSED_VARIABLE(stride);
2265
- EIGEN_UNUSED_VARIABLE(offset);
2266
- eigen_assert(((!PanelMode) && stride==0 && offset==0) || (PanelMode && stride>=depth && offset<=stride));
2267
- conj_if<NumTraits<Scalar>::IsComplex && Conjugate> cj;
2268
- Index count = 0;
2269
- bool gone_half = false, gone_quarter = false, gone_last = false;
2270
-
2271
- Index i = 0;
2272
- int pack = Pack1;
2273
- int psize = PacketSize;
2274
- while(pack>0)
2275
- {
2276
- Index remaining_rows = rows-i;
2277
- Index peeled_mc = gone_last ? Pack2>1 ? (rows/pack)*pack : 0 : i+(remaining_rows/pack)*pack;
2278
- Index starting_pos = i;
2279
- for(; i<peeled_mc; i+=pack)
2280
- {
2281
- if(PanelMode) count += pack * offset;
2282
-
2283
- Index k=0;
2284
- if(pack>=psize && psize >= QuarterPacketSize)
2285
- {
2286
- const Index peeled_k = (depth/psize)*psize;
2287
- for(; k<peeled_k; k+=psize)
2288
- {
2289
- for (Index m = 0; m < pack; m += psize)
2290
- {
2291
- if (psize == PacketSize) {
2292
- PacketBlock<Packet> kernel;
2293
- for (int p = 0; p < psize; ++p) kernel.packet[p] = lhs.template loadPacket<Packet>(i+p+m, k);
2294
- ptranspose(kernel);
2295
- for (int p = 0; p < psize; ++p) pstore(blockA+count+m+(pack)*p, cj.pconj(kernel.packet[p]));
2296
- } else if (HasHalf && psize == HalfPacketSize) {
2297
- gone_half = true;
2298
- PacketBlock<HalfPacket> kernel_half;
2299
- for (int p = 0; p < psize; ++p) kernel_half.packet[p] = lhs.template loadPacket<HalfPacket>(i+p+m, k);
2300
- ptranspose(kernel_half);
2301
- for (int p = 0; p < psize; ++p) pstore(blockA+count+m+(pack)*p, cj.pconj(kernel_half.packet[p]));
2302
- } else if (HasQuarter && psize == QuarterPacketSize) {
2303
- gone_quarter = true;
2304
- PacketBlock<QuarterPacket> kernel_quarter;
2305
- for (int p = 0; p < psize; ++p) kernel_quarter.packet[p] = lhs.template loadPacket<QuarterPacket>(i+p+m, k);
2306
- ptranspose(kernel_quarter);
2307
- for (int p = 0; p < psize; ++p) pstore(blockA+count+m+(pack)*p, cj.pconj(kernel_quarter.packet[p]));
2308
- }
2309
- }
2310
- count += psize*pack;
2311
- }
2312
- }
2313
-
2314
- for(; k<depth; k++)
2315
- {
2316
- Index w=0;
2317
- for(; w<pack-3; w+=4)
2318
- {
2319
- Scalar a(cj(lhs(i+w+0, k))),
2320
- b(cj(lhs(i+w+1, k))),
2321
- c(cj(lhs(i+w+2, k))),
2322
- d(cj(lhs(i+w+3, k)));
2323
- blockA[count++] = a;
2324
- blockA[count++] = b;
2325
- blockA[count++] = c;
2326
- blockA[count++] = d;
2327
- }
2328
- if(pack%4)
2329
- for(;w<pack;++w)
2330
- blockA[count++] = cj(lhs(i+w, k));
2331
- }
2332
-
2333
- if(PanelMode) count += pack * (stride-offset-depth);
2334
- }
2335
-
2336
- pack -= psize;
2337
- Index left = rows - i;
2338
- if (pack <= 0) {
2339
- if (!gone_last &&
2340
- (starting_pos == i || left >= psize/2 || left >= psize/4) &&
2341
- ((psize/2 == HalfPacketSize && HasHalf && !gone_half) ||
2342
- (psize/2 == QuarterPacketSize && HasQuarter && !gone_quarter))) {
2343
- psize /= 2;
2344
- pack = psize;
2345
- continue;
2346
- }
2347
- // Pack2 may be *smaller* than PacketSize—that happens for
2348
- // products like real * complex, where we have to go half the
2349
- // progress on the lhs in order to duplicate those operands to
2350
- // address both real & imaginary parts on the rhs. This portion will
2351
- // pack those half ones until they match the number expected on the
2352
- // last peeling loop at this point (for the rhs).
2353
- if (Pack2 < PacketSize && !gone_last) {
2354
- gone_last = true;
2355
- psize = pack = left & ~1;
2356
- }
2357
- }
2358
- }
2359
-
2360
- for(; i<rows; i++)
2361
- {
2362
- if(PanelMode) count += offset;
2363
- for(Index k=0; k<depth; k++)
2364
- blockA[count++] = cj(lhs(i, k));
2365
- if(PanelMode) count += (stride-offset-depth);
2366
- }
2367
- }
2368
-
2369
- // copy a complete panel of the rhs
2370
- // this version is optimized for column major matrices
2371
- // The traversal order is as follow: (nr==4):
2372
- // 0 1 2 3 12 13 14 15 24 27
2373
- // 4 5 6 7 16 17 18 19 25 28
2374
- // 8 9 10 11 20 21 22 23 26 29
2375
- // . . . . . . . . . .
2376
- template<typename Scalar, typename Index, typename DataMapper, int nr, bool Conjugate, bool PanelMode>
2377
- struct gemm_pack_rhs<Scalar, Index, DataMapper, nr, ColMajor, Conjugate, PanelMode>
2378
- {
2379
- typedef typename packet_traits<Scalar>::type Packet;
2380
- typedef typename DataMapper::LinearMapper LinearMapper;
2381
- enum { PacketSize = packet_traits<Scalar>::size };
2382
- EIGEN_DONT_INLINE void operator()(Scalar* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride=0, Index offset=0);
2383
- };
2384
-
2385
- template<typename Scalar, typename Index, typename DataMapper, int nr, bool Conjugate, bool PanelMode>
2386
- EIGEN_DONT_INLINE void gemm_pack_rhs<Scalar, Index, DataMapper, nr, ColMajor, Conjugate, PanelMode>
2387
- ::operator()(Scalar* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride, Index offset)
2388
- {
2389
- EIGEN_ASM_COMMENT("EIGEN PRODUCT PACK RHS COLMAJOR");
2390
- EIGEN_UNUSED_VARIABLE(stride);
2391
- EIGEN_UNUSED_VARIABLE(offset);
2392
- eigen_assert(((!PanelMode) && stride==0 && offset==0) || (PanelMode && stride>=depth && offset<=stride));
2393
- conj_if<NumTraits<Scalar>::IsComplex && Conjugate> cj;
2394
- Index packet_cols8 = nr>=8 ? (cols/8) * 8 : 0;
2395
- Index packet_cols4 = nr>=4 ? (cols/4) * 4 : 0;
2396
- Index count = 0;
2397
- const Index peeled_k = (depth/PacketSize)*PacketSize;
2398
- // if(nr>=8)
2399
- // {
2400
- // for(Index j2=0; j2<packet_cols8; j2+=8)
2401
- // {
2402
- // // skip what we have before
2403
- // if(PanelMode) count += 8 * offset;
2404
- // const Scalar* b0 = &rhs[(j2+0)*rhsStride];
2405
- // const Scalar* b1 = &rhs[(j2+1)*rhsStride];
2406
- // const Scalar* b2 = &rhs[(j2+2)*rhsStride];
2407
- // const Scalar* b3 = &rhs[(j2+3)*rhsStride];
2408
- // const Scalar* b4 = &rhs[(j2+4)*rhsStride];
2409
- // const Scalar* b5 = &rhs[(j2+5)*rhsStride];
2410
- // const Scalar* b6 = &rhs[(j2+6)*rhsStride];
2411
- // const Scalar* b7 = &rhs[(j2+7)*rhsStride];
2412
- // Index k=0;
2413
- // if(PacketSize==8) // TODO enable vectorized transposition for PacketSize==4
2414
- // {
2415
- // for(; k<peeled_k; k+=PacketSize) {
2416
- // PacketBlock<Packet> kernel;
2417
- // for (int p = 0; p < PacketSize; ++p) {
2418
- // kernel.packet[p] = ploadu<Packet>(&rhs[(j2+p)*rhsStride+k]);
2419
- // }
2420
- // ptranspose(kernel);
2421
- // for (int p = 0; p < PacketSize; ++p) {
2422
- // pstoreu(blockB+count, cj.pconj(kernel.packet[p]));
2423
- // count+=PacketSize;
2424
- // }
2425
- // }
2426
- // }
2427
- // for(; k<depth; k++)
2428
- // {
2429
- // blockB[count+0] = cj(b0[k]);
2430
- // blockB[count+1] = cj(b1[k]);
2431
- // blockB[count+2] = cj(b2[k]);
2432
- // blockB[count+3] = cj(b3[k]);
2433
- // blockB[count+4] = cj(b4[k]);
2434
- // blockB[count+5] = cj(b5[k]);
2435
- // blockB[count+6] = cj(b6[k]);
2436
- // blockB[count+7] = cj(b7[k]);
2437
- // count += 8;
2438
- // }
2439
- // // skip what we have after
2440
- // if(PanelMode) count += 8 * (stride-offset-depth);
2441
- // }
2442
- // }
2443
-
2444
- if(nr>=4)
2445
- {
2446
- for(Index j2=packet_cols8; j2<packet_cols4; j2+=4)
2447
- {
2448
- // skip what we have before
2449
- if(PanelMode) count += 4 * offset;
2450
- const LinearMapper dm0 = rhs.getLinearMapper(0, j2 + 0);
2451
- const LinearMapper dm1 = rhs.getLinearMapper(0, j2 + 1);
2452
- const LinearMapper dm2 = rhs.getLinearMapper(0, j2 + 2);
2453
- const LinearMapper dm3 = rhs.getLinearMapper(0, j2 + 3);
2454
-
2455
- Index k=0;
2456
- if((PacketSize%4)==0) // TODO enable vectorized transposition for PacketSize==2 ??
2457
- {
2458
- for(; k<peeled_k; k+=PacketSize) {
2459
- PacketBlock<Packet,(PacketSize%4)==0?4:PacketSize> kernel;
2460
- kernel.packet[0 ] = dm0.template loadPacket<Packet>(k);
2461
- kernel.packet[1%PacketSize] = dm1.template loadPacket<Packet>(k);
2462
- kernel.packet[2%PacketSize] = dm2.template loadPacket<Packet>(k);
2463
- kernel.packet[3%PacketSize] = dm3.template loadPacket<Packet>(k);
2464
- ptranspose(kernel);
2465
- pstoreu(blockB+count+0*PacketSize, cj.pconj(kernel.packet[0]));
2466
- pstoreu(blockB+count+1*PacketSize, cj.pconj(kernel.packet[1%PacketSize]));
2467
- pstoreu(blockB+count+2*PacketSize, cj.pconj(kernel.packet[2%PacketSize]));
2468
- pstoreu(blockB+count+3*PacketSize, cj.pconj(kernel.packet[3%PacketSize]));
2469
- count+=4*PacketSize;
2470
- }
2471
- }
2472
- for(; k<depth; k++)
2473
- {
2474
- blockB[count+0] = cj(dm0(k));
2475
- blockB[count+1] = cj(dm1(k));
2476
- blockB[count+2] = cj(dm2(k));
2477
- blockB[count+3] = cj(dm3(k));
2478
- count += 4;
2479
- }
2480
- // skip what we have after
2481
- if(PanelMode) count += 4 * (stride-offset-depth);
2482
- }
2483
- }
2484
-
2485
- // copy the remaining columns one at a time (nr==1)
2486
- for(Index j2=packet_cols4; j2<cols; ++j2)
2487
- {
2488
- if(PanelMode) count += offset;
2489
- const LinearMapper dm0 = rhs.getLinearMapper(0, j2);
2490
- for(Index k=0; k<depth; k++)
2491
- {
2492
- blockB[count] = cj(dm0(k));
2493
- count += 1;
2494
- }
2495
- if(PanelMode) count += (stride-offset-depth);
2496
- }
2497
- }
2498
-
2499
- // this version is optimized for row major matrices
2500
- template<typename Scalar, typename Index, typename DataMapper, int nr, bool Conjugate, bool PanelMode>
2501
- struct gemm_pack_rhs<Scalar, Index, DataMapper, nr, RowMajor, Conjugate, PanelMode>
2502
- {
2503
- typedef typename packet_traits<Scalar>::type Packet;
2504
- typedef typename unpacket_traits<Packet>::half HalfPacket;
2505
- typedef typename unpacket_traits<typename unpacket_traits<Packet>::half>::half QuarterPacket;
2506
- typedef typename DataMapper::LinearMapper LinearMapper;
2507
- enum { PacketSize = packet_traits<Scalar>::size,
2508
- HalfPacketSize = unpacket_traits<HalfPacket>::size,
2509
- QuarterPacketSize = unpacket_traits<QuarterPacket>::size};
2510
- EIGEN_DONT_INLINE void operator()(Scalar* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride=0, Index offset=0)
2511
- {
2512
- EIGEN_ASM_COMMENT("EIGEN PRODUCT PACK RHS ROWMAJOR");
2513
- EIGEN_UNUSED_VARIABLE(stride);
2514
- EIGEN_UNUSED_VARIABLE(offset);
2515
- eigen_assert(((!PanelMode) && stride==0 && offset==0) || (PanelMode && stride>=depth && offset<=stride));
2516
- const bool HasHalf = (int)HalfPacketSize < (int)PacketSize;
2517
- const bool HasQuarter = (int)QuarterPacketSize < (int)HalfPacketSize;
2518
- conj_if<NumTraits<Scalar>::IsComplex && Conjugate> cj;
2519
- Index packet_cols8 = nr>=8 ? (cols/8) * 8 : 0;
2520
- Index packet_cols4 = nr>=4 ? (cols/4) * 4 : 0;
2521
- Index count = 0;
2522
-
2523
- // if(nr>=8)
2524
- // {
2525
- // for(Index j2=0; j2<packet_cols8; j2+=8)
2526
- // {
2527
- // // skip what we have before
2528
- // if(PanelMode) count += 8 * offset;
2529
- // for(Index k=0; k<depth; k++)
2530
- // {
2531
- // if (PacketSize==8) {
2532
- // Packet A = ploadu<Packet>(&rhs[k*rhsStride + j2]);
2533
- // pstoreu(blockB+count, cj.pconj(A));
2534
- // } else if (PacketSize==4) {
2535
- // Packet A = ploadu<Packet>(&rhs[k*rhsStride + j2]);
2536
- // Packet B = ploadu<Packet>(&rhs[k*rhsStride + j2 + PacketSize]);
2537
- // pstoreu(blockB+count, cj.pconj(A));
2538
- // pstoreu(blockB+count+PacketSize, cj.pconj(B));
2539
- // } else {
2540
- // const Scalar* b0 = &rhs[k*rhsStride + j2];
2541
- // blockB[count+0] = cj(b0[0]);
2542
- // blockB[count+1] = cj(b0[1]);
2543
- // blockB[count+2] = cj(b0[2]);
2544
- // blockB[count+3] = cj(b0[3]);
2545
- // blockB[count+4] = cj(b0[4]);
2546
- // blockB[count+5] = cj(b0[5]);
2547
- // blockB[count+6] = cj(b0[6]);
2548
- // blockB[count+7] = cj(b0[7]);
2549
- // }
2550
- // count += 8;
2551
- // }
2552
- // // skip what we have after
2553
- // if(PanelMode) count += 8 * (stride-offset-depth);
2554
- // }
2555
- // }
2556
- if(nr>=4)
2557
- {
2558
- for(Index j2=packet_cols8; j2<packet_cols4; j2+=4)
2559
- {
2560
- // skip what we have before
2561
- if(PanelMode) count += 4 * offset;
2562
- for(Index k=0; k<depth; k++)
2563
- {
2564
- if (PacketSize==4) {
2565
- Packet A = rhs.template loadPacket<Packet>(k, j2);
2566
- pstoreu(blockB+count, cj.pconj(A));
2567
- count += PacketSize;
2568
- } else if (HasHalf && HalfPacketSize==4) {
2569
- HalfPacket A = rhs.template loadPacket<HalfPacket>(k, j2);
2570
- pstoreu(blockB+count, cj.pconj(A));
2571
- count += HalfPacketSize;
2572
- } else if (HasQuarter && QuarterPacketSize==4) {
2573
- QuarterPacket A = rhs.template loadPacket<QuarterPacket>(k, j2);
2574
- pstoreu(blockB+count, cj.pconj(A));
2575
- count += QuarterPacketSize;
2576
- } else {
2577
- const LinearMapper dm0 = rhs.getLinearMapper(k, j2);
2578
- blockB[count+0] = cj(dm0(0));
2579
- blockB[count+1] = cj(dm0(1));
2580
- blockB[count+2] = cj(dm0(2));
2581
- blockB[count+3] = cj(dm0(3));
2582
- count += 4;
2583
- }
2584
- }
2585
- // skip what we have after
2586
- if(PanelMode) count += 4 * (stride-offset-depth);
2587
- }
2588
- }
2589
- // copy the remaining columns one at a time (nr==1)
2590
- for(Index j2=packet_cols4; j2<cols; ++j2)
2591
- {
2592
- if(PanelMode) count += offset;
2593
- for(Index k=0; k<depth; k++)
2594
- {
2595
- blockB[count] = cj(rhs(k, j2));
2596
- count += 1;
2597
- }
2598
- if(PanelMode) count += stride-offset-depth;
2599
- }
2600
- }
2601
- };
2602
-
2603
- } // end namespace internal
2604
-
2605
- /** \returns the currently set level 1 cpu cache size (in bytes) used to estimate the ideal blocking size parameters.
2606
- * \sa setCpuCacheSize */
2607
- inline std::ptrdiff_t l1CacheSize()
2608
- {
2609
- std::ptrdiff_t l1, l2, l3;
2610
- internal::manage_caching_sizes(GetAction, &l1, &l2, &l3);
2611
- return l1;
2612
- }
2613
-
2614
- /** \returns the currently set level 2 cpu cache size (in bytes) used to estimate the ideal blocking size parameters.
2615
- * \sa setCpuCacheSize */
2616
- inline std::ptrdiff_t l2CacheSize()
2617
- {
2618
- std::ptrdiff_t l1, l2, l3;
2619
- internal::manage_caching_sizes(GetAction, &l1, &l2, &l3);
2620
- return l2;
2621
- }
2622
-
2623
- /** \returns the currently set level 3 cpu cache size (in bytes) used to estimate the ideal blocking size paramete\
2624
- rs.
2625
- * \sa setCpuCacheSize */
2626
- inline std::ptrdiff_t l3CacheSize()
2627
- {
2628
- std::ptrdiff_t l1, l2, l3;
2629
- internal::manage_caching_sizes(GetAction, &l1, &l2, &l3);
2630
- return l3;
2631
- }
2632
-
2633
- /** Set the cpu L1 and L2 cache sizes (in bytes).
2634
- * These values are use to adjust the size of the blocks
2635
- * for the algorithms working per blocks.
2636
- *
2637
- * \sa computeProductBlockingSizes */
2638
- inline void setCpuCacheSizes(std::ptrdiff_t l1, std::ptrdiff_t l2, std::ptrdiff_t l3)
2639
- {
2640
- internal::manage_caching_sizes(SetAction, &l1, &l2, &l3);
2641
- }
2642
-
2643
- } // end namespace Eigen
2644
-
2645
- #endif // EIGEN_GENERAL_BLOCK_PANEL_H