casadi 3.6.4__cp310-none-manylinux2014_aarch64.whl → 3.6.6__cp310-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,2937 +0,0 @@
1
- // This file is part of Eigen, a lightweight C++ template library
2
- // for linear algebra.
3
- //
4
- // Copyright (C) 2020 Everton Constantino (everton.constantino@ibm.com)
5
- // Copyright (C) 2021 Chip Kerchner (chip.kerchner@ibm.com)
6
- //
7
- // This Source Code Form is subject to the terms of the Mozilla
8
- // Public License v. 2.0. If a copy of the MPL was not distributed
9
- // with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
-
11
- #ifndef EIGEN_MATRIX_PRODUCT_ALTIVEC_H
12
- #define EIGEN_MATRIX_PRODUCT_ALTIVEC_H
13
-
14
- #ifndef EIGEN_ALTIVEC_USE_CUSTOM_PACK
15
- #define EIGEN_ALTIVEC_USE_CUSTOM_PACK 1
16
- #endif
17
-
18
- #include "MatrixProductCommon.h"
19
-
20
- // Since LLVM doesn't support dynamic dispatching, force either always MMA or VSX
21
- #if EIGEN_COMP_LLVM
22
- #if !defined(EIGEN_ALTIVEC_DISABLE_MMA) && !defined(EIGEN_ALTIVEC_MMA_ONLY)
23
- #ifdef __MMA__
24
- #define EIGEN_ALTIVEC_MMA_ONLY
25
- #else
26
- #define EIGEN_ALTIVEC_DISABLE_MMA
27
- #endif
28
- #endif
29
- #endif
30
-
31
- #ifdef __has_builtin
32
- #if __has_builtin(__builtin_mma_assemble_acc)
33
- #define ALTIVEC_MMA_SUPPORT
34
- #endif
35
- #endif
36
-
37
- #if defined(ALTIVEC_MMA_SUPPORT) && !defined(EIGEN_ALTIVEC_DISABLE_MMA)
38
- #include "MatrixProductMMA.h"
39
- #endif
40
-
41
- /**************************************************************************************************
42
- * TODO *
43
- * - Check StorageOrder on dhs_pack (the innermost second loop seems unvectorized when it could). *
44
- * - Check the possibility of transposing as GETREAL and GETIMAG when needed. *
45
- **************************************************************************************************/
46
- namespace Eigen {
47
-
48
- namespace internal {
49
-
50
- /**************************
51
- * Constants and typedefs *
52
- **************************/
53
- template<typename Scalar>
54
- struct quad_traits
55
- {
56
- typedef typename packet_traits<Scalar>::type vectortype;
57
- typedef PacketBlock<vectortype,4> type;
58
- typedef vectortype rhstype;
59
- enum
60
- {
61
- vectorsize = packet_traits<Scalar>::size,
62
- size = 4,
63
- rows = 4
64
- };
65
- };
66
-
67
- template<>
68
- struct quad_traits<double>
69
- {
70
- typedef Packet2d vectortype;
71
- typedef PacketBlock<vectortype,4> type;
72
- typedef PacketBlock<Packet2d,2> rhstype;
73
- enum
74
- {
75
- vectorsize = packet_traits<double>::size,
76
- size = 2,
77
- rows = 4
78
- };
79
- };
80
-
81
- // MatrixProduct decomposes real/imaginary vectors into a real vector and an imaginary vector, this turned out
82
- // to be faster than Eigen's usual approach of having real/imaginary pairs on a single vector. This constants then
83
- // are responsible to extract from convert between Eigen's and MatrixProduct approach.
84
-
85
- const static Packet16uc p16uc_GETREAL32 = { 0, 1, 2, 3,
86
- 8, 9, 10, 11,
87
- 16, 17, 18, 19,
88
- 24, 25, 26, 27};
89
-
90
- const static Packet16uc p16uc_GETIMAG32 = { 4, 5, 6, 7,
91
- 12, 13, 14, 15,
92
- 20, 21, 22, 23,
93
- 28, 29, 30, 31};
94
- const static Packet16uc p16uc_GETREAL64 = { 0, 1, 2, 3, 4, 5, 6, 7,
95
- 16, 17, 18, 19, 20, 21, 22, 23};
96
-
97
- //[a,ai],[b,bi] = [ai,bi]
98
- const static Packet16uc p16uc_GETIMAG64 = { 8, 9, 10, 11, 12, 13, 14, 15,
99
- 24, 25, 26, 27, 28, 29, 30, 31};
100
-
101
- /*********************************************
102
- * Single precision real and complex packing *
103
- * *******************************************/
104
-
105
- /**
106
- * Symm packing is related to packing of symmetric adjoint blocks, as expected the packing leaves
107
- * the diagonal real, whatever is below it is copied from the respective upper diagonal element and
108
- * conjugated. There's no PanelMode available for symm packing.
109
- *
110
- * Packing in general is supposed to leave the lhs block and the rhs block easy to be read by gemm using
111
- * its respective rank-update instructions. The float32/64 versions are different because at this moment
112
- * the size of the accumulator is fixed at 512-bits so you can't have a 4x4 accumulator of 64-bit elements.
113
- *
114
- * As mentioned earlier MatrixProduct breaks complex numbers into a real vector and a complex vector so packing has
115
- * to take that into account, at the moment, we run pack the real part and then the imaginary part, this is the main
116
- * reason why packing for complex is broken down into several different parts, also the reason why we endup having a
117
- * float32/64 and complex float32/64 version.
118
- **/
119
- template<typename Scalar, typename Index, int StorageOrder>
120
- EIGEN_ALWAYS_INLINE std::complex<Scalar> getAdjointVal(Index i, Index j, const_blas_data_mapper<std::complex<Scalar>, Index, StorageOrder>& dt)
121
- {
122
- std::complex<Scalar> v;
123
- if(i < j)
124
- {
125
- v.real( dt(j,i).real());
126
- v.imag(-dt(j,i).imag());
127
- } else if(i > j)
128
- {
129
- v.real( dt(i,j).real());
130
- v.imag( dt(i,j).imag());
131
- } else {
132
- v.real( dt(i,j).real());
133
- v.imag((Scalar)0.0);
134
- }
135
- return v;
136
- }
137
-
138
- template<typename Scalar, typename Index, int StorageOrder, int N>
139
- EIGEN_STRONG_INLINE void symm_pack_complex_rhs_helper(std::complex<Scalar>* blockB, const std::complex<Scalar>* _rhs, Index rhsStride, Index rows, Index cols, Index k2)
140
- {
141
- const Index depth = k2 + rows;
142
- const_blas_data_mapper<std::complex<Scalar>, Index, StorageOrder> rhs(_rhs, rhsStride);
143
- const Index vectorSize = N*quad_traits<Scalar>::vectorsize;
144
- const Index vectorDelta = vectorSize * rows;
145
- Scalar* blockBf = reinterpret_cast<Scalar *>(blockB);
146
-
147
- Index rir = 0, rii, j = 0;
148
- for(; j + vectorSize <= cols; j+=vectorSize)
149
- {
150
- rii = rir + vectorDelta;
151
-
152
- for(Index i = k2; i < depth; i++)
153
- {
154
- for(Index k = 0; k < vectorSize; k++)
155
- {
156
- std::complex<Scalar> v = getAdjointVal<Scalar, Index, StorageOrder>(i, j + k, rhs);
157
-
158
- blockBf[rir + k] = v.real();
159
- blockBf[rii + k] = v.imag();
160
- }
161
- rir += vectorSize;
162
- rii += vectorSize;
163
- }
164
-
165
- rir += vectorDelta;
166
- }
167
- if (j < cols)
168
- {
169
- rii = rir + ((cols - j) * rows);
170
-
171
- for(Index i = k2; i < depth; i++)
172
- {
173
- Index k = j;
174
- for(; k < cols; k++)
175
- {
176
- std::complex<Scalar> v = getAdjointVal<Scalar, Index, StorageOrder>(i, k, rhs);
177
-
178
- blockBf[rir] = v.real();
179
- blockBf[rii] = v.imag();
180
-
181
- rir += 1;
182
- rii += 1;
183
- }
184
- }
185
- }
186
- }
187
-
188
- template<typename Scalar, typename Index, int StorageOrder>
189
- EIGEN_STRONG_INLINE void symm_pack_complex_lhs_helper(std::complex<Scalar>* blockA, const std::complex<Scalar>* _lhs, Index lhsStride, Index cols, Index rows)
190
- {
191
- const Index depth = cols;
192
- const_blas_data_mapper<std::complex<Scalar>, Index, StorageOrder> lhs(_lhs, lhsStride);
193
- const Index vectorSize = quad_traits<Scalar>::vectorsize;
194
- const Index vectorDelta = vectorSize * depth;
195
- Scalar* blockAf = (Scalar *)(blockA);
196
-
197
- Index rir = 0, rii, j = 0;
198
- for(; j + vectorSize <= rows; j+=vectorSize)
199
- {
200
- rii = rir + vectorDelta;
201
-
202
- for(Index i = 0; i < depth; i++)
203
- {
204
- for(Index k = 0; k < vectorSize; k++)
205
- {
206
- std::complex<Scalar> v = getAdjointVal<Scalar, Index, StorageOrder>(j+k, i, lhs);
207
-
208
- blockAf[rir + k] = v.real();
209
- blockAf[rii + k] = v.imag();
210
- }
211
- rir += vectorSize;
212
- rii += vectorSize;
213
- }
214
-
215
- rir += vectorDelta;
216
- }
217
-
218
- if (j < rows)
219
- {
220
- rii = rir + ((rows - j) * depth);
221
-
222
- for(Index i = 0; i < depth; i++)
223
- {
224
- Index k = j;
225
- for(; k < rows; k++)
226
- {
227
- std::complex<Scalar> v = getAdjointVal<Scalar, Index, StorageOrder>(k, i, lhs);
228
-
229
- blockAf[rir] = v.real();
230
- blockAf[rii] = v.imag();
231
-
232
- rir += 1;
233
- rii += 1;
234
- }
235
- }
236
- }
237
- }
238
-
239
- template<typename Scalar, typename Index, int StorageOrder, int N>
240
- EIGEN_STRONG_INLINE void symm_pack_rhs_helper(Scalar* blockB, const Scalar* _rhs, Index rhsStride, Index rows, Index cols, Index k2)
241
- {
242
- const Index depth = k2 + rows;
243
- const_blas_data_mapper<Scalar, Index, StorageOrder> rhs(_rhs, rhsStride);
244
- const Index vectorSize = quad_traits<Scalar>::vectorsize;
245
-
246
- Index ri = 0, j = 0;
247
- for(; j + N*vectorSize <= cols; j+=N*vectorSize)
248
- {
249
- Index i = k2;
250
- for(; i < depth; i++)
251
- {
252
- for(Index k = 0; k < N*vectorSize; k++)
253
- {
254
- if(i <= j+k)
255
- blockB[ri + k] = rhs(j+k, i);
256
- else
257
- blockB[ri + k] = rhs(i, j+k);
258
- }
259
- ri += N*vectorSize;
260
- }
261
- }
262
-
263
- if (j < cols)
264
- {
265
- for(Index i = k2; i < depth; i++)
266
- {
267
- Index k = j;
268
- for(; k < cols; k++)
269
- {
270
- if(k <= i)
271
- blockB[ri] = rhs(i, k);
272
- else
273
- blockB[ri] = rhs(k, i);
274
- ri += 1;
275
- }
276
- }
277
- }
278
- }
279
-
280
- template<typename Scalar, typename Index, int StorageOrder>
281
- EIGEN_STRONG_INLINE void symm_pack_lhs_helper(Scalar* blockA, const Scalar* _lhs, Index lhsStride, Index cols, Index rows)
282
- {
283
- const Index depth = cols;
284
- const_blas_data_mapper<Scalar, Index, StorageOrder> lhs(_lhs, lhsStride);
285
- const Index vectorSize = quad_traits<Scalar>::vectorsize;
286
-
287
- Index ri = 0, j = 0;
288
- for(; j + vectorSize <= rows; j+=vectorSize)
289
- {
290
- Index i = 0;
291
-
292
- for(; i < depth; i++)
293
- {
294
- for(Index k = 0; k < vectorSize; k++)
295
- {
296
- if(i <= j+k)
297
- blockA[ri + k] = lhs(j+k, i);
298
- else
299
- blockA[ri + k] = lhs(i, j+k);
300
- }
301
- ri += vectorSize;
302
- }
303
- }
304
-
305
- if (j < rows)
306
- {
307
- for(Index i = 0; i < depth; i++)
308
- {
309
- Index k = j;
310
- for(; k < rows; k++)
311
- {
312
- if(i <= k)
313
- blockA[ri] = lhs(k, i);
314
- else
315
- blockA[ri] = lhs(i, k);
316
- ri += 1;
317
- }
318
- }
319
- }
320
- }
321
-
322
- template<typename Index, int nr, int StorageOrder>
323
- struct symm_pack_rhs<std::complex<float>, Index, nr, StorageOrder>
324
- {
325
- void operator()(std::complex<float>* blockB, const std::complex<float>* _rhs, Index rhsStride, Index rows, Index cols, Index k2)
326
- {
327
- symm_pack_complex_rhs_helper<float, Index, StorageOrder, 1>(blockB, _rhs, rhsStride, rows, cols, k2);
328
- }
329
- };
330
-
331
- template<typename Index, int Pack1, int Pack2_dummy, int StorageOrder>
332
- struct symm_pack_lhs<std::complex<float>, Index, Pack1, Pack2_dummy, StorageOrder>
333
- {
334
- void operator()(std::complex<float>* blockA, const std::complex<float>* _lhs, Index lhsStride, Index cols, Index rows)
335
- {
336
- symm_pack_complex_lhs_helper<float, Index, StorageOrder>(blockA, _lhs, lhsStride, cols, rows);
337
- }
338
- };
339
-
340
- // *********** symm_pack std::complex<float64> ***********
341
-
342
- template<typename Index, int nr, int StorageOrder>
343
- struct symm_pack_rhs<std::complex<double>, Index, nr, StorageOrder>
344
- {
345
- void operator()(std::complex<double>* blockB, const std::complex<double>* _rhs, Index rhsStride, Index rows, Index cols, Index k2)
346
- {
347
- symm_pack_complex_rhs_helper<double, Index, StorageOrder, 2>(blockB, _rhs, rhsStride, rows, cols, k2);
348
- }
349
- };
350
-
351
- template<typename Index, int Pack1, int Pack2_dummy, int StorageOrder>
352
- struct symm_pack_lhs<std::complex<double>, Index, Pack1, Pack2_dummy, StorageOrder>
353
- {
354
- void operator()(std::complex<double>* blockA, const std::complex<double>* _lhs, Index lhsStride, Index cols, Index rows)
355
- {
356
- symm_pack_complex_lhs_helper<double, Index, StorageOrder>(blockA, _lhs, lhsStride, cols, rows);
357
- }
358
- };
359
-
360
- // *********** symm_pack float32 ***********
361
- template<typename Index, int nr, int StorageOrder>
362
- struct symm_pack_rhs<float, Index, nr, StorageOrder>
363
- {
364
- void operator()(float* blockB, const float* _rhs, Index rhsStride, Index rows, Index cols, Index k2)
365
- {
366
- symm_pack_rhs_helper<float, Index, StorageOrder, 1>(blockB, _rhs, rhsStride, rows, cols, k2);
367
- }
368
- };
369
-
370
- template<typename Index, int Pack1, int Pack2_dummy, int StorageOrder>
371
- struct symm_pack_lhs<float, Index, Pack1, Pack2_dummy, StorageOrder>
372
- {
373
- void operator()(float* blockA, const float* _lhs, Index lhsStride, Index cols, Index rows)
374
- {
375
- symm_pack_lhs_helper<float, Index, StorageOrder>(blockA, _lhs, lhsStride, cols, rows);
376
- }
377
- };
378
-
379
- // *********** symm_pack float64 ***********
380
- template<typename Index, int nr, int StorageOrder>
381
- struct symm_pack_rhs<double, Index, nr, StorageOrder>
382
- {
383
- void operator()(double* blockB, const double* _rhs, Index rhsStride, Index rows, Index cols, Index k2)
384
- {
385
- symm_pack_rhs_helper<double, Index, StorageOrder, 2>(blockB, _rhs, rhsStride, rows, cols, k2);
386
- }
387
- };
388
-
389
- template<typename Index, int Pack1, int Pack2_dummy, int StorageOrder>
390
- struct symm_pack_lhs<double, Index, Pack1, Pack2_dummy, StorageOrder>
391
- {
392
- void operator()(double* blockA, const double* _lhs, Index lhsStride, Index cols, Index rows)
393
- {
394
- symm_pack_lhs_helper<double, Index, StorageOrder>(blockA, _lhs, lhsStride, cols, rows);
395
- }
396
- };
397
-
398
- /**
399
- * PanelMode
400
- * Packing might be called several times before being multiplied by gebp_kernel, this happens because
401
- * on special occasions it fills part of block with other parts of the matrix. Two variables control
402
- * how PanelMode should behave: offset and stride. The idea is that those variables represent whatever
403
- * is going to be the real offset and stride in the future and this is what you should obey. The process
404
- * is to behave as you would with normal packing but leave the start of each part with the correct offset
405
- * and the end as well respecting the real stride the block will have. Gebp is aware of both blocks stride
406
- * and offset and behaves accordingly.
407
- **/
408
-
409
- template<typename Scalar, typename Packet, typename Index>
410
- EIGEN_ALWAYS_INLINE void storeBlock(Scalar* to, PacketBlock<Packet,4>& block)
411
- {
412
- const Index size = 16 / sizeof(Scalar);
413
- pstore<Scalar>(to + (0 * size), block.packet[0]);
414
- pstore<Scalar>(to + (1 * size), block.packet[1]);
415
- pstore<Scalar>(to + (2 * size), block.packet[2]);
416
- pstore<Scalar>(to + (3 * size), block.packet[3]);
417
- }
418
-
419
- template<typename Scalar, typename Packet, typename Index>
420
- EIGEN_ALWAYS_INLINE void storeBlock(Scalar* to, PacketBlock<Packet,2>& block)
421
- {
422
- const Index size = 16 / sizeof(Scalar);
423
- pstore<Scalar>(to + (0 * size), block.packet[0]);
424
- pstore<Scalar>(to + (1 * size), block.packet[1]);
425
- }
426
-
427
- // General template for lhs & rhs complex packing.
428
- template<typename Scalar, typename Index, typename DataMapper, typename Packet, typename PacketC, int StorageOrder, bool Conjugate, bool PanelMode, bool UseLhs>
429
- struct dhs_cpack {
430
- EIGEN_STRONG_INLINE void operator()(std::complex<Scalar>* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride, Index offset)
431
- {
432
- const Index vectorSize = quad_traits<Scalar>::vectorsize;
433
- const Index vectorDelta = vectorSize * ((PanelMode) ? stride : depth);
434
- Index rir = ((PanelMode) ? (vectorSize*offset) : 0), rii;
435
- Scalar* blockAt = reinterpret_cast<Scalar *>(blockA);
436
- Index j = 0;
437
-
438
- for(; j + vectorSize <= rows; j+=vectorSize)
439
- {
440
- Index i = 0;
441
-
442
- rii = rir + vectorDelta;
443
-
444
- for(; i + vectorSize <= depth; i+=vectorSize)
445
- {
446
- PacketBlock<Packet,4> blockr, blocki;
447
- PacketBlock<PacketC,8> cblock;
448
-
449
- if (UseLhs) {
450
- bload<DataMapper, PacketC, Index, 2, 0, StorageOrder>(cblock, lhs, j, i);
451
- } else {
452
- bload<DataMapper, PacketC, Index, 2, 0, StorageOrder>(cblock, lhs, i, j);
453
- }
454
-
455
- blockr.packet[0] = vec_perm(cblock.packet[0].v, cblock.packet[4].v, p16uc_GETREAL32);
456
- blockr.packet[1] = vec_perm(cblock.packet[1].v, cblock.packet[5].v, p16uc_GETREAL32);
457
- blockr.packet[2] = vec_perm(cblock.packet[2].v, cblock.packet[6].v, p16uc_GETREAL32);
458
- blockr.packet[3] = vec_perm(cblock.packet[3].v, cblock.packet[7].v, p16uc_GETREAL32);
459
-
460
- blocki.packet[0] = vec_perm(cblock.packet[0].v, cblock.packet[4].v, p16uc_GETIMAG32);
461
- blocki.packet[1] = vec_perm(cblock.packet[1].v, cblock.packet[5].v, p16uc_GETIMAG32);
462
- blocki.packet[2] = vec_perm(cblock.packet[2].v, cblock.packet[6].v, p16uc_GETIMAG32);
463
- blocki.packet[3] = vec_perm(cblock.packet[3].v, cblock.packet[7].v, p16uc_GETIMAG32);
464
-
465
- if(Conjugate)
466
- {
467
- blocki.packet[0] = -blocki.packet[0];
468
- blocki.packet[1] = -blocki.packet[1];
469
- blocki.packet[2] = -blocki.packet[2];
470
- blocki.packet[3] = -blocki.packet[3];
471
- }
472
-
473
- if(((StorageOrder == RowMajor) && UseLhs) || (((StorageOrder == ColMajor) && !UseLhs)))
474
- {
475
- ptranspose(blockr);
476
- ptranspose(blocki);
477
- }
478
-
479
- storeBlock<Scalar, Packet, Index>(blockAt + rir, blockr);
480
- storeBlock<Scalar, Packet, Index>(blockAt + rii, blocki);
481
-
482
- rir += 4*vectorSize;
483
- rii += 4*vectorSize;
484
- }
485
- for(; i < depth; i++)
486
- {
487
- PacketBlock<Packet,1> blockr, blocki;
488
- PacketBlock<PacketC,2> cblock;
489
-
490
- if(((StorageOrder == ColMajor) && UseLhs) || (((StorageOrder == RowMajor) && !UseLhs)))
491
- {
492
- if (UseLhs) {
493
- cblock.packet[0] = lhs.template loadPacket<PacketC>(j + 0, i);
494
- cblock.packet[1] = lhs.template loadPacket<PacketC>(j + 2, i);
495
- } else {
496
- cblock.packet[0] = lhs.template loadPacket<PacketC>(i, j + 0);
497
- cblock.packet[1] = lhs.template loadPacket<PacketC>(i, j + 2);
498
- }
499
- } else {
500
- std::complex<Scalar> lhs0, lhs1;
501
- if (UseLhs) {
502
- lhs0 = lhs(j + 0, i);
503
- lhs1 = lhs(j + 1, i);
504
- cblock.packet[0] = pload2(&lhs0, &lhs1);
505
- lhs0 = lhs(j + 2, i);
506
- lhs1 = lhs(j + 3, i);
507
- cblock.packet[1] = pload2(&lhs0, &lhs1);
508
- } else {
509
- lhs0 = lhs(i, j + 0);
510
- lhs1 = lhs(i, j + 1);
511
- cblock.packet[0] = pload2(&lhs0, &lhs1);
512
- lhs0 = lhs(i, j + 2);
513
- lhs1 = lhs(i, j + 3);
514
- cblock.packet[1] = pload2(&lhs0, &lhs1);
515
- }
516
- }
517
-
518
- blockr.packet[0] = vec_perm(cblock.packet[0].v, cblock.packet[1].v, p16uc_GETREAL32);
519
- blocki.packet[0] = vec_perm(cblock.packet[0].v, cblock.packet[1].v, p16uc_GETIMAG32);
520
-
521
- if(Conjugate)
522
- {
523
- blocki.packet[0] = -blocki.packet[0];
524
- }
525
-
526
- pstore<Scalar>(blockAt + rir, blockr.packet[0]);
527
- pstore<Scalar>(blockAt + rii, blocki.packet[0]);
528
-
529
- rir += vectorSize;
530
- rii += vectorSize;
531
- }
532
-
533
- rir += ((PanelMode) ? (vectorSize*(2*stride - depth)) : vectorDelta);
534
- }
535
-
536
- if (j < rows)
537
- {
538
- if(PanelMode) rir += (offset*(rows - j - vectorSize));
539
- rii = rir + (((PanelMode) ? stride : depth) * (rows - j));
540
-
541
- for(Index i = 0; i < depth; i++)
542
- {
543
- Index k = j;
544
- for(; k < rows; k++)
545
- {
546
- if (UseLhs) {
547
- blockAt[rir] = lhs(k, i).real();
548
-
549
- if(Conjugate)
550
- blockAt[rii] = -lhs(k, i).imag();
551
- else
552
- blockAt[rii] = lhs(k, i).imag();
553
- } else {
554
- blockAt[rir] = lhs(i, k).real();
555
-
556
- if(Conjugate)
557
- blockAt[rii] = -lhs(i, k).imag();
558
- else
559
- blockAt[rii] = lhs(i, k).imag();
560
- }
561
-
562
- rir += 1;
563
- rii += 1;
564
- }
565
- }
566
- }
567
- }
568
- };
569
-
570
- // General template for lhs & rhs packing.
571
- template<typename Scalar, typename Index, typename DataMapper, typename Packet, int StorageOrder, bool PanelMode, bool UseLhs>
572
- struct dhs_pack{
573
- EIGEN_STRONG_INLINE void operator()(Scalar* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride, Index offset)
574
- {
575
- const Index vectorSize = quad_traits<Scalar>::vectorsize;
576
- Index ri = 0, j = 0;
577
-
578
- for(; j + vectorSize <= rows; j+=vectorSize)
579
- {
580
- Index i = 0;
581
-
582
- if(PanelMode) ri += vectorSize*offset;
583
-
584
- for(; i + vectorSize <= depth; i+=vectorSize)
585
- {
586
- PacketBlock<Packet,4> block;
587
-
588
- if (UseLhs) {
589
- bload<DataMapper, Packet, Index, 4, 0, StorageOrder>(block, lhs, j, i);
590
- } else {
591
- bload<DataMapper, Packet, Index, 4, 0, StorageOrder>(block, lhs, i, j);
592
- }
593
- if(((StorageOrder == RowMajor) && UseLhs) || ((StorageOrder == ColMajor) && !UseLhs))
594
- {
595
- ptranspose(block);
596
- }
597
-
598
- storeBlock<Scalar, Packet, Index>(blockA + ri, block);
599
-
600
- ri += 4*vectorSize;
601
- }
602
- for(; i < depth; i++)
603
- {
604
- if(((StorageOrder == RowMajor) && UseLhs) || ((StorageOrder == ColMajor) && !UseLhs))
605
- {
606
- if (UseLhs) {
607
- blockA[ri+0] = lhs(j+0, i);
608
- blockA[ri+1] = lhs(j+1, i);
609
- blockA[ri+2] = lhs(j+2, i);
610
- blockA[ri+3] = lhs(j+3, i);
611
- } else {
612
- blockA[ri+0] = lhs(i, j+0);
613
- blockA[ri+1] = lhs(i, j+1);
614
- blockA[ri+2] = lhs(i, j+2);
615
- blockA[ri+3] = lhs(i, j+3);
616
- }
617
- } else {
618
- Packet lhsV;
619
- if (UseLhs) {
620
- lhsV = lhs.template loadPacket<Packet>(j, i);
621
- } else {
622
- lhsV = lhs.template loadPacket<Packet>(i, j);
623
- }
624
- pstore<Scalar>(blockA + ri, lhsV);
625
- }
626
-
627
- ri += vectorSize;
628
- }
629
-
630
- if(PanelMode) ri += vectorSize*(stride - offset - depth);
631
- }
632
-
633
- if (j < rows)
634
- {
635
- if(PanelMode) ri += offset*(rows - j);
636
-
637
- for(Index i = 0; i < depth; i++)
638
- {
639
- Index k = j;
640
- for(; k < rows; k++)
641
- {
642
- if (UseLhs) {
643
- blockA[ri] = lhs(k, i);
644
- } else {
645
- blockA[ri] = lhs(i, k);
646
- }
647
- ri += 1;
648
- }
649
- }
650
- }
651
- }
652
- };
653
-
654
- // General template for lhs packing, float64 specialization.
655
- template<typename Index, typename DataMapper, int StorageOrder, bool PanelMode>
656
- struct dhs_pack<double, Index, DataMapper, Packet2d, StorageOrder, PanelMode, true>
657
- {
658
- EIGEN_STRONG_INLINE void operator()(double* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride, Index offset)
659
- {
660
- const Index vectorSize = quad_traits<double>::vectorsize;
661
- Index ri = 0, j = 0;
662
-
663
- for(; j + vectorSize <= rows; j+=vectorSize)
664
- {
665
- Index i = 0;
666
-
667
- if(PanelMode) ri += vectorSize*offset;
668
-
669
- for(; i + vectorSize <= depth; i+=vectorSize)
670
- {
671
- PacketBlock<Packet2d,2> block;
672
- if(StorageOrder == RowMajor)
673
- {
674
- block.packet[0] = lhs.template loadPacket<Packet2d>(j + 0, i);
675
- block.packet[1] = lhs.template loadPacket<Packet2d>(j + 1, i);
676
-
677
- ptranspose(block);
678
- } else {
679
- block.packet[0] = lhs.template loadPacket<Packet2d>(j, i + 0);
680
- block.packet[1] = lhs.template loadPacket<Packet2d>(j, i + 1);
681
- }
682
-
683
- storeBlock<double, Packet2d, Index>(blockA + ri, block);
684
-
685
- ri += 2*vectorSize;
686
- }
687
- for(; i < depth; i++)
688
- {
689
- if(StorageOrder == RowMajor)
690
- {
691
- blockA[ri+0] = lhs(j+0, i);
692
- blockA[ri+1] = lhs(j+1, i);
693
- } else {
694
- Packet2d lhsV = lhs.template loadPacket<Packet2d>(j, i);
695
- pstore<double>(blockA + ri, lhsV);
696
- }
697
-
698
- ri += vectorSize;
699
- }
700
-
701
- if(PanelMode) ri += vectorSize*(stride - offset - depth);
702
- }
703
-
704
- if (j < rows)
705
- {
706
- if(PanelMode) ri += offset*(rows - j);
707
-
708
- for(Index i = 0; i < depth; i++)
709
- {
710
- Index k = j;
711
- for(; k < rows; k++)
712
- {
713
- blockA[ri] = lhs(k, i);
714
- ri += 1;
715
- }
716
- }
717
- }
718
- }
719
- };
720
-
721
- // General template for rhs packing, float64 specialization.
722
- template<typename Index, typename DataMapper, int StorageOrder, bool PanelMode>
723
- struct dhs_pack<double, Index, DataMapper, Packet2d, StorageOrder, PanelMode, false>
724
- {
725
- EIGEN_STRONG_INLINE void operator()(double* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride, Index offset)
726
- {
727
- const Index vectorSize = quad_traits<double>::vectorsize;
728
- Index ri = 0, j = 0;
729
-
730
- for(; j + 2*vectorSize <= cols; j+=2*vectorSize)
731
- {
732
- Index i = 0;
733
-
734
- if(PanelMode) ri += offset*(2*vectorSize);
735
-
736
- for(; i + vectorSize <= depth; i+=vectorSize)
737
- {
738
- PacketBlock<Packet2d,4> block;
739
- if(StorageOrder == ColMajor)
740
- {
741
- PacketBlock<Packet2d,2> block1, block2;
742
- block1.packet[0] = rhs.template loadPacket<Packet2d>(i, j + 0);
743
- block1.packet[1] = rhs.template loadPacket<Packet2d>(i, j + 1);
744
- block2.packet[0] = rhs.template loadPacket<Packet2d>(i, j + 2);
745
- block2.packet[1] = rhs.template loadPacket<Packet2d>(i, j + 3);
746
-
747
- ptranspose(block1);
748
- ptranspose(block2);
749
-
750
- pstore<double>(blockB + ri , block1.packet[0]);
751
- pstore<double>(blockB + ri + 2, block2.packet[0]);
752
- pstore<double>(blockB + ri + 4, block1.packet[1]);
753
- pstore<double>(blockB + ri + 6, block2.packet[1]);
754
- } else {
755
- block.packet[0] = rhs.template loadPacket<Packet2d>(i + 0, j + 0); //[a1 a2]
756
- block.packet[1] = rhs.template loadPacket<Packet2d>(i + 0, j + 2); //[a3 a4]
757
- block.packet[2] = rhs.template loadPacket<Packet2d>(i + 1, j + 0); //[b1 b2]
758
- block.packet[3] = rhs.template loadPacket<Packet2d>(i + 1, j + 2); //[b3 b4]
759
-
760
- storeBlock<double, Packet2d, Index>(blockB + ri, block);
761
- }
762
-
763
- ri += 4*vectorSize;
764
- }
765
- for(; i < depth; i++)
766
- {
767
- if(StorageOrder == ColMajor)
768
- {
769
- blockB[ri+0] = rhs(i, j+0);
770
- blockB[ri+1] = rhs(i, j+1);
771
-
772
- ri += vectorSize;
773
-
774
- blockB[ri+0] = rhs(i, j+2);
775
- blockB[ri+1] = rhs(i, j+3);
776
- } else {
777
- Packet2d rhsV = rhs.template loadPacket<Packet2d>(i, j);
778
- pstore<double>(blockB + ri, rhsV);
779
-
780
- ri += vectorSize;
781
-
782
- rhsV = rhs.template loadPacket<Packet2d>(i, j + 2);
783
- pstore<double>(blockB + ri, rhsV);
784
- }
785
- ri += vectorSize;
786
- }
787
-
788
- if(PanelMode) ri += (2*vectorSize)*(stride - offset - depth);
789
- }
790
-
791
- if (j < cols)
792
- {
793
- if(PanelMode) ri += offset*(cols - j);
794
-
795
- for(Index i = 0; i < depth; i++)
796
- {
797
- Index k = j;
798
- for(; k < cols; k++)
799
- {
800
- blockB[ri] = rhs(i, k);
801
- ri += 1;
802
- }
803
- }
804
- }
805
- }
806
- };
807
-
808
- // General template for lhs complex packing, float64 specialization.
809
- template<typename Index, typename DataMapper, typename Packet, typename PacketC, int StorageOrder, bool Conjugate, bool PanelMode>
810
- struct dhs_cpack<double, Index, DataMapper, Packet, PacketC, StorageOrder, Conjugate, PanelMode, true>
811
- {
812
- EIGEN_STRONG_INLINE void operator()(std::complex<double>* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride, Index offset)
813
- {
814
- const Index vectorSize = quad_traits<double>::vectorsize;
815
- const Index vectorDelta = vectorSize * ((PanelMode) ? stride : depth);
816
- Index rir = ((PanelMode) ? (vectorSize*offset) : 0), rii;
817
- double* blockAt = reinterpret_cast<double *>(blockA);
818
- Index j = 0;
819
-
820
- for(; j + vectorSize <= rows; j+=vectorSize)
821
- {
822
- Index i = 0;
823
-
824
- rii = rir + vectorDelta;
825
-
826
- for(; i + vectorSize <= depth; i+=vectorSize)
827
- {
828
- PacketBlock<Packet,2> blockr, blocki;
829
- PacketBlock<PacketC,4> cblock;
830
-
831
- if(StorageOrder == ColMajor)
832
- {
833
- cblock.packet[0] = lhs.template loadPacket<PacketC>(j, i + 0); //[a1 a1i]
834
- cblock.packet[1] = lhs.template loadPacket<PacketC>(j, i + 1); //[b1 b1i]
835
-
836
- cblock.packet[2] = lhs.template loadPacket<PacketC>(j + 1, i + 0); //[a2 a2i]
837
- cblock.packet[3] = lhs.template loadPacket<PacketC>(j + 1, i + 1); //[b2 b2i]
838
-
839
- blockr.packet[0] = vec_perm(cblock.packet[0].v, cblock.packet[2].v, p16uc_GETREAL64); //[a1 a2]
840
- blockr.packet[1] = vec_perm(cblock.packet[1].v, cblock.packet[3].v, p16uc_GETREAL64); //[b1 b2]
841
-
842
- blocki.packet[0] = vec_perm(cblock.packet[0].v, cblock.packet[2].v, p16uc_GETIMAG64);
843
- blocki.packet[1] = vec_perm(cblock.packet[1].v, cblock.packet[3].v, p16uc_GETIMAG64);
844
- } else {
845
- cblock.packet[0] = lhs.template loadPacket<PacketC>(j + 0, i); //[a1 a1i]
846
- cblock.packet[1] = lhs.template loadPacket<PacketC>(j + 1, i); //[a2 a2i]
847
-
848
- cblock.packet[2] = lhs.template loadPacket<PacketC>(j + 0, i + 1); //[b1 b1i]
849
- cblock.packet[3] = lhs.template loadPacket<PacketC>(j + 1, i + 1); //[b2 b2i
850
-
851
- blockr.packet[0] = vec_perm(cblock.packet[0].v, cblock.packet[1].v, p16uc_GETREAL64); //[a1 a2]
852
- blockr.packet[1] = vec_perm(cblock.packet[2].v, cblock.packet[3].v, p16uc_GETREAL64); //[b1 b2]
853
-
854
- blocki.packet[0] = vec_perm(cblock.packet[0].v, cblock.packet[1].v, p16uc_GETIMAG64);
855
- blocki.packet[1] = vec_perm(cblock.packet[2].v, cblock.packet[3].v, p16uc_GETIMAG64);
856
- }
857
-
858
- if(Conjugate)
859
- {
860
- blocki.packet[0] = -blocki.packet[0];
861
- blocki.packet[1] = -blocki.packet[1];
862
- }
863
-
864
- storeBlock<double, Packet, Index>(blockAt + rir, blockr);
865
- storeBlock<double, Packet, Index>(blockAt + rii, blocki);
866
-
867
- rir += 2*vectorSize;
868
- rii += 2*vectorSize;
869
- }
870
- for(; i < depth; i++)
871
- {
872
- PacketBlock<Packet,1> blockr, blocki;
873
- PacketBlock<PacketC,2> cblock;
874
-
875
- cblock.packet[0] = lhs.template loadPacket<PacketC>(j + 0, i);
876
- cblock.packet[1] = lhs.template loadPacket<PacketC>(j + 1, i);
877
-
878
- blockr.packet[0] = vec_perm(cblock.packet[0].v, cblock.packet[1].v, p16uc_GETREAL64);
879
- blocki.packet[0] = vec_perm(cblock.packet[0].v, cblock.packet[1].v, p16uc_GETIMAG64);
880
-
881
- if(Conjugate)
882
- {
883
- blocki.packet[0] = -blocki.packet[0];
884
- }
885
-
886
- pstore<double>(blockAt + rir, blockr.packet[0]);
887
- pstore<double>(blockAt + rii, blocki.packet[0]);
888
-
889
- rir += vectorSize;
890
- rii += vectorSize;
891
- }
892
-
893
- rir += ((PanelMode) ? (vectorSize*(2*stride - depth)) : vectorDelta);
894
- }
895
-
896
- if (j < rows)
897
- {
898
- if(PanelMode) rir += (offset*(rows - j - vectorSize));
899
- rii = rir + (((PanelMode) ? stride : depth) * (rows - j));
900
-
901
- for(Index i = 0; i < depth; i++)
902
- {
903
- Index k = j;
904
- for(; k < rows; k++)
905
- {
906
- blockAt[rir] = lhs(k, i).real();
907
-
908
- if(Conjugate)
909
- blockAt[rii] = -lhs(k, i).imag();
910
- else
911
- blockAt[rii] = lhs(k, i).imag();
912
-
913
- rir += 1;
914
- rii += 1;
915
- }
916
- }
917
- }
918
- }
919
- };
920
-
921
- // General template for rhs complex packing, float64 specialization.
922
- template<typename Index, typename DataMapper, typename Packet, typename PacketC, int StorageOrder, bool Conjugate, bool PanelMode>
923
- struct dhs_cpack<double, Index, DataMapper, Packet, PacketC, StorageOrder, Conjugate, PanelMode, false>
924
- {
925
- EIGEN_STRONG_INLINE void operator()(std::complex<double>* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride, Index offset)
926
- {
927
- const Index vectorSize = quad_traits<double>::vectorsize;
928
- const Index vectorDelta = 2*vectorSize * ((PanelMode) ? stride : depth);
929
- Index rir = ((PanelMode) ? (2*vectorSize*offset) : 0), rii;
930
- double* blockBt = reinterpret_cast<double *>(blockB);
931
- Index j = 0;
932
-
933
- for(; j + 2*vectorSize <= cols; j+=2*vectorSize)
934
- {
935
- Index i = 0;
936
-
937
- rii = rir + vectorDelta;
938
-
939
- for(; i < depth; i++)
940
- {
941
- PacketBlock<PacketC,4> cblock;
942
- PacketBlock<Packet,2> blockr, blocki;
943
-
944
- bload<DataMapper, PacketC, Index, 2, 0, ColMajor>(cblock, rhs, i, j);
945
-
946
- blockr.packet[0] = vec_perm(cblock.packet[0].v, cblock.packet[1].v, p16uc_GETREAL64);
947
- blockr.packet[1] = vec_perm(cblock.packet[2].v, cblock.packet[3].v, p16uc_GETREAL64);
948
-
949
- blocki.packet[0] = vec_perm(cblock.packet[0].v, cblock.packet[1].v, p16uc_GETIMAG64);
950
- blocki.packet[1] = vec_perm(cblock.packet[2].v, cblock.packet[3].v, p16uc_GETIMAG64);
951
-
952
- if(Conjugate)
953
- {
954
- blocki.packet[0] = -blocki.packet[0];
955
- blocki.packet[1] = -blocki.packet[1];
956
- }
957
-
958
- storeBlock<double, Packet, Index>(blockBt + rir, blockr);
959
- storeBlock<double, Packet, Index>(blockBt + rii, blocki);
960
-
961
- rir += 2*vectorSize;
962
- rii += 2*vectorSize;
963
- }
964
-
965
- rir += ((PanelMode) ? (2*vectorSize*(2*stride - depth)) : vectorDelta);
966
- }
967
-
968
- if (j < cols)
969
- {
970
- if(PanelMode) rir += (offset*(cols - j - 2*vectorSize));
971
- rii = rir + (((PanelMode) ? stride : depth) * (cols - j));
972
-
973
- for(Index i = 0; i < depth; i++)
974
- {
975
- Index k = j;
976
- for(; k < cols; k++)
977
- {
978
- blockBt[rir] = rhs(i, k).real();
979
-
980
- if(Conjugate)
981
- blockBt[rii] = -rhs(i, k).imag();
982
- else
983
- blockBt[rii] = rhs(i, k).imag();
984
-
985
- rir += 1;
986
- rii += 1;
987
- }
988
- }
989
- }
990
- }
991
- };
992
-
993
- /**************
994
- * GEMM utils *
995
- **************/
996
-
997
- // 512-bits rank1-update of acc. It can either positive or negative accumulate (useful for complex gemm).
998
- template<typename Packet, bool NegativeAccumulate>
999
- EIGEN_ALWAYS_INLINE void pger_common(PacketBlock<Packet,4>* acc, const Packet& lhsV, const Packet* rhsV)
1000
- {
1001
- if(NegativeAccumulate)
1002
- {
1003
- acc->packet[0] = vec_nmsub(lhsV, rhsV[0], acc->packet[0]);
1004
- acc->packet[1] = vec_nmsub(lhsV, rhsV[1], acc->packet[1]);
1005
- acc->packet[2] = vec_nmsub(lhsV, rhsV[2], acc->packet[2]);
1006
- acc->packet[3] = vec_nmsub(lhsV, rhsV[3], acc->packet[3]);
1007
- } else {
1008
- acc->packet[0] = vec_madd(lhsV, rhsV[0], acc->packet[0]);
1009
- acc->packet[1] = vec_madd(lhsV, rhsV[1], acc->packet[1]);
1010
- acc->packet[2] = vec_madd(lhsV, rhsV[2], acc->packet[2]);
1011
- acc->packet[3] = vec_madd(lhsV, rhsV[3], acc->packet[3]);
1012
- }
1013
- }
1014
-
1015
- template<typename Packet, bool NegativeAccumulate>
1016
- EIGEN_ALWAYS_INLINE void pger_common(PacketBlock<Packet,1>* acc, const Packet& lhsV, const Packet* rhsV)
1017
- {
1018
- if(NegativeAccumulate)
1019
- {
1020
- acc->packet[0] = vec_nmsub(lhsV, rhsV[0], acc->packet[0]);
1021
- } else {
1022
- acc->packet[0] = vec_madd(lhsV, rhsV[0], acc->packet[0]);
1023
- }
1024
- }
1025
-
1026
- template<int N, typename Scalar, typename Packet, bool NegativeAccumulate>
1027
- EIGEN_ALWAYS_INLINE void pger(PacketBlock<Packet,N>* acc, const Scalar* lhs, const Packet* rhsV)
1028
- {
1029
- Packet lhsV = pload<Packet>(lhs);
1030
-
1031
- pger_common<Packet, NegativeAccumulate>(acc, lhsV, rhsV);
1032
- }
1033
-
1034
- template<typename Scalar, typename Packet, typename Index>
1035
- EIGEN_ALWAYS_INLINE void loadPacketRemaining(const Scalar* lhs, Packet &lhsV, Index remaining_rows)
1036
- {
1037
- #ifdef _ARCH_PWR9
1038
- lhsV = vec_xl_len((Scalar *)lhs, remaining_rows * sizeof(Scalar));
1039
- #else
1040
- Index i = 0;
1041
- do {
1042
- lhsV[i] = lhs[i];
1043
- } while (++i < remaining_rows);
1044
- #endif
1045
- }
1046
-
1047
- template<int N, typename Scalar, typename Packet, typename Index, bool NegativeAccumulate>
1048
- EIGEN_ALWAYS_INLINE void pger(PacketBlock<Packet,N>* acc, const Scalar* lhs, const Packet* rhsV, Index remaining_rows)
1049
- {
1050
- Packet lhsV;
1051
- loadPacketRemaining<Scalar, Packet, Index>(lhs, lhsV, remaining_rows);
1052
-
1053
- pger_common<Packet, NegativeAccumulate>(acc, lhsV, rhsV);
1054
- }
1055
-
1056
- // 512-bits rank1-update of complex acc. It takes decoupled accumulators as entries. It also takes cares of mixed types real * complex and complex * real.
1057
- template<int N, typename Packet, bool ConjugateLhs, bool ConjugateRhs, bool LhsIsReal, bool RhsIsReal>
1058
- EIGEN_ALWAYS_INLINE void pgerc_common(PacketBlock<Packet,N>* accReal, PacketBlock<Packet,N>* accImag, const Packet &lhsV, const Packet &lhsVi, const Packet* rhsV, const Packet* rhsVi)
1059
- {
1060
- pger_common<Packet, false>(accReal, lhsV, rhsV);
1061
- if(LhsIsReal)
1062
- {
1063
- pger_common<Packet, ConjugateRhs>(accImag, lhsV, rhsVi);
1064
- EIGEN_UNUSED_VARIABLE(lhsVi);
1065
- } else {
1066
- if (!RhsIsReal) {
1067
- pger_common<Packet, ConjugateLhs == ConjugateRhs>(accReal, lhsVi, rhsVi);
1068
- pger_common<Packet, ConjugateRhs>(accImag, lhsV, rhsVi);
1069
- } else {
1070
- EIGEN_UNUSED_VARIABLE(rhsVi);
1071
- }
1072
- pger_common<Packet, ConjugateLhs>(accImag, lhsVi, rhsV);
1073
- }
1074
- }
1075
-
1076
- template<int N, typename Scalar, typename Packet, bool ConjugateLhs, bool ConjugateRhs, bool LhsIsReal, bool RhsIsReal>
1077
- EIGEN_ALWAYS_INLINE void pgerc(PacketBlock<Packet,N>* accReal, PacketBlock<Packet,N>* accImag, const Scalar* lhs_ptr, const Scalar* lhs_ptr_imag, const Packet* rhsV, const Packet* rhsVi)
1078
- {
1079
- Packet lhsV = ploadLhs<Scalar, Packet>(lhs_ptr);
1080
- Packet lhsVi;
1081
- if(!LhsIsReal) lhsVi = ploadLhs<Scalar, Packet>(lhs_ptr_imag);
1082
- else EIGEN_UNUSED_VARIABLE(lhs_ptr_imag);
1083
-
1084
- pgerc_common<N, Packet, ConjugateLhs, ConjugateRhs, LhsIsReal, RhsIsReal>(accReal, accImag, lhsV, lhsVi, rhsV, rhsVi);
1085
- }
1086
-
1087
- template<typename Scalar, typename Packet, typename Index, bool LhsIsReal>
1088
- EIGEN_ALWAYS_INLINE void loadPacketRemaining(const Scalar* lhs_ptr, const Scalar* lhs_ptr_imag, Packet &lhsV, Packet &lhsVi, Index remaining_rows)
1089
- {
1090
- #ifdef _ARCH_PWR9
1091
- lhsV = vec_xl_len((Scalar *)lhs_ptr, remaining_rows * sizeof(Scalar));
1092
- if(!LhsIsReal) lhsVi = vec_xl_len((Scalar *)lhs_ptr_imag, remaining_rows * sizeof(Scalar));
1093
- else EIGEN_UNUSED_VARIABLE(lhs_ptr_imag);
1094
- #else
1095
- Index i = 0;
1096
- do {
1097
- lhsV[i] = lhs_ptr[i];
1098
- if(!LhsIsReal) lhsVi[i] = lhs_ptr_imag[i];
1099
- } while (++i < remaining_rows);
1100
- if(LhsIsReal) EIGEN_UNUSED_VARIABLE(lhs_ptr_imag);
1101
- #endif
1102
- }
1103
-
1104
- template<int N, typename Scalar, typename Packet, typename Index, bool ConjugateLhs, bool ConjugateRhs, bool LhsIsReal, bool RhsIsReal>
1105
- EIGEN_ALWAYS_INLINE void pgerc(PacketBlock<Packet,N>* accReal, PacketBlock<Packet,N>* accImag, const Scalar* lhs_ptr, const Scalar* lhs_ptr_imag, const Packet* rhsV, const Packet* rhsVi, Index remaining_rows)
1106
- {
1107
- Packet lhsV, lhsVi;
1108
- loadPacketRemaining<Scalar, Packet, Index, LhsIsReal>(lhs_ptr, lhs_ptr_imag, lhsV, lhsVi, remaining_rows);
1109
-
1110
- pgerc_common<N, Packet, ConjugateLhs, ConjugateRhs, LhsIsReal, RhsIsReal>(accReal, accImag, lhsV, lhsVi, rhsV, rhsVi);
1111
- }
1112
-
1113
- template<typename Scalar, typename Packet>
1114
- EIGEN_ALWAYS_INLINE Packet ploadLhs(const Scalar* lhs)
1115
- {
1116
- return ploadu<Packet>(lhs);
1117
- }
1118
-
1119
- // Zero the accumulator on PacketBlock.
1120
- template<typename Scalar, typename Packet>
1121
- EIGEN_ALWAYS_INLINE void bsetzero(PacketBlock<Packet,4>& acc)
1122
- {
1123
- acc.packet[0] = pset1<Packet>((Scalar)0);
1124
- acc.packet[1] = pset1<Packet>((Scalar)0);
1125
- acc.packet[2] = pset1<Packet>((Scalar)0);
1126
- acc.packet[3] = pset1<Packet>((Scalar)0);
1127
- }
1128
-
1129
- template<typename Scalar, typename Packet>
1130
- EIGEN_ALWAYS_INLINE void bsetzero(PacketBlock<Packet,1>& acc)
1131
- {
1132
- acc.packet[0] = pset1<Packet>((Scalar)0);
1133
- }
1134
-
1135
- // Scale the PacketBlock vectors by alpha.
1136
- template<typename Packet>
1137
- EIGEN_ALWAYS_INLINE void bscale(PacketBlock<Packet,4>& acc, PacketBlock<Packet,4>& accZ, const Packet& pAlpha)
1138
- {
1139
- acc.packet[0] = pmadd(pAlpha, accZ.packet[0], acc.packet[0]);
1140
- acc.packet[1] = pmadd(pAlpha, accZ.packet[1], acc.packet[1]);
1141
- acc.packet[2] = pmadd(pAlpha, accZ.packet[2], acc.packet[2]);
1142
- acc.packet[3] = pmadd(pAlpha, accZ.packet[3], acc.packet[3]);
1143
- }
1144
-
1145
- template<typename Packet>
1146
- EIGEN_ALWAYS_INLINE void bscale(PacketBlock<Packet,1>& acc, PacketBlock<Packet,1>& accZ, const Packet& pAlpha)
1147
- {
1148
- acc.packet[0] = pmadd(pAlpha, accZ.packet[0], acc.packet[0]);
1149
- }
1150
-
1151
- template<typename Packet>
1152
- EIGEN_ALWAYS_INLINE void bscalec_common(PacketBlock<Packet,4>& acc, PacketBlock<Packet,4>& accZ, const Packet& pAlpha)
1153
- {
1154
- acc.packet[0] = pmul<Packet>(accZ.packet[0], pAlpha);
1155
- acc.packet[1] = pmul<Packet>(accZ.packet[1], pAlpha);
1156
- acc.packet[2] = pmul<Packet>(accZ.packet[2], pAlpha);
1157
- acc.packet[3] = pmul<Packet>(accZ.packet[3], pAlpha);
1158
- }
1159
-
1160
- template<typename Packet>
1161
- EIGEN_ALWAYS_INLINE void bscalec_common(PacketBlock<Packet,1>& acc, PacketBlock<Packet,1>& accZ, const Packet& pAlpha)
1162
- {
1163
- acc.packet[0] = pmul<Packet>(accZ.packet[0], pAlpha);
1164
- }
1165
-
1166
- // Complex version of PacketBlock scaling.
1167
- template<typename Packet, int N>
1168
- EIGEN_ALWAYS_INLINE void bscalec(PacketBlock<Packet,N>& aReal, PacketBlock<Packet,N>& aImag, const Packet& bReal, const Packet& bImag, PacketBlock<Packet,N>& cReal, PacketBlock<Packet,N>& cImag)
1169
- {
1170
- bscalec_common<Packet>(cReal, aReal, bReal);
1171
-
1172
- bscalec_common<Packet>(cImag, aImag, bReal);
1173
-
1174
- pger_common<Packet, true>(&cReal, bImag, aImag.packet);
1175
-
1176
- pger_common<Packet, false>(&cImag, bImag, aReal.packet);
1177
- }
1178
-
1179
- template<typename Packet>
1180
- EIGEN_ALWAYS_INLINE void band(PacketBlock<Packet,4>& acc, const Packet& pMask)
1181
- {
1182
- acc.packet[0] = pand(acc.packet[0], pMask);
1183
- acc.packet[1] = pand(acc.packet[1], pMask);
1184
- acc.packet[2] = pand(acc.packet[2], pMask);
1185
- acc.packet[3] = pand(acc.packet[3], pMask);
1186
- }
1187
-
1188
- template<typename Packet>
1189
- EIGEN_ALWAYS_INLINE void bscalec(PacketBlock<Packet,4>& aReal, PacketBlock<Packet,4>& aImag, const Packet& bReal, const Packet& bImag, PacketBlock<Packet,4>& cReal, PacketBlock<Packet,4>& cImag, const Packet& pMask)
1190
- {
1191
- band<Packet>(aReal, pMask);
1192
- band<Packet>(aImag, pMask);
1193
-
1194
- bscalec<Packet,4>(aReal, aImag, bReal, bImag, cReal, cImag);
1195
- }
1196
-
1197
- // Load a PacketBlock, the N parameters make tunning gemm easier so we can add more accumulators as needed.
1198
- template<typename DataMapper, typename Packet, typename Index, const Index accCols, int N, int StorageOrder>
1199
- EIGEN_ALWAYS_INLINE void bload(PacketBlock<Packet,4>& acc, const DataMapper& res, Index row, Index col)
1200
- {
1201
- if (StorageOrder == RowMajor) {
1202
- acc.packet[0] = res.template loadPacket<Packet>(row + 0, col + N*accCols);
1203
- acc.packet[1] = res.template loadPacket<Packet>(row + 1, col + N*accCols);
1204
- acc.packet[2] = res.template loadPacket<Packet>(row + 2, col + N*accCols);
1205
- acc.packet[3] = res.template loadPacket<Packet>(row + 3, col + N*accCols);
1206
- } else {
1207
- acc.packet[0] = res.template loadPacket<Packet>(row + N*accCols, col + 0);
1208
- acc.packet[1] = res.template loadPacket<Packet>(row + N*accCols, col + 1);
1209
- acc.packet[2] = res.template loadPacket<Packet>(row + N*accCols, col + 2);
1210
- acc.packet[3] = res.template loadPacket<Packet>(row + N*accCols, col + 3);
1211
- }
1212
- }
1213
-
1214
- // An overload of bload when you have a PacketBLock with 8 vectors.
1215
- template<typename DataMapper, typename Packet, typename Index, const Index accCols, int N, int StorageOrder>
1216
- EIGEN_ALWAYS_INLINE void bload(PacketBlock<Packet,8>& acc, const DataMapper& res, Index row, Index col)
1217
- {
1218
- if (StorageOrder == RowMajor) {
1219
- acc.packet[0] = res.template loadPacket<Packet>(row + 0, col + N*accCols);
1220
- acc.packet[1] = res.template loadPacket<Packet>(row + 1, col + N*accCols);
1221
- acc.packet[2] = res.template loadPacket<Packet>(row + 2, col + N*accCols);
1222
- acc.packet[3] = res.template loadPacket<Packet>(row + 3, col + N*accCols);
1223
- acc.packet[4] = res.template loadPacket<Packet>(row + 0, col + (N+1)*accCols);
1224
- acc.packet[5] = res.template loadPacket<Packet>(row + 1, col + (N+1)*accCols);
1225
- acc.packet[6] = res.template loadPacket<Packet>(row + 2, col + (N+1)*accCols);
1226
- acc.packet[7] = res.template loadPacket<Packet>(row + 3, col + (N+1)*accCols);
1227
- } else {
1228
- acc.packet[0] = res.template loadPacket<Packet>(row + N*accCols, col + 0);
1229
- acc.packet[1] = res.template loadPacket<Packet>(row + N*accCols, col + 1);
1230
- acc.packet[2] = res.template loadPacket<Packet>(row + N*accCols, col + 2);
1231
- acc.packet[3] = res.template loadPacket<Packet>(row + N*accCols, col + 3);
1232
- acc.packet[4] = res.template loadPacket<Packet>(row + (N+1)*accCols, col + 0);
1233
- acc.packet[5] = res.template loadPacket<Packet>(row + (N+1)*accCols, col + 1);
1234
- acc.packet[6] = res.template loadPacket<Packet>(row + (N+1)*accCols, col + 2);
1235
- acc.packet[7] = res.template loadPacket<Packet>(row + (N+1)*accCols, col + 3);
1236
- }
1237
- }
1238
-
1239
- template<typename DataMapper, typename Packet, typename Index, const Index accCols, int N, int StorageOrder>
1240
- EIGEN_ALWAYS_INLINE void bload(PacketBlock<Packet,2>& acc, const DataMapper& res, Index row, Index col)
1241
- {
1242
- acc.packet[0] = res.template loadPacket<Packet>(row + N*accCols, col + 0);
1243
- acc.packet[1] = res.template loadPacket<Packet>(row + (N+1)*accCols, col + 0);
1244
- }
1245
-
1246
- const static Packet4i mask41 = { -1, 0, 0, 0 };
1247
- const static Packet4i mask42 = { -1, -1, 0, 0 };
1248
- const static Packet4i mask43 = { -1, -1, -1, 0 };
1249
-
1250
- const static Packet2l mask21 = { -1, 0 };
1251
-
1252
- template<typename Packet>
1253
- EIGEN_ALWAYS_INLINE Packet bmask(const int remaining_rows)
1254
- {
1255
- if (remaining_rows == 0) {
1256
- return pset1<Packet>(float(0.0)); // Not used
1257
- } else {
1258
- switch (remaining_rows) {
1259
- case 1: return Packet(mask41);
1260
- case 2: return Packet(mask42);
1261
- default: return Packet(mask43);
1262
- }
1263
- }
1264
- }
1265
-
1266
- template<>
1267
- EIGEN_ALWAYS_INLINE Packet2d bmask<Packet2d>(const int remaining_rows)
1268
- {
1269
- if (remaining_rows == 0) {
1270
- return pset1<Packet2d>(double(0.0)); // Not used
1271
- } else {
1272
- return Packet2d(mask21);
1273
- }
1274
- }
1275
-
1276
- template<typename Packet>
1277
- EIGEN_ALWAYS_INLINE void bscale(PacketBlock<Packet,4>& acc, PacketBlock<Packet,4>& accZ, const Packet& pAlpha, const Packet& pMask)
1278
- {
1279
- band<Packet>(accZ, pMask);
1280
-
1281
- bscale<Packet>(acc, accZ, pAlpha);
1282
- }
1283
-
1284
- template<typename Packet>
1285
- EIGEN_ALWAYS_INLINE void pbroadcast4_old(const __UNPACK_TYPE__(Packet)* a, Packet& a0, Packet& a1, Packet& a2, Packet& a3)
1286
- {
1287
- pbroadcast4<Packet>(a, a0, a1, a2, a3);
1288
- }
1289
-
1290
- template<>
1291
- EIGEN_ALWAYS_INLINE void pbroadcast4_old<Packet2d>(const double* a, Packet2d& a0, Packet2d& a1, Packet2d& a2, Packet2d& a3)
1292
- {
1293
- a1 = pload<Packet2d>(a);
1294
- a3 = pload<Packet2d>(a + 2);
1295
- a0 = vec_splat(a1, 0);
1296
- a1 = vec_splat(a1, 1);
1297
- a2 = vec_splat(a3, 0);
1298
- a3 = vec_splat(a3, 1);
1299
- }
1300
-
1301
- // PEEL loop factor.
1302
- #define PEEL 7
1303
-
1304
- template<typename Scalar, typename Packet, typename Index>
1305
- EIGEN_ALWAYS_INLINE void MICRO_EXTRA_COL(
1306
- const Scalar* &lhs_ptr,
1307
- const Scalar* &rhs_ptr,
1308
- PacketBlock<Packet,1> &accZero,
1309
- Index remaining_rows,
1310
- Index remaining_cols)
1311
- {
1312
- Packet rhsV[1];
1313
- rhsV[0] = pset1<Packet>(rhs_ptr[0]);
1314
- pger<1,Scalar, Packet, false>(&accZero, lhs_ptr, rhsV);
1315
- lhs_ptr += remaining_rows;
1316
- rhs_ptr += remaining_cols;
1317
- }
1318
-
1319
- template<typename Scalar, typename Packet, typename DataMapper, typename Index, const Index accRows>
1320
- EIGEN_STRONG_INLINE void gemm_extra_col(
1321
- const DataMapper& res,
1322
- const Scalar* lhs_base,
1323
- const Scalar* rhs_base,
1324
- Index depth,
1325
- Index strideA,
1326
- Index offsetA,
1327
- Index row,
1328
- Index col,
1329
- Index remaining_rows,
1330
- Index remaining_cols,
1331
- const Packet& pAlpha)
1332
- {
1333
- const Scalar* rhs_ptr = rhs_base;
1334
- const Scalar* lhs_ptr = lhs_base + row*strideA + remaining_rows*offsetA;
1335
- PacketBlock<Packet,1> accZero;
1336
-
1337
- bsetzero<Scalar, Packet>(accZero);
1338
-
1339
- Index remaining_depth = (depth & -accRows);
1340
- Index k = 0;
1341
- for(; k + PEEL <= remaining_depth; k+= PEEL)
1342
- {
1343
- EIGEN_POWER_PREFETCH(rhs_ptr);
1344
- EIGEN_POWER_PREFETCH(lhs_ptr);
1345
- for (int l = 0; l < PEEL; l++) {
1346
- MICRO_EXTRA_COL<Scalar, Packet, Index>(lhs_ptr, rhs_ptr, accZero, remaining_rows, remaining_cols);
1347
- }
1348
- }
1349
- for(; k < remaining_depth; k++)
1350
- {
1351
- MICRO_EXTRA_COL<Scalar, Packet, Index>(lhs_ptr, rhs_ptr, accZero, remaining_rows, remaining_cols);
1352
- }
1353
- for(; k < depth; k++)
1354
- {
1355
- Packet rhsV[1];
1356
- rhsV[0] = pset1<Packet>(rhs_ptr[0]);
1357
- pger<1, Scalar, Packet, Index, false>(&accZero, lhs_ptr, rhsV, remaining_rows);
1358
- lhs_ptr += remaining_rows;
1359
- rhs_ptr += remaining_cols;
1360
- }
1361
-
1362
- accZero.packet[0] = vec_mul(pAlpha, accZero.packet[0]);
1363
- for(Index i = 0; i < remaining_rows; i++) {
1364
- res(row + i, col) += accZero.packet[0][i];
1365
- }
1366
- }
1367
-
1368
- template<typename Scalar, typename Packet, typename Index, const Index accRows>
1369
- EIGEN_ALWAYS_INLINE void MICRO_EXTRA_ROW(
1370
- const Scalar* &lhs_ptr,
1371
- const Scalar* &rhs_ptr,
1372
- PacketBlock<Packet,4> &accZero,
1373
- Index remaining_rows)
1374
- {
1375
- Packet rhsV[4];
1376
- pbroadcast4<Packet>(rhs_ptr, rhsV[0], rhsV[1], rhsV[2], rhsV[3]);
1377
- pger<4, Scalar, Packet, false>(&accZero, lhs_ptr, rhsV);
1378
- lhs_ptr += remaining_rows;
1379
- rhs_ptr += accRows;
1380
- }
1381
-
1382
- template<typename Scalar, typename Packet, typename DataMapper, typename Index, const Index accRows, const Index accCols>
1383
- EIGEN_STRONG_INLINE void gemm_extra_row(
1384
- const DataMapper& res,
1385
- const Scalar* lhs_base,
1386
- const Scalar* rhs_base,
1387
- Index depth,
1388
- Index strideA,
1389
- Index offsetA,
1390
- Index row,
1391
- Index col,
1392
- Index rows,
1393
- Index cols,
1394
- Index remaining_rows,
1395
- const Packet& pAlpha,
1396
- const Packet& pMask)
1397
- {
1398
- const Scalar* rhs_ptr = rhs_base;
1399
- const Scalar* lhs_ptr = lhs_base + row*strideA + remaining_rows*offsetA;
1400
- PacketBlock<Packet,4> accZero, acc;
1401
-
1402
- bsetzero<Scalar, Packet>(accZero);
1403
-
1404
- Index remaining_depth = (col + accRows < cols) ? depth : (depth & -accRows);
1405
- Index k = 0;
1406
- for(; k + PEEL <= remaining_depth; k+= PEEL)
1407
- {
1408
- EIGEN_POWER_PREFETCH(rhs_ptr);
1409
- EIGEN_POWER_PREFETCH(lhs_ptr);
1410
- for (int l = 0; l < PEEL; l++) {
1411
- MICRO_EXTRA_ROW<Scalar, Packet, Index, accRows>(lhs_ptr, rhs_ptr, accZero, remaining_rows);
1412
- }
1413
- }
1414
- for(; k < remaining_depth; k++)
1415
- {
1416
- MICRO_EXTRA_ROW<Scalar, Packet, Index, accRows>(lhs_ptr, rhs_ptr, accZero, remaining_rows);
1417
- }
1418
-
1419
- if ((remaining_depth == depth) && (rows >= accCols))
1420
- {
1421
- for(Index j = 0; j < 4; j++) {
1422
- acc.packet[j] = res.template loadPacket<Packet>(row, col + j);
1423
- }
1424
- bscale<Packet>(acc, accZero, pAlpha, pMask);
1425
- res.template storePacketBlock<Packet,4>(row, col, acc);
1426
- } else {
1427
- for(; k < depth; k++)
1428
- {
1429
- Packet rhsV[4];
1430
- pbroadcast4<Packet>(rhs_ptr, rhsV[0], rhsV[1], rhsV[2], rhsV[3]);
1431
- pger<4, Scalar, Packet, Index, false>(&accZero, lhs_ptr, rhsV, remaining_rows);
1432
- lhs_ptr += remaining_rows;
1433
- rhs_ptr += accRows;
1434
- }
1435
-
1436
- for(Index j = 0; j < 4; j++) {
1437
- accZero.packet[j] = vec_mul(pAlpha, accZero.packet[j]);
1438
- }
1439
- for(Index j = 0; j < 4; j++) {
1440
- for(Index i = 0; i < remaining_rows; i++) {
1441
- res(row + i, col + j) += accZero.packet[j][i];
1442
- }
1443
- }
1444
- }
1445
- }
1446
-
1447
- #define MICRO_UNROLL(func) \
1448
- func(0) func(1) func(2) func(3) func(4) func(5) func(6) func(7)
1449
-
1450
- #define MICRO_UNROLL_WORK(func, func2, peel) \
1451
- MICRO_UNROLL(func2); \
1452
- func(0,peel) func(1,peel) func(2,peel) func(3,peel) \
1453
- func(4,peel) func(5,peel) func(6,peel) func(7,peel)
1454
-
1455
- #define MICRO_LOAD_ONE(iter) \
1456
- if (unroll_factor > iter) { \
1457
- lhsV##iter = ploadLhs<Scalar, Packet>(lhs_ptr##iter); \
1458
- lhs_ptr##iter += accCols; \
1459
- } else { \
1460
- EIGEN_UNUSED_VARIABLE(lhsV##iter); \
1461
- }
1462
-
1463
- #define MICRO_WORK_ONE(iter, peel) \
1464
- if (unroll_factor > iter) { \
1465
- pger_common<Packet, false>(&accZero##iter, lhsV##iter, rhsV##peel); \
1466
- }
1467
-
1468
- #define MICRO_TYPE_PEEL4(func, func2, peel) \
1469
- if (PEEL > peel) { \
1470
- Packet lhsV0, lhsV1, lhsV2, lhsV3, lhsV4, lhsV5, lhsV6, lhsV7; \
1471
- pbroadcast4<Packet>(rhs_ptr + (accRows * peel), rhsV##peel[0], rhsV##peel[1], rhsV##peel[2], rhsV##peel[3]); \
1472
- MICRO_UNROLL_WORK(func, func2, peel) \
1473
- } else { \
1474
- EIGEN_UNUSED_VARIABLE(rhsV##peel); \
1475
- }
1476
-
1477
- #define MICRO_TYPE_PEEL1(func, func2, peel) \
1478
- if (PEEL > peel) { \
1479
- Packet lhsV0, lhsV1, lhsV2, lhsV3, lhsV4, lhsV5, lhsV6, lhsV7; \
1480
- rhsV##peel[0] = pset1<Packet>(rhs_ptr[remaining_cols * peel]); \
1481
- MICRO_UNROLL_WORK(func, func2, peel) \
1482
- } else { \
1483
- EIGEN_UNUSED_VARIABLE(rhsV##peel); \
1484
- }
1485
-
1486
- #define MICRO_UNROLL_TYPE_PEEL(M, func, func1, func2) \
1487
- Packet rhsV0[M], rhsV1[M], rhsV2[M], rhsV3[M], rhsV4[M], rhsV5[M], rhsV6[M], rhsV7[M], rhsV8[M], rhsV9[M]; \
1488
- func(func1,func2,0); func(func1,func2,1); \
1489
- func(func1,func2,2); func(func1,func2,3); \
1490
- func(func1,func2,4); func(func1,func2,5); \
1491
- func(func1,func2,6); func(func1,func2,7); \
1492
- func(func1,func2,8); func(func1,func2,9);
1493
-
1494
- #define MICRO_UNROLL_TYPE_ONE(M, func, func1, func2) \
1495
- Packet rhsV0[M]; \
1496
- func(func1,func2,0);
1497
-
1498
- #define MICRO_ONE_PEEL4 \
1499
- MICRO_UNROLL_TYPE_PEEL(4, MICRO_TYPE_PEEL4, MICRO_WORK_ONE, MICRO_LOAD_ONE); \
1500
- rhs_ptr += (accRows * PEEL);
1501
-
1502
- #define MICRO_ONE4 \
1503
- MICRO_UNROLL_TYPE_ONE(4, MICRO_TYPE_PEEL4, MICRO_WORK_ONE, MICRO_LOAD_ONE); \
1504
- rhs_ptr += accRows;
1505
-
1506
- #define MICRO_ONE_PEEL1 \
1507
- MICRO_UNROLL_TYPE_PEEL(1, MICRO_TYPE_PEEL1, MICRO_WORK_ONE, MICRO_LOAD_ONE); \
1508
- rhs_ptr += (remaining_cols * PEEL);
1509
-
1510
- #define MICRO_ONE1 \
1511
- MICRO_UNROLL_TYPE_ONE(1, MICRO_TYPE_PEEL1, MICRO_WORK_ONE, MICRO_LOAD_ONE); \
1512
- rhs_ptr += remaining_cols;
1513
-
1514
- #define MICRO_DST_PTR_ONE(iter) \
1515
- if (unroll_factor > iter) { \
1516
- bsetzero<Scalar, Packet>(accZero##iter); \
1517
- } else { \
1518
- EIGEN_UNUSED_VARIABLE(accZero##iter); \
1519
- }
1520
-
1521
- #define MICRO_DST_PTR MICRO_UNROLL(MICRO_DST_PTR_ONE)
1522
-
1523
- #define MICRO_SRC_PTR_ONE(iter) \
1524
- if (unroll_factor > iter) { \
1525
- lhs_ptr##iter = lhs_base + ( (row/accCols) + iter )*strideA*accCols + accCols*offsetA; \
1526
- } else { \
1527
- EIGEN_UNUSED_VARIABLE(lhs_ptr##iter); \
1528
- }
1529
-
1530
- #define MICRO_SRC_PTR MICRO_UNROLL(MICRO_SRC_PTR_ONE)
1531
-
1532
- #define MICRO_PREFETCH_ONE(iter) \
1533
- if (unroll_factor > iter) { \
1534
- EIGEN_POWER_PREFETCH(lhs_ptr##iter); \
1535
- }
1536
-
1537
- #define MICRO_PREFETCH MICRO_UNROLL(MICRO_PREFETCH_ONE)
1538
-
1539
- #define MICRO_STORE_ONE(iter) \
1540
- if (unroll_factor > iter) { \
1541
- acc.packet[0] = res.template loadPacket<Packet>(row + iter*accCols, col + 0); \
1542
- acc.packet[1] = res.template loadPacket<Packet>(row + iter*accCols, col + 1); \
1543
- acc.packet[2] = res.template loadPacket<Packet>(row + iter*accCols, col + 2); \
1544
- acc.packet[3] = res.template loadPacket<Packet>(row + iter*accCols, col + 3); \
1545
- bscale<Packet>(acc, accZero##iter, pAlpha); \
1546
- res.template storePacketBlock<Packet,4>(row + iter*accCols, col, acc); \
1547
- }
1548
-
1549
- #define MICRO_STORE MICRO_UNROLL(MICRO_STORE_ONE)
1550
-
1551
- #define MICRO_COL_STORE_ONE(iter) \
1552
- if (unroll_factor > iter) { \
1553
- acc.packet[0] = res.template loadPacket<Packet>(row + iter*accCols, col + 0); \
1554
- bscale<Packet>(acc, accZero##iter, pAlpha); \
1555
- res.template storePacketBlock<Packet,1>(row + iter*accCols, col, acc); \
1556
- }
1557
-
1558
- #define MICRO_COL_STORE MICRO_UNROLL(MICRO_COL_STORE_ONE)
1559
-
1560
- template<int unroll_factor, typename Scalar, typename Packet, typename DataMapper, typename Index, const Index accRows, const Index accCols>
1561
- EIGEN_STRONG_INLINE void gemm_unrolled_iteration(
1562
- const DataMapper& res,
1563
- const Scalar* lhs_base,
1564
- const Scalar* rhs_base,
1565
- Index depth,
1566
- Index strideA,
1567
- Index offsetA,
1568
- Index& row,
1569
- Index col,
1570
- const Packet& pAlpha)
1571
- {
1572
- const Scalar* rhs_ptr = rhs_base;
1573
- const Scalar* lhs_ptr0 = NULL, * lhs_ptr1 = NULL, * lhs_ptr2 = NULL, * lhs_ptr3 = NULL, * lhs_ptr4 = NULL, * lhs_ptr5 = NULL, * lhs_ptr6 = NULL, * lhs_ptr7 = NULL;
1574
- PacketBlock<Packet,4> accZero0, accZero1, accZero2, accZero3, accZero4, accZero5, accZero6, accZero7;
1575
- PacketBlock<Packet,4> acc;
1576
-
1577
- MICRO_SRC_PTR
1578
- MICRO_DST_PTR
1579
-
1580
- Index k = 0;
1581
- for(; k + PEEL <= depth; k+= PEEL)
1582
- {
1583
- EIGEN_POWER_PREFETCH(rhs_ptr);
1584
- MICRO_PREFETCH
1585
- MICRO_ONE_PEEL4
1586
- }
1587
- for(; k < depth; k++)
1588
- {
1589
- MICRO_ONE4
1590
- }
1591
- MICRO_STORE
1592
-
1593
- row += unroll_factor*accCols;
1594
- }
1595
-
1596
- template<int unroll_factor, typename Scalar, typename Packet, typename DataMapper, typename Index, const Index accCols>
1597
- EIGEN_STRONG_INLINE void gemm_unrolled_col_iteration(
1598
- const DataMapper& res,
1599
- const Scalar* lhs_base,
1600
- const Scalar* rhs_base,
1601
- Index depth,
1602
- Index strideA,
1603
- Index offsetA,
1604
- Index& row,
1605
- Index col,
1606
- Index remaining_cols,
1607
- const Packet& pAlpha)
1608
- {
1609
- const Scalar* rhs_ptr = rhs_base;
1610
- const Scalar* lhs_ptr0 = NULL, * lhs_ptr1 = NULL, * lhs_ptr2 = NULL, * lhs_ptr3 = NULL, * lhs_ptr4 = NULL, * lhs_ptr5 = NULL, * lhs_ptr6 = NULL, *lhs_ptr7 = NULL;
1611
- PacketBlock<Packet,1> accZero0, accZero1, accZero2, accZero3, accZero4, accZero5, accZero6, accZero7;
1612
- PacketBlock<Packet,1> acc;
1613
-
1614
- MICRO_SRC_PTR
1615
- MICRO_DST_PTR
1616
-
1617
- Index k = 0;
1618
- for(; k + PEEL <= depth; k+= PEEL)
1619
- {
1620
- EIGEN_POWER_PREFETCH(rhs_ptr);
1621
- MICRO_PREFETCH
1622
- MICRO_ONE_PEEL1
1623
- }
1624
- for(; k < depth; k++)
1625
- {
1626
- MICRO_ONE1
1627
- }
1628
- MICRO_COL_STORE
1629
-
1630
- row += unroll_factor*accCols;
1631
- }
1632
-
1633
- template<typename Scalar, typename Packet, typename DataMapper, typename Index, const Index accCols>
1634
- EIGEN_STRONG_INLINE void gemm_unrolled_col(
1635
- const DataMapper& res,
1636
- const Scalar* lhs_base,
1637
- const Scalar* rhs_base,
1638
- Index depth,
1639
- Index strideA,
1640
- Index offsetA,
1641
- Index& row,
1642
- Index rows,
1643
- Index col,
1644
- Index remaining_cols,
1645
- const Packet& pAlpha)
1646
- {
1647
- #define MAX_UNROLL 6
1648
- while(row + MAX_UNROLL*accCols <= rows) {
1649
- gemm_unrolled_col_iteration<MAX_UNROLL, Scalar, Packet, DataMapper, Index, accCols>(res, lhs_base, rhs_base, depth, strideA, offsetA, row, col, remaining_cols, pAlpha);
1650
- }
1651
- switch( (rows-row)/accCols ) {
1652
- #if MAX_UNROLL > 7
1653
- case 7:
1654
- gemm_unrolled_col_iteration<7, Scalar, Packet, DataMapper, Index, accCols>(res, lhs_base, rhs_base, depth, strideA, offsetA, row, col, remaining_cols, pAlpha);
1655
- break;
1656
- #endif
1657
- #if MAX_UNROLL > 6
1658
- case 6:
1659
- gemm_unrolled_col_iteration<6, Scalar, Packet, DataMapper, Index, accCols>(res, lhs_base, rhs_base, depth, strideA, offsetA, row, col, remaining_cols, pAlpha);
1660
- break;
1661
- #endif
1662
- #if MAX_UNROLL > 5
1663
- case 5:
1664
- gemm_unrolled_col_iteration<5, Scalar, Packet, DataMapper, Index, accCols>(res, lhs_base, rhs_base, depth, strideA, offsetA, row, col, remaining_cols, pAlpha);
1665
- break;
1666
- #endif
1667
- #if MAX_UNROLL > 4
1668
- case 4:
1669
- gemm_unrolled_col_iteration<4, Scalar, Packet, DataMapper, Index, accCols>(res, lhs_base, rhs_base, depth, strideA, offsetA, row, col, remaining_cols, pAlpha);
1670
- break;
1671
- #endif
1672
- #if MAX_UNROLL > 3
1673
- case 3:
1674
- gemm_unrolled_col_iteration<3, Scalar, Packet, DataMapper, Index, accCols>(res, lhs_base, rhs_base, depth, strideA, offsetA, row, col, remaining_cols, pAlpha);
1675
- break;
1676
- #endif
1677
- #if MAX_UNROLL > 2
1678
- case 2:
1679
- gemm_unrolled_col_iteration<2, Scalar, Packet, DataMapper, Index, accCols>(res, lhs_base, rhs_base, depth, strideA, offsetA, row, col, remaining_cols, pAlpha);
1680
- break;
1681
- #endif
1682
- #if MAX_UNROLL > 1
1683
- case 1:
1684
- gemm_unrolled_col_iteration<1, Scalar, Packet, DataMapper, Index, accCols>(res, lhs_base, rhs_base, depth, strideA, offsetA, row, col, remaining_cols, pAlpha);
1685
- break;
1686
- #endif
1687
- default:
1688
- break;
1689
- }
1690
- #undef MAX_UNROLL
1691
- }
1692
-
1693
- /****************
1694
- * GEMM kernels *
1695
- * **************/
1696
- template<typename Scalar, typename Index, typename Packet, typename RhsPacket, typename DataMapper, const Index accRows, const Index accCols>
1697
- EIGEN_STRONG_INLINE void gemm(const DataMapper& res, const Scalar* blockA, const Scalar* blockB, Index rows, Index depth, Index cols, Scalar alpha, Index strideA, Index strideB, Index offsetA, Index offsetB)
1698
- {
1699
- const Index remaining_rows = rows % accCols;
1700
- const Index remaining_cols = cols % accRows;
1701
-
1702
- if( strideA == -1 ) strideA = depth;
1703
- if( strideB == -1 ) strideB = depth;
1704
-
1705
- const Packet pAlpha = pset1<Packet>(alpha);
1706
- const Packet pMask = bmask<Packet>((const int)(remaining_rows));
1707
-
1708
- Index col = 0;
1709
- for(; col + accRows <= cols; col += accRows)
1710
- {
1711
- const Scalar* rhs_base = blockB + col*strideB + accRows*offsetB;
1712
- const Scalar* lhs_base = blockA;
1713
- Index row = 0;
1714
-
1715
- #define MAX_UNROLL 6
1716
- while(row + MAX_UNROLL*accCols <= rows) {
1717
- gemm_unrolled_iteration<MAX_UNROLL, Scalar, Packet, DataMapper, Index, accRows, accCols>(res, lhs_base, rhs_base, depth, strideA, offsetA, row, col, pAlpha);
1718
- }
1719
- switch( (rows-row)/accCols ) {
1720
- #if MAX_UNROLL > 7
1721
- case 7:
1722
- gemm_unrolled_iteration<7, Scalar, Packet, DataMapper, Index, accRows, accCols>(res, lhs_base, rhs_base, depth, strideA, offsetA, row, col, pAlpha);
1723
- break;
1724
- #endif
1725
- #if MAX_UNROLL > 6
1726
- case 6:
1727
- gemm_unrolled_iteration<6, Scalar, Packet, DataMapper, Index, accRows, accCols>(res, lhs_base, rhs_base, depth, strideA, offsetA, row, col, pAlpha);
1728
- break;
1729
- #endif
1730
- #if MAX_UNROLL > 5
1731
- case 5:
1732
- gemm_unrolled_iteration<5, Scalar, Packet, DataMapper, Index, accRows, accCols>(res, lhs_base, rhs_base, depth, strideA, offsetA, row, col, pAlpha);
1733
- break;
1734
- #endif
1735
- #if MAX_UNROLL > 4
1736
- case 4:
1737
- gemm_unrolled_iteration<4, Scalar, Packet, DataMapper, Index, accRows, accCols>(res, lhs_base, rhs_base, depth, strideA, offsetA, row, col, pAlpha);
1738
- break;
1739
- #endif
1740
- #if MAX_UNROLL > 3
1741
- case 3:
1742
- gemm_unrolled_iteration<3, Scalar, Packet, DataMapper, Index, accRows, accCols>(res, lhs_base, rhs_base, depth, strideA, offsetA, row, col, pAlpha);
1743
- break;
1744
- #endif
1745
- #if MAX_UNROLL > 2
1746
- case 2:
1747
- gemm_unrolled_iteration<2, Scalar, Packet, DataMapper, Index, accRows, accCols>(res, lhs_base, rhs_base, depth, strideA, offsetA, row, col, pAlpha);
1748
- break;
1749
- #endif
1750
- #if MAX_UNROLL > 1
1751
- case 1:
1752
- gemm_unrolled_iteration<1, Scalar, Packet, DataMapper, Index, accRows, accCols>(res, lhs_base, rhs_base, depth, strideA, offsetA, row, col, pAlpha);
1753
- break;
1754
- #endif
1755
- default:
1756
- break;
1757
- }
1758
- #undef MAX_UNROLL
1759
-
1760
- if(remaining_rows > 0)
1761
- {
1762
- gemm_extra_row<Scalar, Packet, DataMapper, Index, accRows, accCols>(res, lhs_base, rhs_base, depth, strideA, offsetA, row, col, rows, cols, remaining_rows, pAlpha, pMask);
1763
- }
1764
- }
1765
-
1766
- if(remaining_cols > 0)
1767
- {
1768
- const Scalar* rhs_base = blockB + col*strideB + remaining_cols*offsetB;
1769
- const Scalar* lhs_base = blockA;
1770
-
1771
- for(; col < cols; col++)
1772
- {
1773
- Index row = 0;
1774
-
1775
- gemm_unrolled_col<Scalar, Packet, DataMapper, Index, accCols>(res, lhs_base, rhs_base, depth, strideA, offsetA, row, rows, col, remaining_cols, pAlpha);
1776
-
1777
- if (remaining_rows > 0)
1778
- {
1779
- gemm_extra_col<Scalar, Packet, DataMapper, Index, accRows>(res, lhs_base, rhs_base, depth, strideA, offsetA, row, col, remaining_rows, remaining_cols, pAlpha);
1780
- }
1781
- rhs_base++;
1782
- }
1783
- }
1784
- }
1785
-
1786
- #define accColsC (accCols / 2)
1787
- #define advanceRows ((LhsIsReal) ? 1 : 2)
1788
- #define advanceCols ((RhsIsReal) ? 1 : 2)
1789
-
1790
- // PEEL_COMPLEX loop factor.
1791
- #define PEEL_COMPLEX 3
1792
-
1793
- template<typename Scalar, typename Packet, typename Index, const Index accRows, bool ConjugateLhs, bool ConjugateRhs, bool LhsIsReal, bool RhsIsReal>
1794
- EIGEN_ALWAYS_INLINE void MICRO_COMPLEX_EXTRA_COL(
1795
- const Scalar* &lhs_ptr_real, const Scalar* &lhs_ptr_imag,
1796
- const Scalar* &rhs_ptr_real, const Scalar* &rhs_ptr_imag,
1797
- PacketBlock<Packet,1> &accReal, PacketBlock<Packet,1> &accImag,
1798
- Index remaining_rows,
1799
- Index remaining_cols)
1800
- {
1801
- Packet rhsV[1], rhsVi[1];
1802
- rhsV[0] = pset1<Packet>(rhs_ptr_real[0]);
1803
- if(!RhsIsReal) rhsVi[0] = pset1<Packet>(rhs_ptr_imag[0]);
1804
- pgerc<1, Scalar, Packet, ConjugateLhs, ConjugateRhs, LhsIsReal, RhsIsReal>(&accReal, &accImag, lhs_ptr_real, lhs_ptr_imag, rhsV, rhsVi);
1805
- lhs_ptr_real += remaining_rows;
1806
- if(!LhsIsReal) lhs_ptr_imag += remaining_rows;
1807
- else EIGEN_UNUSED_VARIABLE(lhs_ptr_imag);
1808
- rhs_ptr_real += remaining_cols;
1809
- if(!RhsIsReal) rhs_ptr_imag += remaining_cols;
1810
- else EIGEN_UNUSED_VARIABLE(rhs_ptr_imag);
1811
- }
1812
-
1813
- template<typename Scalar, typename Packet, typename Packetc, typename DataMapper, typename Index, const Index accRows, const Index accCols, bool ConjugateLhs, bool ConjugateRhs, bool LhsIsReal, bool RhsIsReal>
1814
- EIGEN_STRONG_INLINE void gemm_complex_extra_col(
1815
- const DataMapper& res,
1816
- const Scalar* lhs_base,
1817
- const Scalar* rhs_base,
1818
- Index depth,
1819
- Index strideA,
1820
- Index offsetA,
1821
- Index strideB,
1822
- Index row,
1823
- Index col,
1824
- Index remaining_rows,
1825
- Index remaining_cols,
1826
- const Packet& pAlphaReal,
1827
- const Packet& pAlphaImag)
1828
- {
1829
- const Scalar* rhs_ptr_real = rhs_base;
1830
- const Scalar* rhs_ptr_imag;
1831
- if(!RhsIsReal) rhs_ptr_imag = rhs_base + remaining_cols*strideB;
1832
- else EIGEN_UNUSED_VARIABLE(rhs_ptr_imag);
1833
- const Scalar* lhs_ptr_real = lhs_base + advanceRows*row*strideA + remaining_rows*offsetA;
1834
- const Scalar* lhs_ptr_imag;
1835
- if(!LhsIsReal) lhs_ptr_imag = lhs_ptr_real + remaining_rows*strideA;
1836
- else EIGEN_UNUSED_VARIABLE(lhs_ptr_imag);
1837
- PacketBlock<Packet,1> accReal, accImag;
1838
- PacketBlock<Packet,1> taccReal, taccImag;
1839
- PacketBlock<Packetc,1> acc0, acc1;
1840
-
1841
- bsetzero<Scalar, Packet>(accReal);
1842
- bsetzero<Scalar, Packet>(accImag);
1843
-
1844
- Index remaining_depth = (depth & -accRows);
1845
- Index k = 0;
1846
- for(; k + PEEL_COMPLEX <= remaining_depth; k+= PEEL_COMPLEX)
1847
- {
1848
- EIGEN_POWER_PREFETCH(rhs_ptr_real);
1849
- if(!RhsIsReal) {
1850
- EIGEN_POWER_PREFETCH(rhs_ptr_imag);
1851
- }
1852
- EIGEN_POWER_PREFETCH(lhs_ptr_real);
1853
- if(!LhsIsReal) {
1854
- EIGEN_POWER_PREFETCH(lhs_ptr_imag);
1855
- }
1856
- for (int l = 0; l < PEEL_COMPLEX; l++) {
1857
- MICRO_COMPLEX_EXTRA_COL<Scalar, Packet, Index, accRows, ConjugateLhs, ConjugateRhs, LhsIsReal, RhsIsReal>(lhs_ptr_real, lhs_ptr_imag, rhs_ptr_real, rhs_ptr_imag, accReal, accImag, remaining_rows, remaining_cols);
1858
- }
1859
- }
1860
- for(; k < remaining_depth; k++)
1861
- {
1862
- MICRO_COMPLEX_EXTRA_COL<Scalar, Packet, Index, accRows, ConjugateLhs, ConjugateRhs, LhsIsReal, RhsIsReal>(lhs_ptr_real, lhs_ptr_imag, rhs_ptr_real, rhs_ptr_imag, accReal, accImag, remaining_rows, remaining_cols);
1863
- }
1864
-
1865
- for(; k < depth; k++)
1866
- {
1867
- Packet rhsV[1], rhsVi[1];
1868
- rhsV[0] = pset1<Packet>(rhs_ptr_real[0]);
1869
- if(!RhsIsReal) rhsVi[0] = pset1<Packet>(rhs_ptr_imag[0]);
1870
- pgerc<1, Scalar, Packet, Index, ConjugateLhs, ConjugateRhs, LhsIsReal, RhsIsReal>(&accReal, &accImag, lhs_ptr_real, lhs_ptr_imag, rhsV, rhsVi, remaining_rows);
1871
- lhs_ptr_real += remaining_rows;
1872
- if(!LhsIsReal) lhs_ptr_imag += remaining_rows;
1873
- rhs_ptr_real += remaining_cols;
1874
- if(!RhsIsReal) rhs_ptr_imag += remaining_cols;
1875
- }
1876
-
1877
- bscalec<Packet,1>(accReal, accImag, pAlphaReal, pAlphaImag, taccReal, taccImag);
1878
- bcouple_common<Packet, Packetc>(taccReal, taccImag, acc0, acc1);
1879
-
1880
- if ((sizeof(Scalar) == sizeof(float)) && (remaining_rows == 1))
1881
- {
1882
- res(row + 0, col + 0) += pfirst<Packetc>(acc0.packet[0]);
1883
- } else {
1884
- acc0.packet[0] += res.template loadPacket<Packetc>(row + 0, col + 0);
1885
- res.template storePacketBlock<Packetc,1>(row + 0, col + 0, acc0);
1886
- if(remaining_rows > accColsC) {
1887
- res(row + accColsC, col + 0) += pfirst<Packetc>(acc1.packet[0]);
1888
- }
1889
- }
1890
- }
1891
-
1892
- template<typename Scalar, typename Packet, typename Index, const Index accRows, bool ConjugateLhs, bool ConjugateRhs, bool LhsIsReal, bool RhsIsReal>
1893
- EIGEN_ALWAYS_INLINE void MICRO_COMPLEX_EXTRA_ROW(
1894
- const Scalar* &lhs_ptr_real, const Scalar* &lhs_ptr_imag,
1895
- const Scalar* &rhs_ptr_real, const Scalar* &rhs_ptr_imag,
1896
- PacketBlock<Packet,4> &accReal, PacketBlock<Packet,4> &accImag,
1897
- Index remaining_rows)
1898
- {
1899
- Packet rhsV[4], rhsVi[4];
1900
- pbroadcast4_old<Packet>(rhs_ptr_real, rhsV[0], rhsV[1], rhsV[2], rhsV[3]);
1901
- if(!RhsIsReal) pbroadcast4_old<Packet>(rhs_ptr_imag, rhsVi[0], rhsVi[1], rhsVi[2], rhsVi[3]);
1902
- pgerc<4, Scalar, Packet, ConjugateLhs, ConjugateRhs, LhsIsReal, RhsIsReal>(&accReal, &accImag, lhs_ptr_real, lhs_ptr_imag, rhsV, rhsVi);
1903
- lhs_ptr_real += remaining_rows;
1904
- if(!LhsIsReal) lhs_ptr_imag += remaining_rows;
1905
- else EIGEN_UNUSED_VARIABLE(lhs_ptr_imag);
1906
- rhs_ptr_real += accRows;
1907
- if(!RhsIsReal) rhs_ptr_imag += accRows;
1908
- else EIGEN_UNUSED_VARIABLE(rhs_ptr_imag);
1909
- }
1910
-
1911
- template<typename Scalar, typename Packet, typename Packetc, typename DataMapper, typename Index, const Index accRows, const Index accCols, bool ConjugateLhs, bool ConjugateRhs, bool LhsIsReal, bool RhsIsReal>
1912
- EIGEN_STRONG_INLINE void gemm_complex_extra_row(
1913
- const DataMapper& res,
1914
- const Scalar* lhs_base,
1915
- const Scalar* rhs_base,
1916
- Index depth,
1917
- Index strideA,
1918
- Index offsetA,
1919
- Index strideB,
1920
- Index row,
1921
- Index col,
1922
- Index rows,
1923
- Index cols,
1924
- Index remaining_rows,
1925
- const Packet& pAlphaReal,
1926
- const Packet& pAlphaImag,
1927
- const Packet& pMask)
1928
- {
1929
- const Scalar* rhs_ptr_real = rhs_base;
1930
- const Scalar* rhs_ptr_imag;
1931
- if(!RhsIsReal) rhs_ptr_imag = rhs_base + accRows*strideB;
1932
- else EIGEN_UNUSED_VARIABLE(rhs_ptr_imag);
1933
- const Scalar* lhs_ptr_real = lhs_base + advanceRows*row*strideA + remaining_rows*offsetA;
1934
- const Scalar* lhs_ptr_imag;
1935
- if(!LhsIsReal) lhs_ptr_imag = lhs_ptr_real + remaining_rows*strideA;
1936
- else EIGEN_UNUSED_VARIABLE(lhs_ptr_imag);
1937
- PacketBlock<Packet,4> accReal, accImag;
1938
- PacketBlock<Packet,4> taccReal, taccImag;
1939
- PacketBlock<Packetc,4> acc0, acc1;
1940
- PacketBlock<Packetc,8> tRes;
1941
-
1942
- bsetzero<Scalar, Packet>(accReal);
1943
- bsetzero<Scalar, Packet>(accImag);
1944
-
1945
- Index remaining_depth = (col + accRows < cols) ? depth : (depth & -accRows);
1946
- Index k = 0;
1947
- for(; k + PEEL_COMPLEX <= remaining_depth; k+= PEEL_COMPLEX)
1948
- {
1949
- EIGEN_POWER_PREFETCH(rhs_ptr_real);
1950
- if(!RhsIsReal) {
1951
- EIGEN_POWER_PREFETCH(rhs_ptr_imag);
1952
- }
1953
- EIGEN_POWER_PREFETCH(lhs_ptr_real);
1954
- if(!LhsIsReal) {
1955
- EIGEN_POWER_PREFETCH(lhs_ptr_imag);
1956
- }
1957
- for (int l = 0; l < PEEL_COMPLEX; l++) {
1958
- MICRO_COMPLEX_EXTRA_ROW<Scalar, Packet, Index, accRows, ConjugateLhs, ConjugateRhs, LhsIsReal, RhsIsReal>(lhs_ptr_real, lhs_ptr_imag, rhs_ptr_real, rhs_ptr_imag, accReal, accImag, remaining_rows);
1959
- }
1960
- }
1961
- for(; k < remaining_depth; k++)
1962
- {
1963
- MICRO_COMPLEX_EXTRA_ROW<Scalar, Packet, Index, accRows, ConjugateLhs, ConjugateRhs, LhsIsReal, RhsIsReal>(lhs_ptr_real, lhs_ptr_imag, rhs_ptr_real, rhs_ptr_imag, accReal, accImag, remaining_rows);
1964
- }
1965
-
1966
- if ((remaining_depth == depth) && (rows >= accCols))
1967
- {
1968
- bload<DataMapper, Packetc, Index, accColsC, 0, ColMajor>(tRes, res, row, col);
1969
- bscalec<Packet>(accReal, accImag, pAlphaReal, pAlphaImag, taccReal, taccImag, pMask);
1970
- bcouple<Packet, Packetc>(taccReal, taccImag, tRes, acc0, acc1);
1971
- res.template storePacketBlock<Packetc,4>(row + 0, col, acc0);
1972
- res.template storePacketBlock<Packetc,4>(row + accColsC, col, acc1);
1973
- } else {
1974
- for(; k < depth; k++)
1975
- {
1976
- Packet rhsV[4], rhsVi[4];
1977
- pbroadcast4_old<Packet>(rhs_ptr_real, rhsV[0], rhsV[1], rhsV[2], rhsV[3]);
1978
- if(!RhsIsReal) pbroadcast4_old<Packet>(rhs_ptr_imag, rhsVi[0], rhsVi[1], rhsVi[2], rhsVi[3]);
1979
- pgerc<4, Scalar, Packet, Index, ConjugateLhs, ConjugateRhs, LhsIsReal, RhsIsReal>(&accReal, &accImag, lhs_ptr_real, lhs_ptr_imag, rhsV, rhsVi, remaining_rows);
1980
- lhs_ptr_real += remaining_rows;
1981
- if(!LhsIsReal) lhs_ptr_imag += remaining_rows;
1982
- rhs_ptr_real += accRows;
1983
- if(!RhsIsReal) rhs_ptr_imag += accRows;
1984
- }
1985
-
1986
- bscalec<Packet,4>(accReal, accImag, pAlphaReal, pAlphaImag, taccReal, taccImag);
1987
- bcouple_common<Packet, Packetc>(taccReal, taccImag, acc0, acc1);
1988
-
1989
- if ((sizeof(Scalar) == sizeof(float)) && (remaining_rows == 1))
1990
- {
1991
- for(Index j = 0; j < 4; j++) {
1992
- res(row + 0, col + j) += pfirst<Packetc>(acc0.packet[j]);
1993
- }
1994
- } else {
1995
- for(Index j = 0; j < 4; j++) {
1996
- PacketBlock<Packetc,1> acc2;
1997
- acc2.packet[0] = res.template loadPacket<Packetc>(row + 0, col + j) + acc0.packet[j];
1998
- res.template storePacketBlock<Packetc,1>(row + 0, col + j, acc2);
1999
- if(remaining_rows > accColsC) {
2000
- res(row + accColsC, col + j) += pfirst<Packetc>(acc1.packet[j]);
2001
- }
2002
- }
2003
- }
2004
- }
2005
- }
2006
-
2007
- #define MICRO_COMPLEX_UNROLL(func) \
2008
- func(0) func(1) func(2) func(3) func(4)
2009
-
2010
- #define MICRO_COMPLEX_UNROLL_WORK(func, func2, peel) \
2011
- MICRO_COMPLEX_UNROLL(func2); \
2012
- func(0,peel) func(1,peel) func(2,peel) func(3,peel) func(4,peel)
2013
-
2014
- #define MICRO_COMPLEX_LOAD_ONE(iter) \
2015
- if (unroll_factor > iter) { \
2016
- lhsV##iter = ploadLhs<Scalar, Packet>(lhs_ptr_real##iter); \
2017
- lhs_ptr_real##iter += accCols; \
2018
- if(!LhsIsReal) { \
2019
- lhsVi##iter = ploadLhs<Scalar, Packet>(lhs_ptr_imag##iter); \
2020
- lhs_ptr_imag##iter += accCols; \
2021
- } else { \
2022
- EIGEN_UNUSED_VARIABLE(lhsVi##iter); \
2023
- } \
2024
- } else { \
2025
- EIGEN_UNUSED_VARIABLE(lhsV##iter); \
2026
- EIGEN_UNUSED_VARIABLE(lhsVi##iter); \
2027
- }
2028
-
2029
- #define MICRO_COMPLEX_WORK_ONE4(iter, peel) \
2030
- if (unroll_factor > iter) { \
2031
- pgerc_common<4, Packet, ConjugateLhs, ConjugateRhs, LhsIsReal, RhsIsReal>(&accReal##iter, &accImag##iter, lhsV##iter, lhsVi##iter, rhsV##peel, rhsVi##peel); \
2032
- }
2033
-
2034
- #define MICRO_COMPLEX_WORK_ONE1(iter, peel) \
2035
- if (unroll_factor > iter) { \
2036
- pgerc_common<1, Packet, ConjugateLhs, ConjugateRhs, LhsIsReal, RhsIsReal>(&accReal##iter, &accImag##iter, lhsV##iter, lhsVi##iter, rhsV##peel, rhsVi##peel); \
2037
- }
2038
-
2039
- #define MICRO_COMPLEX_TYPE_PEEL4(func, func2, peel) \
2040
- if (PEEL_COMPLEX > peel) { \
2041
- Packet lhsV0, lhsV1, lhsV2, lhsV3, lhsV4; \
2042
- Packet lhsVi0, lhsVi1, lhsVi2, lhsVi3, lhsVi4; \
2043
- pbroadcast4_old<Packet>(rhs_ptr_real + (accRows * peel), rhsV##peel[0], rhsV##peel[1], rhsV##peel[2], rhsV##peel[3]); \
2044
- if(!RhsIsReal) { \
2045
- pbroadcast4_old<Packet>(rhs_ptr_imag + (accRows * peel), rhsVi##peel[0], rhsVi##peel[1], rhsVi##peel[2], rhsVi##peel[3]); \
2046
- } else { \
2047
- EIGEN_UNUSED_VARIABLE(rhsVi##peel); \
2048
- } \
2049
- MICRO_COMPLEX_UNROLL_WORK(func, func2, peel) \
2050
- } else { \
2051
- EIGEN_UNUSED_VARIABLE(rhsV##peel); \
2052
- EIGEN_UNUSED_VARIABLE(rhsVi##peel); \
2053
- }
2054
-
2055
- #define MICRO_COMPLEX_TYPE_PEEL1(func, func2, peel) \
2056
- if (PEEL_COMPLEX > peel) { \
2057
- Packet lhsV0, lhsV1, lhsV2, lhsV3, lhsV4; \
2058
- Packet lhsVi0, lhsVi1, lhsVi2, lhsVi3, lhsVi4; \
2059
- rhsV##peel[0] = pset1<Packet>(rhs_ptr_real[remaining_cols * peel]); \
2060
- if(!RhsIsReal) { \
2061
- rhsVi##peel[0] = pset1<Packet>(rhs_ptr_imag[remaining_cols * peel]); \
2062
- } else { \
2063
- EIGEN_UNUSED_VARIABLE(rhsVi##peel); \
2064
- } \
2065
- MICRO_COMPLEX_UNROLL_WORK(func, func2, peel) \
2066
- } else { \
2067
- EIGEN_UNUSED_VARIABLE(rhsV##peel); \
2068
- EIGEN_UNUSED_VARIABLE(rhsVi##peel); \
2069
- }
2070
-
2071
- #define MICRO_COMPLEX_UNROLL_TYPE_PEEL(M, func, func1, func2) \
2072
- Packet rhsV0[M], rhsV1[M], rhsV2[M], rhsV3[M], rhsV4[M], rhsV5[M], rhsV6[M], rhsV7[M], rhsV8[M], rhsV9[M]; \
2073
- Packet rhsVi0[M], rhsVi1[M], rhsVi2[M], rhsVi3[M], rhsVi4[M], rhsVi5[M], rhsVi6[M], rhsVi7[M], rhsVi8[M], rhsVi9[M]; \
2074
- func(func1,func2,0); func(func1,func2,1); \
2075
- func(func1,func2,2); func(func1,func2,3); \
2076
- func(func1,func2,4); func(func1,func2,5); \
2077
- func(func1,func2,6); func(func1,func2,7); \
2078
- func(func1,func2,8); func(func1,func2,9);
2079
-
2080
- #define MICRO_COMPLEX_UNROLL_TYPE_ONE(M, func, func1, func2) \
2081
- Packet rhsV0[M], rhsVi0[M];\
2082
- func(func1,func2,0);
2083
-
2084
- #define MICRO_COMPLEX_ONE_PEEL4 \
2085
- MICRO_COMPLEX_UNROLL_TYPE_PEEL(4, MICRO_COMPLEX_TYPE_PEEL4, MICRO_COMPLEX_WORK_ONE4, MICRO_COMPLEX_LOAD_ONE); \
2086
- rhs_ptr_real += (accRows * PEEL_COMPLEX); \
2087
- if(!RhsIsReal) rhs_ptr_imag += (accRows * PEEL_COMPLEX);
2088
-
2089
- #define MICRO_COMPLEX_ONE4 \
2090
- MICRO_COMPLEX_UNROLL_TYPE_ONE(4, MICRO_COMPLEX_TYPE_PEEL4, MICRO_COMPLEX_WORK_ONE4, MICRO_COMPLEX_LOAD_ONE); \
2091
- rhs_ptr_real += accRows; \
2092
- if(!RhsIsReal) rhs_ptr_imag += accRows;
2093
-
2094
- #define MICRO_COMPLEX_ONE_PEEL1 \
2095
- MICRO_COMPLEX_UNROLL_TYPE_PEEL(1, MICRO_COMPLEX_TYPE_PEEL1, MICRO_COMPLEX_WORK_ONE1, MICRO_COMPLEX_LOAD_ONE); \
2096
- rhs_ptr_real += (remaining_cols * PEEL_COMPLEX); \
2097
- if(!RhsIsReal) rhs_ptr_imag += (remaining_cols * PEEL_COMPLEX);
2098
-
2099
- #define MICRO_COMPLEX_ONE1 \
2100
- MICRO_COMPLEX_UNROLL_TYPE_ONE(1, MICRO_COMPLEX_TYPE_PEEL1, MICRO_COMPLEX_WORK_ONE1, MICRO_COMPLEX_LOAD_ONE); \
2101
- rhs_ptr_real += remaining_cols; \
2102
- if(!RhsIsReal) rhs_ptr_imag += remaining_cols;
2103
-
2104
- #define MICRO_COMPLEX_DST_PTR_ONE(iter) \
2105
- if (unroll_factor > iter) { \
2106
- bsetzero<Scalar, Packet>(accReal##iter); \
2107
- bsetzero<Scalar, Packet>(accImag##iter); \
2108
- } else { \
2109
- EIGEN_UNUSED_VARIABLE(accReal##iter); \
2110
- EIGEN_UNUSED_VARIABLE(accImag##iter); \
2111
- }
2112
-
2113
- #define MICRO_COMPLEX_DST_PTR MICRO_COMPLEX_UNROLL(MICRO_COMPLEX_DST_PTR_ONE)
2114
-
2115
- #define MICRO_COMPLEX_SRC_PTR_ONE(iter) \
2116
- if (unroll_factor > iter) { \
2117
- lhs_ptr_real##iter = lhs_base + ( ((advanceRows*row)/accCols) + iter*advanceRows )*strideA*accCols + accCols*offsetA; \
2118
- if(!LhsIsReal) { \
2119
- lhs_ptr_imag##iter = lhs_ptr_real##iter + accCols*strideA; \
2120
- } else { \
2121
- EIGEN_UNUSED_VARIABLE(lhs_ptr_imag##iter); \
2122
- } \
2123
- } else { \
2124
- EIGEN_UNUSED_VARIABLE(lhs_ptr_real##iter); \
2125
- EIGEN_UNUSED_VARIABLE(lhs_ptr_imag##iter); \
2126
- }
2127
-
2128
- #define MICRO_COMPLEX_SRC_PTR MICRO_COMPLEX_UNROLL(MICRO_COMPLEX_SRC_PTR_ONE)
2129
-
2130
- #define MICRO_COMPLEX_PREFETCH_ONE(iter) \
2131
- if (unroll_factor > iter) { \
2132
- EIGEN_POWER_PREFETCH(lhs_ptr_real##iter); \
2133
- if(!LhsIsReal) { \
2134
- EIGEN_POWER_PREFETCH(lhs_ptr_imag##iter); \
2135
- } \
2136
- }
2137
-
2138
- #define MICRO_COMPLEX_PREFETCH MICRO_COMPLEX_UNROLL(MICRO_COMPLEX_PREFETCH_ONE)
2139
-
2140
- #define MICRO_COMPLEX_STORE_ONE(iter) \
2141
- if (unroll_factor > iter) { \
2142
- bload<DataMapper, Packetc, Index, accColsC, 0, ColMajor>(tRes, res, row + iter*accCols, col); \
2143
- bscalec<Packet,4>(accReal##iter, accImag##iter, pAlphaReal, pAlphaImag, taccReal, taccImag); \
2144
- bcouple<Packet, Packetc>(taccReal, taccImag, tRes, acc0, acc1); \
2145
- res.template storePacketBlock<Packetc,4>(row + iter*accCols + 0, col, acc0); \
2146
- res.template storePacketBlock<Packetc,4>(row + iter*accCols + accColsC, col, acc1); \
2147
- }
2148
-
2149
- #define MICRO_COMPLEX_STORE MICRO_COMPLEX_UNROLL(MICRO_COMPLEX_STORE_ONE)
2150
-
2151
- #define MICRO_COMPLEX_COL_STORE_ONE(iter) \
2152
- if (unroll_factor > iter) { \
2153
- bload<DataMapper, Packetc, Index, accColsC, 0, ColMajor>(tRes, res, row + iter*accCols, col); \
2154
- bscalec<Packet,1>(accReal##iter, accImag##iter, pAlphaReal, pAlphaImag, taccReal, taccImag); \
2155
- bcouple<Packet, Packetc>(taccReal, taccImag, tRes, acc0, acc1); \
2156
- res.template storePacketBlock<Packetc,1>(row + iter*accCols + 0, col, acc0); \
2157
- res.template storePacketBlock<Packetc,1>(row + iter*accCols + accColsC, col, acc1); \
2158
- }
2159
-
2160
- #define MICRO_COMPLEX_COL_STORE MICRO_COMPLEX_UNROLL(MICRO_COMPLEX_COL_STORE_ONE)
2161
-
2162
- template<int unroll_factor, typename Scalar, typename Packet, typename Packetc, typename DataMapper, typename Index, const Index accRows, const Index accCols, bool ConjugateLhs, bool ConjugateRhs, bool LhsIsReal, bool RhsIsReal>
2163
- EIGEN_STRONG_INLINE void gemm_complex_unrolled_iteration(
2164
- const DataMapper& res,
2165
- const Scalar* lhs_base,
2166
- const Scalar* rhs_base,
2167
- Index depth,
2168
- Index strideA,
2169
- Index offsetA,
2170
- Index strideB,
2171
- Index& row,
2172
- Index col,
2173
- const Packet& pAlphaReal,
2174
- const Packet& pAlphaImag)
2175
- {
2176
- const Scalar* rhs_ptr_real = rhs_base;
2177
- const Scalar* rhs_ptr_imag;
2178
- if(!RhsIsReal) {
2179
- rhs_ptr_imag = rhs_base + accRows*strideB;
2180
- } else {
2181
- EIGEN_UNUSED_VARIABLE(rhs_ptr_imag);
2182
- }
2183
- const Scalar* lhs_ptr_real0 = NULL, * lhs_ptr_imag0 = NULL, * lhs_ptr_real1 = NULL, * lhs_ptr_imag1 = NULL;
2184
- const Scalar* lhs_ptr_real2 = NULL, * lhs_ptr_imag2 = NULL, * lhs_ptr_real3 = NULL, * lhs_ptr_imag3 = NULL;
2185
- const Scalar* lhs_ptr_real4 = NULL, * lhs_ptr_imag4 = NULL;
2186
- PacketBlock<Packet,4> accReal0, accImag0, accReal1, accImag1;
2187
- PacketBlock<Packet,4> accReal2, accImag2, accReal3, accImag3;
2188
- PacketBlock<Packet,4> accReal4, accImag4;
2189
- PacketBlock<Packet,4> taccReal, taccImag;
2190
- PacketBlock<Packetc,4> acc0, acc1;
2191
- PacketBlock<Packetc,8> tRes;
2192
-
2193
- MICRO_COMPLEX_SRC_PTR
2194
- MICRO_COMPLEX_DST_PTR
2195
-
2196
- Index k = 0;
2197
- for(; k + PEEL_COMPLEX <= depth; k+= PEEL_COMPLEX)
2198
- {
2199
- EIGEN_POWER_PREFETCH(rhs_ptr_real);
2200
- if(!RhsIsReal) {
2201
- EIGEN_POWER_PREFETCH(rhs_ptr_imag);
2202
- }
2203
- MICRO_COMPLEX_PREFETCH
2204
- MICRO_COMPLEX_ONE_PEEL4
2205
- }
2206
- for(; k < depth; k++)
2207
- {
2208
- MICRO_COMPLEX_ONE4
2209
- }
2210
- MICRO_COMPLEX_STORE
2211
-
2212
- row += unroll_factor*accCols;
2213
- }
2214
-
2215
- template<int unroll_factor, typename Scalar, typename Packet, typename Packetc, typename DataMapper, typename Index, const Index accCols, bool ConjugateLhs, bool ConjugateRhs, bool LhsIsReal, bool RhsIsReal>
2216
- EIGEN_STRONG_INLINE void gemm_complex_unrolled_col_iteration(
2217
- const DataMapper& res,
2218
- const Scalar* lhs_base,
2219
- const Scalar* rhs_base,
2220
- Index depth,
2221
- Index strideA,
2222
- Index offsetA,
2223
- Index strideB,
2224
- Index& row,
2225
- Index col,
2226
- Index remaining_cols,
2227
- const Packet& pAlphaReal,
2228
- const Packet& pAlphaImag)
2229
- {
2230
- const Scalar* rhs_ptr_real = rhs_base;
2231
- const Scalar* rhs_ptr_imag;
2232
- if(!RhsIsReal) {
2233
- rhs_ptr_imag = rhs_base + remaining_cols*strideB;
2234
- } else {
2235
- EIGEN_UNUSED_VARIABLE(rhs_ptr_imag);
2236
- }
2237
- const Scalar* lhs_ptr_real0 = NULL, * lhs_ptr_imag0 = NULL, * lhs_ptr_real1 = NULL, * lhs_ptr_imag1 = NULL;
2238
- const Scalar* lhs_ptr_real2 = NULL, * lhs_ptr_imag2 = NULL, * lhs_ptr_real3 = NULL, * lhs_ptr_imag3 = NULL;
2239
- const Scalar* lhs_ptr_real4 = NULL, * lhs_ptr_imag4 = NULL;
2240
- PacketBlock<Packet,1> accReal0, accImag0, accReal1, accImag1;
2241
- PacketBlock<Packet,1> accReal2, accImag2, accReal3, accImag3;
2242
- PacketBlock<Packet,1> accReal4, accImag4;
2243
- PacketBlock<Packet,1> taccReal, taccImag;
2244
- PacketBlock<Packetc,1> acc0, acc1;
2245
- PacketBlock<Packetc,2> tRes;
2246
-
2247
- MICRO_COMPLEX_SRC_PTR
2248
- MICRO_COMPLEX_DST_PTR
2249
-
2250
- Index k = 0;
2251
- for(; k + PEEL_COMPLEX <= depth; k+= PEEL_COMPLEX)
2252
- {
2253
- EIGEN_POWER_PREFETCH(rhs_ptr_real);
2254
- if(!RhsIsReal) {
2255
- EIGEN_POWER_PREFETCH(rhs_ptr_imag);
2256
- }
2257
- MICRO_COMPLEX_PREFETCH
2258
- MICRO_COMPLEX_ONE_PEEL1
2259
- }
2260
- for(; k < depth; k++)
2261
- {
2262
- MICRO_COMPLEX_ONE1
2263
- }
2264
- MICRO_COMPLEX_COL_STORE
2265
-
2266
- row += unroll_factor*accCols;
2267
- }
2268
-
2269
- template<typename Scalar, typename Packet, typename Packetc, typename DataMapper, typename Index, const Index accCols, bool ConjugateLhs, bool ConjugateRhs, bool LhsIsReal, bool RhsIsReal>
2270
- EIGEN_STRONG_INLINE void gemm_complex_unrolled_col(
2271
- const DataMapper& res,
2272
- const Scalar* lhs_base,
2273
- const Scalar* rhs_base,
2274
- Index depth,
2275
- Index strideA,
2276
- Index offsetA,
2277
- Index strideB,
2278
- Index& row,
2279
- Index rows,
2280
- Index col,
2281
- Index remaining_cols,
2282
- const Packet& pAlphaReal,
2283
- const Packet& pAlphaImag)
2284
- {
2285
- #define MAX_COMPLEX_UNROLL 3
2286
- while(row + MAX_COMPLEX_UNROLL*accCols <= rows) {
2287
- gemm_complex_unrolled_col_iteration<MAX_COMPLEX_UNROLL, Scalar, Packet, Packetc, DataMapper, Index, accCols, ConjugateLhs, ConjugateRhs, LhsIsReal, RhsIsReal>(res, lhs_base, rhs_base, depth, strideA, offsetA, strideB, row, col, remaining_cols, pAlphaReal, pAlphaImag);
2288
- }
2289
- switch( (rows-row)/accCols ) {
2290
- #if MAX_COMPLEX_UNROLL > 4
2291
- case 4:
2292
- gemm_complex_unrolled_col_iteration<4, Scalar, Packet, Packetc, DataMapper, Index, accCols, ConjugateLhs, ConjugateRhs, LhsIsReal, RhsIsReal>(res, lhs_base, rhs_base, depth, strideA, offsetA, strideB, row, col, remaining_cols, pAlphaReal, pAlphaImag);
2293
- break;
2294
- #endif
2295
- #if MAX_COMPLEX_UNROLL > 3
2296
- case 3:
2297
- gemm_complex_unrolled_col_iteration<3, Scalar, Packet, Packetc, DataMapper, Index, accCols, ConjugateLhs, ConjugateRhs, LhsIsReal, RhsIsReal>(res, lhs_base, rhs_base, depth, strideA, offsetA, strideB, row, col, remaining_cols, pAlphaReal, pAlphaImag);
2298
- break;
2299
- #endif
2300
- #if MAX_COMPLEX_UNROLL > 2
2301
- case 2:
2302
- gemm_complex_unrolled_col_iteration<2, Scalar, Packet, Packetc, DataMapper, Index, accCols, ConjugateLhs, ConjugateRhs, LhsIsReal, RhsIsReal>(res, lhs_base, rhs_base, depth, strideA, offsetA, strideB, row, col, remaining_cols, pAlphaReal, pAlphaImag);
2303
- break;
2304
- #endif
2305
- #if MAX_COMPLEX_UNROLL > 1
2306
- case 1:
2307
- gemm_complex_unrolled_col_iteration<1, Scalar, Packet, Packetc, DataMapper, Index, accCols, ConjugateLhs, ConjugateRhs, LhsIsReal, RhsIsReal>(res, lhs_base, rhs_base, depth, strideA, offsetA, strideB, row, col, remaining_cols, pAlphaReal, pAlphaImag);
2308
- break;
2309
- #endif
2310
- default:
2311
- break;
2312
- }
2313
- #undef MAX_COMPLEX_UNROLL
2314
- }
2315
-
2316
- template<typename LhsScalar, typename RhsScalar, typename Scalarc, typename Scalar, typename Index, typename Packet, typename Packetc, typename RhsPacket, typename DataMapper, const Index accRows, const Index accCols, bool ConjugateLhs, bool ConjugateRhs, bool LhsIsReal, bool RhsIsReal>
2317
- EIGEN_STRONG_INLINE void gemm_complex(const DataMapper& res, const LhsScalar* blockAc, const RhsScalar* blockBc, Index rows, Index depth, Index cols, Scalarc alpha, Index strideA, Index strideB, Index offsetA, Index offsetB)
2318
- {
2319
- const Index remaining_rows = rows % accCols;
2320
- const Index remaining_cols = cols % accRows;
2321
-
2322
- if( strideA == -1 ) strideA = depth;
2323
- if( strideB == -1 ) strideB = depth;
2324
-
2325
- const Packet pAlphaReal = pset1<Packet>(alpha.real());
2326
- const Packet pAlphaImag = pset1<Packet>(alpha.imag());
2327
- const Packet pMask = bmask<Packet>((const int)(remaining_rows));
2328
-
2329
- const Scalar* blockA = (Scalar *) blockAc;
2330
- const Scalar* blockB = (Scalar *) blockBc;
2331
-
2332
- Index col = 0;
2333
- for(; col + accRows <= cols; col += accRows)
2334
- {
2335
- const Scalar* rhs_base = blockB + advanceCols*col*strideB + accRows*offsetB;
2336
- const Scalar* lhs_base = blockA;
2337
- Index row = 0;
2338
-
2339
- #define MAX_COMPLEX_UNROLL 3
2340
- while(row + MAX_COMPLEX_UNROLL*accCols <= rows) {
2341
- gemm_complex_unrolled_iteration<MAX_COMPLEX_UNROLL, Scalar, Packet, Packetc, DataMapper, Index, accRows, accCols, ConjugateLhs, ConjugateRhs, LhsIsReal, RhsIsReal>(res, lhs_base, rhs_base, depth, strideA, offsetA, strideB, row, col, pAlphaReal, pAlphaImag);
2342
- }
2343
- switch( (rows-row)/accCols ) {
2344
- #if MAX_COMPLEX_UNROLL > 4
2345
- case 4:
2346
- gemm_complex_unrolled_iteration<4, Scalar, Packet, Packetc, DataMapper, Index, accRows, accCols, ConjugateLhs, ConjugateRhs, LhsIsReal, RhsIsReal>(res, lhs_base, rhs_base, depth, strideA, offsetA, strideB, row, col, pAlphaReal, pAlphaImag);
2347
- break;
2348
- #endif
2349
- #if MAX_COMPLEX_UNROLL > 3
2350
- case 3:
2351
- gemm_complex_unrolled_iteration<3, Scalar, Packet, Packetc, DataMapper, Index, accRows, accCols, ConjugateLhs, ConjugateRhs, LhsIsReal, RhsIsReal>(res, lhs_base, rhs_base, depth, strideA, offsetA, strideB, row, col, pAlphaReal, pAlphaImag);
2352
- break;
2353
- #endif
2354
- #if MAX_COMPLEX_UNROLL > 2
2355
- case 2:
2356
- gemm_complex_unrolled_iteration<2, Scalar, Packet, Packetc, DataMapper, Index, accRows, accCols, ConjugateLhs, ConjugateRhs, LhsIsReal, RhsIsReal>(res, lhs_base, rhs_base, depth, strideA, offsetA, strideB, row, col, pAlphaReal, pAlphaImag);
2357
- break;
2358
- #endif
2359
- #if MAX_COMPLEX_UNROLL > 1
2360
- case 1:
2361
- gemm_complex_unrolled_iteration<1, Scalar, Packet, Packetc, DataMapper, Index, accRows, accCols, ConjugateLhs, ConjugateRhs, LhsIsReal, RhsIsReal>(res, lhs_base, rhs_base, depth, strideA, offsetA, strideB, row, col, pAlphaReal, pAlphaImag);
2362
- break;
2363
- #endif
2364
- default:
2365
- break;
2366
- }
2367
- #undef MAX_COMPLEX_UNROLL
2368
-
2369
- if(remaining_rows > 0)
2370
- {
2371
- gemm_complex_extra_row<Scalar, Packet, Packetc, DataMapper, Index, accRows, accCols, ConjugateLhs, ConjugateRhs, LhsIsReal, RhsIsReal>(res, lhs_base, rhs_base, depth, strideA, offsetA, strideB, row, col, rows, cols, remaining_rows, pAlphaReal, pAlphaImag, pMask);
2372
- }
2373
- }
2374
-
2375
- if(remaining_cols > 0)
2376
- {
2377
- const Scalar* rhs_base = blockB + advanceCols*col*strideB + remaining_cols*offsetB;
2378
- const Scalar* lhs_base = blockA;
2379
-
2380
- for(; col < cols; col++)
2381
- {
2382
- Index row = 0;
2383
-
2384
- gemm_complex_unrolled_col<Scalar, Packet, Packetc, DataMapper, Index, accCols, ConjugateLhs, ConjugateRhs, LhsIsReal, RhsIsReal>(res, lhs_base, rhs_base, depth, strideA, offsetA, strideB, row, rows, col, remaining_cols, pAlphaReal, pAlphaImag);
2385
-
2386
- if (remaining_rows > 0)
2387
- {
2388
- gemm_complex_extra_col<Scalar, Packet, Packetc, DataMapper, Index, accRows, accCols, ConjugateLhs, ConjugateRhs, LhsIsReal, RhsIsReal>(res, lhs_base, rhs_base, depth, strideA, offsetA, strideB, row, col, remaining_rows, remaining_cols, pAlphaReal, pAlphaImag);
2389
- }
2390
- rhs_base++;
2391
- }
2392
- }
2393
- }
2394
-
2395
- #undef accColsC
2396
- #undef advanceCols
2397
- #undef advanceRows
2398
-
2399
- /************************************
2400
- * ppc64le template specializations *
2401
- * **********************************/
2402
- template<typename Index, typename DataMapper, int Pack1, int Pack2, typename Packet, bool Conjugate, bool PanelMode>
2403
- struct gemm_pack_lhs<double, Index, DataMapper, Pack1, Pack2, Packet, ColMajor, Conjugate, PanelMode>
2404
- {
2405
- void operator()(double* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride=0, Index offset=0);
2406
- };
2407
-
2408
- template<typename Index, typename DataMapper, int Pack1, int Pack2, typename Packet, bool Conjugate, bool PanelMode>
2409
- void gemm_pack_lhs<double, Index, DataMapper, Pack1, Pack2, Packet, ColMajor, Conjugate, PanelMode>
2410
- ::operator()(double* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride, Index offset)
2411
- {
2412
- dhs_pack<double, Index, DataMapper, Packet2d, ColMajor, PanelMode, true> pack;
2413
- pack(blockA, lhs, depth, rows, stride, offset);
2414
- }
2415
-
2416
- template<typename Index, typename DataMapper, int Pack1, int Pack2, typename Packet, bool Conjugate, bool PanelMode>
2417
- struct gemm_pack_lhs<double, Index, DataMapper, Pack1, Pack2, Packet, RowMajor, Conjugate, PanelMode>
2418
- {
2419
- void operator()(double* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride=0, Index offset=0);
2420
- };
2421
-
2422
- template<typename Index, typename DataMapper, int Pack1, int Pack2, typename Packet, bool Conjugate, bool PanelMode>
2423
- void gemm_pack_lhs<double, Index, DataMapper, Pack1, Pack2, Packet, RowMajor, Conjugate, PanelMode>
2424
- ::operator()(double* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride, Index offset)
2425
- {
2426
- dhs_pack<double, Index, DataMapper, Packet2d, RowMajor, PanelMode, true> pack;
2427
- pack(blockA, lhs, depth, rows, stride, offset);
2428
- }
2429
-
2430
- #if EIGEN_ALTIVEC_USE_CUSTOM_PACK
2431
- template<typename Index, typename DataMapper, int nr, bool Conjugate, bool PanelMode>
2432
- struct gemm_pack_rhs<double, Index, DataMapper, nr, ColMajor, Conjugate, PanelMode>
2433
- {
2434
- void operator()(double* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride=0, Index offset=0);
2435
- };
2436
-
2437
- template<typename Index, typename DataMapper, int nr, bool Conjugate, bool PanelMode>
2438
- void gemm_pack_rhs<double, Index, DataMapper, nr, ColMajor, Conjugate, PanelMode>
2439
- ::operator()(double* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride, Index offset)
2440
- {
2441
- dhs_pack<double, Index, DataMapper, Packet2d, ColMajor, PanelMode, false> pack;
2442
- pack(blockB, rhs, depth, cols, stride, offset);
2443
- }
2444
-
2445
- template<typename Index, typename DataMapper, int nr, bool Conjugate, bool PanelMode>
2446
- struct gemm_pack_rhs<double, Index, DataMapper, nr, RowMajor, Conjugate, PanelMode>
2447
- {
2448
- void operator()(double* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride=0, Index offset=0);
2449
- };
2450
-
2451
- template<typename Index, typename DataMapper, int nr, bool Conjugate, bool PanelMode>
2452
- void gemm_pack_rhs<double, Index, DataMapper, nr, RowMajor, Conjugate, PanelMode>
2453
- ::operator()(double* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride, Index offset)
2454
- {
2455
- dhs_pack<double, Index, DataMapper, Packet2d, RowMajor, PanelMode, false> pack;
2456
- pack(blockB, rhs, depth, cols, stride, offset);
2457
- }
2458
- #endif
2459
-
2460
- template<typename Index, typename DataMapper, int Pack1, int Pack2, typename Packet, bool Conjugate, bool PanelMode>
2461
- struct gemm_pack_lhs<float, Index, DataMapper, Pack1, Pack2, Packet, RowMajor, Conjugate, PanelMode>
2462
- {
2463
- void operator()(float* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride=0, Index offset=0);
2464
- };
2465
-
2466
- template<typename Index, typename DataMapper, int Pack1, int Pack2, typename Packet, bool Conjugate, bool PanelMode>
2467
- void gemm_pack_lhs<float, Index, DataMapper, Pack1, Pack2, Packet, RowMajor, Conjugate, PanelMode>
2468
- ::operator()(float* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride, Index offset)
2469
- {
2470
- dhs_pack<float, Index, DataMapper, Packet4f, RowMajor, PanelMode, true> pack;
2471
- pack(blockA, lhs, depth, rows, stride, offset);
2472
- }
2473
-
2474
- template<typename Index, typename DataMapper, int Pack1, int Pack2, typename Packet, bool Conjugate, bool PanelMode>
2475
- struct gemm_pack_lhs<float, Index, DataMapper, Pack1, Pack2, Packet, ColMajor, Conjugate, PanelMode>
2476
- {
2477
- void operator()(float* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride=0, Index offset=0);
2478
- };
2479
-
2480
- template<typename Index, typename DataMapper, int Pack1, int Pack2, typename Packet, bool Conjugate, bool PanelMode>
2481
- void gemm_pack_lhs<float, Index, DataMapper, Pack1, Pack2, Packet, ColMajor, Conjugate, PanelMode>
2482
- ::operator()(float* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride, Index offset)
2483
- {
2484
- dhs_pack<float, Index, DataMapper, Packet4f, ColMajor, PanelMode, true> pack;
2485
- pack(blockA, lhs, depth, rows, stride, offset);
2486
- }
2487
-
2488
- template<typename Index, typename DataMapper, int Pack1, int Pack2, typename Packet, bool Conjugate, bool PanelMode>
2489
- struct gemm_pack_lhs<std::complex<float>, Index, DataMapper, Pack1, Pack2, Packet, RowMajor, Conjugate, PanelMode>
2490
- {
2491
- void operator()(std::complex<float>* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride=0, Index offset=0);
2492
- };
2493
-
2494
- template<typename Index, typename DataMapper, int Pack1, int Pack2, typename Packet, bool Conjugate, bool PanelMode>
2495
- void gemm_pack_lhs<std::complex<float>, Index, DataMapper, Pack1, Pack2, Packet, RowMajor, Conjugate, PanelMode>
2496
- ::operator()(std::complex<float>* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride, Index offset)
2497
- {
2498
- dhs_cpack<float, Index, DataMapper, Packet4f, Packet2cf, RowMajor, Conjugate, PanelMode, true> pack;
2499
- pack(blockA, lhs, depth, rows, stride, offset);
2500
- }
2501
-
2502
- template<typename Index, typename DataMapper, int Pack1, int Pack2, typename Packet, bool Conjugate, bool PanelMode>
2503
- struct gemm_pack_lhs<std::complex<float>, Index, DataMapper, Pack1, Pack2, Packet, ColMajor, Conjugate, PanelMode>
2504
- {
2505
- void operator()(std::complex<float>* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride=0, Index offset=0);
2506
- };
2507
-
2508
- template<typename Index, typename DataMapper, int Pack1, int Pack2, typename Packet, bool Conjugate, bool PanelMode>
2509
- void gemm_pack_lhs<std::complex<float>, Index, DataMapper, Pack1, Pack2, Packet, ColMajor, Conjugate, PanelMode>
2510
- ::operator()(std::complex<float>* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride, Index offset)
2511
- {
2512
- dhs_cpack<float, Index, DataMapper, Packet4f, Packet2cf, ColMajor, Conjugate, PanelMode, true> pack;
2513
- pack(blockA, lhs, depth, rows, stride, offset);
2514
- }
2515
-
2516
- #if EIGEN_ALTIVEC_USE_CUSTOM_PACK
2517
- template<typename Index, typename DataMapper, int nr, bool Conjugate, bool PanelMode>
2518
- struct gemm_pack_rhs<float, Index, DataMapper, nr, ColMajor, Conjugate, PanelMode>
2519
- {
2520
- void operator()(float* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride=0, Index offset=0);
2521
- };
2522
-
2523
- template<typename Index, typename DataMapper, int nr, bool Conjugate, bool PanelMode>
2524
- void gemm_pack_rhs<float, Index, DataMapper, nr, ColMajor, Conjugate, PanelMode>
2525
- ::operator()(float* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride, Index offset)
2526
- {
2527
- dhs_pack<float, Index, DataMapper, Packet4f, ColMajor, PanelMode, false> pack;
2528
- pack(blockB, rhs, depth, cols, stride, offset);
2529
- }
2530
-
2531
- template<typename Index, typename DataMapper, int nr, bool Conjugate, bool PanelMode>
2532
- struct gemm_pack_rhs<float, Index, DataMapper, nr, RowMajor, Conjugate, PanelMode>
2533
- {
2534
- void operator()(float* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride=0, Index offset=0);
2535
- };
2536
-
2537
- template<typename Index, typename DataMapper, int nr, bool Conjugate, bool PanelMode>
2538
- void gemm_pack_rhs<float, Index, DataMapper, nr, RowMajor, Conjugate, PanelMode>
2539
- ::operator()(float* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride, Index offset)
2540
- {
2541
- dhs_pack<float, Index, DataMapper, Packet4f, RowMajor, PanelMode, false> pack;
2542
- pack(blockB, rhs, depth, cols, stride, offset);
2543
- }
2544
- #endif
2545
-
2546
- template<typename Index, typename DataMapper, int nr, bool Conjugate, bool PanelMode>
2547
- struct gemm_pack_rhs<std::complex<float>, Index, DataMapper, nr, ColMajor, Conjugate, PanelMode>
2548
- {
2549
- void operator()(std::complex<float>* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride=0, Index offset=0);
2550
- };
2551
-
2552
- template<typename Index, typename DataMapper, int nr, bool Conjugate, bool PanelMode>
2553
- void gemm_pack_rhs<std::complex<float>, Index, DataMapper, nr, ColMajor, Conjugate, PanelMode>
2554
- ::operator()(std::complex<float>* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride, Index offset)
2555
- {
2556
- dhs_cpack<float, Index, DataMapper, Packet4f, Packet2cf, ColMajor, Conjugate, PanelMode, false> pack;
2557
- pack(blockB, rhs, depth, cols, stride, offset);
2558
- }
2559
-
2560
- template<typename Index, typename DataMapper, int nr, bool Conjugate, bool PanelMode>
2561
- struct gemm_pack_rhs<std::complex<float>, Index, DataMapper, nr, RowMajor, Conjugate, PanelMode>
2562
- {
2563
- void operator()(std::complex<float>* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride=0, Index offset=0);
2564
- };
2565
-
2566
- template<typename Index, typename DataMapper, int nr, bool Conjugate, bool PanelMode>
2567
- void gemm_pack_rhs<std::complex<float>, Index, DataMapper, nr, RowMajor, Conjugate, PanelMode>
2568
- ::operator()(std::complex<float>* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride, Index offset)
2569
- {
2570
- dhs_cpack<float, Index, DataMapper, Packet4f, Packet2cf, RowMajor, Conjugate, PanelMode, false> pack;
2571
- pack(blockB, rhs, depth, cols, stride, offset);
2572
- }
2573
-
2574
- template<typename Index, typename DataMapper, int Pack1, int Pack2, typename Packet, bool Conjugate, bool PanelMode>
2575
- struct gemm_pack_lhs<std::complex<double>, Index, DataMapper, Pack1, Pack2, Packet, RowMajor, Conjugate, PanelMode>
2576
- {
2577
- void operator()(std::complex<double>* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride=0, Index offset=0);
2578
- };
2579
-
2580
- template<typename Index, typename DataMapper, int Pack1, int Pack2, typename Packet, bool Conjugate, bool PanelMode>
2581
- void gemm_pack_lhs<std::complex<double>, Index, DataMapper, Pack1, Pack2, Packet, RowMajor, Conjugate, PanelMode>
2582
- ::operator()(std::complex<double>* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride, Index offset)
2583
- {
2584
- dhs_cpack<double, Index, DataMapper, Packet2d, Packet1cd, RowMajor, Conjugate, PanelMode, true> pack;
2585
- pack(blockA, lhs, depth, rows, stride, offset);
2586
- }
2587
-
2588
- template<typename Index, typename DataMapper, int Pack1, int Pack2, typename Packet, bool Conjugate, bool PanelMode>
2589
- struct gemm_pack_lhs<std::complex<double>, Index, DataMapper, Pack1, Pack2, Packet, ColMajor, Conjugate, PanelMode>
2590
- {
2591
- void operator()(std::complex<double>* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride=0, Index offset=0);
2592
- };
2593
-
2594
- template<typename Index, typename DataMapper, int Pack1, int Pack2, typename Packet, bool Conjugate, bool PanelMode>
2595
- void gemm_pack_lhs<std::complex<double>, Index, DataMapper, Pack1, Pack2, Packet, ColMajor, Conjugate, PanelMode>
2596
- ::operator()(std::complex<double>* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride, Index offset)
2597
- {
2598
- dhs_cpack<double, Index, DataMapper, Packet2d, Packet1cd, ColMajor, Conjugate, PanelMode, true> pack;
2599
- pack(blockA, lhs, depth, rows, stride, offset);
2600
- }
2601
-
2602
- template<typename Index, typename DataMapper, int nr, bool Conjugate, bool PanelMode>
2603
- struct gemm_pack_rhs<std::complex<double>, Index, DataMapper, nr, ColMajor, Conjugate, PanelMode>
2604
- {
2605
- void operator()(std::complex<double>* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride=0, Index offset=0);
2606
- };
2607
-
2608
- template<typename Index, typename DataMapper, int nr, bool Conjugate, bool PanelMode>
2609
- void gemm_pack_rhs<std::complex<double>, Index, DataMapper, nr, ColMajor, Conjugate, PanelMode>
2610
- ::operator()(std::complex<double>* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride, Index offset)
2611
- {
2612
- dhs_cpack<double, Index, DataMapper, Packet2d, Packet1cd, ColMajor, Conjugate, PanelMode, false> pack;
2613
- pack(blockB, rhs, depth, cols, stride, offset);
2614
- }
2615
-
2616
- template<typename Index, typename DataMapper, int nr, bool Conjugate, bool PanelMode>
2617
- struct gemm_pack_rhs<std::complex<double>, Index, DataMapper, nr, RowMajor, Conjugate, PanelMode>
2618
- {
2619
- void operator()(std::complex<double>* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride=0, Index offset=0);
2620
- };
2621
-
2622
- template<typename Index, typename DataMapper, int nr, bool Conjugate, bool PanelMode>
2623
- void gemm_pack_rhs<std::complex<double>, Index, DataMapper, nr, RowMajor, Conjugate, PanelMode>
2624
- ::operator()(std::complex<double>* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride, Index offset)
2625
- {
2626
- dhs_cpack<double, Index, DataMapper, Packet2d, Packet1cd, RowMajor, Conjugate, PanelMode, false> pack;
2627
- pack(blockB, rhs, depth, cols, stride, offset);
2628
- }
2629
-
2630
- // ********* gebp specializations *********
2631
- template<typename Index, typename DataMapper, int mr, int nr, bool ConjugateLhs, bool ConjugateRhs>
2632
- struct gebp_kernel<float, float, Index, DataMapper, mr, nr, ConjugateLhs, ConjugateRhs>
2633
- {
2634
- typedef typename quad_traits<float>::vectortype Packet;
2635
- typedef typename quad_traits<float>::rhstype RhsPacket;
2636
-
2637
- void operator()(const DataMapper& res, const float* blockA, const float* blockB,
2638
- Index rows, Index depth, Index cols, float alpha,
2639
- Index strideA=-1, Index strideB=-1, Index offsetA=0, Index offsetB=0);
2640
- };
2641
-
2642
- template<typename Index, typename DataMapper, int mr, int nr, bool ConjugateLhs, bool ConjugateRhs>
2643
- void gebp_kernel<float, float, Index, DataMapper, mr, nr, ConjugateLhs, ConjugateRhs>
2644
- ::operator()(const DataMapper& res, const float* blockA, const float* blockB,
2645
- Index rows, Index depth, Index cols, float alpha,
2646
- Index strideA, Index strideB, Index offsetA, Index offsetB)
2647
- {
2648
- const Index accRows = quad_traits<float>::rows;
2649
- const Index accCols = quad_traits<float>::size;
2650
- void (*gemm_function)(const DataMapper&, const float*, const float*, Index, Index, Index, float, Index, Index, Index, Index);
2651
-
2652
- #ifdef EIGEN_ALTIVEC_MMA_ONLY
2653
- //generate with MMA only
2654
- gemm_function = &Eigen::internal::gemmMMA<float, Index, Packet, RhsPacket, DataMapper, accRows, accCols>;
2655
- #elif defined(ALTIVEC_MMA_SUPPORT) && !defined(EIGEN_ALTIVEC_DISABLE_MMA)
2656
- if (__builtin_cpu_supports ("arch_3_1") && __builtin_cpu_supports ("mma")){
2657
- gemm_function = &Eigen::internal::gemmMMA<float, Index, Packet, RhsPacket, DataMapper, accRows, accCols>;
2658
- }
2659
- else{
2660
- gemm_function = &Eigen::internal::gemm<float, Index, Packet, RhsPacket, DataMapper, accRows, accCols>;
2661
- }
2662
- #else
2663
- gemm_function = &Eigen::internal::gemm<float, Index, Packet, RhsPacket, DataMapper, accRows, accCols>;
2664
- #endif
2665
- gemm_function(res, blockA, blockB, rows, depth, cols, alpha, strideA, strideB, offsetA, offsetB);
2666
- }
2667
-
2668
- template<typename Index, typename DataMapper, int mr, int nr, bool ConjugateLhs, bool ConjugateRhs>
2669
- struct gebp_kernel<std::complex<float>, std::complex<float>, Index, DataMapper, mr, nr, ConjugateLhs, ConjugateRhs>
2670
- {
2671
- typedef Packet4f Packet;
2672
- typedef Packet2cf Packetc;
2673
- typedef Packet4f RhsPacket;
2674
-
2675
- void operator()(const DataMapper& res, const std::complex<float>* blockA, const std::complex<float>* blockB,
2676
- Index rows, Index depth, Index cols, std::complex<float> alpha,
2677
- Index strideA=-1, Index strideB=-1, Index offsetA=0, Index offsetB=0);
2678
- };
2679
-
2680
- template<typename Index, typename DataMapper, int mr, int nr, bool ConjugateLhs, bool ConjugateRhs>
2681
- void gebp_kernel<std::complex<float>, std::complex<float>, Index, DataMapper, mr, nr, ConjugateLhs, ConjugateRhs>
2682
- ::operator()(const DataMapper& res, const std::complex<float>* blockA, const std::complex<float>* blockB,
2683
- Index rows, Index depth, Index cols, std::complex<float> alpha,
2684
- Index strideA, Index strideB, Index offsetA, Index offsetB)
2685
- {
2686
- const Index accRows = quad_traits<float>::rows;
2687
- const Index accCols = quad_traits<float>::size;
2688
- void (*gemm_function)(const DataMapper&, const std::complex<float>*, const std::complex<float>*,
2689
- Index, Index, Index, std::complex<float>, Index, Index, Index, Index);
2690
-
2691
- #ifdef EIGEN_ALTIVEC_MMA_ONLY
2692
- //generate with MMA only
2693
- gemm_function = &Eigen::internal::gemm_complexMMA<std::complex<float>, std::complex<float>, std::complex<float>, float, Index, Packet, Packetc, RhsPacket, DataMapper, accRows, accCols, ConjugateLhs, ConjugateRhs, false, false>;
2694
- #elif defined(ALTIVEC_MMA_SUPPORT) && !defined(EIGEN_ALTIVEC_DISABLE_MMA)
2695
- if (__builtin_cpu_supports ("arch_3_1") && __builtin_cpu_supports ("mma")){
2696
- gemm_function = &Eigen::internal::gemm_complexMMA<std::complex<float>, std::complex<float>, std::complex<float>, float, Index, Packet, Packetc, RhsPacket, DataMapper, accRows, accCols, ConjugateLhs, ConjugateRhs, false, false>;
2697
- }
2698
- else{
2699
- gemm_function = &Eigen::internal::gemm_complex<std::complex<float>, std::complex<float>, std::complex<float>, float, Index, Packet, Packetc, RhsPacket, DataMapper, accRows, accCols, ConjugateLhs, ConjugateRhs, false, false>;
2700
- }
2701
- #else
2702
- gemm_function = &Eigen::internal::gemm_complex<std::complex<float>, std::complex<float>, std::complex<float>, float, Index, Packet, Packetc, RhsPacket, DataMapper, accRows, accCols, ConjugateLhs, ConjugateRhs, false, false>;
2703
- #endif
2704
- gemm_function(res, blockA, blockB, rows, depth, cols, alpha, strideA, strideB, offsetA, offsetB);
2705
- }
2706
-
2707
- template<typename Index, typename DataMapper, int mr, int nr, bool ConjugateLhs, bool ConjugateRhs>
2708
- struct gebp_kernel<float, std::complex<float>, Index, DataMapper, mr, nr, ConjugateLhs, ConjugateRhs>
2709
- {
2710
- typedef Packet4f Packet;
2711
- typedef Packet2cf Packetc;
2712
- typedef Packet4f RhsPacket;
2713
-
2714
- void operator()(const DataMapper& res, const float* blockA, const std::complex<float>* blockB,
2715
- Index rows, Index depth, Index cols, std::complex<float> alpha,
2716
- Index strideA=-1, Index strideB=-1, Index offsetA=0, Index offsetB=0);
2717
- };
2718
-
2719
- template<typename Index, typename DataMapper, int mr, int nr, bool ConjugateLhs, bool ConjugateRhs>
2720
- void gebp_kernel<float, std::complex<float>, Index, DataMapper, mr, nr, ConjugateLhs, ConjugateRhs>
2721
- ::operator()(const DataMapper& res, const float* blockA, const std::complex<float>* blockB,
2722
- Index rows, Index depth, Index cols, std::complex<float> alpha,
2723
- Index strideA, Index strideB, Index offsetA, Index offsetB)
2724
- {
2725
- const Index accRows = quad_traits<float>::rows;
2726
- const Index accCols = quad_traits<float>::size;
2727
- void (*gemm_function)(const DataMapper&, const float*, const std::complex<float>*,
2728
- Index, Index, Index, std::complex<float>, Index, Index, Index, Index);
2729
- #ifdef EIGEN_ALTIVEC_MMA_ONLY
2730
- //generate with MMA only
2731
- gemm_function = &Eigen::internal::gemm_complexMMA<float, std::complex<float>, std::complex<float>, float, Index, Packet, Packetc, RhsPacket, DataMapper, accRows, accCols, ConjugateLhs, ConjugateRhs, true, false>;
2732
- #elif defined(ALTIVEC_MMA_SUPPORT) && !defined(EIGEN_ALTIVEC_DISABLE_MMA)
2733
- if (__builtin_cpu_supports ("arch_3_1") && __builtin_cpu_supports ("mma")){
2734
- gemm_function = &Eigen::internal::gemm_complexMMA<float, std::complex<float>, std::complex<float>, float, Index, Packet, Packetc, RhsPacket, DataMapper, accRows, accCols, ConjugateLhs, ConjugateRhs, true, false>;
2735
- }
2736
- else{
2737
- gemm_function = &Eigen::internal::gemm_complex<float, std::complex<float>, std::complex<float>, float, Index, Packet, Packetc, RhsPacket, DataMapper, accRows, accCols, ConjugateLhs, ConjugateRhs, true, false>;
2738
- }
2739
- #else
2740
- gemm_function = &Eigen::internal::gemm_complex<float, std::complex<float>, std::complex<float>, float, Index, Packet, Packetc, RhsPacket, DataMapper, accRows, accCols, ConjugateLhs, ConjugateRhs, true, false>;
2741
- #endif
2742
- gemm_function(res, blockA, blockB, rows, depth, cols, alpha, strideA, strideB, offsetA, offsetB);
2743
- }
2744
-
2745
- template<typename Index, typename DataMapper, int mr, int nr, bool ConjugateLhs, bool ConjugateRhs>
2746
- struct gebp_kernel<std::complex<float>, float, Index, DataMapper, mr, nr, ConjugateLhs, ConjugateRhs>
2747
- {
2748
- typedef Packet4f Packet;
2749
- typedef Packet2cf Packetc;
2750
- typedef Packet4f RhsPacket;
2751
-
2752
- void operator()(const DataMapper& res, const std::complex<float>* blockA, const float* blockB,
2753
- Index rows, Index depth, Index cols, std::complex<float> alpha,
2754
- Index strideA=-1, Index strideB=-1, Index offsetA=0, Index offsetB=0);
2755
- };
2756
-
2757
- template<typename Index, typename DataMapper, int mr, int nr, bool ConjugateLhs, bool ConjugateRhs>
2758
- void gebp_kernel<std::complex<float>, float, Index, DataMapper, mr, nr, ConjugateLhs, ConjugateRhs>
2759
- ::operator()(const DataMapper& res, const std::complex<float>* blockA, const float* blockB,
2760
- Index rows, Index depth, Index cols, std::complex<float> alpha,
2761
- Index strideA, Index strideB, Index offsetA, Index offsetB)
2762
- {
2763
- const Index accRows = quad_traits<float>::rows;
2764
- const Index accCols = quad_traits<float>::size;
2765
- void (*gemm_function)(const DataMapper&, const std::complex<float>*, const float*,
2766
- Index, Index, Index, std::complex<float>, Index, Index, Index, Index);
2767
- #ifdef EIGEN_ALTIVEC_MMA_ONLY
2768
- //generate with MMA only
2769
- gemm_function = &Eigen::internal::gemm_complexMMA<std::complex<float>, float, std::complex<float>, float, Index, Packet, Packetc, RhsPacket, DataMapper, accRows, accCols, ConjugateLhs, ConjugateRhs, false, true>;
2770
- #elif defined(ALTIVEC_MMA_SUPPORT) && !defined(EIGEN_ALTIVEC_DISABLE_MMA)
2771
- if (__builtin_cpu_supports ("arch_3_1") && __builtin_cpu_supports ("mma")){
2772
- gemm_function = &Eigen::internal::gemm_complexMMA<std::complex<float>, float, std::complex<float>, float, Index, Packet, Packetc, RhsPacket, DataMapper, accRows, accCols, ConjugateLhs, ConjugateRhs, false, true>;
2773
- }
2774
- else{
2775
- gemm_function = &Eigen::internal::gemm_complex<std::complex<float>, float, std::complex<float>, float, Index, Packet, Packetc, RhsPacket, DataMapper, accRows, accCols, ConjugateLhs, ConjugateRhs, false, true>;
2776
- }
2777
- #else
2778
- gemm_function = &Eigen::internal::gemm_complex<std::complex<float>, float, std::complex<float>, float, Index, Packet, Packetc, RhsPacket, DataMapper, accRows, accCols, ConjugateLhs, ConjugateRhs, false, true>;
2779
- #endif
2780
- gemm_function(res, blockA, blockB, rows, depth, cols, alpha, strideA, strideB, offsetA, offsetB);
2781
- }
2782
-
2783
- template<typename Index, typename DataMapper, int mr, int nr, bool ConjugateLhs, bool ConjugateRhs>
2784
- struct gebp_kernel<double, double, Index, DataMapper, mr, nr, ConjugateLhs, ConjugateRhs>
2785
- {
2786
- typedef typename quad_traits<double>::vectortype Packet;
2787
- typedef typename quad_traits<double>::rhstype RhsPacket;
2788
-
2789
- void operator()(const DataMapper& res, const double* blockA, const double* blockB,
2790
- Index rows, Index depth, Index cols, double alpha,
2791
- Index strideA=-1, Index strideB=-1, Index offsetA=0, Index offsetB=0);
2792
- };
2793
-
2794
- template<typename Index, typename DataMapper, int mr, int nr, bool ConjugateLhs, bool ConjugateRhs>
2795
- void gebp_kernel<double, double, Index, DataMapper, mr, nr, ConjugateLhs, ConjugateRhs>
2796
- ::operator()(const DataMapper& res, const double* blockA, const double* blockB,
2797
- Index rows, Index depth, Index cols, double alpha,
2798
- Index strideA, Index strideB, Index offsetA, Index offsetB)
2799
- {
2800
- const Index accRows = quad_traits<double>::rows;
2801
- const Index accCols = quad_traits<double>::size;
2802
- void (*gemm_function)(const DataMapper&, const double*, const double*, Index, Index, Index, double, Index, Index, Index, Index);
2803
-
2804
- #ifdef EIGEN_ALTIVEC_MMA_ONLY
2805
- //generate with MMA only
2806
- gemm_function = &Eigen::internal::gemmMMA<double, Index, Packet, RhsPacket, DataMapper, accRows, accCols>;
2807
- #elif defined(ALTIVEC_MMA_SUPPORT) && !defined(EIGEN_ALTIVEC_DISABLE_MMA)
2808
- if (__builtin_cpu_supports ("arch_3_1") && __builtin_cpu_supports ("mma")){
2809
- gemm_function = &Eigen::internal::gemmMMA<double, Index, Packet, RhsPacket, DataMapper, accRows, accCols>;
2810
- }
2811
- else{
2812
- gemm_function = &Eigen::internal::gemm<double, Index, Packet, RhsPacket, DataMapper, accRows, accCols>;
2813
- }
2814
- #else
2815
- gemm_function = &Eigen::internal::gemm<double, Index, Packet, RhsPacket, DataMapper, accRows, accCols>;
2816
- #endif
2817
- gemm_function(res, blockA, blockB, rows, depth, cols, alpha, strideA, strideB, offsetA, offsetB);
2818
- }
2819
-
2820
- template<typename Index, typename DataMapper, int mr, int nr, bool ConjugateLhs, bool ConjugateRhs>
2821
- struct gebp_kernel<std::complex<double>, std::complex<double>, Index, DataMapper, mr, nr, ConjugateLhs, ConjugateRhs>
2822
- {
2823
- typedef quad_traits<double>::vectortype Packet;
2824
- typedef Packet1cd Packetc;
2825
- typedef quad_traits<double>::rhstype RhsPacket;
2826
-
2827
- void operator()(const DataMapper& res, const std::complex<double>* blockA, const std::complex<double>* blockB,
2828
- Index rows, Index depth, Index cols, std::complex<double> alpha,
2829
- Index strideA=-1, Index strideB=-1, Index offsetA=0, Index offsetB=0);
2830
- };
2831
-
2832
- template<typename Index, typename DataMapper, int mr, int nr, bool ConjugateLhs, bool ConjugateRhs>
2833
- void gebp_kernel<std::complex<double>, std::complex<double>, Index, DataMapper, mr, nr, ConjugateLhs, ConjugateRhs>
2834
- ::operator()(const DataMapper& res, const std::complex<double>* blockA, const std::complex<double>* blockB,
2835
- Index rows, Index depth, Index cols, std::complex<double> alpha,
2836
- Index strideA, Index strideB, Index offsetA, Index offsetB)
2837
- {
2838
- const Index accRows = quad_traits<double>::rows;
2839
- const Index accCols = quad_traits<double>::size;
2840
- void (*gemm_function)(const DataMapper&, const std::complex<double>*, const std::complex<double>*,
2841
- Index, Index, Index, std::complex<double>, Index, Index, Index, Index);
2842
- #ifdef EIGEN_ALTIVEC_MMA_ONLY
2843
- //generate with MMA only
2844
- gemm_function = &Eigen::internal::gemm_complexMMA<std::complex<double>, std::complex<double>, std::complex<double>, double, Index, Packet, Packetc, RhsPacket, DataMapper, accRows, accCols, ConjugateLhs, ConjugateRhs, false, false>;
2845
- #elif defined(ALTIVEC_MMA_SUPPORT) && !defined(EIGEN_ALTIVEC_DISABLE_MMA)
2846
- if (__builtin_cpu_supports ("arch_3_1") && __builtin_cpu_supports ("mma")){
2847
- gemm_function = &Eigen::internal::gemm_complexMMA<std::complex<double>, std::complex<double>, std::complex<double>, double, Index, Packet, Packetc, RhsPacket, DataMapper, accRows, accCols, ConjugateLhs, ConjugateRhs, false, false>;
2848
- }
2849
- else{
2850
- gemm_function = &Eigen::internal::gemm_complex<std::complex<double>, std::complex<double>, std::complex<double>, double, Index, Packet, Packetc, RhsPacket, DataMapper, accRows, accCols, ConjugateLhs, ConjugateRhs, false, false>;
2851
- }
2852
- #else
2853
- gemm_function = &Eigen::internal::gemm_complex<std::complex<double>, std::complex<double>, std::complex<double>, double, Index, Packet, Packetc, RhsPacket, DataMapper, accRows, accCols, ConjugateLhs, ConjugateRhs, false, false>;
2854
- #endif
2855
- gemm_function(res, blockA, blockB, rows, depth, cols, alpha, strideA, strideB, offsetA, offsetB);
2856
- }
2857
-
2858
- template<typename Index, typename DataMapper, int mr, int nr, bool ConjugateLhs, bool ConjugateRhs>
2859
- struct gebp_kernel<std::complex<double>, double, Index, DataMapper, mr, nr, ConjugateLhs, ConjugateRhs>
2860
- {
2861
- typedef quad_traits<double>::vectortype Packet;
2862
- typedef Packet1cd Packetc;
2863
- typedef quad_traits<double>::rhstype RhsPacket;
2864
-
2865
- void operator()(const DataMapper& res, const std::complex<double>* blockA, const double* blockB,
2866
- Index rows, Index depth, Index cols, std::complex<double> alpha,
2867
- Index strideA=-1, Index strideB=-1, Index offsetA=0, Index offsetB=0);
2868
- };
2869
-
2870
- template<typename Index, typename DataMapper, int mr, int nr, bool ConjugateLhs, bool ConjugateRhs>
2871
- void gebp_kernel<std::complex<double>, double, Index, DataMapper, mr, nr, ConjugateLhs, ConjugateRhs>
2872
- ::operator()(const DataMapper& res, const std::complex<double>* blockA, const double* blockB,
2873
- Index rows, Index depth, Index cols, std::complex<double> alpha,
2874
- Index strideA, Index strideB, Index offsetA, Index offsetB)
2875
- {
2876
- const Index accRows = quad_traits<double>::rows;
2877
- const Index accCols = quad_traits<double>::size;
2878
- void (*gemm_function)(const DataMapper&, const std::complex<double>*, const double*,
2879
- Index, Index, Index, std::complex<double>, Index, Index, Index, Index);
2880
- #ifdef EIGEN_ALTIVEC_MMA_ONLY
2881
- //generate with MMA only
2882
- gemm_function = &Eigen::internal::gemm_complexMMA<std::complex<double>, double, std::complex<double>, double, Index, Packet, Packetc, RhsPacket, DataMapper, accRows, accCols, ConjugateLhs, ConjugateRhs, false, true>;
2883
- #elif defined(ALTIVEC_MMA_SUPPORT) && !defined(EIGEN_ALTIVEC_DISABLE_MMA)
2884
- if (__builtin_cpu_supports ("arch_3_1") && __builtin_cpu_supports ("mma")){
2885
- gemm_function = &Eigen::internal::gemm_complexMMA<std::complex<double>, double, std::complex<double>, double, Index, Packet, Packetc, RhsPacket, DataMapper, accRows, accCols, ConjugateLhs, ConjugateRhs, false, true>;
2886
- }
2887
- else{
2888
- gemm_function = &Eigen::internal::gemm_complex<std::complex<double>, double, std::complex<double>, double, Index, Packet, Packetc, RhsPacket, DataMapper, accRows, accCols, ConjugateLhs, ConjugateRhs, false, true>;
2889
- }
2890
- #else
2891
- gemm_function = &Eigen::internal::gemm_complex<std::complex<double>, double, std::complex<double>, double, Index, Packet, Packetc, RhsPacket, DataMapper, accRows, accCols, ConjugateLhs, ConjugateRhs, false, true>;
2892
- #endif
2893
- gemm_function(res, blockA, blockB, rows, depth, cols, alpha, strideA, strideB, offsetA, offsetB);
2894
- }
2895
-
2896
- template<typename Index, typename DataMapper, int mr, int nr, bool ConjugateLhs, bool ConjugateRhs>
2897
- struct gebp_kernel<double, std::complex<double>, Index, DataMapper, mr, nr, ConjugateLhs, ConjugateRhs>
2898
- {
2899
- typedef quad_traits<double>::vectortype Packet;
2900
- typedef Packet1cd Packetc;
2901
- typedef quad_traits<double>::rhstype RhsPacket;
2902
-
2903
- void operator()(const DataMapper& res, const double* blockA, const std::complex<double>* blockB,
2904
- Index rows, Index depth, Index cols, std::complex<double> alpha,
2905
- Index strideA=-1, Index strideB=-1, Index offsetA=0, Index offsetB=0);
2906
- };
2907
-
2908
- template<typename Index, typename DataMapper, int mr, int nr, bool ConjugateLhs, bool ConjugateRhs>
2909
- void gebp_kernel<double, std::complex<double>, Index, DataMapper, mr, nr, ConjugateLhs, ConjugateRhs>
2910
- ::operator()(const DataMapper& res, const double* blockA, const std::complex<double>* blockB,
2911
- Index rows, Index depth, Index cols, std::complex<double> alpha,
2912
- Index strideA, Index strideB, Index offsetA, Index offsetB)
2913
- {
2914
- const Index accRows = quad_traits<double>::rows;
2915
- const Index accCols = quad_traits<double>::size;
2916
- void (*gemm_function)(const DataMapper&, const double*, const std::complex<double>*,
2917
- Index, Index, Index, std::complex<double>, Index, Index, Index, Index);
2918
- #ifdef EIGEN_ALTIVEC_MMA_ONLY
2919
- //generate with MMA only
2920
- gemm_function = &Eigen::internal::gemm_complexMMA<double, std::complex<double>, std::complex<double>, double, Index, Packet, Packetc, RhsPacket, DataMapper, accRows, accCols, ConjugateLhs, ConjugateRhs, true, false>;
2921
- #elif defined(ALTIVEC_MMA_SUPPORT) && !defined(EIGEN_ALTIVEC_DISABLE_MMA)
2922
- if (__builtin_cpu_supports ("arch_3_1") && __builtin_cpu_supports ("mma")){
2923
- gemm_function = &Eigen::internal::gemm_complexMMA<double, std::complex<double>, std::complex<double>, double, Index, Packet, Packetc, RhsPacket, DataMapper, accRows, accCols, ConjugateLhs, ConjugateRhs, true, false>;
2924
- }
2925
- else{
2926
- gemm_function = &Eigen::internal::gemm_complex<double, std::complex<double>, std::complex<double>, double, Index, Packet, Packetc, RhsPacket, DataMapper, accRows, accCols, ConjugateLhs, ConjugateRhs, true, false>;
2927
- }
2928
- #else
2929
- gemm_function = &Eigen::internal::gemm_complex<double, std::complex<double>, std::complex<double>, double, Index, Packet, Packetc, RhsPacket, DataMapper, accRows, accCols, ConjugateLhs, ConjugateRhs, true, false>;
2930
- #endif
2931
- gemm_function(res, blockA, blockB, rows, depth, cols, alpha, strideA, strideB, offsetA, offsetB);
2932
- }
2933
- } // end namespace internal
2934
-
2935
- } // end namespace Eigen
2936
-
2937
- #endif // EIGEN_MATRIX_PRODUCT_ALTIVEC_H