xtgeo 4.10.0__cp313-cp313-macosx_11_0_arm64.whl → 4.11.0__cp313-cp313-macosx_11_0_arm64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of xtgeo might be problematic. Click here for more details.

Files changed (566) hide show
  1. xtgeo/_cxtgeo.cpython-313-darwin.so +0 -0
  2. xtgeo/_internal.cpython-313-darwin.so +0 -0
  3. xtgeo/common/version.py +16 -3
  4. xtgeo/cube/_cube_window_attributes.py +13 -4
  5. xtgeo/grid3d/_grid_etc1.py +10 -5
  6. xtgeo/grid3d/grid.py +22 -6
  7. xtgeo/include/fmt/args.h +220 -0
  8. xtgeo/include/fmt/base.h +2989 -0
  9. xtgeo/include/fmt/chrono.h +2330 -0
  10. xtgeo/include/fmt/color.h +637 -0
  11. xtgeo/include/fmt/compile.h +539 -0
  12. xtgeo/include/fmt/core.h +5 -0
  13. xtgeo/include/fmt/format-inl.h +1948 -0
  14. xtgeo/include/fmt/format.h +4244 -0
  15. xtgeo/include/fmt/os.h +427 -0
  16. xtgeo/include/fmt/ostream.h +167 -0
  17. xtgeo/include/fmt/printf.h +633 -0
  18. xtgeo/include/fmt/ranges.h +850 -0
  19. xtgeo/include/fmt/std.h +728 -0
  20. xtgeo/include/fmt/xchar.h +369 -0
  21. xtgeo/lib/cmake/fmt/fmt-config-version.cmake +43 -0
  22. xtgeo/lib/cmake/fmt/fmt-config.cmake +31 -0
  23. xtgeo/lib/cmake/fmt/fmt-targets-release.cmake +19 -0
  24. xtgeo/{share/eigen3/cmake/Eigen3Targets.cmake → lib/cmake/fmt/fmt-targets.cmake} +16 -6
  25. xtgeo/lib/libfmt.a +0 -0
  26. xtgeo/lib/pkgconfig/fmt.pc +11 -0
  27. xtgeo/metadata/metadata.py +20 -13
  28. {xtgeo-4.10.0.dist-info → xtgeo-4.11.0.dist-info}/METADATA +1 -1
  29. xtgeo-4.11.0.dist-info/RECORD +137 -0
  30. {xtgeo-4.10.0.dist-info → xtgeo-4.11.0.dist-info}/WHEEL +1 -1
  31. xtgeo/include/eigen3/Eigen/Cholesky +0 -45
  32. xtgeo/include/eigen3/Eigen/CholmodSupport +0 -48
  33. xtgeo/include/eigen3/Eigen/Core +0 -384
  34. xtgeo/include/eigen3/Eigen/Dense +0 -7
  35. xtgeo/include/eigen3/Eigen/Eigen +0 -2
  36. xtgeo/include/eigen3/Eigen/Eigenvalues +0 -60
  37. xtgeo/include/eigen3/Eigen/Geometry +0 -59
  38. xtgeo/include/eigen3/Eigen/Householder +0 -29
  39. xtgeo/include/eigen3/Eigen/IterativeLinearSolvers +0 -48
  40. xtgeo/include/eigen3/Eigen/Jacobi +0 -32
  41. xtgeo/include/eigen3/Eigen/KLUSupport +0 -41
  42. xtgeo/include/eigen3/Eigen/LU +0 -47
  43. xtgeo/include/eigen3/Eigen/MetisSupport +0 -35
  44. xtgeo/include/eigen3/Eigen/OrderingMethods +0 -70
  45. xtgeo/include/eigen3/Eigen/PaStiXSupport +0 -49
  46. xtgeo/include/eigen3/Eigen/PardisoSupport +0 -35
  47. xtgeo/include/eigen3/Eigen/QR +0 -50
  48. xtgeo/include/eigen3/Eigen/QtAlignedMalloc +0 -39
  49. xtgeo/include/eigen3/Eigen/SPQRSupport +0 -34
  50. xtgeo/include/eigen3/Eigen/SVD +0 -50
  51. xtgeo/include/eigen3/Eigen/Sparse +0 -34
  52. xtgeo/include/eigen3/Eigen/SparseCholesky +0 -37
  53. xtgeo/include/eigen3/Eigen/SparseCore +0 -69
  54. xtgeo/include/eigen3/Eigen/SparseLU +0 -50
  55. xtgeo/include/eigen3/Eigen/SparseQR +0 -36
  56. xtgeo/include/eigen3/Eigen/StdDeque +0 -27
  57. xtgeo/include/eigen3/Eigen/StdList +0 -26
  58. xtgeo/include/eigen3/Eigen/StdVector +0 -27
  59. xtgeo/include/eigen3/Eigen/SuperLUSupport +0 -64
  60. xtgeo/include/eigen3/Eigen/UmfPackSupport +0 -40
  61. xtgeo/include/eigen3/Eigen/src/Cholesky/LDLT.h +0 -688
  62. xtgeo/include/eigen3/Eigen/src/Cholesky/LLT.h +0 -558
  63. xtgeo/include/eigen3/Eigen/src/Cholesky/LLT_LAPACKE.h +0 -99
  64. xtgeo/include/eigen3/Eigen/src/CholmodSupport/CholmodSupport.h +0 -682
  65. xtgeo/include/eigen3/Eigen/src/Core/ArithmeticSequence.h +0 -413
  66. xtgeo/include/eigen3/Eigen/src/Core/Array.h +0 -417
  67. xtgeo/include/eigen3/Eigen/src/Core/ArrayBase.h +0 -226
  68. xtgeo/include/eigen3/Eigen/src/Core/ArrayWrapper.h +0 -209
  69. xtgeo/include/eigen3/Eigen/src/Core/Assign.h +0 -90
  70. xtgeo/include/eigen3/Eigen/src/Core/AssignEvaluator.h +0 -1010
  71. xtgeo/include/eigen3/Eigen/src/Core/Assign_MKL.h +0 -178
  72. xtgeo/include/eigen3/Eigen/src/Core/BandMatrix.h +0 -353
  73. xtgeo/include/eigen3/Eigen/src/Core/Block.h +0 -448
  74. xtgeo/include/eigen3/Eigen/src/Core/BooleanRedux.h +0 -162
  75. xtgeo/include/eigen3/Eigen/src/Core/CommaInitializer.h +0 -164
  76. xtgeo/include/eigen3/Eigen/src/Core/ConditionEstimator.h +0 -175
  77. xtgeo/include/eigen3/Eigen/src/Core/CoreEvaluators.h +0 -1741
  78. xtgeo/include/eigen3/Eigen/src/Core/CoreIterators.h +0 -132
  79. xtgeo/include/eigen3/Eigen/src/Core/CwiseBinaryOp.h +0 -183
  80. xtgeo/include/eigen3/Eigen/src/Core/CwiseNullaryOp.h +0 -1001
  81. xtgeo/include/eigen3/Eigen/src/Core/CwiseTernaryOp.h +0 -197
  82. xtgeo/include/eigen3/Eigen/src/Core/CwiseUnaryOp.h +0 -103
  83. xtgeo/include/eigen3/Eigen/src/Core/CwiseUnaryView.h +0 -132
  84. xtgeo/include/eigen3/Eigen/src/Core/DenseBase.h +0 -701
  85. xtgeo/include/eigen3/Eigen/src/Core/DenseCoeffsBase.h +0 -685
  86. xtgeo/include/eigen3/Eigen/src/Core/DenseStorage.h +0 -652
  87. xtgeo/include/eigen3/Eigen/src/Core/Diagonal.h +0 -258
  88. xtgeo/include/eigen3/Eigen/src/Core/DiagonalMatrix.h +0 -391
  89. xtgeo/include/eigen3/Eigen/src/Core/DiagonalProduct.h +0 -28
  90. xtgeo/include/eigen3/Eigen/src/Core/Dot.h +0 -318
  91. xtgeo/include/eigen3/Eigen/src/Core/EigenBase.h +0 -160
  92. xtgeo/include/eigen3/Eigen/src/Core/ForceAlignedAccess.h +0 -150
  93. xtgeo/include/eigen3/Eigen/src/Core/Fuzzy.h +0 -155
  94. xtgeo/include/eigen3/Eigen/src/Core/GeneralProduct.h +0 -465
  95. xtgeo/include/eigen3/Eigen/src/Core/GenericPacketMath.h +0 -1040
  96. xtgeo/include/eigen3/Eigen/src/Core/GlobalFunctions.h +0 -194
  97. xtgeo/include/eigen3/Eigen/src/Core/IO.h +0 -258
  98. xtgeo/include/eigen3/Eigen/src/Core/IndexedView.h +0 -237
  99. xtgeo/include/eigen3/Eigen/src/Core/Inverse.h +0 -117
  100. xtgeo/include/eigen3/Eigen/src/Core/Map.h +0 -171
  101. xtgeo/include/eigen3/Eigen/src/Core/MapBase.h +0 -310
  102. xtgeo/include/eigen3/Eigen/src/Core/MathFunctions.h +0 -2057
  103. xtgeo/include/eigen3/Eigen/src/Core/MathFunctionsImpl.h +0 -200
  104. xtgeo/include/eigen3/Eigen/src/Core/Matrix.h +0 -565
  105. xtgeo/include/eigen3/Eigen/src/Core/MatrixBase.h +0 -547
  106. xtgeo/include/eigen3/Eigen/src/Core/NestByValue.h +0 -85
  107. xtgeo/include/eigen3/Eigen/src/Core/NoAlias.h +0 -109
  108. xtgeo/include/eigen3/Eigen/src/Core/NumTraits.h +0 -335
  109. xtgeo/include/eigen3/Eigen/src/Core/PartialReduxEvaluator.h +0 -232
  110. xtgeo/include/eigen3/Eigen/src/Core/PermutationMatrix.h +0 -605
  111. xtgeo/include/eigen3/Eigen/src/Core/PlainObjectBase.h +0 -1128
  112. xtgeo/include/eigen3/Eigen/src/Core/Product.h +0 -191
  113. xtgeo/include/eigen3/Eigen/src/Core/ProductEvaluators.h +0 -1179
  114. xtgeo/include/eigen3/Eigen/src/Core/Random.h +0 -218
  115. xtgeo/include/eigen3/Eigen/src/Core/Redux.h +0 -515
  116. xtgeo/include/eigen3/Eigen/src/Core/Ref.h +0 -381
  117. xtgeo/include/eigen3/Eigen/src/Core/Replicate.h +0 -142
  118. xtgeo/include/eigen3/Eigen/src/Core/Reshaped.h +0 -454
  119. xtgeo/include/eigen3/Eigen/src/Core/ReturnByValue.h +0 -119
  120. xtgeo/include/eigen3/Eigen/src/Core/Reverse.h +0 -217
  121. xtgeo/include/eigen3/Eigen/src/Core/Select.h +0 -164
  122. xtgeo/include/eigen3/Eigen/src/Core/SelfAdjointView.h +0 -365
  123. xtgeo/include/eigen3/Eigen/src/Core/SelfCwiseBinaryOp.h +0 -47
  124. xtgeo/include/eigen3/Eigen/src/Core/Solve.h +0 -188
  125. xtgeo/include/eigen3/Eigen/src/Core/SolveTriangular.h +0 -235
  126. xtgeo/include/eigen3/Eigen/src/Core/SolverBase.h +0 -168
  127. xtgeo/include/eigen3/Eigen/src/Core/StableNorm.h +0 -251
  128. xtgeo/include/eigen3/Eigen/src/Core/StlIterators.h +0 -463
  129. xtgeo/include/eigen3/Eigen/src/Core/Stride.h +0 -116
  130. xtgeo/include/eigen3/Eigen/src/Core/Swap.h +0 -68
  131. xtgeo/include/eigen3/Eigen/src/Core/Transpose.h +0 -464
  132. xtgeo/include/eigen3/Eigen/src/Core/Transpositions.h +0 -386
  133. xtgeo/include/eigen3/Eigen/src/Core/TriangularMatrix.h +0 -1001
  134. xtgeo/include/eigen3/Eigen/src/Core/VectorBlock.h +0 -96
  135. xtgeo/include/eigen3/Eigen/src/Core/VectorwiseOp.h +0 -784
  136. xtgeo/include/eigen3/Eigen/src/Core/Visitor.h +0 -381
  137. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX/Complex.h +0 -372
  138. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX/MathFunctions.h +0 -228
  139. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX/PacketMath.h +0 -1574
  140. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX/TypeCasting.h +0 -115
  141. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX512/Complex.h +0 -422
  142. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX512/MathFunctions.h +0 -362
  143. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX512/PacketMath.h +0 -2303
  144. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX512/TypeCasting.h +0 -89
  145. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/Complex.h +0 -417
  146. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/MathFunctions.h +0 -90
  147. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProduct.h +0 -2937
  148. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductCommon.h +0 -221
  149. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h +0 -629
  150. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h +0 -2711
  151. xtgeo/include/eigen3/Eigen/src/Core/arch/CUDA/Complex.h +0 -258
  152. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/BFloat16.h +0 -700
  153. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/ConjHelper.h +0 -117
  154. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h +0 -1649
  155. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h +0 -110
  156. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/Half.h +0 -942
  157. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/Settings.h +0 -49
  158. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/TypeCasting.h +0 -120
  159. xtgeo/include/eigen3/Eigen/src/Core/arch/GPU/MathFunctions.h +0 -103
  160. xtgeo/include/eigen3/Eigen/src/Core/arch/GPU/PacketMath.h +0 -1685
  161. xtgeo/include/eigen3/Eigen/src/Core/arch/GPU/TypeCasting.h +0 -80
  162. xtgeo/include/eigen3/Eigen/src/Core/arch/HIP/hcc/math_constants.h +0 -23
  163. xtgeo/include/eigen3/Eigen/src/Core/arch/MSA/Complex.h +0 -648
  164. xtgeo/include/eigen3/Eigen/src/Core/arch/MSA/MathFunctions.h +0 -387
  165. xtgeo/include/eigen3/Eigen/src/Core/arch/MSA/PacketMath.h +0 -1233
  166. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/Complex.h +0 -584
  167. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h +0 -183
  168. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/MathFunctions.h +0 -75
  169. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/PacketMath.h +0 -4587
  170. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/TypeCasting.h +0 -1419
  171. xtgeo/include/eigen3/Eigen/src/Core/arch/SSE/Complex.h +0 -351
  172. xtgeo/include/eigen3/Eigen/src/Core/arch/SSE/MathFunctions.h +0 -199
  173. xtgeo/include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h +0 -1505
  174. xtgeo/include/eigen3/Eigen/src/Core/arch/SSE/TypeCasting.h +0 -142
  175. xtgeo/include/eigen3/Eigen/src/Core/arch/SVE/MathFunctions.h +0 -44
  176. xtgeo/include/eigen3/Eigen/src/Core/arch/SVE/PacketMath.h +0 -752
  177. xtgeo/include/eigen3/Eigen/src/Core/arch/SVE/TypeCasting.h +0 -49
  178. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/InteropHeaders.h +0 -232
  179. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/MathFunctions.h +0 -301
  180. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/PacketMath.h +0 -670
  181. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/SyclMemoryModel.h +0 -694
  182. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/TypeCasting.h +0 -85
  183. xtgeo/include/eigen3/Eigen/src/Core/arch/ZVector/Complex.h +0 -426
  184. xtgeo/include/eigen3/Eigen/src/Core/arch/ZVector/MathFunctions.h +0 -233
  185. xtgeo/include/eigen3/Eigen/src/Core/arch/ZVector/PacketMath.h +0 -1060
  186. xtgeo/include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h +0 -177
  187. xtgeo/include/eigen3/Eigen/src/Core/functors/BinaryFunctors.h +0 -541
  188. xtgeo/include/eigen3/Eigen/src/Core/functors/NullaryFunctors.h +0 -189
  189. xtgeo/include/eigen3/Eigen/src/Core/functors/StlFunctors.h +0 -166
  190. xtgeo/include/eigen3/Eigen/src/Core/functors/TernaryFunctors.h +0 -25
  191. xtgeo/include/eigen3/Eigen/src/Core/functors/UnaryFunctors.h +0 -1131
  192. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralBlockPanelKernel.h +0 -2645
  193. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix.h +0 -517
  194. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h +0 -317
  195. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular_BLAS.h +0 -145
  196. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix_BLAS.h +0 -124
  197. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixVector.h +0 -518
  198. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixVector_BLAS.h +0 -136
  199. xtgeo/include/eigen3/Eigen/src/Core/products/Parallelizer.h +0 -180
  200. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +0 -544
  201. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix_BLAS.h +0 -295
  202. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector.h +0 -262
  203. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector_BLAS.h +0 -118
  204. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointProduct.h +0 -133
  205. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointRank2Update.h +0 -94
  206. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix.h +0 -472
  207. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix_BLAS.h +0 -317
  208. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularMatrixVector.h +0 -350
  209. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularMatrixVector_BLAS.h +0 -255
  210. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix.h +0 -337
  211. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix_BLAS.h +0 -167
  212. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularSolverVector.h +0 -148
  213. xtgeo/include/eigen3/Eigen/src/Core/util/BlasUtil.h +0 -583
  214. xtgeo/include/eigen3/Eigen/src/Core/util/ConfigureVectorization.h +0 -512
  215. xtgeo/include/eigen3/Eigen/src/Core/util/Constants.h +0 -563
  216. xtgeo/include/eigen3/Eigen/src/Core/util/DisableStupidWarnings.h +0 -106
  217. xtgeo/include/eigen3/Eigen/src/Core/util/ForwardDeclarations.h +0 -322
  218. xtgeo/include/eigen3/Eigen/src/Core/util/IndexedViewHelper.h +0 -186
  219. xtgeo/include/eigen3/Eigen/src/Core/util/IntegralConstant.h +0 -272
  220. xtgeo/include/eigen3/Eigen/src/Core/util/MKL_support.h +0 -137
  221. xtgeo/include/eigen3/Eigen/src/Core/util/Macros.h +0 -1464
  222. xtgeo/include/eigen3/Eigen/src/Core/util/Memory.h +0 -1163
  223. xtgeo/include/eigen3/Eigen/src/Core/util/Meta.h +0 -812
  224. xtgeo/include/eigen3/Eigen/src/Core/util/NonMPL2.h +0 -3
  225. xtgeo/include/eigen3/Eigen/src/Core/util/ReenableStupidWarnings.h +0 -31
  226. xtgeo/include/eigen3/Eigen/src/Core/util/ReshapedHelper.h +0 -51
  227. xtgeo/include/eigen3/Eigen/src/Core/util/StaticAssert.h +0 -221
  228. xtgeo/include/eigen3/Eigen/src/Core/util/SymbolicIndex.h +0 -293
  229. xtgeo/include/eigen3/Eigen/src/Core/util/XprHelper.h +0 -856
  230. xtgeo/include/eigen3/Eigen/src/Eigenvalues/ComplexEigenSolver.h +0 -346
  231. xtgeo/include/eigen3/Eigen/src/Eigenvalues/ComplexSchur.h +0 -462
  232. xtgeo/include/eigen3/Eigen/src/Eigenvalues/ComplexSchur_LAPACKE.h +0 -91
  233. xtgeo/include/eigen3/Eigen/src/Eigenvalues/EigenSolver.h +0 -622
  234. xtgeo/include/eigen3/Eigen/src/Eigenvalues/GeneralizedEigenSolver.h +0 -418
  235. xtgeo/include/eigen3/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h +0 -226
  236. xtgeo/include/eigen3/Eigen/src/Eigenvalues/HessenbergDecomposition.h +0 -374
  237. xtgeo/include/eigen3/Eigen/src/Eigenvalues/MatrixBaseEigenvalues.h +0 -158
  238. xtgeo/include/eigen3/Eigen/src/Eigenvalues/RealQZ.h +0 -657
  239. xtgeo/include/eigen3/Eigen/src/Eigenvalues/RealSchur.h +0 -558
  240. xtgeo/include/eigen3/Eigen/src/Eigenvalues/RealSchur_LAPACKE.h +0 -77
  241. xtgeo/include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h +0 -904
  242. xtgeo/include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver_LAPACKE.h +0 -87
  243. xtgeo/include/eigen3/Eigen/src/Eigenvalues/Tridiagonalization.h +0 -561
  244. xtgeo/include/eigen3/Eigen/src/Geometry/AlignedBox.h +0 -486
  245. xtgeo/include/eigen3/Eigen/src/Geometry/AngleAxis.h +0 -247
  246. xtgeo/include/eigen3/Eigen/src/Geometry/EulerAngles.h +0 -114
  247. xtgeo/include/eigen3/Eigen/src/Geometry/Homogeneous.h +0 -501
  248. xtgeo/include/eigen3/Eigen/src/Geometry/Hyperplane.h +0 -282
  249. xtgeo/include/eigen3/Eigen/src/Geometry/OrthoMethods.h +0 -235
  250. xtgeo/include/eigen3/Eigen/src/Geometry/ParametrizedLine.h +0 -232
  251. xtgeo/include/eigen3/Eigen/src/Geometry/Quaternion.h +0 -870
  252. xtgeo/include/eigen3/Eigen/src/Geometry/Rotation2D.h +0 -199
  253. xtgeo/include/eigen3/Eigen/src/Geometry/RotationBase.h +0 -206
  254. xtgeo/include/eigen3/Eigen/src/Geometry/Scaling.h +0 -188
  255. xtgeo/include/eigen3/Eigen/src/Geometry/Transform.h +0 -1563
  256. xtgeo/include/eigen3/Eigen/src/Geometry/Translation.h +0 -202
  257. xtgeo/include/eigen3/Eigen/src/Geometry/Umeyama.h +0 -166
  258. xtgeo/include/eigen3/Eigen/src/Geometry/arch/Geometry_SIMD.h +0 -168
  259. xtgeo/include/eigen3/Eigen/src/Householder/BlockHouseholder.h +0 -110
  260. xtgeo/include/eigen3/Eigen/src/Householder/Householder.h +0 -176
  261. xtgeo/include/eigen3/Eigen/src/Householder/HouseholderSequence.h +0 -545
  262. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/BasicPreconditioners.h +0 -226
  263. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h +0 -212
  264. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h +0 -229
  265. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h +0 -394
  266. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteLUT.h +0 -453
  267. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h +0 -444
  268. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/LeastSquareConjugateGradient.h +0 -198
  269. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h +0 -117
  270. xtgeo/include/eigen3/Eigen/src/Jacobi/Jacobi.h +0 -483
  271. xtgeo/include/eigen3/Eigen/src/KLUSupport/KLUSupport.h +0 -358
  272. xtgeo/include/eigen3/Eigen/src/LU/Determinant.h +0 -117
  273. xtgeo/include/eigen3/Eigen/src/LU/FullPivLU.h +0 -877
  274. xtgeo/include/eigen3/Eigen/src/LU/InverseImpl.h +0 -432
  275. xtgeo/include/eigen3/Eigen/src/LU/PartialPivLU.h +0 -624
  276. xtgeo/include/eigen3/Eigen/src/LU/PartialPivLU_LAPACKE.h +0 -83
  277. xtgeo/include/eigen3/Eigen/src/LU/arch/InverseSize4.h +0 -351
  278. xtgeo/include/eigen3/Eigen/src/MetisSupport/MetisSupport.h +0 -137
  279. xtgeo/include/eigen3/Eigen/src/OrderingMethods/Amd.h +0 -435
  280. xtgeo/include/eigen3/Eigen/src/OrderingMethods/Eigen_Colamd.h +0 -1863
  281. xtgeo/include/eigen3/Eigen/src/OrderingMethods/Ordering.h +0 -153
  282. xtgeo/include/eigen3/Eigen/src/PaStiXSupport/PaStiXSupport.h +0 -678
  283. xtgeo/include/eigen3/Eigen/src/PardisoSupport/PardisoSupport.h +0 -545
  284. xtgeo/include/eigen3/Eigen/src/QR/ColPivHouseholderQR.h +0 -674
  285. xtgeo/include/eigen3/Eigen/src/QR/ColPivHouseholderQR_LAPACKE.h +0 -97
  286. xtgeo/include/eigen3/Eigen/src/QR/CompleteOrthogonalDecomposition.h +0 -635
  287. xtgeo/include/eigen3/Eigen/src/QR/FullPivHouseholderQR.h +0 -713
  288. xtgeo/include/eigen3/Eigen/src/QR/HouseholderQR.h +0 -434
  289. xtgeo/include/eigen3/Eigen/src/QR/HouseholderQR_LAPACKE.h +0 -68
  290. xtgeo/include/eigen3/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h +0 -335
  291. xtgeo/include/eigen3/Eigen/src/SVD/BDCSVD.h +0 -1366
  292. xtgeo/include/eigen3/Eigen/src/SVD/JacobiSVD.h +0 -812
  293. xtgeo/include/eigen3/Eigen/src/SVD/JacobiSVD_LAPACKE.h +0 -91
  294. xtgeo/include/eigen3/Eigen/src/SVD/SVDBase.h +0 -376
  295. xtgeo/include/eigen3/Eigen/src/SVD/UpperBidiagonalization.h +0 -414
  296. xtgeo/include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky.h +0 -697
  297. xtgeo/include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h +0 -174
  298. xtgeo/include/eigen3/Eigen/src/SparseCore/AmbiVector.h +0 -378
  299. xtgeo/include/eigen3/Eigen/src/SparseCore/CompressedStorage.h +0 -274
  300. xtgeo/include/eigen3/Eigen/src/SparseCore/ConservativeSparseSparseProduct.h +0 -352
  301. xtgeo/include/eigen3/Eigen/src/SparseCore/MappedSparseMatrix.h +0 -67
  302. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseAssign.h +0 -270
  303. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseBlock.h +0 -571
  304. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseColEtree.h +0 -206
  305. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseCompressedBase.h +0 -370
  306. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseCwiseBinaryOp.h +0 -722
  307. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseCwiseUnaryOp.h +0 -150
  308. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseDenseProduct.h +0 -342
  309. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseDiagonalProduct.h +0 -138
  310. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseDot.h +0 -98
  311. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseFuzzy.h +0 -29
  312. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseMap.h +0 -305
  313. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseMatrix.h +0 -1518
  314. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h +0 -398
  315. xtgeo/include/eigen3/Eigen/src/SparseCore/SparsePermutation.h +0 -178
  316. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseProduct.h +0 -181
  317. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseRedux.h +0 -49
  318. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseRef.h +0 -397
  319. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseSelfAdjointView.h +0 -659
  320. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseSolverBase.h +0 -124
  321. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseSparseProductWithPruning.h +0 -198
  322. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseTranspose.h +0 -92
  323. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseTriangularView.h +0 -189
  324. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseUtil.h +0 -186
  325. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseVector.h +0 -478
  326. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseView.h +0 -254
  327. xtgeo/include/eigen3/Eigen/src/SparseCore/TriangularSolver.h +0 -315
  328. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU.h +0 -923
  329. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLUImpl.h +0 -66
  330. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_Memory.h +0 -226
  331. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_Structs.h +0 -110
  332. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_SupernodalMatrix.h +0 -375
  333. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_Utils.h +0 -80
  334. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_column_bmod.h +0 -181
  335. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_column_dfs.h +0 -179
  336. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_copy_to_ucol.h +0 -107
  337. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_gemm_kernel.h +0 -280
  338. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h +0 -126
  339. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_kernel_bmod.h +0 -130
  340. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_panel_bmod.h +0 -223
  341. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_panel_dfs.h +0 -258
  342. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_pivotL.h +0 -137
  343. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_pruneL.h +0 -136
  344. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_relax_snode.h +0 -83
  345. xtgeo/include/eigen3/Eigen/src/SparseQR/SparseQR.h +0 -758
  346. xtgeo/include/eigen3/Eigen/src/StlSupport/StdDeque.h +0 -116
  347. xtgeo/include/eigen3/Eigen/src/StlSupport/StdList.h +0 -106
  348. xtgeo/include/eigen3/Eigen/src/StlSupport/StdVector.h +0 -131
  349. xtgeo/include/eigen3/Eigen/src/StlSupport/details.h +0 -84
  350. xtgeo/include/eigen3/Eigen/src/SuperLUSupport/SuperLUSupport.h +0 -1025
  351. xtgeo/include/eigen3/Eigen/src/UmfPackSupport/UmfPackSupport.h +0 -642
  352. xtgeo/include/eigen3/Eigen/src/misc/Image.h +0 -82
  353. xtgeo/include/eigen3/Eigen/src/misc/Kernel.h +0 -79
  354. xtgeo/include/eigen3/Eigen/src/misc/RealSvd2x2.h +0 -55
  355. xtgeo/include/eigen3/Eigen/src/misc/blas.h +0 -440
  356. xtgeo/include/eigen3/Eigen/src/misc/lapack.h +0 -152
  357. xtgeo/include/eigen3/Eigen/src/misc/lapacke.h +0 -16292
  358. xtgeo/include/eigen3/Eigen/src/misc/lapacke_mangling.h +0 -17
  359. xtgeo/include/eigen3/Eigen/src/plugins/ArrayCwiseBinaryOps.h +0 -358
  360. xtgeo/include/eigen3/Eigen/src/plugins/ArrayCwiseUnaryOps.h +0 -696
  361. xtgeo/include/eigen3/Eigen/src/plugins/BlockMethods.h +0 -1442
  362. xtgeo/include/eigen3/Eigen/src/plugins/CommonCwiseBinaryOps.h +0 -115
  363. xtgeo/include/eigen3/Eigen/src/plugins/CommonCwiseUnaryOps.h +0 -177
  364. xtgeo/include/eigen3/Eigen/src/plugins/IndexedViewMethods.h +0 -262
  365. xtgeo/include/eigen3/Eigen/src/plugins/MatrixCwiseBinaryOps.h +0 -152
  366. xtgeo/include/eigen3/Eigen/src/plugins/MatrixCwiseUnaryOps.h +0 -95
  367. xtgeo/include/eigen3/Eigen/src/plugins/ReshapedMethods.h +0 -149
  368. xtgeo/include/eigen3/signature_of_eigen3_matrix_library +0 -1
  369. xtgeo/include/eigen3/unsupported/Eigen/AdolcForward +0 -159
  370. xtgeo/include/eigen3/unsupported/Eigen/AlignedVector3 +0 -234
  371. xtgeo/include/eigen3/unsupported/Eigen/ArpackSupport +0 -30
  372. xtgeo/include/eigen3/unsupported/Eigen/AutoDiff +0 -46
  373. xtgeo/include/eigen3/unsupported/Eigen/BVH +0 -95
  374. xtgeo/include/eigen3/unsupported/Eigen/CXX11/Tensor +0 -137
  375. xtgeo/include/eigen3/unsupported/Eigen/CXX11/TensorSymmetry +0 -42
  376. xtgeo/include/eigen3/unsupported/Eigen/CXX11/ThreadPool +0 -74
  377. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/Tensor.h +0 -554
  378. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h +0 -329
  379. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h +0 -247
  380. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBase.h +0 -1176
  381. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h +0 -1559
  382. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h +0 -1093
  383. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h +0 -518
  384. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h +0 -377
  385. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h +0 -1023
  386. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionBlocking.h +0 -73
  387. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionCuda.h +0 -6
  388. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionGpu.h +0 -1413
  389. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h +0 -575
  390. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionSycl.h +0 -1650
  391. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h +0 -1679
  392. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h +0 -456
  393. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +0 -1132
  394. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolutionSycl.h +0 -544
  395. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCostModel.h +0 -214
  396. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCustomOp.h +0 -347
  397. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDevice.h +0 -137
  398. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceCuda.h +0 -6
  399. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceDefault.h +0 -104
  400. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceGpu.h +0 -389
  401. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h +0 -1048
  402. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h +0 -409
  403. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h +0 -236
  404. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h +0 -490
  405. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvalTo.h +0 -236
  406. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h +0 -983
  407. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h +0 -703
  408. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h +0 -388
  409. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFFT.h +0 -669
  410. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h +0 -379
  411. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForcedEval.h +0 -237
  412. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h +0 -191
  413. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h +0 -488
  414. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGenerator.h +0 -302
  415. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGlobalFunctions.h +0 -33
  416. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaDefines.h +0 -99
  417. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaUndefines.h +0 -44
  418. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIO.h +0 -79
  419. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h +0 -603
  420. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h +0 -738
  421. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInflation.h +0 -247
  422. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInitializer.h +0 -82
  423. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h +0 -263
  424. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorLayoutSwap.h +0 -216
  425. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMacros.h +0 -98
  426. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMap.h +0 -327
  427. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h +0 -311
  428. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h +0 -1102
  429. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPadding.h +0 -708
  430. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPatch.h +0 -291
  431. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h +0 -322
  432. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h +0 -998
  433. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionCuda.h +0 -6
  434. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionGpu.h +0 -966
  435. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionSycl.h +0 -582
  436. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRef.h +0 -454
  437. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReverse.h +0 -465
  438. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorScan.h +0 -528
  439. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorScanSycl.h +0 -513
  440. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorShuffling.h +0 -471
  441. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h +0 -161
  442. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStriding.h +0 -346
  443. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTrace.h +0 -303
  444. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h +0 -264
  445. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h +0 -249
  446. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorVolumePatch.h +0 -629
  447. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/DynamicSymmetry.h +0 -293
  448. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/StaticSymmetry.h +0 -236
  449. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/Symmetry.h +0 -338
  450. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/util/TemplateGroupTheory.h +0 -669
  451. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/Barrier.h +0 -67
  452. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/EventCount.h +0 -249
  453. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/NonBlockingThreadPool.h +0 -486
  454. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/RunQueue.h +0 -236
  455. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadCancel.h +0 -23
  456. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadEnvironment.h +0 -40
  457. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadLocal.h +0 -301
  458. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadPoolInterface.h +0 -48
  459. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadYield.h +0 -20
  460. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/util/CXX11Meta.h +0 -537
  461. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/util/CXX11Workarounds.h +0 -88
  462. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/util/EmulateArray.h +0 -261
  463. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/util/MaxSizeVector.h +0 -158
  464. xtgeo/include/eigen3/unsupported/Eigen/EulerAngles +0 -43
  465. xtgeo/include/eigen3/unsupported/Eigen/FFT +0 -419
  466. xtgeo/include/eigen3/unsupported/Eigen/IterativeSolvers +0 -51
  467. xtgeo/include/eigen3/unsupported/Eigen/KroneckerProduct +0 -36
  468. xtgeo/include/eigen3/unsupported/Eigen/LevenbergMarquardt +0 -49
  469. xtgeo/include/eigen3/unsupported/Eigen/MPRealSupport +0 -213
  470. xtgeo/include/eigen3/unsupported/Eigen/MatrixFunctions +0 -504
  471. xtgeo/include/eigen3/unsupported/Eigen/MoreVectorization +0 -24
  472. xtgeo/include/eigen3/unsupported/Eigen/NonLinearOptimization +0 -140
  473. xtgeo/include/eigen3/unsupported/Eigen/NumericalDiff +0 -56
  474. xtgeo/include/eigen3/unsupported/Eigen/OpenGLSupport +0 -322
  475. xtgeo/include/eigen3/unsupported/Eigen/Polynomials +0 -137
  476. xtgeo/include/eigen3/unsupported/Eigen/Skyline +0 -39
  477. xtgeo/include/eigen3/unsupported/Eigen/SparseExtra +0 -54
  478. xtgeo/include/eigen3/unsupported/Eigen/SpecialFunctions +0 -103
  479. xtgeo/include/eigen3/unsupported/Eigen/Splines +0 -35
  480. xtgeo/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffJacobian.h +0 -108
  481. xtgeo/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h +0 -730
  482. xtgeo/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffVector.h +0 -220
  483. xtgeo/include/eigen3/unsupported/Eigen/src/BVH/BVAlgorithms.h +0 -293
  484. xtgeo/include/eigen3/unsupported/Eigen/src/BVH/KdBVH.h +0 -223
  485. xtgeo/include/eigen3/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h +0 -790
  486. xtgeo/include/eigen3/unsupported/Eigen/src/EulerAngles/EulerAngles.h +0 -355
  487. xtgeo/include/eigen3/unsupported/Eigen/src/EulerAngles/EulerSystem.h +0 -305
  488. xtgeo/include/eigen3/unsupported/Eigen/src/FFT/ei_fftw_impl.h +0 -261
  489. xtgeo/include/eigen3/unsupported/Eigen/src/FFT/ei_kissfft_impl.h +0 -449
  490. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h +0 -187
  491. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/DGMRES.h +0 -511
  492. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/GMRES.h +0 -335
  493. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IDRS.h +0 -436
  494. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IncompleteLU.h +0 -90
  495. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IterationController.h +0 -154
  496. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/MINRES.h +0 -267
  497. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/Scaling.h +0 -193
  498. xtgeo/include/eigen3/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h +0 -305
  499. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMcovar.h +0 -84
  500. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMonestep.h +0 -202
  501. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMpar.h +0 -160
  502. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMqrsolv.h +0 -188
  503. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LevenbergMarquardt.h +0 -396
  504. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h +0 -441
  505. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixFunction.h +0 -569
  506. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixLogarithm.h +0 -373
  507. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixPower.h +0 -705
  508. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h +0 -368
  509. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/StemFunction.h +0 -117
  510. xtgeo/include/eigen3/unsupported/Eigen/src/MoreVectorization/MathFunctions.h +0 -95
  511. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h +0 -601
  512. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h +0 -657
  513. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/chkder.h +0 -66
  514. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/covar.h +0 -70
  515. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/dogleg.h +0 -107
  516. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/fdjac1.h +0 -79
  517. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/lmpar.h +0 -298
  518. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/qrsolv.h +0 -91
  519. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1mpyq.h +0 -30
  520. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1updt.h +0 -99
  521. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/rwupdt.h +0 -49
  522. xtgeo/include/eigen3/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h +0 -130
  523. xtgeo/include/eigen3/unsupported/Eigen/src/Polynomials/Companion.h +0 -280
  524. xtgeo/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h +0 -428
  525. xtgeo/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h +0 -143
  526. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineInplaceLU.h +0 -352
  527. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrix.h +0 -862
  528. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrixBase.h +0 -212
  529. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineProduct.h +0 -295
  530. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineStorage.h +0 -259
  531. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineUtil.h +0 -89
  532. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/BlockOfDynamicSparseMatrix.h +0 -122
  533. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/BlockSparseMatrix.h +0 -1079
  534. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/DynamicSparseMatrix.h +0 -404
  535. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/MarketIO.h +0 -282
  536. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/MatrixMarketIterator.h +0 -247
  537. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/RandomSetter.h +0 -349
  538. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsArrayAPI.h +0 -286
  539. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsBFloat16.h +0 -68
  540. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsFunctors.h +0 -357
  541. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsHalf.h +0 -66
  542. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsImpl.h +0 -1959
  543. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsPacketMath.h +0 -118
  544. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/HipVectorCompatibility.h +0 -67
  545. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsArrayAPI.h +0 -167
  546. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsBFloat16.h +0 -58
  547. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsFunctors.h +0 -330
  548. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsHalf.h +0 -58
  549. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h +0 -2045
  550. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsPacketMath.h +0 -79
  551. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX/BesselFunctions.h +0 -46
  552. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX/SpecialFunctions.h +0 -16
  553. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/BesselFunctions.h +0 -46
  554. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/SpecialFunctions.h +0 -16
  555. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/GPU/SpecialFunctions.h +0 -369
  556. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/NEON/BesselFunctions.h +0 -54
  557. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/NEON/SpecialFunctions.h +0 -34
  558. xtgeo/include/eigen3/unsupported/Eigen/src/Splines/Spline.h +0 -507
  559. xtgeo/include/eigen3/unsupported/Eigen/src/Splines/SplineFitting.h +0 -431
  560. xtgeo/include/eigen3/unsupported/Eigen/src/Splines/SplineFwd.h +0 -93
  561. xtgeo/share/eigen3/cmake/Eigen3Config.cmake +0 -37
  562. xtgeo/share/eigen3/cmake/Eigen3ConfigVersion.cmake +0 -65
  563. xtgeo/share/eigen3/cmake/UseEigen3.cmake +0 -6
  564. xtgeo/share/pkgconfig/eigen3.pc +0 -9
  565. xtgeo-4.10.0.dist-info/RECORD +0 -652
  566. {xtgeo-4.10.0.dist-info → xtgeo-4.11.0.dist-info}/licenses/LICENSE.md +0 -0
