77// This Source Code Form is subject to the terms of the Mozilla
88// Public License v. 2.0. If a copy of the MPL was not distributed
99// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
10+ // SPDX-License-Identifier: MPL-2.0
1011
1112#ifndef EIGEN_CORE_MODULE_H
1213#define EIGEN_CORE_MODULE_H
4950#include "src/Core/util/MKL_support.h"
5051#include "src/Core/util/AOCL_Support.h"
5152
52-
5353// EIGEN_HAS_GPU_FP16 is now always true when compiling with CUDA or HIP.
5454// Use EIGEN_GPUCC (compile-time) or EIGEN_GPU_COMPILE_PHASE (device phase) instead.
5555// TODO: Remove EIGEN_HAS_GPU_BF16 similarly once HIP bf16 guards are cleaned up.
152152
153153namespace Eigen {
154154
155- using std::size_t;
156155using std::ptrdiff_t;
156+ using std::size_t;
157157
158158} // namespace Eigen
159159
@@ -275,9 +275,10 @@ using std::ptrdiff_t;
275275#include "src/Core/arch/SVE/TypeCasting.h"
276276#include "src/Core/arch/SVE/MathFunctions.h"
277277#elif defined EIGEN_VECTORIZE_RVV10
278+ #include "src/Core/arch/RVV10/PacketMathDecl.h"
278279#include "src/Core/arch/RVV10/PacketMath.h"
279- #include "src/Core/arch/RVV10/PacketMath4.h"
280280#include "src/Core/arch/RVV10/PacketMath2.h"
281+ #include "src/Core/arch/RVV10/PacketMath4.h"
281282#include "src/Core/arch/RVV10/TypeCasting.h"
282283#include "src/Core/arch/RVV10/MathFunctions.h"
283284#if defined EIGEN_VECTORIZE_RVV10FP16
@@ -286,6 +287,10 @@ using std::ptrdiff_t;
286287#if defined EIGEN_VECTORIZE_RVV10BF16
287288#include "src/Core/arch/RVV10/PacketMathBF16.h"
288289#endif
290+ #if EIGEN_RISCV64_DEFAULT_LMUL == 1
291+ #include "src/Core/arch/RVV10/Complex.h"
292+ #include "src/Core/arch/RVV10/Complex2.h"
293+ #endif
289294#elif defined EIGEN_VECTORIZE_ZVECTOR
290295#include "src/Core/arch/ZVector/PacketMath.h"
291296#include "src/Core/arch/ZVector/MathFunctions.h"
0 commit comments