pylibsparseir 0.1.0__cp312-cp312-macosx_15_0_arm64.whl → 0.5.2__cp312-cp312-macosx_15_0_arm64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pylibsparseir might be problematic. Click here for more details.
- include/eigen3/Eigen/Cholesky +45 -0
- include/eigen3/Eigen/CholmodSupport +48 -0
- include/eigen3/Eigen/Core +384 -0
- include/eigen3/Eigen/Dense +7 -0
- include/eigen3/Eigen/Eigen +2 -0
- include/eigen3/Eigen/Eigenvalues +60 -0
- include/eigen3/Eigen/Geometry +59 -0
- include/eigen3/Eigen/Householder +29 -0
- include/eigen3/Eigen/IterativeLinearSolvers +48 -0
- include/eigen3/Eigen/Jacobi +32 -0
- include/eigen3/Eigen/KLUSupport +41 -0
- include/eigen3/Eigen/LU +47 -0
- include/eigen3/Eigen/MetisSupport +35 -0
- include/eigen3/Eigen/OrderingMethods +70 -0
- include/eigen3/Eigen/PaStiXSupport +49 -0
- include/eigen3/Eigen/PardisoSupport +35 -0
- include/eigen3/Eigen/QR +50 -0
- include/eigen3/Eigen/QtAlignedMalloc +39 -0
- include/eigen3/Eigen/SPQRSupport +34 -0
- include/eigen3/Eigen/SVD +50 -0
- include/eigen3/Eigen/Sparse +34 -0
- include/eigen3/Eigen/SparseCholesky +37 -0
- include/eigen3/Eigen/SparseCore +69 -0
- include/eigen3/Eigen/SparseLU +50 -0
- include/eigen3/Eigen/SparseQR +36 -0
- include/eigen3/Eigen/StdDeque +27 -0
- include/eigen3/Eigen/StdList +26 -0
- include/eigen3/Eigen/StdVector +27 -0
- include/eigen3/Eigen/SuperLUSupport +64 -0
- include/eigen3/Eigen/UmfPackSupport +40 -0
- include/eigen3/Eigen/src/Cholesky/LDLT.h +688 -0
- include/eigen3/Eigen/src/Cholesky/LLT.h +558 -0
- include/eigen3/Eigen/src/Cholesky/LLT_LAPACKE.h +99 -0
- include/eigen3/Eigen/src/CholmodSupport/CholmodSupport.h +682 -0
- include/eigen3/Eigen/src/Core/ArithmeticSequence.h +413 -0
- include/eigen3/Eigen/src/Core/Array.h +417 -0
- include/eigen3/Eigen/src/Core/ArrayBase.h +226 -0
- include/eigen3/Eigen/src/Core/ArrayWrapper.h +209 -0
- include/eigen3/Eigen/src/Core/Assign.h +90 -0
- include/eigen3/Eigen/src/Core/AssignEvaluator.h +1010 -0
- include/eigen3/Eigen/src/Core/Assign_MKL.h +178 -0
- include/eigen3/Eigen/src/Core/BandMatrix.h +353 -0
- include/eigen3/Eigen/src/Core/Block.h +448 -0
- include/eigen3/Eigen/src/Core/BooleanRedux.h +162 -0
- include/eigen3/Eigen/src/Core/CommaInitializer.h +164 -0
- include/eigen3/Eigen/src/Core/ConditionEstimator.h +175 -0
- include/eigen3/Eigen/src/Core/CoreEvaluators.h +1741 -0
- include/eigen3/Eigen/src/Core/CoreIterators.h +132 -0
- include/eigen3/Eigen/src/Core/CwiseBinaryOp.h +183 -0
- include/eigen3/Eigen/src/Core/CwiseNullaryOp.h +1001 -0
- include/eigen3/Eigen/src/Core/CwiseTernaryOp.h +197 -0
- include/eigen3/Eigen/src/Core/CwiseUnaryOp.h +103 -0
- include/eigen3/Eigen/src/Core/CwiseUnaryView.h +132 -0
- include/eigen3/Eigen/src/Core/DenseBase.h +701 -0
- include/eigen3/Eigen/src/Core/DenseCoeffsBase.h +685 -0
- include/eigen3/Eigen/src/Core/DenseStorage.h +652 -0
- include/eigen3/Eigen/src/Core/Diagonal.h +258 -0
- include/eigen3/Eigen/src/Core/DiagonalMatrix.h +391 -0
- include/eigen3/Eigen/src/Core/DiagonalProduct.h +28 -0
- include/eigen3/Eigen/src/Core/Dot.h +318 -0
- include/eigen3/Eigen/src/Core/EigenBase.h +160 -0
- include/eigen3/Eigen/src/Core/ForceAlignedAccess.h +150 -0
- include/eigen3/Eigen/src/Core/Fuzzy.h +155 -0
- include/eigen3/Eigen/src/Core/GeneralProduct.h +465 -0
- include/eigen3/Eigen/src/Core/GenericPacketMath.h +1040 -0
- include/eigen3/Eigen/src/Core/GlobalFunctions.h +194 -0
- include/eigen3/Eigen/src/Core/IO.h +258 -0
- include/eigen3/Eigen/src/Core/IndexedView.h +237 -0
- include/eigen3/Eigen/src/Core/Inverse.h +117 -0
- include/eigen3/Eigen/src/Core/Map.h +171 -0
- include/eigen3/Eigen/src/Core/MapBase.h +310 -0
- include/eigen3/Eigen/src/Core/MathFunctions.h +2057 -0
- include/eigen3/Eigen/src/Core/MathFunctionsImpl.h +200 -0
- include/eigen3/Eigen/src/Core/Matrix.h +565 -0
- include/eigen3/Eigen/src/Core/MatrixBase.h +547 -0
- include/eigen3/Eigen/src/Core/NestByValue.h +85 -0
- include/eigen3/Eigen/src/Core/NoAlias.h +109 -0
- include/eigen3/Eigen/src/Core/NumTraits.h +335 -0
- include/eigen3/Eigen/src/Core/PartialReduxEvaluator.h +232 -0
- include/eigen3/Eigen/src/Core/PermutationMatrix.h +605 -0
- include/eigen3/Eigen/src/Core/PlainObjectBase.h +1128 -0
- include/eigen3/Eigen/src/Core/Product.h +191 -0
- include/eigen3/Eigen/src/Core/ProductEvaluators.h +1179 -0
- include/eigen3/Eigen/src/Core/Random.h +218 -0
- include/eigen3/Eigen/src/Core/Redux.h +515 -0
- include/eigen3/Eigen/src/Core/Ref.h +381 -0
- include/eigen3/Eigen/src/Core/Replicate.h +142 -0
- include/eigen3/Eigen/src/Core/Reshaped.h +454 -0
- include/eigen3/Eigen/src/Core/ReturnByValue.h +119 -0
- include/eigen3/Eigen/src/Core/Reverse.h +217 -0
- include/eigen3/Eigen/src/Core/Select.h +164 -0
- include/eigen3/Eigen/src/Core/SelfAdjointView.h +365 -0
- include/eigen3/Eigen/src/Core/SelfCwiseBinaryOp.h +47 -0
- include/eigen3/Eigen/src/Core/Solve.h +188 -0
- include/eigen3/Eigen/src/Core/SolveTriangular.h +235 -0
- include/eigen3/Eigen/src/Core/SolverBase.h +168 -0
- include/eigen3/Eigen/src/Core/StableNorm.h +251 -0
- include/eigen3/Eigen/src/Core/StlIterators.h +463 -0
- include/eigen3/Eigen/src/Core/Stride.h +116 -0
- include/eigen3/Eigen/src/Core/Swap.h +68 -0
- include/eigen3/Eigen/src/Core/Transpose.h +464 -0
- include/eigen3/Eigen/src/Core/Transpositions.h +386 -0
- include/eigen3/Eigen/src/Core/TriangularMatrix.h +1001 -0
- include/eigen3/Eigen/src/Core/VectorBlock.h +96 -0
- include/eigen3/Eigen/src/Core/VectorwiseOp.h +784 -0
- include/eigen3/Eigen/src/Core/Visitor.h +381 -0
- include/eigen3/Eigen/src/Core/arch/AVX/Complex.h +372 -0
- include/eigen3/Eigen/src/Core/arch/AVX/MathFunctions.h +228 -0
- include/eigen3/Eigen/src/Core/arch/AVX/PacketMath.h +1574 -0
- include/eigen3/Eigen/src/Core/arch/AVX/TypeCasting.h +115 -0
- include/eigen3/Eigen/src/Core/arch/AVX512/Complex.h +422 -0
- include/eigen3/Eigen/src/Core/arch/AVX512/MathFunctions.h +362 -0
- include/eigen3/Eigen/src/Core/arch/AVX512/PacketMath.h +2303 -0
- include/eigen3/Eigen/src/Core/arch/AVX512/TypeCasting.h +89 -0
- include/eigen3/Eigen/src/Core/arch/AltiVec/Complex.h +417 -0
- include/eigen3/Eigen/src/Core/arch/AltiVec/MathFunctions.h +90 -0
- include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProduct.h +2937 -0
- include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductCommon.h +221 -0
- include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h +629 -0
- include/eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h +2711 -0
- include/eigen3/Eigen/src/Core/arch/CUDA/Complex.h +258 -0
- include/eigen3/Eigen/src/Core/arch/Default/BFloat16.h +700 -0
- include/eigen3/Eigen/src/Core/arch/Default/ConjHelper.h +117 -0
- include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h +1649 -0
- include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h +110 -0
- include/eigen3/Eigen/src/Core/arch/Default/Half.h +942 -0
- include/eigen3/Eigen/src/Core/arch/Default/Settings.h +49 -0
- include/eigen3/Eigen/src/Core/arch/Default/TypeCasting.h +120 -0
- include/eigen3/Eigen/src/Core/arch/GPU/MathFunctions.h +103 -0
- include/eigen3/Eigen/src/Core/arch/GPU/PacketMath.h +1685 -0
- include/eigen3/Eigen/src/Core/arch/GPU/TypeCasting.h +80 -0
- include/eigen3/Eigen/src/Core/arch/HIP/hcc/math_constants.h +23 -0
- include/eigen3/Eigen/src/Core/arch/MSA/Complex.h +648 -0
- include/eigen3/Eigen/src/Core/arch/MSA/MathFunctions.h +387 -0
- include/eigen3/Eigen/src/Core/arch/MSA/PacketMath.h +1233 -0
- include/eigen3/Eigen/src/Core/arch/NEON/Complex.h +584 -0
- include/eigen3/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h +183 -0
- include/eigen3/Eigen/src/Core/arch/NEON/MathFunctions.h +75 -0
- include/eigen3/Eigen/src/Core/arch/NEON/PacketMath.h +4587 -0
- include/eigen3/Eigen/src/Core/arch/NEON/TypeCasting.h +1419 -0
- include/eigen3/Eigen/src/Core/arch/SSE/Complex.h +351 -0
- include/eigen3/Eigen/src/Core/arch/SSE/MathFunctions.h +199 -0
- include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h +1505 -0
- include/eigen3/Eigen/src/Core/arch/SSE/TypeCasting.h +142 -0
- include/eigen3/Eigen/src/Core/arch/SVE/MathFunctions.h +44 -0
- include/eigen3/Eigen/src/Core/arch/SVE/PacketMath.h +752 -0
- include/eigen3/Eigen/src/Core/arch/SVE/TypeCasting.h +49 -0
- include/eigen3/Eigen/src/Core/arch/SYCL/InteropHeaders.h +232 -0
- include/eigen3/Eigen/src/Core/arch/SYCL/MathFunctions.h +301 -0
- include/eigen3/Eigen/src/Core/arch/SYCL/PacketMath.h +670 -0
- include/eigen3/Eigen/src/Core/arch/SYCL/SyclMemoryModel.h +694 -0
- include/eigen3/Eigen/src/Core/arch/SYCL/TypeCasting.h +85 -0
- include/eigen3/Eigen/src/Core/arch/ZVector/Complex.h +426 -0
- include/eigen3/Eigen/src/Core/arch/ZVector/MathFunctions.h +233 -0
- include/eigen3/Eigen/src/Core/arch/ZVector/PacketMath.h +1060 -0
- include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h +177 -0
- include/eigen3/Eigen/src/Core/functors/BinaryFunctors.h +541 -0
- include/eigen3/Eigen/src/Core/functors/NullaryFunctors.h +189 -0
- include/eigen3/Eigen/src/Core/functors/StlFunctors.h +166 -0
- include/eigen3/Eigen/src/Core/functors/TernaryFunctors.h +25 -0
- include/eigen3/Eigen/src/Core/functors/UnaryFunctors.h +1131 -0
- include/eigen3/Eigen/src/Core/products/GeneralBlockPanelKernel.h +2645 -0
- include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix.h +517 -0
- include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h +317 -0
- include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular_BLAS.h +145 -0
- include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix_BLAS.h +124 -0
- include/eigen3/Eigen/src/Core/products/GeneralMatrixVector.h +518 -0
- include/eigen3/Eigen/src/Core/products/GeneralMatrixVector_BLAS.h +136 -0
- include/eigen3/Eigen/src/Core/products/Parallelizer.h +180 -0
- include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +544 -0
- include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix_BLAS.h +295 -0
- include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector.h +262 -0
- include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector_BLAS.h +118 -0
- include/eigen3/Eigen/src/Core/products/SelfadjointProduct.h +133 -0
- include/eigen3/Eigen/src/Core/products/SelfadjointRank2Update.h +94 -0
- include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix.h +472 -0
- include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix_BLAS.h +317 -0
- include/eigen3/Eigen/src/Core/products/TriangularMatrixVector.h +350 -0
- include/eigen3/Eigen/src/Core/products/TriangularMatrixVector_BLAS.h +255 -0
- include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix.h +337 -0
- include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix_BLAS.h +167 -0
- include/eigen3/Eigen/src/Core/products/TriangularSolverVector.h +148 -0
- include/eigen3/Eigen/src/Core/util/BlasUtil.h +583 -0
- include/eigen3/Eigen/src/Core/util/ConfigureVectorization.h +512 -0
- include/eigen3/Eigen/src/Core/util/Constants.h +563 -0
- include/eigen3/Eigen/src/Core/util/DisableStupidWarnings.h +106 -0
- include/eigen3/Eigen/src/Core/util/ForwardDeclarations.h +322 -0
- include/eigen3/Eigen/src/Core/util/IndexedViewHelper.h +186 -0
- include/eigen3/Eigen/src/Core/util/IntegralConstant.h +272 -0
- include/eigen3/Eigen/src/Core/util/MKL_support.h +137 -0
- include/eigen3/Eigen/src/Core/util/Macros.h +1464 -0
- include/eigen3/Eigen/src/Core/util/Memory.h +1163 -0
- include/eigen3/Eigen/src/Core/util/Meta.h +812 -0
- include/eigen3/Eigen/src/Core/util/NonMPL2.h +3 -0
- include/eigen3/Eigen/src/Core/util/ReenableStupidWarnings.h +31 -0
- include/eigen3/Eigen/src/Core/util/ReshapedHelper.h +51 -0
- include/eigen3/Eigen/src/Core/util/StaticAssert.h +221 -0
- include/eigen3/Eigen/src/Core/util/SymbolicIndex.h +293 -0
- include/eigen3/Eigen/src/Core/util/XprHelper.h +856 -0
- include/eigen3/Eigen/src/Eigenvalues/ComplexEigenSolver.h +346 -0
- include/eigen3/Eigen/src/Eigenvalues/ComplexSchur.h +462 -0
- include/eigen3/Eigen/src/Eigenvalues/ComplexSchur_LAPACKE.h +91 -0
- include/eigen3/Eigen/src/Eigenvalues/EigenSolver.h +622 -0
- include/eigen3/Eigen/src/Eigenvalues/GeneralizedEigenSolver.h +418 -0
- include/eigen3/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h +226 -0
- include/eigen3/Eigen/src/Eigenvalues/HessenbergDecomposition.h +374 -0
- include/eigen3/Eigen/src/Eigenvalues/MatrixBaseEigenvalues.h +158 -0
- include/eigen3/Eigen/src/Eigenvalues/RealQZ.h +657 -0
- include/eigen3/Eigen/src/Eigenvalues/RealSchur.h +558 -0
- include/eigen3/Eigen/src/Eigenvalues/RealSchur_LAPACKE.h +77 -0
- include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h +904 -0
- include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver_LAPACKE.h +87 -0
- include/eigen3/Eigen/src/Eigenvalues/Tridiagonalization.h +561 -0
- include/eigen3/Eigen/src/Geometry/AlignedBox.h +486 -0
- include/eigen3/Eigen/src/Geometry/AngleAxis.h +247 -0
- include/eigen3/Eigen/src/Geometry/EulerAngles.h +114 -0
- include/eigen3/Eigen/src/Geometry/Homogeneous.h +501 -0
- include/eigen3/Eigen/src/Geometry/Hyperplane.h +282 -0
- include/eigen3/Eigen/src/Geometry/OrthoMethods.h +235 -0
- include/eigen3/Eigen/src/Geometry/ParametrizedLine.h +232 -0
- include/eigen3/Eigen/src/Geometry/Quaternion.h +870 -0
- include/eigen3/Eigen/src/Geometry/Rotation2D.h +199 -0
- include/eigen3/Eigen/src/Geometry/RotationBase.h +206 -0
- include/eigen3/Eigen/src/Geometry/Scaling.h +188 -0
- include/eigen3/Eigen/src/Geometry/Transform.h +1563 -0
- include/eigen3/Eigen/src/Geometry/Translation.h +202 -0
- include/eigen3/Eigen/src/Geometry/Umeyama.h +166 -0
- include/eigen3/Eigen/src/Geometry/arch/Geometry_SIMD.h +168 -0
- include/eigen3/Eigen/src/Householder/BlockHouseholder.h +110 -0
- include/eigen3/Eigen/src/Householder/Householder.h +176 -0
- include/eigen3/Eigen/src/Householder/HouseholderSequence.h +545 -0
- include/eigen3/Eigen/src/IterativeLinearSolvers/BasicPreconditioners.h +226 -0
- include/eigen3/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h +212 -0
- include/eigen3/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h +229 -0
- include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h +394 -0
- include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteLUT.h +453 -0
- include/eigen3/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h +444 -0
- include/eigen3/Eigen/src/IterativeLinearSolvers/LeastSquareConjugateGradient.h +198 -0
- include/eigen3/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h +117 -0
- include/eigen3/Eigen/src/Jacobi/Jacobi.h +483 -0
- include/eigen3/Eigen/src/KLUSupport/KLUSupport.h +358 -0
- include/eigen3/Eigen/src/LU/Determinant.h +117 -0
- include/eigen3/Eigen/src/LU/FullPivLU.h +877 -0
- include/eigen3/Eigen/src/LU/InverseImpl.h +432 -0
- include/eigen3/Eigen/src/LU/PartialPivLU.h +624 -0
- include/eigen3/Eigen/src/LU/PartialPivLU_LAPACKE.h +83 -0
- include/eigen3/Eigen/src/LU/arch/InverseSize4.h +351 -0
- include/eigen3/Eigen/src/MetisSupport/MetisSupport.h +137 -0
- include/eigen3/Eigen/src/OrderingMethods/Amd.h +435 -0
- include/eigen3/Eigen/src/OrderingMethods/Eigen_Colamd.h +1863 -0
- include/eigen3/Eigen/src/OrderingMethods/Ordering.h +153 -0
- include/eigen3/Eigen/src/PaStiXSupport/PaStiXSupport.h +678 -0
- include/eigen3/Eigen/src/PardisoSupport/PardisoSupport.h +545 -0
- include/eigen3/Eigen/src/QR/ColPivHouseholderQR.h +674 -0
- include/eigen3/Eigen/src/QR/ColPivHouseholderQR_LAPACKE.h +97 -0
- include/eigen3/Eigen/src/QR/CompleteOrthogonalDecomposition.h +635 -0
- include/eigen3/Eigen/src/QR/FullPivHouseholderQR.h +713 -0
- include/eigen3/Eigen/src/QR/HouseholderQR.h +434 -0
- include/eigen3/Eigen/src/QR/HouseholderQR_LAPACKE.h +68 -0
- include/eigen3/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h +335 -0
- include/eigen3/Eigen/src/SVD/BDCSVD.h +1366 -0
- include/eigen3/Eigen/src/SVD/JacobiSVD.h +812 -0
- include/eigen3/Eigen/src/SVD/JacobiSVD_LAPACKE.h +91 -0
- include/eigen3/Eigen/src/SVD/SVDBase.h +376 -0
- include/eigen3/Eigen/src/SVD/UpperBidiagonalization.h +414 -0
- include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky.h +697 -0
- include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h +174 -0
- include/eigen3/Eigen/src/SparseCore/AmbiVector.h +378 -0
- include/eigen3/Eigen/src/SparseCore/CompressedStorage.h +274 -0
- include/eigen3/Eigen/src/SparseCore/ConservativeSparseSparseProduct.h +352 -0
- include/eigen3/Eigen/src/SparseCore/MappedSparseMatrix.h +67 -0
- include/eigen3/Eigen/src/SparseCore/SparseAssign.h +270 -0
- include/eigen3/Eigen/src/SparseCore/SparseBlock.h +571 -0
- include/eigen3/Eigen/src/SparseCore/SparseColEtree.h +206 -0
- include/eigen3/Eigen/src/SparseCore/SparseCompressedBase.h +370 -0
- include/eigen3/Eigen/src/SparseCore/SparseCwiseBinaryOp.h +722 -0
- include/eigen3/Eigen/src/SparseCore/SparseCwiseUnaryOp.h +150 -0
- include/eigen3/Eigen/src/SparseCore/SparseDenseProduct.h +342 -0
- include/eigen3/Eigen/src/SparseCore/SparseDiagonalProduct.h +138 -0
- include/eigen3/Eigen/src/SparseCore/SparseDot.h +98 -0
- include/eigen3/Eigen/src/SparseCore/SparseFuzzy.h +29 -0
- include/eigen3/Eigen/src/SparseCore/SparseMap.h +305 -0
- include/eigen3/Eigen/src/SparseCore/SparseMatrix.h +1518 -0
- include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h +398 -0
- include/eigen3/Eigen/src/SparseCore/SparsePermutation.h +178 -0
- include/eigen3/Eigen/src/SparseCore/SparseProduct.h +181 -0
- include/eigen3/Eigen/src/SparseCore/SparseRedux.h +49 -0
- include/eigen3/Eigen/src/SparseCore/SparseRef.h +397 -0
- include/eigen3/Eigen/src/SparseCore/SparseSelfAdjointView.h +659 -0
- include/eigen3/Eigen/src/SparseCore/SparseSolverBase.h +124 -0
- include/eigen3/Eigen/src/SparseCore/SparseSparseProductWithPruning.h +198 -0
- include/eigen3/Eigen/src/SparseCore/SparseTranspose.h +92 -0
- include/eigen3/Eigen/src/SparseCore/SparseTriangularView.h +189 -0
- include/eigen3/Eigen/src/SparseCore/SparseUtil.h +186 -0
- include/eigen3/Eigen/src/SparseCore/SparseVector.h +478 -0
- include/eigen3/Eigen/src/SparseCore/SparseView.h +254 -0
- include/eigen3/Eigen/src/SparseCore/TriangularSolver.h +315 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU.h +923 -0
- include/eigen3/Eigen/src/SparseLU/SparseLUImpl.h +66 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_Memory.h +226 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_Structs.h +110 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_SupernodalMatrix.h +375 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_Utils.h +80 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_column_bmod.h +181 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_column_dfs.h +179 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_copy_to_ucol.h +107 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_gemm_kernel.h +280 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h +126 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_kernel_bmod.h +130 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_panel_bmod.h +223 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_panel_dfs.h +258 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_pivotL.h +137 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_pruneL.h +136 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_relax_snode.h +83 -0
- include/eigen3/Eigen/src/SparseQR/SparseQR.h +758 -0
- include/eigen3/Eigen/src/StlSupport/StdDeque.h +116 -0
- include/eigen3/Eigen/src/StlSupport/StdList.h +106 -0
- include/eigen3/Eigen/src/StlSupport/StdVector.h +131 -0
- include/eigen3/Eigen/src/StlSupport/details.h +84 -0
- include/eigen3/Eigen/src/SuperLUSupport/SuperLUSupport.h +1025 -0
- include/eigen3/Eigen/src/UmfPackSupport/UmfPackSupport.h +642 -0
- include/eigen3/Eigen/src/misc/Image.h +82 -0
- include/eigen3/Eigen/src/misc/Kernel.h +79 -0
- include/eigen3/Eigen/src/misc/RealSvd2x2.h +55 -0
- include/eigen3/Eigen/src/misc/blas.h +440 -0
- include/eigen3/Eigen/src/misc/lapack.h +152 -0
- include/eigen3/Eigen/src/misc/lapacke.h +16292 -0
- include/eigen3/Eigen/src/misc/lapacke_mangling.h +17 -0
- include/eigen3/Eigen/src/plugins/ArrayCwiseBinaryOps.h +358 -0
- include/eigen3/Eigen/src/plugins/ArrayCwiseUnaryOps.h +696 -0
- include/eigen3/Eigen/src/plugins/BlockMethods.h +1442 -0
- include/eigen3/Eigen/src/plugins/CommonCwiseBinaryOps.h +115 -0
- include/eigen3/Eigen/src/plugins/CommonCwiseUnaryOps.h +177 -0
- include/eigen3/Eigen/src/plugins/IndexedViewMethods.h +262 -0
- include/eigen3/Eigen/src/plugins/MatrixCwiseBinaryOps.h +152 -0
- include/eigen3/Eigen/src/plugins/MatrixCwiseUnaryOps.h +95 -0
- include/eigen3/Eigen/src/plugins/ReshapedMethods.h +149 -0
- include/eigen3/signature_of_eigen3_matrix_library +1 -0
- include/eigen3/unsupported/Eigen/AdolcForward +159 -0
- include/eigen3/unsupported/Eigen/AlignedVector3 +234 -0
- include/eigen3/unsupported/Eigen/ArpackSupport +30 -0
- include/eigen3/unsupported/Eigen/AutoDiff +46 -0
- include/eigen3/unsupported/Eigen/BVH +95 -0
- include/eigen3/unsupported/Eigen/CXX11/Tensor +137 -0
- include/eigen3/unsupported/Eigen/CXX11/TensorSymmetry +42 -0
- include/eigen3/unsupported/Eigen/CXX11/ThreadPool +74 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/Tensor.h +554 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h +329 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h +247 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBase.h +1176 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h +1559 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h +1093 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h +518 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h +377 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h +1023 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionBlocking.h +73 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionCuda.h +6 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionGpu.h +1413 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h +575 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionSycl.h +1650 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h +1679 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h +456 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +1132 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolutionSycl.h +544 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCostModel.h +214 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCustomOp.h +347 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDevice.h +137 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceCuda.h +6 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceDefault.h +104 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceGpu.h +389 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h +1048 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h +409 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h +236 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h +490 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvalTo.h +236 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h +983 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h +703 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h +388 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFFT.h +669 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h +379 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForcedEval.h +237 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h +191 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h +488 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGenerator.h +302 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGlobalFunctions.h +33 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaDefines.h +99 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaUndefines.h +44 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIO.h +79 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h +603 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h +738 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInflation.h +247 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInitializer.h +82 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h +263 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorLayoutSwap.h +216 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMacros.h +98 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMap.h +327 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h +311 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h +1102 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPadding.h +708 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPatch.h +291 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h +322 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h +998 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionCuda.h +6 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionGpu.h +966 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionSycl.h +582 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRef.h +454 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReverse.h +465 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorScan.h +528 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorScanSycl.h +513 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorShuffling.h +471 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h +161 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStriding.h +346 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTrace.h +303 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h +264 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h +249 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorVolumePatch.h +629 -0
- include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/DynamicSymmetry.h +293 -0
- include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/StaticSymmetry.h +236 -0
- include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/Symmetry.h +338 -0
- include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/util/TemplateGroupTheory.h +669 -0
- include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/Barrier.h +67 -0
- include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/EventCount.h +249 -0
- include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/NonBlockingThreadPool.h +486 -0
- include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/RunQueue.h +236 -0
- include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadCancel.h +23 -0
- include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadEnvironment.h +40 -0
- include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadLocal.h +301 -0
- include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadPoolInterface.h +48 -0
- include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadYield.h +20 -0
- include/eigen3/unsupported/Eigen/CXX11/src/util/CXX11Meta.h +537 -0
- include/eigen3/unsupported/Eigen/CXX11/src/util/CXX11Workarounds.h +88 -0
- include/eigen3/unsupported/Eigen/CXX11/src/util/EmulateArray.h +261 -0
- include/eigen3/unsupported/Eigen/CXX11/src/util/MaxSizeVector.h +158 -0
- include/eigen3/unsupported/Eigen/EulerAngles +43 -0
- include/eigen3/unsupported/Eigen/FFT +419 -0
- include/eigen3/unsupported/Eigen/IterativeSolvers +51 -0
- include/eigen3/unsupported/Eigen/KroneckerProduct +36 -0
- include/eigen3/unsupported/Eigen/LevenbergMarquardt +49 -0
- include/eigen3/unsupported/Eigen/MPRealSupport +213 -0
- include/eigen3/unsupported/Eigen/MatrixFunctions +504 -0
- include/eigen3/unsupported/Eigen/MoreVectorization +24 -0
- include/eigen3/unsupported/Eigen/NonLinearOptimization +140 -0
- include/eigen3/unsupported/Eigen/NumericalDiff +56 -0
- include/eigen3/unsupported/Eigen/OpenGLSupport +322 -0
- include/eigen3/unsupported/Eigen/Polynomials +137 -0
- include/eigen3/unsupported/Eigen/Skyline +39 -0
- include/eigen3/unsupported/Eigen/SparseExtra +54 -0
- include/eigen3/unsupported/Eigen/SpecialFunctions +103 -0
- include/eigen3/unsupported/Eigen/Splines +35 -0
- include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffJacobian.h +108 -0
- include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h +730 -0
- include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffVector.h +220 -0
- include/eigen3/unsupported/Eigen/src/BVH/BVAlgorithms.h +293 -0
- include/eigen3/unsupported/Eigen/src/BVH/KdBVH.h +223 -0
- include/eigen3/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h +790 -0
- include/eigen3/unsupported/Eigen/src/EulerAngles/EulerAngles.h +355 -0
- include/eigen3/unsupported/Eigen/src/EulerAngles/EulerSystem.h +305 -0
- include/eigen3/unsupported/Eigen/src/FFT/ei_fftw_impl.h +261 -0
- include/eigen3/unsupported/Eigen/src/FFT/ei_kissfft_impl.h +449 -0
- include/eigen3/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h +187 -0
- include/eigen3/unsupported/Eigen/src/IterativeSolvers/DGMRES.h +511 -0
- include/eigen3/unsupported/Eigen/src/IterativeSolvers/GMRES.h +335 -0
- include/eigen3/unsupported/Eigen/src/IterativeSolvers/IDRS.h +436 -0
- include/eigen3/unsupported/Eigen/src/IterativeSolvers/IncompleteLU.h +90 -0
- include/eigen3/unsupported/Eigen/src/IterativeSolvers/IterationController.h +154 -0
- include/eigen3/unsupported/Eigen/src/IterativeSolvers/MINRES.h +267 -0
- include/eigen3/unsupported/Eigen/src/IterativeSolvers/Scaling.h +193 -0
- include/eigen3/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h +305 -0
- include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMcovar.h +84 -0
- include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMonestep.h +202 -0
- include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMpar.h +160 -0
- include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMqrsolv.h +188 -0
- include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LevenbergMarquardt.h +396 -0
- include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h +441 -0
- include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixFunction.h +569 -0
- include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixLogarithm.h +373 -0
- include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixPower.h +705 -0
- include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h +368 -0
- include/eigen3/unsupported/Eigen/src/MatrixFunctions/StemFunction.h +117 -0
- include/eigen3/unsupported/Eigen/src/MoreVectorization/MathFunctions.h +95 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h +601 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h +657 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/chkder.h +66 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/covar.h +70 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/dogleg.h +107 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/fdjac1.h +79 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/lmpar.h +298 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/qrsolv.h +91 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1mpyq.h +30 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1updt.h +99 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/rwupdt.h +49 -0
- include/eigen3/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h +130 -0
- include/eigen3/unsupported/Eigen/src/Polynomials/Companion.h +280 -0
- include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h +428 -0
- include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h +143 -0
- include/eigen3/unsupported/Eigen/src/Skyline/SkylineInplaceLU.h +352 -0
- include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrix.h +862 -0
- include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrixBase.h +212 -0
- include/eigen3/unsupported/Eigen/src/Skyline/SkylineProduct.h +295 -0
- include/eigen3/unsupported/Eigen/src/Skyline/SkylineStorage.h +259 -0
- include/eigen3/unsupported/Eigen/src/Skyline/SkylineUtil.h +89 -0
- include/eigen3/unsupported/Eigen/src/SparseExtra/BlockOfDynamicSparseMatrix.h +122 -0
- include/eigen3/unsupported/Eigen/src/SparseExtra/BlockSparseMatrix.h +1079 -0
- include/eigen3/unsupported/Eigen/src/SparseExtra/DynamicSparseMatrix.h +404 -0
- include/eigen3/unsupported/Eigen/src/SparseExtra/MarketIO.h +282 -0
- include/eigen3/unsupported/Eigen/src/SparseExtra/MatrixMarketIterator.h +247 -0
- include/eigen3/unsupported/Eigen/src/SparseExtra/RandomSetter.h +349 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsArrayAPI.h +286 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsBFloat16.h +68 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsFunctors.h +357 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsHalf.h +66 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsImpl.h +1959 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsPacketMath.h +118 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/HipVectorCompatibility.h +67 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsArrayAPI.h +167 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsBFloat16.h +58 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsFunctors.h +330 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsHalf.h +58 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h +2045 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsPacketMath.h +79 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX/BesselFunctions.h +46 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX/SpecialFunctions.h +16 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/BesselFunctions.h +46 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/SpecialFunctions.h +16 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/GPU/SpecialFunctions.h +369 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/NEON/BesselFunctions.h +54 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/NEON/SpecialFunctions.h +34 -0
- include/eigen3/unsupported/Eigen/src/Splines/Spline.h +507 -0
- include/eigen3/unsupported/Eigen/src/Splines/SplineFitting.h +431 -0
- include/eigen3/unsupported/Eigen/src/Splines/SplineFwd.h +93 -0
- pylibsparseir/__init__.py +31 -0
- pylibsparseir/clean_build_artifacts.py +0 -1
- pylibsparseir/core.py +160 -45
- pylibsparseir/libsparseir.dylib +0 -0
- pylibsparseir-0.5.2.dist-info/METADATA +215 -0
- pylibsparseir-0.5.2.dist-info/RECORD +545 -0
- {pylibsparseir-0.1.0.dist-info → pylibsparseir-0.5.2.dist-info}/WHEEL +1 -1
- pylibsparseir-0.5.2.dist-info/licenses/LICENSE +21 -0
- share/eigen3/cmake/Eigen3Config.cmake +37 -0
- share/eigen3/cmake/Eigen3ConfigVersion.cmake +65 -0
- share/eigen3/cmake/Eigen3Targets.cmake +106 -0
- share/eigen3/cmake/UseEigen3.cmake +6 -0
- share/pkgconfig/eigen3.pc +9 -0
- pylibsparseir/libsparseir.0.4.2.dylib +0 -0
- pylibsparseir/libsparseir.0.dylib +0 -0
- pylibsparseir-0.1.0.dist-info/METADATA +0 -130
- pylibsparseir-0.1.0.dist-info/RECORD +0 -12
- pylibsparseir-0.1.0.dist-info/entry_points.txt +0 -2
- pylibsparseir-0.1.0.dist-info/top_level.txt +0 -1
|
@@ -0,0 +1,703 @@
|
|
|
1
|
+
// This file is part of Eigen, a lightweight C++ template library
|
|
2
|
+
// for linear algebra.
|
|
3
|
+
//
|
|
4
|
+
// Copyright (C) 2014 Benoit Steiner <benoit.steiner.goog@gmail.com>
|
|
5
|
+
//
|
|
6
|
+
// This Source Code Form is subject to the terms of the Mozilla
|
|
7
|
+
// Public License v. 2.0. If a copy of the MPL was not distributed
|
|
8
|
+
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
9
|
+
|
|
10
|
+
#ifndef EIGEN_CXX11_TENSOR_TENSOR_EXECUTOR_H
|
|
11
|
+
#define EIGEN_CXX11_TENSOR_TENSOR_EXECUTOR_H
|
|
12
|
+
|
|
13
|
+
namespace Eigen {
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* \class TensorExecutor
|
|
17
|
+
* \ingroup CXX11_Tensor_Module
|
|
18
|
+
*
|
|
19
|
+
* \brief The tensor executor class.
|
|
20
|
+
*
|
|
21
|
+
* This class is responsible for launch the evaluation of the expression on
|
|
22
|
+
* the specified computing device.
|
|
23
|
+
*
|
|
24
|
+
* @tparam Vectorizable can use packet math (SSE/AVX/etc... registers and
|
|
25
|
+
* instructions)
|
|
26
|
+
* @tparam Tiling can use block based tensor evaluation
|
|
27
|
+
* (see TensorBlock.h)
|
|
28
|
+
*/
|
|
29
|
+
namespace internal {
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Evaluating TensorBroadcastingOp via coefficient of packet path is extremely
|
|
33
|
+
* expensive. If expression has at least one broadcast op in it, and it supports
|
|
34
|
+
* block based evaluation, we always prefer it, even for the small tensors. For
|
|
35
|
+
* all other tileable ops, block evaluation overhead for small tensors (fits
|
|
36
|
+
* into L1) is too large, and we fallback on vectorized evaluation.
|
|
37
|
+
*/
|
|
38
|
+
|
|
39
|
+
// TODO(ezhulenev): Add specializations for all other types of Tensor ops.
|
|
40
|
+
|
|
41
|
+
template<typename Expression>
|
|
42
|
+
struct ExpressionHasTensorBroadcastingOp {
|
|
43
|
+
enum { value = false };
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
template<typename LhsXprType, typename RhsXprType>
|
|
47
|
+
struct ExpressionHasTensorBroadcastingOp<
|
|
48
|
+
const TensorAssignOp<LhsXprType, RhsXprType> > {
|
|
49
|
+
enum { value = ExpressionHasTensorBroadcastingOp<RhsXprType>::value };
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
template<typename UnaryOp, typename XprType>
|
|
53
|
+
struct ExpressionHasTensorBroadcastingOp<
|
|
54
|
+
const TensorCwiseUnaryOp<UnaryOp, XprType> > {
|
|
55
|
+
enum { value = ExpressionHasTensorBroadcastingOp<XprType>::value };
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
template<typename BinaryOp, typename LhsXprType, typename RhsXprType>
|
|
59
|
+
struct ExpressionHasTensorBroadcastingOp<
|
|
60
|
+
const TensorCwiseBinaryOp<BinaryOp, LhsXprType, RhsXprType> > {
|
|
61
|
+
enum {
|
|
62
|
+
value = ExpressionHasTensorBroadcastingOp<LhsXprType>::value ||
|
|
63
|
+
ExpressionHasTensorBroadcastingOp<RhsXprType>::value
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
template<typename Broadcast, typename XprType>
|
|
68
|
+
struct ExpressionHasTensorBroadcastingOp<
|
|
69
|
+
const TensorBroadcastingOp<Broadcast, XprType> > {
|
|
70
|
+
enum { value = true };
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
// -------------------------------------------------------------------------- //
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Default strategy: the expression is evaluated sequentially with a single cpu
|
|
77
|
+
* thread, without vectorization and block evaluation.
|
|
78
|
+
*/
|
|
79
|
+
template <typename Expression, typename Device, bool Vectorizable,
|
|
80
|
+
TiledEvaluation Tiling>
|
|
81
|
+
class TensorExecutor {
|
|
82
|
+
public:
|
|
83
|
+
typedef typename Expression::Index StorageIndex;
|
|
84
|
+
|
|
85
|
+
// Including `unsupported/Eigen/CXX11/Tensor` in different translation units
|
|
86
|
+
// with/without `EIGEN_USE_THREADS` or `EIGEN_USE_GPU` is a potential ODR
|
|
87
|
+
// violation. If this template is instantiated with a non-default device, it
|
|
88
|
+
// means that this header file was included without defining
|
|
89
|
+
// `EIGEN_USE_THREADS`, `EIGEN_USE_GPU` or `EIGEN_USE_SYCL`.
|
|
90
|
+
static_assert(std::is_same<Device, DefaultDevice>::value,
|
|
91
|
+
"Default executor instantiated with non-default device. "
|
|
92
|
+
"You must #define EIGEN_USE_THREADS, EIGEN_USE_GPU or "
|
|
93
|
+
"EIGEN_USE_SYCL before including Eigen headers.");
|
|
94
|
+
|
|
95
|
+
EIGEN_DEVICE_FUNC
|
|
96
|
+
static EIGEN_STRONG_INLINE void run(const Expression& expr,
|
|
97
|
+
const Device& device = Device()) {
|
|
98
|
+
TensorEvaluator<Expression, Device> evaluator(expr, device);
|
|
99
|
+
const bool needs_assign = evaluator.evalSubExprsIfNeeded(NULL);
|
|
100
|
+
if (needs_assign) {
|
|
101
|
+
const StorageIndex size = array_prod(evaluator.dimensions());
|
|
102
|
+
for (StorageIndex i = 0; i < size; ++i) {
|
|
103
|
+
evaluator.evalScalar(i);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
evaluator.cleanup();
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Default async execution strategy is not implemented. Currently it's only
|
|
112
|
+
* available for ThreadPoolDevice (see definition below).
|
|
113
|
+
*/
|
|
114
|
+
template <typename Expression, typename Device, typename DoneCallback,
|
|
115
|
+
bool Vectorizable, TiledEvaluation Tiling>
|
|
116
|
+
class TensorAsyncExecutor {};
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Process all the data with a single cpu thread, using vectorized instructions.
|
|
120
|
+
*/
|
|
121
|
+
template <typename Expression>
|
|
122
|
+
class TensorExecutor<Expression, DefaultDevice, /*Vectorizable=*/true,
|
|
123
|
+
/*Tiling=*/TiledEvaluation::Off> {
|
|
124
|
+
public:
|
|
125
|
+
typedef typename Expression::Index StorageIndex;
|
|
126
|
+
|
|
127
|
+
EIGEN_DEVICE_FUNC
|
|
128
|
+
static EIGEN_STRONG_INLINE void run(
|
|
129
|
+
const Expression& expr, const DefaultDevice& device = DefaultDevice()) {
|
|
130
|
+
TensorEvaluator<Expression, DefaultDevice> evaluator(expr, device);
|
|
131
|
+
const bool needs_assign = evaluator.evalSubExprsIfNeeded(NULL);
|
|
132
|
+
if (needs_assign) {
|
|
133
|
+
const StorageIndex size = array_prod(evaluator.dimensions());
|
|
134
|
+
const int PacketSize = unpacket_traits<typename TensorEvaluator<
|
|
135
|
+
Expression, DefaultDevice>::PacketReturnType>::size;
|
|
136
|
+
|
|
137
|
+
// Give compiler a strong possibility to unroll the loop. But don't insist
|
|
138
|
+
// on unrolling, because if the function is expensive compiler should not
|
|
139
|
+
// unroll the loop at the expense of inlining.
|
|
140
|
+
const StorageIndex UnrolledSize =
|
|
141
|
+
(size / (4 * PacketSize)) * 4 * PacketSize;
|
|
142
|
+
for (StorageIndex i = 0; i < UnrolledSize; i += 4 * PacketSize) {
|
|
143
|
+
for (StorageIndex j = 0; j < 4; j++) {
|
|
144
|
+
evaluator.evalPacket(i + j * PacketSize);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
const StorageIndex VectorizedSize = (size / PacketSize) * PacketSize;
|
|
148
|
+
for (StorageIndex i = UnrolledSize; i < VectorizedSize; i += PacketSize) {
|
|
149
|
+
evaluator.evalPacket(i);
|
|
150
|
+
}
|
|
151
|
+
for (StorageIndex i = VectorizedSize; i < size; ++i) {
|
|
152
|
+
evaluator.evalScalar(i);
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
evaluator.cleanup();
|
|
156
|
+
}
|
|
157
|
+
};
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Process all the data with a single cpu thread, using blocks of data. By
|
|
161
|
+
* sizing a block to fit L1 cache we get better cache performance.
|
|
162
|
+
*/
|
|
163
|
+
template <typename Expression, bool Vectorizable>
|
|
164
|
+
class TensorExecutor<Expression, DefaultDevice, Vectorizable,
|
|
165
|
+
/*Tiling=*/TiledEvaluation::On> {
|
|
166
|
+
public:
|
|
167
|
+
typedef typename traits<Expression>::Scalar Scalar;
|
|
168
|
+
typedef typename remove_const<Scalar>::type ScalarNoConst;
|
|
169
|
+
|
|
170
|
+
typedef TensorEvaluator<Expression, DefaultDevice> Evaluator;
|
|
171
|
+
typedef typename traits<Expression>::Index StorageIndex;
|
|
172
|
+
|
|
173
|
+
static const int NumDims = traits<Expression>::NumDimensions;
|
|
174
|
+
|
|
175
|
+
EIGEN_DEVICE_FUNC
|
|
176
|
+
static EIGEN_STRONG_INLINE void run(const Expression& expr,
|
|
177
|
+
const DefaultDevice& device = DefaultDevice()) {
|
|
178
|
+
typedef TensorBlockMapper<NumDims, Evaluator::Layout, StorageIndex>
|
|
179
|
+
TensorBlockMapper;
|
|
180
|
+
|
|
181
|
+
typedef internal::TensorBlockDescriptor<NumDims, StorageIndex>
|
|
182
|
+
TensorBlockDesc;
|
|
183
|
+
typedef internal::TensorBlockScratchAllocator<DefaultDevice>
|
|
184
|
+
TensorBlockScratch;
|
|
185
|
+
|
|
186
|
+
Evaluator evaluator(expr, device);
|
|
187
|
+
|
|
188
|
+
// TODO(ezhulenev): Do not use tiling for small tensors?
|
|
189
|
+
const bool needs_assign = evaluator.evalSubExprsIfNeeded(NULL);
|
|
190
|
+
|
|
191
|
+
if (needs_assign) {
|
|
192
|
+
// Query expression tree for desired block size/shape.
|
|
193
|
+
const TensorBlockResourceRequirements requirements =
|
|
194
|
+
evaluator.getResourceRequirements();
|
|
195
|
+
|
|
196
|
+
const TensorBlockMapper block_mapper(
|
|
197
|
+
typename TensorBlockDesc::Dimensions(evaluator.dimensions()),
|
|
198
|
+
requirements);
|
|
199
|
+
|
|
200
|
+
// Share scratch memory allocator between all blocks.
|
|
201
|
+
TensorBlockScratch scratch(device);
|
|
202
|
+
|
|
203
|
+
const StorageIndex total_block_count = block_mapper.blockCount();
|
|
204
|
+
for (StorageIndex i = 0; i < total_block_count; ++i) {
|
|
205
|
+
TensorBlockDesc desc = block_mapper.blockDescriptor(i);
|
|
206
|
+
evaluator.evalBlock(desc, scratch);
|
|
207
|
+
scratch.reset();
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
evaluator.cleanup();
|
|
211
|
+
}
|
|
212
|
+
};
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* Multicore strategy: the index space is partitioned and each partition is
|
|
216
|
+
* executed on a single core.
|
|
217
|
+
*
|
|
218
|
+
* (1) TensorExecutor will submit work to the ThreadPoolDevice managed thread
|
|
219
|
+
* pool, and will block the caller thread until all tasks are finished.
|
|
220
|
+
*
|
|
221
|
+
* (2) TensorAsyncExecutor is a non-blocking version, that will submit work to
|
|
222
|
+
* the ThreadPoolDevice managed thread pool, and will return immediately.
|
|
223
|
+
* It will call 'done' callback after all tasks are finished.
|
|
224
|
+
*/
|
|
225
|
+
#ifdef EIGEN_USE_THREADS
|
|
226
|
+
|
|
227
|
+
template <typename TensorBlockMapper>
|
|
228
|
+
struct TensorExecutorTilingContext {
|
|
229
|
+
TensorExecutorTilingContext() = default;
|
|
230
|
+
TensorExecutorTilingContext(const TensorBlockMapper& b_mapper,
|
|
231
|
+
const TensorOpCost& b_cost, size_t b_aligned_size)
|
|
232
|
+
: block_mapper(b_mapper),
|
|
233
|
+
cost(b_cost),
|
|
234
|
+
aligned_blocksize(b_aligned_size) {}
|
|
235
|
+
|
|
236
|
+
TensorBlockMapper block_mapper; // navigate through blocks
|
|
237
|
+
TensorOpCost cost; // cost of computing a single block
|
|
238
|
+
size_t aligned_blocksize; // block size after memory alignment
|
|
239
|
+
};
|
|
240
|
+
|
|
241
|
+
// Computes a block evaluation parameters, and allocates temporary memory buffer
|
|
242
|
+
// for blocks. See TensorExecutor/TensorAsyncExecutor (Tiling=On) below.
|
|
243
|
+
template <typename Evaluator, typename TensorBlockMapper, bool Vectorizable>
|
|
244
|
+
TensorExecutorTilingContext<TensorBlockMapper> GetTensorExecutorTilingContext(
|
|
245
|
+
const Evaluator& evaluator) {
|
|
246
|
+
// Query expression tree for desired block size/shape.
|
|
247
|
+
TensorBlockResourceRequirements requirements =
|
|
248
|
+
evaluator.getResourceRequirements();
|
|
249
|
+
|
|
250
|
+
// Update target block size based on cost model.
|
|
251
|
+
double taskSize = TensorCostModel<ThreadPoolDevice>::taskSize(
|
|
252
|
+
1, requirements.cost_per_coeff);
|
|
253
|
+
requirements.size = static_cast<size_t>(1.0 / taskSize);
|
|
254
|
+
|
|
255
|
+
TensorBlockMapper block_mapper(
|
|
256
|
+
typename TensorBlockMapper::Dimensions(evaluator.dimensions()),
|
|
257
|
+
requirements);
|
|
258
|
+
|
|
259
|
+
size_t block_size = block_mapper.blockTotalSize();
|
|
260
|
+
const size_t align = numext::maxi(EIGEN_MAX_ALIGN_BYTES, 1);
|
|
261
|
+
const size_t aligned_blocksize =
|
|
262
|
+
align *
|
|
263
|
+
divup<size_t>(block_size * sizeof(typename Evaluator::Scalar), align);
|
|
264
|
+
|
|
265
|
+
return {block_mapper, requirements.cost_per_coeff * block_size,
|
|
266
|
+
aligned_blocksize};
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
template <typename Evaluator, typename StorageIndex, bool Vectorizable>
|
|
270
|
+
struct EvalRange {
|
|
271
|
+
static void run(Evaluator* evaluator_in, const StorageIndex firstIdx,
|
|
272
|
+
const StorageIndex lastIdx) {
|
|
273
|
+
Evaluator evaluator = *evaluator_in;
|
|
274
|
+
eigen_assert(lastIdx >= firstIdx);
|
|
275
|
+
for (StorageIndex i = firstIdx; i < lastIdx; ++i) {
|
|
276
|
+
evaluator.evalScalar(i);
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
static StorageIndex alignBlockSize(StorageIndex size) { return size; }
|
|
281
|
+
};
|
|
282
|
+
|
|
283
|
+
template <typename Evaluator, typename StorageIndex>
|
|
284
|
+
struct EvalRange<Evaluator, StorageIndex, /*Vectorizable*/ true> {
|
|
285
|
+
static const int PacketSize =
|
|
286
|
+
unpacket_traits<typename Evaluator::PacketReturnType>::size;
|
|
287
|
+
|
|
288
|
+
static void run(Evaluator* evaluator_in, const StorageIndex firstIdx,
|
|
289
|
+
const StorageIndex lastIdx) {
|
|
290
|
+
Evaluator evaluator = *evaluator_in;
|
|
291
|
+
eigen_assert(lastIdx >= firstIdx);
|
|
292
|
+
StorageIndex i = firstIdx;
|
|
293
|
+
if (lastIdx - firstIdx >= PacketSize) {
|
|
294
|
+
eigen_assert(firstIdx % PacketSize == 0);
|
|
295
|
+
StorageIndex last_chunk_offset = lastIdx - 4 * PacketSize;
|
|
296
|
+
// Give compiler a strong possibility to unroll the loop. But don't insist
|
|
297
|
+
// on unrolling, because if the function is expensive compiler should not
|
|
298
|
+
// unroll the loop at the expense of inlining.
|
|
299
|
+
for (; i <= last_chunk_offset; i += 4 * PacketSize) {
|
|
300
|
+
for (StorageIndex j = 0; j < 4; j++) {
|
|
301
|
+
evaluator.evalPacket(i + j * PacketSize);
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
last_chunk_offset = lastIdx - PacketSize;
|
|
305
|
+
for (; i <= last_chunk_offset; i += PacketSize) {
|
|
306
|
+
evaluator.evalPacket(i);
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
for (; i < lastIdx; ++i) {
|
|
310
|
+
evaluator.evalScalar(i);
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
static StorageIndex alignBlockSize(StorageIndex size) {
|
|
315
|
+
// Align block size to packet size and account for unrolling in run above.
|
|
316
|
+
if (size >= 16 * PacketSize) {
|
|
317
|
+
return (size + 4 * PacketSize - 1) & ~(4 * PacketSize - 1);
|
|
318
|
+
}
|
|
319
|
+
// Aligning to 4 * PacketSize would increase block size by more than 25%.
|
|
320
|
+
return (size + PacketSize - 1) & ~(PacketSize - 1);
|
|
321
|
+
}
|
|
322
|
+
};
|
|
323
|
+
|
|
324
|
+
template <typename Expression, bool Vectorizable, TiledEvaluation Tiling>
|
|
325
|
+
class TensorExecutor<Expression, ThreadPoolDevice, Vectorizable, Tiling> {
|
|
326
|
+
public:
|
|
327
|
+
typedef typename Expression::Index StorageIndex;
|
|
328
|
+
|
|
329
|
+
static EIGEN_STRONG_INLINE void run(const Expression& expr,
|
|
330
|
+
const ThreadPoolDevice& device) {
|
|
331
|
+
typedef TensorEvaluator<Expression, ThreadPoolDevice> Evaluator;
|
|
332
|
+
typedef EvalRange<Evaluator, StorageIndex, Vectorizable> EvalRange;
|
|
333
|
+
|
|
334
|
+
Evaluator evaluator(expr, device);
|
|
335
|
+
const bool needs_assign = evaluator.evalSubExprsIfNeeded(nullptr);
|
|
336
|
+
if (needs_assign) {
|
|
337
|
+
const StorageIndex size = array_prod(evaluator.dimensions());
|
|
338
|
+
device.parallelFor(size, evaluator.costPerCoeff(Vectorizable),
|
|
339
|
+
EvalRange::alignBlockSize,
|
|
340
|
+
[&evaluator](StorageIndex firstIdx, StorageIndex lastIdx) {
|
|
341
|
+
EvalRange::run(&evaluator, firstIdx, lastIdx);
|
|
342
|
+
});
|
|
343
|
+
}
|
|
344
|
+
evaluator.cleanup();
|
|
345
|
+
}
|
|
346
|
+
};
|
|
347
|
+
|
|
348
|
+
template <typename Expression, bool Vectorizable>
|
|
349
|
+
class TensorExecutor<Expression, ThreadPoolDevice, Vectorizable,
|
|
350
|
+
/*Tiling=*/TiledEvaluation::On> {
|
|
351
|
+
public:
|
|
352
|
+
typedef typename traits<Expression>::Index IndexType;
|
|
353
|
+
typedef typename traits<Expression>::Scalar Scalar;
|
|
354
|
+
typedef typename remove_const<Scalar>::type ScalarNoConst;
|
|
355
|
+
|
|
356
|
+
static const int NumDims = traits<Expression>::NumDimensions;
|
|
357
|
+
|
|
358
|
+
typedef TensorEvaluator<Expression, ThreadPoolDevice> Evaluator;
|
|
359
|
+
typedef TensorBlockMapper<NumDims, Evaluator::Layout, IndexType> BlockMapper;
|
|
360
|
+
typedef TensorExecutorTilingContext<BlockMapper> TilingContext;
|
|
361
|
+
|
|
362
|
+
typedef internal::TensorBlockDescriptor<NumDims, IndexType>
|
|
363
|
+
TensorBlockDesc;
|
|
364
|
+
typedef internal::TensorBlockScratchAllocator<ThreadPoolDevice>
|
|
365
|
+
TensorBlockScratch;
|
|
366
|
+
|
|
367
|
+
static EIGEN_STRONG_INLINE void run(const Expression& expr,
|
|
368
|
+
const ThreadPoolDevice& device) {
|
|
369
|
+
Evaluator evaluator(expr, device);
|
|
370
|
+
|
|
371
|
+
const bool needs_assign = evaluator.evalSubExprsIfNeeded(nullptr);
|
|
372
|
+
if (needs_assign) {
|
|
373
|
+
const TilingContext tiling =
|
|
374
|
+
internal::GetTensorExecutorTilingContext<Evaluator, BlockMapper,
|
|
375
|
+
Vectorizable>(evaluator);
|
|
376
|
+
|
|
377
|
+
auto eval_block = [&device, &evaluator, &tiling](IndexType firstBlockIdx,
|
|
378
|
+
IndexType lastBlockIdx) {
|
|
379
|
+
TensorBlockScratch scratch(device);
|
|
380
|
+
|
|
381
|
+
for (IndexType block_idx = firstBlockIdx; block_idx < lastBlockIdx;
|
|
382
|
+
++block_idx) {
|
|
383
|
+
TensorBlockDesc desc = tiling.block_mapper.blockDescriptor(block_idx);
|
|
384
|
+
evaluator.evalBlock(desc, scratch);
|
|
385
|
+
scratch.reset();
|
|
386
|
+
}
|
|
387
|
+
};
|
|
388
|
+
|
|
389
|
+
// Evaluate small expressions directly as a single block.
|
|
390
|
+
if (tiling.block_mapper.blockCount() == 1) {
|
|
391
|
+
TensorBlockScratch scratch(device);
|
|
392
|
+
TensorBlockDesc desc(0, tiling.block_mapper.blockDimensions());
|
|
393
|
+
evaluator.evalBlock(desc, scratch);
|
|
394
|
+
} else {
|
|
395
|
+
device.parallelFor(tiling.block_mapper.blockCount(), tiling.cost,
|
|
396
|
+
eval_block);
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
evaluator.cleanup();
|
|
400
|
+
}
|
|
401
|
+
};
|
|
402
|
+
|
|
403
|
+
template <typename Expression, typename DoneCallback, bool Vectorizable,
|
|
404
|
+
TiledEvaluation Tiling>
|
|
405
|
+
class TensorAsyncExecutor<Expression, ThreadPoolDevice, DoneCallback,
|
|
406
|
+
Vectorizable, Tiling> {
|
|
407
|
+
public:
|
|
408
|
+
typedef typename Expression::Index StorageIndex;
|
|
409
|
+
typedef TensorEvaluator<Expression, ThreadPoolDevice> Evaluator;
|
|
410
|
+
|
|
411
|
+
static EIGEN_STRONG_INLINE void runAsync(const Expression& expr,
|
|
412
|
+
const ThreadPoolDevice& device,
|
|
413
|
+
DoneCallback done) {
|
|
414
|
+
TensorAsyncExecutorContext* const ctx =
|
|
415
|
+
new TensorAsyncExecutorContext(expr, device, std::move(done));
|
|
416
|
+
|
|
417
|
+
const auto on_eval_subexprs = [ctx, &device](bool need_assign) -> void {
|
|
418
|
+
if (!need_assign) {
|
|
419
|
+
delete ctx;
|
|
420
|
+
return;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
typedef EvalRange<Evaluator, StorageIndex, Vectorizable> EvalRange;
|
|
424
|
+
const StorageIndex size = array_prod(ctx->evaluator.dimensions());
|
|
425
|
+
device.parallelForAsync(
|
|
426
|
+
size, ctx->evaluator.costPerCoeff(Vectorizable),
|
|
427
|
+
EvalRange::alignBlockSize,
|
|
428
|
+
[ctx](StorageIndex firstIdx, StorageIndex lastIdx) {
|
|
429
|
+
EvalRange::run(&ctx->evaluator, firstIdx, lastIdx);
|
|
430
|
+
},
|
|
431
|
+
[ctx]() { delete ctx; });
|
|
432
|
+
};
|
|
433
|
+
|
|
434
|
+
ctx->evaluator.evalSubExprsIfNeededAsync(nullptr, on_eval_subexprs);
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
private:
|
|
438
|
+
struct TensorAsyncExecutorContext {
|
|
439
|
+
TensorAsyncExecutorContext(const Expression& expr,
|
|
440
|
+
const ThreadPoolDevice& thread_pool,
|
|
441
|
+
DoneCallback done)
|
|
442
|
+
: evaluator(expr, thread_pool), on_done(std::move(done)) {}
|
|
443
|
+
|
|
444
|
+
~TensorAsyncExecutorContext() {
|
|
445
|
+
evaluator.cleanup();
|
|
446
|
+
on_done();
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
Evaluator evaluator;
|
|
450
|
+
|
|
451
|
+
private:
|
|
452
|
+
DoneCallback on_done;
|
|
453
|
+
};
|
|
454
|
+
};
|
|
455
|
+
|
|
456
|
+
template <typename Expression, typename DoneCallback, bool Vectorizable>
|
|
457
|
+
class TensorAsyncExecutor<Expression, ThreadPoolDevice, DoneCallback,
|
|
458
|
+
Vectorizable, /*Tileable*/ TiledEvaluation::On> {
|
|
459
|
+
public:
|
|
460
|
+
typedef typename traits<Expression>::Index IndexType;
|
|
461
|
+
typedef typename traits<Expression>::Scalar Scalar;
|
|
462
|
+
typedef typename remove_const<Scalar>::type ScalarNoConst;
|
|
463
|
+
|
|
464
|
+
static const int NumDims = traits<Expression>::NumDimensions;
|
|
465
|
+
|
|
466
|
+
typedef TensorEvaluator<Expression, ThreadPoolDevice> Evaluator;
|
|
467
|
+
typedef TensorBlockMapper<NumDims, Evaluator::Layout, IndexType> BlockMapper;
|
|
468
|
+
typedef TensorExecutorTilingContext<BlockMapper> TilingContext;
|
|
469
|
+
|
|
470
|
+
typedef internal::TensorBlockDescriptor<NumDims, IndexType> TensorBlockDesc;
|
|
471
|
+
typedef internal::TensorBlockScratchAllocator<ThreadPoolDevice>
|
|
472
|
+
TensorBlockScratch;
|
|
473
|
+
|
|
474
|
+
static EIGEN_STRONG_INLINE void runAsync(const Expression& expr,
|
|
475
|
+
const ThreadPoolDevice& device,
|
|
476
|
+
DoneCallback done) {
|
|
477
|
+
|
|
478
|
+
TensorAsyncExecutorContext* const ctx =
|
|
479
|
+
new TensorAsyncExecutorContext(expr, device, std::move(done));
|
|
480
|
+
|
|
481
|
+
const auto on_eval_subexprs = [ctx](bool need_assign) -> void {
|
|
482
|
+
if (!need_assign) {
|
|
483
|
+
delete ctx;
|
|
484
|
+
return;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
ctx->tiling = internal::GetTensorExecutorTilingContext<
|
|
488
|
+
Evaluator, BlockMapper, Vectorizable>(ctx->evaluator);
|
|
489
|
+
|
|
490
|
+
auto eval_block = [ctx](IndexType firstBlockIdx, IndexType lastBlockIdx) {
|
|
491
|
+
TensorBlockScratch scratch(ctx->device);
|
|
492
|
+
|
|
493
|
+
for (IndexType block_idx = firstBlockIdx; block_idx < lastBlockIdx;
|
|
494
|
+
++block_idx) {
|
|
495
|
+
TensorBlockDesc desc =
|
|
496
|
+
ctx->tiling.block_mapper.blockDescriptor(block_idx);
|
|
497
|
+
ctx->evaluator.evalBlock(desc, scratch);
|
|
498
|
+
scratch.reset();
|
|
499
|
+
}
|
|
500
|
+
};
|
|
501
|
+
|
|
502
|
+
// Evaluate small expressions directly as a single block.
|
|
503
|
+
if (ctx->tiling.block_mapper.blockCount() == 1) {
|
|
504
|
+
TensorBlockScratch scratch(ctx->device);
|
|
505
|
+
TensorBlockDesc desc(0, ctx->tiling.block_mapper.blockDimensions());
|
|
506
|
+
ctx->evaluator.evalBlock(desc, scratch);
|
|
507
|
+
delete ctx;
|
|
508
|
+
} else {
|
|
509
|
+
ctx->device.parallelForAsync(ctx->tiling.block_mapper.blockCount(),
|
|
510
|
+
ctx->tiling.cost, eval_block,
|
|
511
|
+
[ctx]() { delete ctx; });
|
|
512
|
+
}
|
|
513
|
+
};
|
|
514
|
+
|
|
515
|
+
ctx->evaluator.evalSubExprsIfNeededAsync(nullptr, on_eval_subexprs);
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
private:
|
|
519
|
+
struct TensorAsyncExecutorContext {
|
|
520
|
+
TensorAsyncExecutorContext(const Expression& expr,
|
|
521
|
+
const ThreadPoolDevice& thread_pool,
|
|
522
|
+
DoneCallback done)
|
|
523
|
+
: device(thread_pool),
|
|
524
|
+
evaluator(expr, thread_pool),
|
|
525
|
+
on_done(std::move(done)) {}
|
|
526
|
+
|
|
527
|
+
~TensorAsyncExecutorContext() {
|
|
528
|
+
evaluator.cleanup();
|
|
529
|
+
on_done();
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
const ThreadPoolDevice& device;
|
|
533
|
+
Evaluator evaluator;
|
|
534
|
+
TilingContext tiling;
|
|
535
|
+
|
|
536
|
+
private:
|
|
537
|
+
DoneCallback on_done;
|
|
538
|
+
};
|
|
539
|
+
};
|
|
540
|
+
|
|
541
|
+
#endif // EIGEN_USE_THREADS
|
|
542
|
+
|
|
543
|
+
// GPU: the evaluation of the expression is offloaded to a GPU.
|
|
544
|
+
#if defined(EIGEN_USE_GPU)
|
|
545
|
+
|
|
546
|
+
template <typename Expression, bool Vectorizable, TiledEvaluation Tiling>
|
|
547
|
+
class TensorExecutor<Expression, GpuDevice, Vectorizable, Tiling> {
|
|
548
|
+
public:
|
|
549
|
+
typedef typename Expression::Index StorageIndex;
|
|
550
|
+
static void run(const Expression& expr, const GpuDevice& device);
|
|
551
|
+
};
|
|
552
|
+
|
|
553
|
+
#if defined(EIGEN_GPUCC)
|
|
554
|
+
template <typename Evaluator, typename StorageIndex, bool Vectorizable>
|
|
555
|
+
struct EigenMetaKernelEval {
|
|
556
|
+
static EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE
|
|
557
|
+
void run(Evaluator& eval, StorageIndex firstIdx, StorageIndex lastIdx, StorageIndex step_size) {
|
|
558
|
+
for (StorageIndex i = firstIdx; i < lastIdx; i += step_size) {
|
|
559
|
+
eval.evalScalar(i);
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
};
|
|
563
|
+
|
|
564
|
+
template <typename Evaluator, typename StorageIndex>
|
|
565
|
+
struct EigenMetaKernelEval<Evaluator, StorageIndex, true> {
|
|
566
|
+
static EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE
|
|
567
|
+
void run(Evaluator& eval, StorageIndex firstIdx, StorageIndex lastIdx, StorageIndex step_size) {
|
|
568
|
+
const StorageIndex PacketSize = unpacket_traits<typename Evaluator::PacketReturnType>::size;
|
|
569
|
+
const StorageIndex vectorized_size = (lastIdx / PacketSize) * PacketSize;
|
|
570
|
+
const StorageIndex vectorized_step_size = step_size * PacketSize;
|
|
571
|
+
|
|
572
|
+
// Use the vector path
|
|
573
|
+
for (StorageIndex i = firstIdx * PacketSize; i < vectorized_size;
|
|
574
|
+
i += vectorized_step_size) {
|
|
575
|
+
eval.evalPacket(i);
|
|
576
|
+
}
|
|
577
|
+
for (StorageIndex i = vectorized_size + firstIdx; i < lastIdx; i += step_size) {
|
|
578
|
+
eval.evalScalar(i);
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
};
|
|
582
|
+
|
|
583
|
+
template <typename Evaluator, typename StorageIndex>
|
|
584
|
+
__global__ void
|
|
585
|
+
__launch_bounds__(1024)
|
|
586
|
+
EigenMetaKernel(Evaluator eval, StorageIndex size) {
|
|
587
|
+
|
|
588
|
+
const StorageIndex first_index = blockIdx.x * blockDim.x + threadIdx.x;
|
|
589
|
+
const StorageIndex step_size = blockDim.x * gridDim.x;
|
|
590
|
+
|
|
591
|
+
const bool vectorizable = Evaluator::PacketAccess & Evaluator::IsAligned;
|
|
592
|
+
EigenMetaKernelEval<Evaluator, StorageIndex, vectorizable>::run(eval, first_index, size, step_size);
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
/*static*/
|
|
596
|
+
template <typename Expression, bool Vectorizable, TiledEvaluation Tiling>
|
|
597
|
+
EIGEN_STRONG_INLINE void TensorExecutor<Expression, GpuDevice, Vectorizable, Tiling>::run(
|
|
598
|
+
const Expression& expr, const GpuDevice& device) {
|
|
599
|
+
TensorEvaluator<Expression, GpuDevice> evaluator(expr, device);
|
|
600
|
+
const bool needs_assign = evaluator.evalSubExprsIfNeeded(nullptr);
|
|
601
|
+
if (needs_assign) {
|
|
602
|
+
|
|
603
|
+
const int block_size = device.maxGpuThreadsPerBlock();
|
|
604
|
+
const int max_blocks = device.getNumGpuMultiProcessors() *
|
|
605
|
+
device.maxGpuThreadsPerMultiProcessor() / block_size;
|
|
606
|
+
const StorageIndex size = array_prod(evaluator.dimensions());
|
|
607
|
+
// Create a least one block to ensure we won't crash when tensorflow calls with tensors of size 0.
|
|
608
|
+
const int num_blocks = numext::maxi<int>(numext::mini<int>(max_blocks, divup<int>(size, block_size)), 1);
|
|
609
|
+
|
|
610
|
+
LAUNCH_GPU_KERNEL(
|
|
611
|
+
(EigenMetaKernel<TensorEvaluator<Expression, GpuDevice>, StorageIndex>),
|
|
612
|
+
num_blocks, block_size, 0, device, evaluator, size);
|
|
613
|
+
}
|
|
614
|
+
evaluator.cleanup();
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
#endif // EIGEN_GPUCC
|
|
618
|
+
#endif // EIGEN_USE_GPU
|
|
619
|
+
|
|
620
|
+
// SYCL Executor policy
|
|
621
|
+
#ifdef EIGEN_USE_SYCL
|
|
622
|
+
|
|
623
|
+
template <typename Evaluator>
|
|
624
|
+
struct ExecExprFunctorKernel {
|
|
625
|
+
typedef typename Evaluator::Index Index;
|
|
626
|
+
Evaluator evaluator;
|
|
627
|
+
const Index range;
|
|
628
|
+
template <typename Scratch>
|
|
629
|
+
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE ExecExprFunctorKernel(
|
|
630
|
+
const Scratch, Evaluator evaluator_, const Index range_)
|
|
631
|
+
: evaluator(evaluator_), range(range_) {}
|
|
632
|
+
|
|
633
|
+
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE void operator()(
|
|
634
|
+
cl::sycl::nd_item<1> itemID) {
|
|
635
|
+
compute(itemID);
|
|
636
|
+
}
|
|
637
|
+
template <bool is_vec = Evaluator::PacketAccess>
|
|
638
|
+
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE typename std::enable_if<!is_vec>::type
|
|
639
|
+
compute(const cl::sycl::nd_item<1>& itemID) {
|
|
640
|
+
Index gId = static_cast<Index>(itemID.get_global_linear_id());
|
|
641
|
+
Index total_threads = itemID.get_global_range(0);
|
|
642
|
+
|
|
643
|
+
for (Index i = gId; i < range; i += total_threads) {
|
|
644
|
+
evaluator.evalScalar(i);
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
template <bool is_vec = Evaluator::PacketAccess>
|
|
648
|
+
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE typename std::enable_if<is_vec>::type
|
|
649
|
+
compute(const cl::sycl::nd_item<1>& itemID) {
|
|
650
|
+
const Index vectorizedRange =
|
|
651
|
+
(range / Evaluator::PacketSize) * Evaluator::PacketSize;
|
|
652
|
+
Index gId = static_cast<Index>(itemID.get_global_linear_id());
|
|
653
|
+
const Index step = Evaluator::PacketSize * itemID.get_global_range(0);
|
|
654
|
+
const Index start = Evaluator::PacketSize * gId;
|
|
655
|
+
for (Index i = start; i < vectorizedRange; i += step) {
|
|
656
|
+
evaluator.evalPacket(i);
|
|
657
|
+
}
|
|
658
|
+
gId += vectorizedRange;
|
|
659
|
+
for (Index i = gId; i < range; i += itemID.get_global_range(0)) {
|
|
660
|
+
evaluator.evalScalar(i);
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
};
|
|
664
|
+
|
|
665
|
+
template <typename Expression, bool Vectorizable, TiledEvaluation Tiling>
|
|
666
|
+
class TensorExecutor<Expression, Eigen::SyclDevice, Vectorizable, Tiling> {
|
|
667
|
+
public:
|
|
668
|
+
typedef typename Expression::Index Index;
|
|
669
|
+
static EIGEN_STRONG_INLINE void run(const Expression& expr,
|
|
670
|
+
const Eigen::SyclDevice& dev) {
|
|
671
|
+
typedef Eigen::TensorEvaluator<Expression, Eigen::SyclDevice> Evaluator;
|
|
672
|
+
Evaluator evaluator(expr, dev);
|
|
673
|
+
const bool needs_assign = evaluator.evalSubExprsIfNeeded(NULL);
|
|
674
|
+
if (needs_assign) {
|
|
675
|
+
Index range, GRange, tileSize;
|
|
676
|
+
Index total_size = ::Eigen::internal::array_prod(evaluator.dimensions());
|
|
677
|
+
total_size = (total_size == 0) ? 1 : total_size;
|
|
678
|
+
const int PacketSize =
|
|
679
|
+
Eigen::PacketType<typename Evaluator::CoeffReturnType,
|
|
680
|
+
Eigen::SyclDevice>::size;
|
|
681
|
+
Index vectorizable_threads = static_cast<Index>(total_size / PacketSize);
|
|
682
|
+
dev.parallel_for_setup(vectorizable_threads, tileSize, range, GRange);
|
|
683
|
+
range = total_size;
|
|
684
|
+
|
|
685
|
+
dev.template nullary_kernel_launcher<
|
|
686
|
+
typename Evaluator::CoeffReturnType,
|
|
687
|
+
ExecExprFunctorKernel<Evaluator> >(
|
|
688
|
+
evaluator,
|
|
689
|
+
cl::sycl::nd_range<1>(cl::sycl::range<1>(GRange),
|
|
690
|
+
cl::sycl::range<1>(tileSize)),
|
|
691
|
+
Index(1), range);
|
|
692
|
+
}
|
|
693
|
+
evaluator.cleanup();
|
|
694
|
+
}
|
|
695
|
+
};
|
|
696
|
+
|
|
697
|
+
#endif
|
|
698
|
+
|
|
699
|
+
} // end namespace internal
|
|
700
|
+
|
|
701
|
+
} // end namespace Eigen
|
|
702
|
+
|
|
703
|
+
#endif // EIGEN_CXX11_TENSOR_TENSOR_EXECUTOR_H
|