@@ -1,1685 +0,0 @@
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_PACKET_MATH_GPU_H
11
- #define EIGEN_PACKET_MATH_GPU_H
12
-
13
- namespace Eigen {
14
-
15
- namespace internal {
16
-
17
- // Read-only data cached load available.
18
- #if defined(EIGEN_HIP_DEVICE_COMPILE) || (defined(EIGEN_CUDA_ARCH) && EIGEN_CUDA_ARCH >= 350)
19
- #define EIGEN_GPU_HAS_LDG 1
20
- #endif
21
-
22
- // FP16 math available.
23
- #if (defined(EIGEN_CUDA_ARCH) && EIGEN_CUDA_ARCH >= 530)
24
- #define EIGEN_CUDA_HAS_FP16_ARITHMETIC 1
25
- #endif
26
-
27
- #if defined(EIGEN_HIP_DEVICE_COMPILE) || defined(EIGEN_CUDA_HAS_FP16_ARITHMETIC)
28
- #define EIGEN_GPU_HAS_FP16_ARITHMETIC 1
29
- #endif
30
-
31
- // Make sure this is only available when targeting a GPU: we don't want to
32
- // introduce conflicts between these packet_traits definitions and the ones
33
- // we'll use on the host side (SSE, AVX, ...)
34
- #if defined(EIGEN_GPUCC) && defined(EIGEN_USE_GPU)
35
-
36
- template<> struct is_arithmetic<float4> { enum { value = true }; };
37
- template<> struct is_arithmetic<double2> { enum { value = true }; };
38
-
39
- template<> struct packet_traits<float> : default_packet_traits
40
- {
41
- typedef float4 type;
42
- typedef float4 half;
43
- enum {
44
- Vectorizable = 1,
45
- AlignedOnScalar = 1,
46
- size=4,
47
- HasHalfPacket = 0,
48
-
49
- HasDiv = 1,
50
- HasSin = 0,
51
- HasCos = 0,
52
- HasLog = 1,
53
- HasExp = 1,
54
- HasSqrt = 1,
55
- HasRsqrt = 1,
56
- HasLGamma = 1,
57
- HasDiGamma = 1,
58
- HasZeta = 1,
59
- HasPolygamma = 1,
60
- HasErf = 1,
61
- HasErfc = 1,
62
- HasNdtri = 1,
63
- HasBessel = 1,
64
- HasIGamma = 1,
65
- HasIGammaDerA = 1,
66
- HasGammaSampleDerAlpha = 1,
67
- HasIGammac = 1,
68
- HasBetaInc = 1,
69
-
70
- HasBlend = 0,
71
- HasFloor = 1,
72
- };
73
- };
74
-
75
- template<> struct packet_traits<double> : default_packet_traits
76
- {
77
- typedef double2 type;
78
- typedef double2 half;
79
- enum {
80
- Vectorizable = 1,
81
- AlignedOnScalar = 1,
82
- size=2,
83
- HasHalfPacket = 0,
84
-
85
- HasDiv = 1,
86
- HasLog = 1,
87
- HasExp = 1,
88
- HasSqrt = 1,
89
- HasRsqrt = 1,
90
- HasLGamma = 1,
91
- HasDiGamma = 1,
92
- HasZeta = 1,
93
- HasPolygamma = 1,
94
- HasErf = 1,
95
- HasErfc = 1,
96
- HasNdtri = 1,
97
- HasBessel = 1,
98
- HasIGamma = 1,
99
- HasIGammaDerA = 1,
100
- HasGammaSampleDerAlpha = 1,
101
- HasIGammac = 1,
102
- HasBetaInc = 1,
103
-
104
- HasBlend = 0,
105
- HasFloor = 1,
106
- };
107
- };
108
-
109
-
110
- template<> struct unpacket_traits<float4> { typedef float type; enum {size=4, alignment=Aligned16, vectorizable=true, masked_load_available=false, masked_store_available=false}; typedef float4 half; };
111
- template<> struct unpacket_traits<double2> { typedef double type; enum {size=2, alignment=Aligned16, vectorizable=true, masked_load_available=false, masked_store_available=false}; typedef double2 half; };
112
-
113
- template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE float4 pset1<float4>(const float& from) {
114
- return make_float4(from, from, from, from);
115
- }
116
- template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE double2 pset1<double2>(const double& from) {
117
- return make_double2(from, from);
118
- }
119
-
120
- // We need to distinguish ‘clang as the CUDA compiler’ from ‘clang as the host compiler,
121
- // invoked by NVCC’ (e.g. on MacOS). The former needs to see both host and device implementation
122
- // of the functions, while the latter can only deal with one of them.
123
- #if defined(EIGEN_CUDA_ARCH) || defined(EIGEN_HIPCC) || (defined(EIGEN_CUDACC) && EIGEN_COMP_CLANG && !EIGEN_COMP_NVCC)
124
- namespace {
125
-
126
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE float bitwise_and(const float& a,
127
- const float& b) {
128
- return __int_as_float(__float_as_int(a) & __float_as_int(b));
129
- }
130
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE double bitwise_and(const double& a,
131
- const double& b) {
132
- return __longlong_as_double(__double_as_longlong(a) &
133
- __double_as_longlong(b));
134
- }
135
-
136
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE float bitwise_or(const float& a,
137
- const float& b) {
138
- return __int_as_float(__float_as_int(a) | __float_as_int(b));
139
- }
140
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE double bitwise_or(const double& a,
141
- const double& b) {
142
- return __longlong_as_double(__double_as_longlong(a) |
143
- __double_as_longlong(b));
144
- }
145
-
146
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE float bitwise_xor(const float& a,
147
- const float& b) {
148
- return __int_as_float(__float_as_int(a) ^ __float_as_int(b));
149
- }
150
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE double bitwise_xor(const double& a,
151
- const double& b) {
152
- return __longlong_as_double(__double_as_longlong(a) ^
153
- __double_as_longlong(b));
154
- }
155
-
156
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE float bitwise_andnot(const float& a,
157
- const float& b) {
158
- return __int_as_float(__float_as_int(a) & ~__float_as_int(b));
159
- }
160
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE double bitwise_andnot(const double& a,
161
- const double& b) {
162
- return __longlong_as_double(__double_as_longlong(a) &
163
- ~__double_as_longlong(b));
164
- }
165
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE float eq_mask(const float& a,
166
- const float& b) {
167
- return __int_as_float(a == b ? 0xffffffffu : 0u);
168
- }
169
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE double eq_mask(const double& a,
170
- const double& b) {
171
- return __longlong_as_double(a == b ? 0xffffffffffffffffull : 0ull);
172
- }
173
-
174
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE float lt_mask(const float& a,
175
- const float& b) {
176
- return __int_as_float(a < b ? 0xffffffffu : 0u);
177
- }
178
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE double lt_mask(const double& a,
179
- const double& b) {
180
- return __longlong_as_double(a < b ? 0xffffffffffffffffull : 0ull);
181
- }
182
-
183
- } // namespace
184
-
185
- template <>
186
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE float4 pand<float4>(const float4& a,
187
- const float4& b) {
188
- return make_float4(bitwise_and(a.x, b.x), bitwise_and(a.y, b.y),
189
- bitwise_and(a.z, b.z), bitwise_and(a.w, b.w));
190
- }
191
- template <>
192
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE double2 pand<double2>(const double2& a,
193
- const double2& b) {
194
- return make_double2(bitwise_and(a.x, b.x), bitwise_and(a.y, b.y));
195
- }
196
-
197
- template <>
198
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE float4 por<float4>(const float4& a,
199
- const float4& b) {
200
- return make_float4(bitwise_or(a.x, b.x), bitwise_or(a.y, b.y),
201
- bitwise_or(a.z, b.z), bitwise_or(a.w, b.w));
202
- }
203
- template <>
204
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE double2 por<double2>(const double2& a,
205
- const double2& b) {
206
- return make_double2(bitwise_or(a.x, b.x), bitwise_or(a.y, b.y));
207
- }
208
-
209
- template <>
210
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE float4 pxor<float4>(const float4& a,
211
- const float4& b) {
212
- return make_float4(bitwise_xor(a.x, b.x), bitwise_xor(a.y, b.y),
213
- bitwise_xor(a.z, b.z), bitwise_xor(a.w, b.w));
214
- }
215
- template <>
216
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE double2 pxor<double2>(const double2& a,
217
- const double2& b) {
218
- return make_double2(bitwise_xor(a.x, b.x), bitwise_xor(a.y, b.y));
219
- }
220
-
221
- template <>
222
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE float4 pandnot<float4>(const float4& a,
223
- const float4& b) {
224
- return make_float4(bitwise_andnot(a.x, b.x), bitwise_andnot(a.y, b.y),
225
- bitwise_andnot(a.z, b.z), bitwise_andnot(a.w, b.w));
226
- }
227
- template <>
228
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE double2
229
- pandnot<double2>(const double2& a, const double2& b) {
230
- return make_double2(bitwise_andnot(a.x, b.x), bitwise_andnot(a.y, b.y));
231
- }
232
-
233
- template <>
234
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE float4 pcmp_eq<float4>(const float4& a,
235
- const float4& b) {
236
- return make_float4(eq_mask(a.x, b.x), eq_mask(a.y, b.y), eq_mask(a.z, b.z),
237
- eq_mask(a.w, b.w));
238
- }
239
- template <>
240
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE float4 pcmp_lt<float4>(const float4& a,
241
- const float4& b) {
242
- return make_float4(lt_mask(a.x, b.x), lt_mask(a.y, b.y), lt_mask(a.z, b.z),
243
- lt_mask(a.w, b.w));
244
- }
245
- template <>
246
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE double2
247
- pcmp_eq<double2>(const double2& a, const double2& b) {
248
- return make_double2(eq_mask(a.x, b.x), eq_mask(a.y, b.y));
249
- }
250
- template <>
251
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE double2
252
- pcmp_lt<double2>(const double2& a, const double2& b) {
253
- return make_double2(lt_mask(a.x, b.x), lt_mask(a.y, b.y));
254
- }
255
- #endif // defined(EIGEN_CUDA_ARCH) || defined(EIGEN_HIPCC) || (defined(EIGEN_CUDACC) && EIGEN_COMP_CLANG && !EIGEN_COMP_NVCC)
256
-
257
- template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE float4 plset<float4>(const float& a) {
258
- return make_float4(a, a+1, a+2, a+3);
259
- }
260
- template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE double2 plset<double2>(const double& a) {
261
- return make_double2(a, a+1);
262
- }
263
-
264
- template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE float4 padd<float4>(const float4& a, const float4& b) {
265
- return make_float4(a.x+b.x, a.y+b.y, a.z+b.z, a.w+b.w);
266
- }
267
- template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE double2 padd<double2>(const double2& a, const double2& b) {
268
- return make_double2(a.x+b.x, a.y+b.y);
269
- }
270
-
271
- template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE float4 psub<float4>(const float4& a, const float4& b) {
272
- return make_float4(a.x-b.x, a.y-b.y, a.z-b.z, a.w-b.w);
273
- }
274
- template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE double2 psub<double2>(const double2& a, const double2& b) {
275
- return make_double2(a.x-b.x, a.y-b.y);
276
- }
277
-
278
- template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE float4 pnegate(const float4& a) {
279
- return make_float4(-a.x, -a.y, -a.z, -a.w);
280
- }
281
- template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE double2 pnegate(const double2& a) {
282
- return make_double2(-a.x, -a.y);
283
- }
284
-
285
- template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE float4 pconj(const float4& a) { return a; }
286
- template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE double2 pconj(const double2& a) { return a; }
287
-
288
- template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE float4 pmul<float4>(const float4& a, const float4& b) {
289
- return make_float4(a.x*b.x, a.y*b.y, a.z*b.z, a.w*b.w);
290
- }
291
- template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE double2 pmul<double2>(const double2& a, const double2& b) {
292
- return make_double2(a.x*b.x, a.y*b.y);
293
- }
294
-
295
- template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE float4 pdiv<float4>(const float4& a, const float4& b) {
296
- return make_float4(a.x/b.x, a.y/b.y, a.z/b.z, a.w/b.w);
297
- }
298
- template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE double2 pdiv<double2>(const double2& a, const double2& b) {
299
- return make_double2(a.x/b.x, a.y/b.y);
300
- }
301
-
302
- template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE float4 pmin<float4>(const float4& a, const float4& b) {
303
- return make_float4(fminf(a.x, b.x), fminf(a.y, b.y), fminf(a.z, b.z), fminf(a.w, b.w));
304
- }
305
- template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE double2 pmin<double2>(const double2& a, const double2& b) {
306
- return make_double2(fmin(a.x, b.x), fmin(a.y, b.y));
307
- }
308
-
309
- template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE float4 pmax<float4>(const float4& a, const float4& b) {
310
- return make_float4(fmaxf(a.x, b.x), fmaxf(a.y, b.y), fmaxf(a.z, b.z), fmaxf(a.w, b.w));
311
- }
312
- template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE double2 pmax<double2>(const double2& a, const double2& b) {
313
- return make_double2(fmax(a.x, b.x), fmax(a.y, b.y));
314
- }
315
-
316
- template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE float4 pload<float4>(const float* from) {
317
- return *reinterpret_cast<const float4*>(from);
318
- }
319
-
320
- template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE double2 pload<double2>(const double* from) {
321
- return *reinterpret_cast<const double2*>(from);
322
- }
323
-
324
- template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE float4 ploadu<float4>(const float* from) {
325
- return make_float4(from[0], from[1], from[2], from[3]);
326
- }
327
- template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE double2 ploadu<double2>(const double* from) {
328
- return make_double2(from[0], from[1]);
329
- }
330
-
331
- template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE float4 ploaddup<float4>(const float* from) {
332
- return make_float4(from[0], from[0], from[1], from[1]);
333
- }
334
- template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE double2 ploaddup<double2>(const double* from) {
335
- return make_double2(from[0], from[0]);
336
- }
337
-
338
- template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void pstore<float>(float* to, const float4& from) {
339
- *reinterpret_cast<float4*>(to) = from;
340
- }
341
-
342
- template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void pstore<double>(double* to, const double2& from) {
343
- *reinterpret_cast<double2*>(to) = from;
344
- }
345
-
346
- template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void pstoreu<float>(float* to, const float4& from) {
347
- to[0] = from.x;
348
- to[1] = from.y;
349
- to[2] = from.z;
350
- to[3] = from.w;
351
- }
352
-
353
- template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void pstoreu<double>(double* to, const double2& from) {
354
- to[0] = from.x;
355
- to[1] = from.y;
356
- }
357
-
358
- template<>
359
- EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE float4 ploadt_ro<float4, Aligned>(const float* from) {
360
- #if defined(EIGEN_GPU_HAS_LDG)
361
- return __ldg((const float4*)from);
362
- #else
363
- return make_float4(from[0], from[1], from[2], from[3]);
364
- #endif
365
- }
366
- template<>
367
- EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE double2 ploadt_ro<double2, Aligned>(const double* from) {
368
- #if defined(EIGEN_GPU_HAS_LDG)
369
- return __ldg((const double2*)from);
370
- #else
371
- return make_double2(from[0], from[1]);
372
- #endif
373
- }
374
-
375
- template<>
376
- EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE float4 ploadt_ro<float4, Unaligned>(const float* from) {
377
- #if defined(EIGEN_GPU_HAS_LDG)
378
- return make_float4(__ldg(from+0), __ldg(from+1), __ldg(from+2), __ldg(from+3));
379
- #else
380
- return make_float4(from[0], from[1], from[2], from[3]);
381
- #endif
382
- }
383
- template<>
384
- EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE double2 ploadt_ro<double2, Unaligned>(const double* from) {
385
- #if defined(EIGEN_GPU_HAS_LDG)
386
- return make_double2(__ldg(from+0), __ldg(from+1));
387
- #else
388
- return make_double2(from[0], from[1]);
389
- #endif
390
- }
391
-
392
- template<> EIGEN_DEVICE_FUNC inline float4 pgather<float, float4>(const float* from, Index stride) {
393
- return make_float4(from[0*stride], from[1*stride], from[2*stride], from[3*stride]);
394
- }
395
-
396
- template<> EIGEN_DEVICE_FUNC inline double2 pgather<double, double2>(const double* from, Index stride) {
397
- return make_double2(from[0*stride], from[1*stride]);
398
- }
399
-
400
- template<> EIGEN_DEVICE_FUNC inline void pscatter<float, float4>(float* to, const float4& from, Index stride) {
401
- to[stride*0] = from.x;
402
- to[stride*1] = from.y;
403
- to[stride*2] = from.z;
404
- to[stride*3] = from.w;
405
- }
406
- template<> EIGEN_DEVICE_FUNC inline void pscatter<double, double2>(double* to, const double2& from, Index stride) {
407
- to[stride*0] = from.x;
408
- to[stride*1] = from.y;
409
- }
410
-
411
- template<> EIGEN_DEVICE_FUNC inline float pfirst<float4>(const float4& a) {
412
- return a.x;
413
- }
414
- template<> EIGEN_DEVICE_FUNC inline double pfirst<double2>(const double2& a) {
415
- return a.x;
416
- }
417
-
418
- template<> EIGEN_DEVICE_FUNC inline float predux<float4>(const float4& a) {
419
- return a.x + a.y + a.z + a.w;
420
- }
421
- template<> EIGEN_DEVICE_FUNC inline double predux<double2>(const double2& a) {
422
- return a.x + a.y;
423
- }
424
-
425
- template<> EIGEN_DEVICE_FUNC inline float predux_max<float4>(const float4& a) {
426
- return fmaxf(fmaxf(a.x, a.y), fmaxf(a.z, a.w));
427
- }
428
- template<> EIGEN_DEVICE_FUNC inline double predux_max<double2>(const double2& a) {
429
- return fmax(a.x, a.y);
430
- }
431
-
432
- template<> EIGEN_DEVICE_FUNC inline float predux_min<float4>(const float4& a) {
433
- return fminf(fminf(a.x, a.y), fminf(a.z, a.w));
434
- }
435
- template<> EIGEN_DEVICE_FUNC inline double predux_min<double2>(const double2& a) {
436
- return fmin(a.x, a.y);
437
- }
438
-
439
- template<> EIGEN_DEVICE_FUNC inline float predux_mul<float4>(const float4& a) {
440
- return a.x * a.y * a.z * a.w;
441
- }
442
- template<> EIGEN_DEVICE_FUNC inline double predux_mul<double2>(const double2& a) {
443
- return a.x * a.y;
444
- }
445
-
446
- template<> EIGEN_DEVICE_FUNC inline float4 pabs<float4>(const float4& a) {
447
- return make_float4(fabsf(a.x), fabsf(a.y), fabsf(a.z), fabsf(a.w));
448
- }
449
- template<> EIGEN_DEVICE_FUNC inline double2 pabs<double2>(const double2& a) {
450
- return make_double2(fabs(a.x), fabs(a.y));
451
- }
452
-
453
- template<> EIGEN_DEVICE_FUNC inline float4 pfloor<float4>(const float4& a) {
454
- return make_float4(floorf(a.x), floorf(a.y), floorf(a.z), floorf(a.w));
455
- }
456
- template<> EIGEN_DEVICE_FUNC inline double2 pfloor<double2>(const double2& a) {
457
- return make_double2(floor(a.x), floor(a.y));
458
- }
459
-
460
- EIGEN_DEVICE_FUNC inline void
461
- ptranspose(PacketBlock<float4,4>& kernel) {
462
- float tmp = kernel.packet[0].y;
463
- kernel.packet[0].y = kernel.packet[1].x;
464
- kernel.packet[1].x = tmp;
465
-
466
- tmp = kernel.packet[0].z;
467
- kernel.packet[0].z = kernel.packet[2].x;
468
- kernel.packet[2].x = tmp;
469
-
470
- tmp = kernel.packet[0].w;
471
- kernel.packet[0].w = kernel.packet[3].x;
472
- kernel.packet[3].x = tmp;
473
-
474
- tmp = kernel.packet[1].z;
475
- kernel.packet[1].z = kernel.packet[2].y;
476
- kernel.packet[2].y = tmp;
477
-
478
- tmp = kernel.packet[1].w;
479
- kernel.packet[1].w = kernel.packet[3].y;
480
- kernel.packet[3].y = tmp;
481
-
482
- tmp = kernel.packet[2].w;
483
- kernel.packet[2].w = kernel.packet[3].z;
484
- kernel.packet[3].z = tmp;
485
- }
486
-
487
- EIGEN_DEVICE_FUNC inline void
488
- ptranspose(PacketBlock<double2,2>& kernel) {
489
- double tmp = kernel.packet[0].y;
490
- kernel.packet[0].y = kernel.packet[1].x;
491
- kernel.packet[1].x = tmp;
492
- }
493
-
494
- #endif // defined(EIGEN_GPUCC) && defined(EIGEN_USE_GPU)
495
-
496
- // Packet4h2 must be defined in the macro without EIGEN_CUDA_ARCH, meaning
497
- // its corresponding packet_traits<Eigen::half> must be visible on host.
498
- #if defined(EIGEN_HAS_CUDA_FP16) || defined(EIGEN_HAS_HIP_FP16)
499
-
500
- typedef ulonglong2 Packet4h2;
501
- template<> struct unpacket_traits<Packet4h2> { typedef Eigen::half type; enum {size=8, alignment=Aligned16, vectorizable=true, masked_load_available=false, masked_store_available=false}; typedef Packet4h2 half; };
502
- template<> struct is_arithmetic<Packet4h2> { enum { value = true }; };
503
-
504
- template<> struct unpacket_traits<half2> { typedef Eigen::half type; enum {size=2, alignment=Aligned16, vectorizable=true, masked_load_available=false, masked_store_available=false}; typedef half2 half; };
505
- template<> struct is_arithmetic<half2> { enum { value = true }; };
506
-
507
- template<> struct packet_traits<Eigen::half> : default_packet_traits
508
- {
509
- typedef Packet4h2 type;
510
- typedef Packet4h2 half;
511
- enum {
512
- Vectorizable = 1,
513
- AlignedOnScalar = 1,
514
- size=8,
515
- HasHalfPacket = 0,
516
- HasAdd = 1,
517
- HasSub = 1,
518
- HasMul = 1,
519
- HasDiv = 1,
520
- HasSqrt = 1,
521
- HasRsqrt = 1,
522
- HasExp = 1,
523
- HasExpm1 = 1,
524
- HasLog = 1,
525
- HasLog1p = 1
526
- };
527
- };
528
-
529
- namespace {
530
- // This is equivalent to make_half2, which is undocumented and doesn't seem to always exist.
531
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 combine_half(const __half& a, const __half& b) {
532
- #if defined(EIGEN_GPU_COMPILE_PHASE)
533
- return __halves2half2(a, b);
534
- #else
535
- // Round-about way since __halves2half2 is a __device__ function.
536
- return __floats2half2_rn(__half2float(a), __half2float(b));
537
- #endif
538
- }
539
-
540
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE __half get_half2_low(const half2& a) {
541
- #if defined(EIGEN_GPU_COMPILE_PHASE)
542
- return __low2half(a);
543
- #else
544
- return __float2half(__low2float(a));
545
- #endif
546
- }
547
-
548
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE __half get_half2_high(const half2& a) {
549
- #if defined(EIGEN_GPU_COMPILE_PHASE)
550
- return __high2half(a);
551
- #else
552
- return __float2half(__high2float(a));
553
- #endif
554
- }
555
- } // namespace
556
-
557
- template<>
558
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 pset1<half2>(const Eigen::half& from) {
559
- #if defined(EIGEN_GPU_COMPILE_PHASE)
560
- return __half2half2(from);
561
- #else
562
- const float f = __half2float(from);
563
- return __floats2half2_rn(f, f);
564
- #endif
565
- }
566
-
567
- template <>
568
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet4h2
569
- pset1<Packet4h2>(const Eigen::half& from) {
570
- Packet4h2 r;
571
- half2* p_alias = reinterpret_cast<half2*>(&r);
572
- p_alias[0] = pset1<half2>(from);
573
- p_alias[1] = pset1<half2>(from);
574
- p_alias[2] = pset1<half2>(from);
575
- p_alias[3] = pset1<half2>(from);
576
- return r;
577
- }
578
-
579
- // We now need this visible on both host and device.
580
- // #if defined(EIGEN_CUDA_ARCH) || defined(EIGEN_HIPCC) || (defined(EIGEN_CUDACC) && EIGEN_COMP_CLANG && !EIGEN_COMP_NVCC)
581
- namespace {
582
-
583
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 pload(const Eigen::half* from) {
584
- return *reinterpret_cast<const half2*>(from);
585
- }
586
-
587
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 ploadu(const Eigen::half* from) {
588
- return combine_half(from[0], from[1]);
589
- }
590
-
591
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 ploaddup(const Eigen::half* from) {
592
- return combine_half(from[0], from[0]);
593
- }
594
-
595
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void pstore(Eigen::half* to,
596
- const half2& from) {
597
- *reinterpret_cast<half2*>(to) = from;
598
- }
599
-
600
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void pstoreu(Eigen::half* to,
601
- const half2& from) {
602
- to[0] = get_half2_low(from);
603
- to[1] = get_half2_high(from);
604
- }
605
-
606
-
607
- EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE half2 ploadt_ro_aligned(
608
- const Eigen::half* from) {
609
- #if defined(EIGEN_GPU_HAS_LDG)
610
- // Input is guaranteed to be properly aligned.
611
- return __ldg(reinterpret_cast<const half2*>(from));
612
- #else
613
- return combine_half(*(from+0), *(from+1));
614
- #endif
615
- }
616
-
617
- EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE half2 ploadt_ro_unaligned(
618
- const Eigen::half* from) {
619
- #if defined(EIGEN_GPU_HAS_LDG)
620
- return __halves2half2(__ldg(from+0), __ldg(from+1));
621
- #else
622
- return combine_half(*(from+0), *(from+1));
623
- #endif
624
- }
625
-
626
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 pgather(const Eigen::half* from,
627
- Index stride) {
628
- return combine_half(from[0*stride], from[1*stride]);
629
- }
630
-
631
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void pscatter(
632
- Eigen::half* to, const half2& from, Index stride) {
633
- to[stride*0] = get_half2_low(from);
634
- to[stride*1] = get_half2_high(from);
635
- }
636
-
637
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::half pfirst(const half2& a) {
638
- return get_half2_low(a);
639
- }
640
-
641
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 pabs(const half2& a) {
642
- half a1 = get_half2_low(a);
643
- half a2 = get_half2_high(a);
644
- half result1 = half_impl::raw_uint16_to_half(a1.x & 0x7FFF);
645
- half result2 = half_impl::raw_uint16_to_half(a2.x & 0x7FFF);
646
- return combine_half(result1, result2);
647
- }
648
-
649
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 ptrue(const half2& /*a*/) {
650
- half true_half = half_impl::raw_uint16_to_half(0xffffu);
651
- return pset1<half2>(true_half);
652
- }
653
-
654
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 pzero(const half2& /*a*/) {
655
- half false_half = half_impl::raw_uint16_to_half(0x0000u);
656
- return pset1<half2>(false_half);
657
- }
658
-
659
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void
660
- ptranspose(PacketBlock<half2,2>& kernel) {
661
- __half a1 = get_half2_low(kernel.packet[0]);
662
- __half a2 = get_half2_high(kernel.packet[0]);
663
- __half b1 = get_half2_low(kernel.packet[1]);
664
- __half b2 = get_half2_high(kernel.packet[1]);
665
- kernel.packet[0] = combine_half(a1, b1);
666
- kernel.packet[1] = combine_half(a2, b2);
667
- }
668
-
669
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 plset(const Eigen::half& a) {
670
- #if defined(EIGEN_GPU_HAS_FP16_ARITHMETIC)
671
- return __halves2half2(a, __hadd(a, __float2half(1.0f)));
672
- #else
673
- float f = __half2float(a) + 1.0f;
674
- return combine_half(a, __float2half(f));
675
- #endif
676
- }
677
-
678
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 pselect(const half2& mask,
679
- const half2& a,
680
- const half2& b) {
681
- half mask_low = get_half2_low(mask);
682
- half mask_high = get_half2_high(mask);
683
- half result_low = mask_low == half(0) ? get_half2_low(b) : get_half2_low(a);
684
- half result_high = mask_high == half(0) ? get_half2_high(b) : get_half2_high(a);
685
- return combine_half(result_low, result_high);
686
- }
687
-
688
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 pcmp_eq(const half2& a,
689
- const half2& b) {
690
- half true_half = half_impl::raw_uint16_to_half(0xffffu);
691
- half false_half = half_impl::raw_uint16_to_half(0x0000u);
692
- half a1 = get_half2_low(a);
693
- half a2 = get_half2_high(a);
694
- half b1 = get_half2_low(b);
695
- half b2 = get_half2_high(b);
696
- half eq1 = __half2float(a1) == __half2float(b1) ? true_half : false_half;
697
- half eq2 = __half2float(a2) == __half2float(b2) ? true_half : false_half;
698
- return combine_half(eq1, eq2);
699
- }
700
-
701
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 pcmp_lt(const half2& a,
702
- const half2& b) {
703
- half true_half = half_impl::raw_uint16_to_half(0xffffu);
704
- half false_half = half_impl::raw_uint16_to_half(0x0000u);
705
- half a1 = get_half2_low(a);
706
- half a2 = get_half2_high(a);
707
- half b1 = get_half2_low(b);
708
- half b2 = get_half2_high(b);
709
- half eq1 = __half2float(a1) < __half2float(b1) ? true_half : false_half;
710
- half eq2 = __half2float(a2) < __half2float(b2) ? true_half : false_half;
711
- return combine_half(eq1, eq2);
712
- }
713
-
714
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 pand(const half2& a,
715
- const half2& b) {
716
- half a1 = get_half2_low(a);
717
- half a2 = get_half2_high(a);
718
- half b1 = get_half2_low(b);
719
- half b2 = get_half2_high(b);
720
- half result1 = half_impl::raw_uint16_to_half(a1.x & b1.x);
721
- half result2 = half_impl::raw_uint16_to_half(a2.x & b2.x);
722
- return combine_half(result1, result2);
723
- }
724
-
725
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 por(const half2& a,
726
- const half2& b) {
727
- half a1 = get_half2_low(a);
728
- half a2 = get_half2_high(a);
729
- half b1 = get_half2_low(b);
730
- half b2 = get_half2_high(b);
731
- half result1 = half_impl::raw_uint16_to_half(a1.x | b1.x);
732
- half result2 = half_impl::raw_uint16_to_half(a2.x | b2.x);
733
- return combine_half(result1, result2);
734
- }
735
-
736
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 pxor(const half2& a,
737
- const half2& b) {
738
- half a1 = get_half2_low(a);
739
- half a2 = get_half2_high(a);
740
- half b1 = get_half2_low(b);
741
- half b2 = get_half2_high(b);
742
- half result1 = half_impl::raw_uint16_to_half(a1.x ^ b1.x);
743
- half result2 = half_impl::raw_uint16_to_half(a2.x ^ b2.x);
744
- return combine_half(result1, result2);
745
- }
746
-
747
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 pandnot(const half2& a,
748
- const half2& b) {
749
- half a1 = get_half2_low(a);
750
- half a2 = get_half2_high(a);
751
- half b1 = get_half2_low(b);
752
- half b2 = get_half2_high(b);
753
- half result1 = half_impl::raw_uint16_to_half(a1.x & ~b1.x);
754
- half result2 = half_impl::raw_uint16_to_half(a2.x & ~b2.x);
755
- return combine_half(result1, result2);
756
- }
757
-
758
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 padd(const half2& a,
759
- const half2& b) {
760
- #if defined(EIGEN_GPU_HAS_FP16_ARITHMETIC)
761
- return __hadd2(a, b);
762
- #else
763
- float a1 = __low2float(a);
764
- float a2 = __high2float(a);
765
- float b1 = __low2float(b);
766
- float b2 = __high2float(b);
767
- float r1 = a1 + b1;
768
- float r2 = a2 + b2;
769
- return __floats2half2_rn(r1, r2);
770
- #endif
771
- }
772
-
773
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 psub(const half2& a,
774
- const half2& b) {
775
- #if defined(EIGEN_GPU_HAS_FP16_ARITHMETIC)
776
- return __hsub2(a, b);
777
- #else
778
- float a1 = __low2float(a);
779
- float a2 = __high2float(a);
780
- float b1 = __low2float(b);
781
- float b2 = __high2float(b);
782
- float r1 = a1 - b1;
783
- float r2 = a2 - b2;
784
- return __floats2half2_rn(r1, r2);
785
- #endif
786
- }
787
-
788
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 pnegate(const half2& a) {
789
- #if defined(EIGEN_GPU_HAS_FP16_ARITHMETIC)
790
- return __hneg2(a);
791
- #else
792
- float a1 = __low2float(a);
793
- float a2 = __high2float(a);
794
- return __floats2half2_rn(-a1, -a2);
795
- #endif
796
- }
797
-
798
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 pconj(const half2& a) { return a; }
799
-
800
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 pmul(const half2& a,
801
- const half2& b) {
802
- #if defined(EIGEN_GPU_HAS_FP16_ARITHMETIC)
803
- return __hmul2(a, b);
804
- #else
805
- float a1 = __low2float(a);
806
- float a2 = __high2float(a);
807
- float b1 = __low2float(b);
808
- float b2 = __high2float(b);
809
- float r1 = a1 * b1;
810
- float r2 = a2 * b2;
811
- return __floats2half2_rn(r1, r2);
812
- #endif
813
- }
814
-
815
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 pmadd(const half2& a,
816
- const half2& b,
817
- const half2& c) {
818
- #if defined(EIGEN_GPU_HAS_FP16_ARITHMETIC)
819
- return __hfma2(a, b, c);
820
- #else
821
- float a1 = __low2float(a);
822
- float a2 = __high2float(a);
823
- float b1 = __low2float(b);
824
- float b2 = __high2float(b);
825
- float c1 = __low2float(c);
826
- float c2 = __high2float(c);
827
- float r1 = a1 * b1 + c1;
828
- float r2 = a2 * b2 + c2;
829
- return __floats2half2_rn(r1, r2);
830
- #endif
831
- }
832
-
833
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 pdiv(const half2& a,
834
- const half2& b) {
835
- #if defined(EIGEN_GPU_HAS_FP16_ARITHMETIC)
836
- return __h2div(a, b);
837
- #else
838
- float a1 = __low2float(a);
839
- float a2 = __high2float(a);
840
- float b1 = __low2float(b);
841
- float b2 = __high2float(b);
842
- float r1 = a1 / b1;
843
- float r2 = a2 / b2;
844
- return __floats2half2_rn(r1, r2);
845
- #endif
846
- }
847
-
848
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 pmin(const half2& a,
849
- const half2& b) {
850
- float a1 = __low2float(a);
851
- float a2 = __high2float(a);
852
- float b1 = __low2float(b);
853
- float b2 = __high2float(b);
854
- __half r1 = a1 < b1 ? get_half2_low(a) : get_half2_low(b);
855
- __half r2 = a2 < b2 ? get_half2_high(a) : get_half2_high(b);
856
- return combine_half(r1, r2);
857
- }
858
-
859
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 pmax(const half2& a,
860
- const half2& b) {
861
- float a1 = __low2float(a);
862
- float a2 = __high2float(a);
863
- float b1 = __low2float(b);
864
- float b2 = __high2float(b);
865
- __half r1 = a1 > b1 ? get_half2_low(a) : get_half2_low(b);
866
- __half r2 = a2 > b2 ? get_half2_high(a) : get_half2_high(b);
867
- return combine_half(r1, r2);
868
- }
869
-
870
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::half predux(const half2& a) {
871
- #if defined(EIGEN_GPU_HAS_FP16_ARITHMETIC)
872
- return __hadd(__low2half(a), __high2half(a));
873
- #else
874
- float a1 = __low2float(a);
875
- float a2 = __high2float(a);
876
- return Eigen::half(__float2half(a1 + a2));
877
- #endif
878
- }
879
-
880
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::half predux_max(const half2& a) {
881
- #if defined(EIGEN_GPU_HAS_FP16_ARITHMETIC)
882
- __half first = __low2half(a);
883
- __half second = __high2half(a);
884
- return __hgt(first, second) ? first : second;
885
- #else
886
- float a1 = __low2float(a);
887
- float a2 = __high2float(a);
888
- return a1 > a2 ? get_half2_low(a) : get_half2_high(a);
889
- #endif
890
- }
891
-
892
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::half predux_min(const half2& a) {
893
- #if defined(EIGEN_GPU_HAS_FP16_ARITHMETIC)
894
- __half first = __low2half(a);
895
- __half second = __high2half(a);
896
- return __hlt(first, second) ? first : second;
897
- #else
898
- float a1 = __low2float(a);
899
- float a2 = __high2float(a);
900
- return a1 < a2 ? get_half2_low(a) : get_half2_high(a);
901
- #endif
902
- }
903
-
904
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::half predux_mul(const half2& a) {
905
- #if defined(EIGEN_GPU_HAS_FP16_ARITHMETIC)
906
- return __hmul(__low2half(a), __high2half(a));
907
- #else
908
- float a1 = __low2float(a);
909
- float a2 = __high2float(a);
910
- return Eigen::half(__float2half(a1 * a2));
911
- #endif
912
- }
913
-
914
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 plog1p(const half2& a) {
915
- float a1 = __low2float(a);
916
- float a2 = __high2float(a);
917
- float r1 = log1pf(a1);
918
- float r2 = log1pf(a2);
919
- return __floats2half2_rn(r1, r2);
920
- }
921
-
922
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 pexpm1(const half2& a) {
923
- float a1 = __low2float(a);
924
- float a2 = __high2float(a);
925
- float r1 = expm1f(a1);
926
- float r2 = expm1f(a2);
927
- return __floats2half2_rn(r1, r2);
928
- }
929
-
930
- #if (EIGEN_CUDA_SDK_VER >= 80000 && defined(EIGEN_CUDA_HAS_FP16_ARITHMETIC)) || \
931
- defined(EIGEN_HIP_DEVICE_COMPILE)
932
-
933
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
934
- half2 plog(const half2& a) {
935
- return h2log(a);
936
- }
937
-
938
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
939
- half2 pexp(const half2& a) {
940
- return h2exp(a);
941
- }
942
-
943
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
944
- half2 psqrt(const half2& a) {
945
- return h2sqrt(a);
946
- }
947
-
948
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
949
- half2 prsqrt(const half2& a) {
950
- return h2rsqrt(a);
951
- }
952
-
953
- #else
954
-
955
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 plog(const half2& a) {
956
- float a1 = __low2float(a);
957
- float a2 = __high2float(a);
958
- float r1 = logf(a1);
959
- float r2 = logf(a2);
960
- return __floats2half2_rn(r1, r2);
961
- }
962
-
963
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 pexp(const half2& a) {
964
- float a1 = __low2float(a);
965
- float a2 = __high2float(a);
966
- float r1 = expf(a1);
967
- float r2 = expf(a2);
968
- return __floats2half2_rn(r1, r2);
969
- }
970
-
971
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 psqrt(const half2& a) {
972
- float a1 = __low2float(a);
973
- float a2 = __high2float(a);
974
- float r1 = sqrtf(a1);
975
- float r2 = sqrtf(a2);
976
- return __floats2half2_rn(r1, r2);
977
- }
978
-
979
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 prsqrt(const half2& a) {
980
- float a1 = __low2float(a);
981
- float a2 = __high2float(a);
982
- float r1 = rsqrtf(a1);
983
- float r2 = rsqrtf(a2);
984
- return __floats2half2_rn(r1, r2);
985
- }
986
- #endif
987
- } // namespace
988
-
989
- template <>
990
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet4h2
991
- pload<Packet4h2>(const Eigen::half* from) {
992
- return *reinterpret_cast<const Packet4h2*>(from);
993
- }
994
-
995
- // unaligned load;
996
- template <>
997
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet4h2
998
- ploadu<Packet4h2>(const Eigen::half* from) {
999
- Packet4h2 r;
1000
- half2* p_alias = reinterpret_cast<half2*>(&r);
1001
- p_alias[0] = ploadu(from + 0);
1002
- p_alias[1] = ploadu(from + 2);
1003
- p_alias[2] = ploadu(from + 4);
1004
- p_alias[3] = ploadu(from + 6);
1005
- return r;
1006
- }
1007
-
1008
- template <>
1009
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet4h2
1010
- ploaddup<Packet4h2>(const Eigen::half* from) {
1011
- Packet4h2 r;
1012
- half2* p_alias = reinterpret_cast<half2*>(&r);
1013
- p_alias[0] = ploaddup(from + 0);
1014
- p_alias[1] = ploaddup(from + 1);
1015
- p_alias[2] = ploaddup(from + 2);
1016
- p_alias[3] = ploaddup(from + 3);
1017
- return r;
1018
- }
1019
-
1020
- template <>
1021
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void pstore<Eigen::half>(
1022
- Eigen::half* to, const Packet4h2& from) {
1023
- *reinterpret_cast<Packet4h2*>(to) = from;
1024
- }
1025
-
1026
- template <>
1027
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void pstoreu<Eigen::half>(
1028
- Eigen::half* to, const Packet4h2& from) {
1029
- const half2* from_alias = reinterpret_cast<const half2*>(&from);
1030
- pstoreu(to + 0,from_alias[0]);
1031
- pstoreu(to + 2,from_alias[1]);
1032
- pstoreu(to + 4,from_alias[2]);
1033
- pstoreu(to + 6,from_alias[3]);
1034
- }
1035
-
1036
- template <>
1037
- EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE Packet4h2
1038
- ploadt_ro<Packet4h2, Aligned>(const Eigen::half* from) {
1039
- #if defined(EIGEN_GPU_HAS_LDG)
1040
- Packet4h2 r;
1041
- r = __ldg(reinterpret_cast<const Packet4h2*>(from));
1042
- return r;
1043
- #else
1044
- Packet4h2 r;
1045
- half2* r_alias = reinterpret_cast<half2*>(&r);
1046
- r_alias[0] = ploadt_ro_aligned(from + 0);
1047
- r_alias[1] = ploadt_ro_aligned(from + 2);
1048
- r_alias[2] = ploadt_ro_aligned(from + 4);
1049
- r_alias[3] = ploadt_ro_aligned(from + 6);
1050
- return r;
1051
- #endif
1052
- }
1053
-
1054
- template <>
1055
- EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE Packet4h2
1056
- ploadt_ro<Packet4h2, Unaligned>(const Eigen::half* from) {
1057
- Packet4h2 r;
1058
- half2* r_alias = reinterpret_cast<half2*>(&r);
1059
- r_alias[0] = ploadt_ro_unaligned(from + 0);
1060
- r_alias[1] = ploadt_ro_unaligned(from + 2);
1061
- r_alias[2] = ploadt_ro_unaligned(from + 4);
1062
- r_alias[3] = ploadt_ro_unaligned(from + 6);
1063
- return r;
1064
- }
1065
-
1066
- template <>
1067
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet4h2
1068
- pgather<Eigen::half, Packet4h2>(const Eigen::half* from, Index stride) {
1069
- Packet4h2 r;
1070
- half2* p_alias = reinterpret_cast<half2*>(&r);
1071
- p_alias[0] = combine_half(from[0 * stride], from[1 * stride]);
1072
- p_alias[1] = combine_half(from[2 * stride], from[3 * stride]);
1073
- p_alias[2] = combine_half(from[4 * stride], from[5 * stride]);
1074
- p_alias[3] = combine_half(from[6 * stride], from[7 * stride]);
1075
- return r;
1076
- }
1077
-
1078
- template <>
1079
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void pscatter<Eigen::half, Packet4h2>(
1080
- Eigen::half* to, const Packet4h2& from, Index stride) {
1081
- const half2* from_alias = reinterpret_cast<const half2*>(&from);
1082
- pscatter(to + stride * 0, from_alias[0], stride);
1083
- pscatter(to + stride * 2, from_alias[1], stride);
1084
- pscatter(to + stride * 4, from_alias[2], stride);
1085
- pscatter(to + stride * 6, from_alias[3], stride);
1086
- }
1087
-
1088
- template <>
1089
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::half pfirst<Packet4h2>(
1090
- const Packet4h2& a) {
1091
- return pfirst(*(reinterpret_cast<const half2*>(&a)));
1092
- }
1093
-
1094
- template <>
1095
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet4h2 pabs<Packet4h2>(
1096
- const Packet4h2& a) {
1097
- Packet4h2 r;
1098
- half2* p_alias = reinterpret_cast<half2*>(&r);
1099
- const half2* a_alias = reinterpret_cast<const half2*>(&a);
1100
- p_alias[0] = pabs(a_alias[0]);
1101
- p_alias[1] = pabs(a_alias[1]);
1102
- p_alias[2] = pabs(a_alias[2]);
1103
- p_alias[3] = pabs(a_alias[3]);
1104
- return r;
1105
- }
1106
-
1107
- template <>
1108
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet4h2 ptrue<Packet4h2>(
1109
- const Packet4h2& /*a*/) {
1110
- half true_half = half_impl::raw_uint16_to_half(0xffffu);
1111
- return pset1<Packet4h2>(true_half);
1112
- }
1113
-
1114
- template <>
1115
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet4h2 pzero<Packet4h2>(const Packet4h2& /*a*/) {
1116
- half false_half = half_impl::raw_uint16_to_half(0x0000u);
1117
- return pset1<Packet4h2>(false_half);
1118
- }
1119
-
1120
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void ptranspose_double(
1121
- double* d_row0, double* d_row1, double* d_row2, double* d_row3,
1122
- double* d_row4, double* d_row5, double* d_row6, double* d_row7) {
1123
- double d_tmp;
1124
- d_tmp = d_row0[1];
1125
- d_row0[1] = d_row4[0];
1126
- d_row4[0] = d_tmp;
1127
-
1128
- d_tmp = d_row1[1];
1129
- d_row1[1] = d_row5[0];
1130
- d_row5[0] = d_tmp;
1131
-
1132
- d_tmp = d_row2[1];
1133
- d_row2[1] = d_row6[0];
1134
- d_row6[0] = d_tmp;
1135
-
1136
- d_tmp = d_row3[1];
1137
- d_row3[1] = d_row7[0];
1138
- d_row7[0] = d_tmp;
1139
- }
1140
-
1141
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void ptranspose_half2(
1142
- half2* f_row0, half2* f_row1, half2* f_row2, half2* f_row3) {
1143
- half2 f_tmp;
1144
- f_tmp = f_row0[1];
1145
- f_row0[1] = f_row2[0];
1146
- f_row2[0] = f_tmp;
1147
-
1148
- f_tmp = f_row1[1];
1149
- f_row1[1] = f_row3[0];
1150
- f_row3[0] = f_tmp;
1151
- }
1152
-
1153
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void
1154
- ptranspose_half(half2& f0, half2& f1) {
1155
- __half a1 = get_half2_low(f0);
1156
- __half a2 = get_half2_high(f0);
1157
- __half b1 = get_half2_low(f1);
1158
- __half b2 = get_half2_high(f1);
1159
- f0 = combine_half(a1, b1);
1160
- f1 = combine_half(a2, b2);
1161
- }
1162
-
1163
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void
1164
- ptranspose(PacketBlock<Packet4h2,8>& kernel) {
1165
- double* d_row0 = reinterpret_cast<double*>(&kernel.packet[0]);
1166
- double* d_row1 = reinterpret_cast<double*>(&kernel.packet[1]);
1167
- double* d_row2 = reinterpret_cast<double*>(&kernel.packet[2]);
1168
- double* d_row3 = reinterpret_cast<double*>(&kernel.packet[3]);
1169
- double* d_row4 = reinterpret_cast<double*>(&kernel.packet[4]);
1170
- double* d_row5 = reinterpret_cast<double*>(&kernel.packet[5]);
1171
- double* d_row6 = reinterpret_cast<double*>(&kernel.packet[6]);
1172
- double* d_row7 = reinterpret_cast<double*>(&kernel.packet[7]);
1173
- ptranspose_double(d_row0, d_row1, d_row2, d_row3,
1174
- d_row4, d_row5, d_row6, d_row7);
1175
-
1176
-
1177
- half2* f_row0 = reinterpret_cast<half2*>(d_row0);
1178
- half2* f_row1 = reinterpret_cast<half2*>(d_row1);
1179
- half2* f_row2 = reinterpret_cast<half2*>(d_row2);
1180
- half2* f_row3 = reinterpret_cast<half2*>(d_row3);
1181
- ptranspose_half2(f_row0, f_row1, f_row2, f_row3);
1182
- ptranspose_half(f_row0[0], f_row1[0]);
1183
- ptranspose_half(f_row0[1], f_row1[1]);
1184
- ptranspose_half(f_row2[0], f_row3[0]);
1185
- ptranspose_half(f_row2[1], f_row3[1]);
1186
-
1187
- f_row0 = reinterpret_cast<half2*>(d_row0 + 1);
1188
- f_row1 = reinterpret_cast<half2*>(d_row1 + 1);
1189
- f_row2 = reinterpret_cast<half2*>(d_row2 + 1);
1190
- f_row3 = reinterpret_cast<half2*>(d_row3 + 1);
1191
- ptranspose_half2(f_row0, f_row1, f_row2, f_row3);
1192
- ptranspose_half(f_row0[0], f_row1[0]);
1193
- ptranspose_half(f_row0[1], f_row1[1]);
1194
- ptranspose_half(f_row2[0], f_row3[0]);
1195
- ptranspose_half(f_row2[1], f_row3[1]);
1196
-
1197
- f_row0 = reinterpret_cast<half2*>(d_row4);
1198
- f_row1 = reinterpret_cast<half2*>(d_row5);
1199
- f_row2 = reinterpret_cast<half2*>(d_row6);
1200
- f_row3 = reinterpret_cast<half2*>(d_row7);
1201
- ptranspose_half2(f_row0, f_row1, f_row2, f_row3);
1202
- ptranspose_half(f_row0[0], f_row1[0]);
1203
- ptranspose_half(f_row0[1], f_row1[1]);
1204
- ptranspose_half(f_row2[0], f_row3[0]);
1205
- ptranspose_half(f_row2[1], f_row3[1]);
1206
-
1207
- f_row0 = reinterpret_cast<half2*>(d_row4 + 1);
1208
- f_row1 = reinterpret_cast<half2*>(d_row5 + 1);
1209
- f_row2 = reinterpret_cast<half2*>(d_row6 + 1);
1210
- f_row3 = reinterpret_cast<half2*>(d_row7 + 1);
1211
- ptranspose_half2(f_row0, f_row1, f_row2, f_row3);
1212
- ptranspose_half(f_row0[0], f_row1[0]);
1213
- ptranspose_half(f_row0[1], f_row1[1]);
1214
- ptranspose_half(f_row2[0], f_row3[0]);
1215
- ptranspose_half(f_row2[1], f_row3[1]);
1216
-
1217
- }
1218
-
1219
- template <>
1220
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet4h2
1221
- plset<Packet4h2>(const Eigen::half& a) {
1222
- #if defined(EIGEN_HIP_DEVICE_COMPILE)
1223
-
1224
- Packet4h2 r;
1225
- half2* p_alias = reinterpret_cast<half2*>(&r);
1226
- p_alias[0] = __halves2half2(a, __hadd(a, __float2half(1.0f)));
1227
- p_alias[1] = __halves2half2(__hadd(a, __float2half(2.0f)),
1228
- __hadd(a, __float2half(3.0f)));
1229
- p_alias[2] = __halves2half2(__hadd(a, __float2half(4.0f)),
1230
- __hadd(a, __float2half(5.0f)));
1231
- p_alias[3] = __halves2half2(__hadd(a, __float2half(6.0f)),
1232
- __hadd(a, __float2half(7.0f)));
1233
- return r;
1234
- #elif defined(EIGEN_CUDA_HAS_FP16_ARITHMETIC)
1235
- Packet4h2 r;
1236
- half2* r_alias = reinterpret_cast<half2*>(&r);
1237
-
1238
- half2 b = pset1<half2>(a);
1239
- half2 c;
1240
- half2 half_offset0 = __halves2half2(__float2half(0.0f),__float2half(2.0f));
1241
- half2 half_offset1 = __halves2half2(__float2half(4.0f),__float2half(6.0f));
1242
-
1243
- c = __hadd2(b, half_offset0);
1244
- r_alias[0] = plset(__low2half(c));
1245
- r_alias[1] = plset(__high2half(c));
1246
-
1247
- c = __hadd2(b, half_offset1);
1248
- r_alias[2] = plset(__low2half(c));
1249
- r_alias[3] = plset(__high2half(c));
1250
-
1251
- return r;
1252
-
1253
- #else
1254
- float f = __half2float(a);
1255
- Packet4h2 r;
1256
- half2* p_alias = reinterpret_cast<half2*>(&r);
1257
- p_alias[0] = combine_half(a, __float2half(f + 1.0f));
1258
- p_alias[1] = combine_half(__float2half(f + 2.0f), __float2half(f + 3.0f));
1259
- p_alias[2] = combine_half(__float2half(f + 4.0f), __float2half(f + 5.0f));
1260
- p_alias[3] = combine_half(__float2half(f + 6.0f), __float2half(f + 7.0f));
1261
- return r;
1262
- #endif
1263
- }
1264
-
1265
- template <>
1266
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet4h2
1267
- pselect<Packet4h2>(const Packet4h2& mask, const Packet4h2& a,
1268
- const Packet4h2& b) {
1269
- Packet4h2 r;
1270
- half2* r_alias = reinterpret_cast<half2*>(&r);
1271
- const half2* mask_alias = reinterpret_cast<const half2*>(&mask);
1272
- const half2* a_alias = reinterpret_cast<const half2*>(&a);
1273
- const half2* b_alias = reinterpret_cast<const half2*>(&b);
1274
- r_alias[0] = pselect(mask_alias[0], a_alias[0], b_alias[0]);
1275
- r_alias[1] = pselect(mask_alias[1], a_alias[1], b_alias[1]);
1276
- r_alias[2] = pselect(mask_alias[2], a_alias[2], b_alias[2]);
1277
- r_alias[3] = pselect(mask_alias[3], a_alias[3], b_alias[3]);
1278
- return r;
1279
- }
1280
-
1281
- template <>
1282
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet4h2
1283
- pcmp_eq<Packet4h2>(const Packet4h2& a, const Packet4h2& b) {
1284
- Packet4h2 r;
1285
- half2* r_alias = reinterpret_cast<half2*>(&r);
1286
- const half2* a_alias = reinterpret_cast<const half2*>(&a);
1287
- const half2* b_alias = reinterpret_cast<const half2*>(&b);
1288
- r_alias[0] = pcmp_eq(a_alias[0], b_alias[0]);
1289
- r_alias[1] = pcmp_eq(a_alias[1], b_alias[1]);
1290
- r_alias[2] = pcmp_eq(a_alias[2], b_alias[2]);
1291
- r_alias[3] = pcmp_eq(a_alias[3], b_alias[3]);
1292
- return r;
1293
- }
1294
-
1295
- template <>
1296
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet4h2 pand<Packet4h2>(
1297
- const Packet4h2& a, const Packet4h2& b) {
1298
- Packet4h2 r;
1299
- half2* r_alias = reinterpret_cast<half2*>(&r);
1300
- const half2* a_alias = reinterpret_cast<const half2*>(&a);
1301
- const half2* b_alias = reinterpret_cast<const half2*>(&b);
1302
- r_alias[0] = pand(a_alias[0], b_alias[0]);
1303
- r_alias[1] = pand(a_alias[1], b_alias[1]);
1304
- r_alias[2] = pand(a_alias[2], b_alias[2]);
1305
- r_alias[3] = pand(a_alias[3], b_alias[3]);
1306
- return r;
1307
- }
1308
-
1309
- template <>
1310
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet4h2 por<Packet4h2>(
1311
- const Packet4h2& a, const Packet4h2& b) {
1312
- Packet4h2 r;
1313
- half2* r_alias = reinterpret_cast<half2*>(&r);
1314
- const half2* a_alias = reinterpret_cast<const half2*>(&a);
1315
- const half2* b_alias = reinterpret_cast<const half2*>(&b);
1316
- r_alias[0] = por(a_alias[0], b_alias[0]);
1317
- r_alias[1] = por(a_alias[1], b_alias[1]);
1318
- r_alias[2] = por(a_alias[2], b_alias[2]);
1319
- r_alias[3] = por(a_alias[3], b_alias[3]);
1320
- return r;
1321
- }
1322
-
1323
- template <>
1324
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet4h2 pxor<Packet4h2>(
1325
- const Packet4h2& a, const Packet4h2& b) {
1326
- Packet4h2 r;
1327
- half2* r_alias = reinterpret_cast<half2*>(&r);
1328
- const half2* a_alias = reinterpret_cast<const half2*>(&a);
1329
- const half2* b_alias = reinterpret_cast<const half2*>(&b);
1330
- r_alias[0] = pxor(a_alias[0], b_alias[0]);
1331
- r_alias[1] = pxor(a_alias[1], b_alias[1]);
1332
- r_alias[2] = pxor(a_alias[2], b_alias[2]);
1333
- r_alias[3] = pxor(a_alias[3], b_alias[3]);
1334
- return r;
1335
- }
1336
-
1337
- template <>
1338
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet4h2
1339
- pandnot<Packet4h2>(const Packet4h2& a, const Packet4h2& b) {
1340
- Packet4h2 r;
1341
- half2* r_alias = reinterpret_cast<half2*>(&r);
1342
- const half2* a_alias = reinterpret_cast<const half2*>(&a);
1343
- const half2* b_alias = reinterpret_cast<const half2*>(&b);
1344
- r_alias[0] = pandnot(a_alias[0], b_alias[0]);
1345
- r_alias[1] = pandnot(a_alias[1], b_alias[1]);
1346
- r_alias[2] = pandnot(a_alias[2], b_alias[2]);
1347
- r_alias[3] = pandnot(a_alias[3], b_alias[3]);
1348
- return r;
1349
- }
1350
-
1351
- template <>
1352
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet4h2 padd<Packet4h2>(
1353
- const Packet4h2& a, const Packet4h2& b) {
1354
- Packet4h2 r;
1355
- half2* r_alias = reinterpret_cast<half2*>(&r);
1356
- const half2* a_alias = reinterpret_cast<const half2*>(&a);
1357
- const half2* b_alias = reinterpret_cast<const half2*>(&b);
1358
- r_alias[0] = padd(a_alias[0], b_alias[0]);
1359
- r_alias[1] = padd(a_alias[1], b_alias[1]);
1360
- r_alias[2] = padd(a_alias[2], b_alias[2]);
1361
- r_alias[3] = padd(a_alias[3], b_alias[3]);
1362
- return r;
1363
- }
1364
-
1365
- template <>
1366
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet4h2 psub<Packet4h2>(
1367
- const Packet4h2& a, const Packet4h2& b) {
1368
- Packet4h2 r;
1369
- half2* r_alias = reinterpret_cast<half2*>(&r);
1370
- const half2* a_alias = reinterpret_cast<const half2*>(&a);
1371
- const half2* b_alias = reinterpret_cast<const half2*>(&b);
1372
- r_alias[0] = psub(a_alias[0], b_alias[0]);
1373
- r_alias[1] = psub(a_alias[1], b_alias[1]);
1374
- r_alias[2] = psub(a_alias[2], b_alias[2]);
1375
- r_alias[3] = psub(a_alias[3], b_alias[3]);
1376
- return r;
1377
- }
1378
-
1379
- template <>
1380
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet4h2 pnegate(const Packet4h2& a) {
1381
- Packet4h2 r;
1382
- half2* r_alias = reinterpret_cast<half2*>(&r);
1383
- const half2* a_alias = reinterpret_cast<const half2*>(&a);
1384
- r_alias[0] = pnegate(a_alias[0]);
1385
- r_alias[1] = pnegate(a_alias[1]);
1386
- r_alias[2] = pnegate(a_alias[2]);
1387
- r_alias[3] = pnegate(a_alias[3]);
1388
- return r;
1389
- }
1390
-
1391
- template <>
1392
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet4h2 pconj(const Packet4h2& a) {
1393
- return a;
1394
- }
1395
-
1396
- template <>
1397
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet4h2 pmul<Packet4h2>(
1398
- const Packet4h2& a, const Packet4h2& b) {
1399
- Packet4h2 r;
1400
- half2* r_alias = reinterpret_cast<half2*>(&r);
1401
- const half2* a_alias = reinterpret_cast<const half2*>(&a);
1402
- const half2* b_alias = reinterpret_cast<const half2*>(&b);
1403
- r_alias[0] = pmul(a_alias[0], b_alias[0]);
1404
- r_alias[1] = pmul(a_alias[1], b_alias[1]);
1405
- r_alias[2] = pmul(a_alias[2], b_alias[2]);
1406
- r_alias[3] = pmul(a_alias[3], b_alias[3]);
1407
- return r;
1408
- }
1409
-
1410
- template <>
1411
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet4h2 pmadd<Packet4h2>(
1412
- const Packet4h2& a, const Packet4h2& b, const Packet4h2& c) {
1413
- Packet4h2 r;
1414
- half2* r_alias = reinterpret_cast<half2*>(&r);
1415
- const half2* a_alias = reinterpret_cast<const half2*>(&a);
1416
- const half2* b_alias = reinterpret_cast<const half2*>(&b);
1417
- const half2* c_alias = reinterpret_cast<const half2*>(&c);
1418
- r_alias[0] = pmadd(a_alias[0], b_alias[0], c_alias[0]);
1419
- r_alias[1] = pmadd(a_alias[1], b_alias[1], c_alias[1]);
1420
- r_alias[2] = pmadd(a_alias[2], b_alias[2], c_alias[2]);
1421
- r_alias[3] = pmadd(a_alias[3], b_alias[3], c_alias[3]);
1422
- return r;
1423
- }
1424
-
1425
- template <>
1426
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet4h2 pdiv<Packet4h2>(
1427
- const Packet4h2& a, const Packet4h2& b) {
1428
- Packet4h2 r;
1429
- half2* r_alias = reinterpret_cast<half2*>(&r);
1430
- const half2* a_alias = reinterpret_cast<const half2*>(&a);
1431
- const half2* b_alias = reinterpret_cast<const half2*>(&b);
1432
- r_alias[0] = pdiv(a_alias[0], b_alias[0]);
1433
- r_alias[1] = pdiv(a_alias[1], b_alias[1]);
1434
- r_alias[2] = pdiv(a_alias[2], b_alias[2]);
1435
- r_alias[3] = pdiv(a_alias[3], b_alias[3]);
1436
- return r;
1437
- }
1438
-
1439
- template <>
1440
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet4h2 pmin<Packet4h2>(
1441
- const Packet4h2& a, const Packet4h2& b) {
1442
- Packet4h2 r;
1443
- half2* r_alias = reinterpret_cast<half2*>(&r);
1444
- const half2* a_alias = reinterpret_cast<const half2*>(&a);
1445
- const half2* b_alias = reinterpret_cast<const half2*>(&b);
1446
- r_alias[0] = pmin(a_alias[0], b_alias[0]);
1447
- r_alias[1] = pmin(a_alias[1], b_alias[1]);
1448
- r_alias[2] = pmin(a_alias[2], b_alias[2]);
1449
- r_alias[3] = pmin(a_alias[3], b_alias[3]);
1450
- return r;
1451
- }
1452
-
1453
- template <>
1454
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet4h2 pmax<Packet4h2>(
1455
- const Packet4h2& a, const Packet4h2& b) {
1456
- Packet4h2 r;
1457
- half2* r_alias = reinterpret_cast<half2*>(&r);
1458
- const half2* a_alias = reinterpret_cast<const half2*>(&a);
1459
- const half2* b_alias = reinterpret_cast<const half2*>(&b);
1460
- r_alias[0] = pmax(a_alias[0], b_alias[0]);
1461
- r_alias[1] = pmax(a_alias[1], b_alias[1]);
1462
- r_alias[2] = pmax(a_alias[2], b_alias[2]);
1463
- r_alias[3] = pmax(a_alias[3], b_alias[3]);
1464
- return r;
1465
- }
1466
-
1467
- template <>
1468
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::half predux<Packet4h2>(
1469
- const Packet4h2& a) {
1470
- const half2* a_alias = reinterpret_cast<const half2*>(&a);
1471
-
1472
- return predux(a_alias[0]) + predux(a_alias[1]) +
1473
- predux(a_alias[2]) + predux(a_alias[3]);
1474
- }
1475
-
1476
- template <>
1477
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::half predux_max<Packet4h2>(
1478
- const Packet4h2& a) {
1479
- const half2* a_alias = reinterpret_cast<const half2*>(&a);
1480
- half2 m0 = combine_half(predux_max(a_alias[0]),
1481
- predux_max(a_alias[1]));
1482
- half2 m1 = combine_half(predux_max(a_alias[2]),
1483
- predux_max(a_alias[3]));
1484
- __half first = predux_max(m0);
1485
- __half second = predux_max(m1);
1486
- #if defined(EIGEN_CUDA_HAS_FP16_ARITHMETIC)
1487
- return (__hgt(first, second) ? first : second);
1488
- #else
1489
- float ffirst = __half2float(first);
1490
- float fsecond = __half2float(second);
1491
- return (ffirst > fsecond)? first: second;
1492
- #endif
1493
- }
1494
-
1495
- template <>
1496
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::half predux_min<Packet4h2>(
1497
- const Packet4h2& a) {
1498
- const half2* a_alias = reinterpret_cast<const half2*>(&a);
1499
- half2 m0 = combine_half(predux_min(a_alias[0]),
1500
- predux_min(a_alias[1]));
1501
- half2 m1 = combine_half(predux_min(a_alias[2]),
1502
- predux_min(a_alias[3]));
1503
- __half first = predux_min(m0);
1504
- __half second = predux_min(m1);
1505
- #if defined(EIGEN_CUDA_HAS_FP16_ARITHMETIC)
1506
- return (__hlt(first, second) ? first : second);
1507
- #else
1508
- float ffirst = __half2float(first);
1509
- float fsecond = __half2float(second);
1510
- return (ffirst < fsecond)? first: second;
1511
- #endif
1512
- }
1513
-
1514
- // likely overflow/underflow
1515
- template <>
1516
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::half predux_mul<Packet4h2>(
1517
- const Packet4h2& a) {
1518
- const half2* a_alias = reinterpret_cast<const half2*>(&a);
1519
- return predux_mul(pmul(pmul(a_alias[0], a_alias[1]),
1520
- pmul(a_alias[2], a_alias[3])));
1521
- }
1522
-
1523
- template <>
1524
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet4h2
1525
- plog1p<Packet4h2>(const Packet4h2& a) {
1526
- Packet4h2 r;
1527
- half2* r_alias = reinterpret_cast<half2*>(&r);
1528
- const half2* a_alias = reinterpret_cast<const half2*>(&a);
1529
- r_alias[0] = plog1p(a_alias[0]);
1530
- r_alias[1] = plog1p(a_alias[1]);
1531
- r_alias[2] = plog1p(a_alias[2]);
1532
- r_alias[3] = plog1p(a_alias[3]);
1533
- return r;
1534
- }
1535
-
1536
- template <>
1537
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet4h2
1538
- pexpm1<Packet4h2>(const Packet4h2& a) {
1539
- Packet4h2 r;
1540
- half2* r_alias = reinterpret_cast<half2*>(&r);
1541
- const half2* a_alias = reinterpret_cast<const half2*>(&a);
1542
- r_alias[0] = pexpm1(a_alias[0]);
1543
- r_alias[1] = pexpm1(a_alias[1]);
1544
- r_alias[2] = pexpm1(a_alias[2]);
1545
- r_alias[3] = pexpm1(a_alias[3]);
1546
- return r;
1547
- }
1548
-
1549
- template <>
1550
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet4h2 plog<Packet4h2>(const Packet4h2& a) {
1551
- Packet4h2 r;
1552
- half2* r_alias = reinterpret_cast<half2*>(&r);
1553
- const half2* a_alias = reinterpret_cast<const half2*>(&a);
1554
- r_alias[0] = plog(a_alias[0]);
1555
- r_alias[1] = plog(a_alias[1]);
1556
- r_alias[2] = plog(a_alias[2]);
1557
- r_alias[3] = plog(a_alias[3]);
1558
- return r;
1559
- }
1560
-
1561
- template <>
1562
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet4h2 pexp<Packet4h2>(const Packet4h2& a) {
1563
- Packet4h2 r;
1564
- half2* r_alias = reinterpret_cast<half2*>(&r);
1565
- const half2* a_alias = reinterpret_cast<const half2*>(&a);
1566
- r_alias[0] = pexp(a_alias[0]);
1567
- r_alias[1] = pexp(a_alias[1]);
1568
- r_alias[2] = pexp(a_alias[2]);
1569
- r_alias[3] = pexp(a_alias[3]);
1570
- return r;
1571
- }
1572
-
1573
- template <>
1574
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet4h2 psqrt<Packet4h2>(const Packet4h2& a) {
1575
- Packet4h2 r;
1576
- half2* r_alias = reinterpret_cast<half2*>(&r);
1577
- const half2* a_alias = reinterpret_cast<const half2*>(&a);
1578
- r_alias[0] = psqrt(a_alias[0]);
1579
- r_alias[1] = psqrt(a_alias[1]);
1580
- r_alias[2] = psqrt(a_alias[2]);
1581
- r_alias[3] = psqrt(a_alias[3]);
1582
- return r;
1583
- }
1584
-
1585
- template <>
1586
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet4h2
1587
- prsqrt<Packet4h2>(const Packet4h2& a) {
1588
- Packet4h2 r;
1589
- half2* r_alias = reinterpret_cast<half2*>(&r);
1590
- const half2* a_alias = reinterpret_cast<const half2*>(&a);
1591
- r_alias[0] = prsqrt(a_alias[0]);
1592
- r_alias[1] = prsqrt(a_alias[1]);
1593
- r_alias[2] = prsqrt(a_alias[2]);
1594
- r_alias[3] = prsqrt(a_alias[3]);
1595
- return r;
1596
- }
1597
-
1598
- // The following specialized padd, pmul, pdiv, pmin, pmax, pset1 are needed for
1599
- // the implementation of GPU half reduction.
1600
- template<>
1601
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 padd<half2>(const half2& a,
1602
- const half2& b) {
1603
- #if defined(EIGEN_GPU_HAS_FP16_ARITHMETIC)
1604
- return __hadd2(a, b);
1605
- #else
1606
- float a1 = __low2float(a);
1607
- float a2 = __high2float(a);
1608
- float b1 = __low2float(b);
1609
- float b2 = __high2float(b);
1610
- float r1 = a1 + b1;
1611
- float r2 = a2 + b2;
1612
- return __floats2half2_rn(r1, r2);
1613
- #endif
1614
- }
1615
-
1616
- template<>
1617
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 pmul<half2>(const half2& a,
1618
- const half2& b) {
1619
- #if defined(EIGEN_GPU_HAS_FP16_ARITHMETIC)
1620
- return __hmul2(a, b);
1621
- #else
1622
- float a1 = __low2float(a);
1623
- float a2 = __high2float(a);
1624
- float b1 = __low2float(b);
1625
- float b2 = __high2float(b);
1626
- float r1 = a1 * b1;
1627
- float r2 = a2 * b2;
1628
- return __floats2half2_rn(r1, r2);
1629
- #endif
1630
- }
1631
-
1632
- template<>
1633
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 pdiv<half2>(const half2& a,
1634
- const half2& b) {
1635
- #if defined(EIGEN_GPU_HAS_FP16_ARITHMETIC)
1636
- return __h2div(a, b);
1637
- #else
1638
- float a1 = __low2float(a);
1639
- float a2 = __high2float(a);
1640
- float b1 = __low2float(b);
1641
- float b2 = __high2float(b);
1642
- float r1 = a1 / b1;
1643
- float r2 = a2 / b2;
1644
- return __floats2half2_rn(r1, r2);
1645
- #endif
1646
- }
1647
-
1648
- template<>
1649
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 pmin<half2>(const half2& a,
1650
- const half2& b) {
1651
- float a1 = __low2float(a);
1652
- float a2 = __high2float(a);
1653
- float b1 = __low2float(b);
1654
- float b2 = __high2float(b);
1655
- __half r1 = a1 < b1 ? get_half2_low(a) : get_half2_low(b);
1656
- __half r2 = a2 < b2 ? get_half2_high(a) : get_half2_high(b);
1657
- return combine_half(r1, r2);
1658
- }
1659
-
1660
- template<>
1661
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 pmax<half2>(const half2& a,
1662
- const half2& b) {
1663
- float a1 = __low2float(a);
1664
- float a2 = __high2float(a);
1665
- float b1 = __low2float(b);
1666
- float b2 = __high2float(b);
1667
- __half r1 = a1 > b1 ? get_half2_low(a) : get_half2_low(b);
1668
- __half r2 = a2 > b2 ? get_half2_high(a) : get_half2_high(b);
1669
- return combine_half(r1, r2);
1670
- }
1671
-
1672
- // #endif // defined(EIGEN_CUDA_ARCH) || defined(EIGEN_HIPCC) || (defined(EIGEN_CUDACC) && EIGEN_COMP_CLANG && !EIGEN_COMP_NVCC)
1673
-
1674
- #endif // defined(EIGEN_HAS_CUDA_FP16) || defined(EIGEN_HAS_HIP_FP16)
1675
-
1676
- #undef EIGEN_GPU_HAS_LDG
1677
- #undef EIGEN_CUDA_HAS_FP16_ARITHMETIC
1678
- #undef EIGEN_GPU_HAS_FP16_ARITHMETIC
1679
-
1680
- } // end namespace internal
1681
-
1682
- } // end namespace Eigen
1683
-
1684
-
1685
- #endif // EIGEN_PACKET_MATH_GPU_H