Drop cxx11_ prefix from tensor tests and remove stale pre-C++11 comments libeigen/eigen!2441 Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
diff --git a/Eigen/src/Core/ArithmeticSequence.h b/Eigen/src/Core/ArithmeticSequence.h index 4161771..65e7961 100644 --- a/Eigen/src/Core/ArithmeticSequence.h +++ b/Eigen/src/Core/ArithmeticSequence.h
@@ -178,8 +178,7 @@ namespace placeholders { -/** \cpp11 - * \returns a symbolic ArithmeticSequence representing the last \a size elements with increment \a incr. +/** \returns a symbolic ArithmeticSequence representing the last \a size elements with increment \a incr. * * It is a shortcut for: \code seqN(last-(size-fix<1>)*incr, size, incr) \endcode * \anchor Eigen_placeholders_lastN @@ -190,8 +189,7 @@ return seqN(Eigen::placeholders::last - (size - fix<1>()) * incr, size, incr); } -/** \cpp11 - * \returns a symbolic ArithmeticSequence representing the last \a size elements with a unit increment. +/** \returns a symbolic ArithmeticSequence representing the last \a size elements with a unit increment. * * It is a shortcut for: \code seq(last+fix<1>-size, last) \endcode * @@ -220,7 +218,7 @@ using Eigen::seqN; using Eigen::placeholders::all; using Eigen::placeholders::last; - using Eigen::placeholders::lastN; // c++11 only + using Eigen::placeholders::lastN; using Eigen::placeholders::lastp1; \endcode */
diff --git a/Eigen/src/Core/Array.h b/Eigen/src/Core/Array.h index b6b4637..28ff760 100644 --- a/Eigen/src/Core/Array.h +++ b/Eigen/src/Core/Array.h
@@ -156,7 +156,6 @@ : Base(a0, a1, a2, a3, args...) {} /** \brief Constructs an array and initializes it from the coefficients given as initializer-lists grouped by row. - * \cpp11 * * In the general case, the constructor takes a list of rows, each row being represented as a list of coefficients: * @@ -280,7 +279,7 @@ * There are also \c ArraySizeType which are self-explanatory. For example, \c Array4cf is * a fixed-size 1D array of 4 complex floats. * - * With \cpp11, template alias are also defined for common sizes. + * Template alias are also defined for common sizes. * They follow the same pattern as above except that the scalar type suffix is replaced by a * template parameter, i.e.: * - `ArrayRowsCols<Type>` where `Rows` and `Cols` can be \c 2,\c 3,\c 4, or \c X for fixed or dynamic size. @@ -322,21 +321,17 @@ #define EIGEN_MAKE_ARRAY_TYPEDEFS(Size, SizeSuffix) \ /** \ingroup arraytypedefs */ \ - /** \brief \cpp11 */ \ template <typename Type> \ using Array##SizeSuffix##SizeSuffix = Array<Type, Size, Size>; \ /** \ingroup arraytypedefs */ \ - /** \brief \cpp11 */ \ template <typename Type> \ using Array##SizeSuffix = Array<Type, Size, 1>; #define EIGEN_MAKE_ARRAY_FIXED_TYPEDEFS(Size) \ /** \ingroup arraytypedefs */ \ - /** \brief \cpp11 */ \ template <typename Type> \ using Array##Size##X = Array<Type, Size, Dynamic>; \ /** \ingroup arraytypedefs */ \ - /** \brief \cpp11 */ \ template <typename Type> \ using Array##X##Size = Array<Type, Dynamic, Size>;
diff --git a/Eigen/src/Core/CwiseNullaryOp.h b/Eigen/src/Core/CwiseNullaryOp.h index 7e117b6..bf6b6f3 100644 --- a/Eigen/src/Core/CwiseNullaryOp.h +++ b/Eigen/src/Core/CwiseNullaryOp.h
@@ -50,7 +50,7 @@ for vectors. * * See DenseBase::NullaryExpr(Index,const CustomNullaryOp&) for an example binding - * C++11 random number generators. + * std random number generators. * * A nullary expression can also be used to implement custom sophisticated matrix manipulations * that cannot be covered by the existing set of natively supported matrix manipulations. @@ -126,7 +126,7 @@ * * The template parameter \a CustomNullaryOp is the type of the functor. * - * Here is an example with C++11 random generators: \include random_cpp11.cpp + * Here is an example with std random generators: \include random_cpp11.cpp * Output: \verbinclude random_cpp11.out * * \sa class CwiseNullaryOp
diff --git a/Eigen/src/Core/DiagonalMatrix.h b/Eigen/src/Core/DiagonalMatrix.h index c14d081..dda6c8c 100644 --- a/Eigen/src/Core/DiagonalMatrix.h +++ b/Eigen/src/Core/DiagonalMatrix.h
@@ -215,7 +215,7 @@ : m_diagonal(a0, a1, a2, args...) {} /** \brief Constructs a DiagonalMatrix and initializes it by elements given by an initializer list of initializer - * lists \cpp11 + * lists */ EIGEN_DEVICE_FUNC explicit EIGEN_STRONG_INLINE DiagonalMatrix( const std::initializer_list<std::initializer_list<Scalar>>& list)
diff --git a/Eigen/src/Core/Matrix.h b/Eigen/src/Core/Matrix.h index ca8f622..314c01d 100644 --- a/Eigen/src/Core/Matrix.h +++ b/Eigen/src/Core/Matrix.h
@@ -285,7 +285,6 @@ : Base(a0, a1, a2, a3, args...) {} /** \brief Constructs a Matrix and initializes it from the coefficients given as initializer-lists grouped by row. - * \cpp11 * \anchor matrix_initializer_list * * In the general case, the constructor takes a list of rows, each row being represented as a list of coefficients: @@ -435,14 +434,14 @@ * There are also \c VectorSizeType and \c RowVectorSizeType which are self-explanatory. For example, \c Vector4cf is * a fixed-size vector of 4 complex floats. * - * With \cpp11, template alias are also defined for common sizes. + * Template alias are also defined for common sizes. * They follow the same pattern as above except that the scalar type suffix is replaced by a * template parameter, i.e.: * - `MatrixSize<Type>` where `Size` can be \c 2,\c 3,\c 4 for fixed size square matrices or \c X for dynamic size. * - `MatrixXSize<Type>` and `MatrixSizeX<Type>` where `Size` can be \c 2,\c 3,\c 4 for hybrid dynamic/fixed matrices. * - `VectorSize<Type>` and `RowVectorSize<Type>` for column and row vectors. * - * With \cpp11, you can also use fully generic column and row vector types: `Vector<Type,Size>` and + * You can also use fully generic column and row vector types: `Vector<Type,Size>` and * `RowVector<Type,Size>`. * * \sa class Matrix @@ -486,28 +485,28 @@ #undef EIGEN_MAKE_TYPEDEFS #undef EIGEN_MAKE_FIXED_TYPEDEFS -#define EIGEN_MAKE_TYPEDEFS(Size, SizeSuffix) \ - /** \ingroup matrixtypedefs */ \ - /** \brief \cpp11 `Size`×`Size` matrix of type `Type`.*/ \ - template <typename Type> \ - using Matrix##SizeSuffix = Matrix<Type, Size, Size>; \ - /** \ingroup matrixtypedefs */ \ - /** \brief \cpp11 `Size`×`1` vector of type `Type`.*/ \ - template <typename Type> \ - using Vector##SizeSuffix = Matrix<Type, Size, 1>; \ - /** \ingroup matrixtypedefs */ \ - /** \brief \cpp11 `1`×`Size` vector of type `Type`.*/ \ - template <typename Type> \ +#define EIGEN_MAKE_TYPEDEFS(Size, SizeSuffix) \ + /** \ingroup matrixtypedefs */ \ + /** \brief `Size`×`Size` matrix of type `Type`.*/ \ + template <typename Type> \ + using Matrix##SizeSuffix = Matrix<Type, Size, Size>; \ + /** \ingroup matrixtypedefs */ \ + /** \brief `Size`×`1` vector of type `Type`.*/ \ + template <typename Type> \ + using Vector##SizeSuffix = Matrix<Type, Size, 1>; \ + /** \ingroup matrixtypedefs */ \ + /** \brief `1`×`Size` vector of type `Type`.*/ \ + template <typename Type> \ using RowVector##SizeSuffix = Matrix<Type, 1, Size>; -#define EIGEN_MAKE_FIXED_TYPEDEFS(Size) \ - /** \ingroup matrixtypedefs */ \ - /** \brief \cpp11 `Size`×`Dynamic` matrix of type `Type` */ \ - template <typename Type> \ - using Matrix##Size##X = Matrix<Type, Size, Dynamic>; \ - /** \ingroup matrixtypedefs */ \ - /** \brief \cpp11 `Dynamic`×`Size` matrix of type `Type`. */ \ - template <typename Type> \ +#define EIGEN_MAKE_FIXED_TYPEDEFS(Size) \ + /** \ingroup matrixtypedefs */ \ + /** \brief `Size`×`Dynamic` matrix of type `Type` */ \ + template <typename Type> \ + using Matrix##Size##X = Matrix<Type, Size, Dynamic>; \ + /** \ingroup matrixtypedefs */ \ + /** \brief `Dynamic`×`Size` matrix of type `Type`. */ \ + template <typename Type> \ using Matrix##X##Size = Matrix<Type, Dynamic, Size>; EIGEN_MAKE_TYPEDEFS(2, 2) @@ -519,12 +518,12 @@ EIGEN_MAKE_FIXED_TYPEDEFS(4) /** \ingroup matrixtypedefs - * \brief \cpp11 `Size`×`1` vector of type `Type`. */ + * \brief `Size`×`1` vector of type `Type`. */ template <typename Type, int Size> using Vector = Matrix<Type, Size, 1>; /** \ingroup matrixtypedefs - * \brief \cpp11 `1`×`Size` vector of type `Type`. */ + * \brief `1`×`Size` vector of type `Type`. */ template <typename Type, int Size> using RowVector = Matrix<Type, 1, Size>;
diff --git a/Eigen/src/Core/ProductEvaluators.h b/Eigen/src/Core/ProductEvaluators.h index 834c232..33b1fb3 100644 --- a/Eigen/src/Core/ProductEvaluators.h +++ b/Eigen/src/Core/ProductEvaluators.h
@@ -436,7 +436,7 @@ ConjLhs = blas_traits<Lhs>::NeedToConjugate, ConjRhs = blas_traits<Rhs>::NeedToConjugate }; - // FIXME: in c++11 this should be auto, and extractScalarFactor should also return auto + // FIXME: this should be auto, and extractScalarFactor should also return auto // this is important for real*complex_mat Scalar actualAlpha = combine_scalar_factors<Scalar>(lhs, rhs);
diff --git a/Eigen/src/Core/Random.h b/Eigen/src/Core/Random.h index 532ca0e..91543eb 100644 --- a/Eigen/src/Core/Random.h +++ b/Eigen/src/Core/Random.h
@@ -51,7 +51,7 @@ * a temporary matrix whenever it is nested in a larger expression. This prevents unexpected * behavior with expressions involving random matrices. * - * See DenseBase::NullaryExpr(Index, const CustomNullaryOp&) for an example using C++11 random generators. + * See DenseBase::NullaryExpr(Index, const CustomNullaryOp&) for an example using std random generators. * * \sa DenseBase::setRandom(), DenseBase::Random(Index), DenseBase::Random() */
diff --git a/Eigen/src/Core/Redux.h b/Eigen/src/Core/Redux.h index 07d91b9..18ba103 100644 --- a/Eigen/src/Core/Redux.h +++ b/Eigen/src/Core/Redux.h
@@ -432,7 +432,7 @@ /** \returns the result of a full redux operation on the whole matrix or vector using \a func * * The template parameter \a BinaryOp is the type of the functor \a func which must be - * an associative operator. Both current C++98 and C++11 functor styles are handled. + * an associative operator. * * \warning the matrix must be not empty, otherwise an assertion is triggered. *
diff --git a/Eigen/src/Core/functors/BinaryFunctors.h b/Eigen/src/Core/functors/BinaryFunctors.h index bbaab11..96db151 100644 --- a/Eigen/src/Core/functors/BinaryFunctors.h +++ b/Eigen/src/Core/functors/BinaryFunctors.h
@@ -694,9 +694,7 @@ //---------- binary functors bound to a constant, thus appearing as a unary functor ---------- // The following two classes permits to turn any binary functor into a unary one with one argument bound to a constant -// value. They are analogues to std::binder1st/binder2nd but with the following differences: -// - they are compatible with packetOp -// - they are portable across C++ versions (the std::binder* are deprecated in C++11) +// value. They are analogues to the removed std::binder1st/binder2nd and are also compatible with packetOp. template <typename BinaryOp> struct bind1st_op : BinaryOp { typedef typename BinaryOp::first_argument_type first_argument_type;
diff --git a/Eigen/src/Core/util/AOCL_Support.h b/Eigen/src/Core/util/AOCL_Support.h index 434ccfd..c628268 100644 --- a/Eigen/src/Core/util/AOCL_Support.h +++ b/Eigen/src/Core/util/AOCL_Support.h
@@ -63,7 +63,7 @@ * System requirements: * - AMD x86_64 processor (optimal performance) * - Linux, Windows, or compatible POSIX system - * - C++11 or later standard + * - C++14 or later standard * - CMake 3.5+ for build system integration * * Developer: @@ -82,20 +82,20 @@ // Define AOCL component flags based on main flags #ifdef EIGEN_USE_AOCL_ALL -#define EIGEN_USE_AOCL_VML // Enable AOCL Vector Math Library -#define EIGEN_USE_AOCL_BLAS // Enable AOCL BLAS (BLIS) +#define EIGEN_USE_AOCL_VML // Enable AOCL Vector Math Library +#define EIGEN_USE_AOCL_BLAS // Enable AOCL BLAS (BLIS) // Enable Eigen BLAS backend only if BLIS provides compatible interface #if defined(EIGEN_AOCL_BLIS_COMPATIBLE) -#define EIGEN_USE_BLAS // Enable Eigen BLAS backend +#define EIGEN_USE_BLAS // Enable Eigen BLAS backend #endif -#define EIGEN_USE_LAPACKE // Enable LAPACK backend (FLAME) +#define EIGEN_USE_LAPACKE // Enable LAPACK backend (FLAME) #endif #ifdef EIGEN_USE_AOCL_MT -#define EIGEN_USE_AOCL_VML // Enable AOCL Vector Math Library -#define EIGEN_USE_AOCL_BLAS // Enable AOCL BLAS (BLIS) +#define EIGEN_USE_AOCL_VML // Enable AOCL Vector Math Library +#define EIGEN_USE_AOCL_BLAS // Enable AOCL BLAS (BLIS) // For multithreaded: disable EIGEN_USE_BLAS to avoid signature conflicts // Use direct BLIS calls instead through EIGEN_USE_AOCL_BLAS @@ -103,8 +103,8 @@ // interface // Note: LAPACKE disabled in MT mode to avoid header conflicts -#define EIGEN_USE_LAPACKE // Commented out - causes conflicts with BLIS LAPACKE -#define EIGEN_AOCL_USE_BLIS_MT 1 // Enable multithreaded BLIS +#define EIGEN_USE_LAPACKE // Commented out - causes conflicts with BLIS LAPACKE +#define EIGEN_AOCL_USE_BLIS_MT 1 // Enable multithreaded BLIS #endif // Handle standalone EIGEN_USE_AOCL_VML flag @@ -119,16 +119,15 @@ // Configuration constants - define these for any AOCL usage #ifndef EIGEN_AOCL_VML_THRESHOLD -#define EIGEN_AOCL_VML_THRESHOLD 128 // Threshold for VML dispatch +#define EIGEN_AOCL_VML_THRESHOLD 128 // Threshold for VML dispatch #endif #ifndef AOCL_SIMD_WIDTH -#define AOCL_SIMD_WIDTH 8 // AVX-512: 512 bits / 64 bits per double +#define AOCL_SIMD_WIDTH 8 // AVX-512: 512 bits / 64 bits per double #endif // Include AOCL Math Library headers for VML -#if defined(EIGEN_USE_AOCL_VML) || defined(EIGEN_USE_AOCL_ALL) || \ - defined(EIGEN_USE_AOCL_MT) +#if defined(EIGEN_USE_AOCL_VML) || defined(EIGEN_USE_AOCL_ALL) || defined(EIGEN_USE_AOCL_MT) #if defined(__has_include) #if __has_include("amdlibm.h") #include "amdlibm.h" @@ -167,9 +166,9 @@ // AOCL-specific type definitions typedef std::complex<double> dcomplex; typedef std::complex<float> scomplex; -typedef int BlasIndex; // Standard BLAS index type -} // namespace Eigen +typedef int BlasIndex; // Standard BLAS index type +} // namespace Eigen -#endif // EIGEN_USE_AOCL_ALL || EIGEN_USE_AOCL_MT +#endif // EIGEN_USE_AOCL_ALL || EIGEN_USE_AOCL_MT -#endif // EIGEN_AOCL_SUPPORT_H +#endif // EIGEN_AOCL_SUPPORT_H
diff --git a/Eigen/src/Core/util/EmulateArray.h b/Eigen/src/Core/util/EmulateArray.h index 9414cb2..dd9de18 100644 --- a/Eigen/src/Core/util/EmulateArray.h +++ b/Eigen/src/Core/util/EmulateArray.h
@@ -222,7 +222,7 @@ #else -// The compiler supports c++11, and we're not targeting cuda: use std::array as Eigen::array +// Not targeting cuda: use std::array as Eigen::array. #include <array> namespace Eigen {
diff --git a/Eigen/src/Core/util/IntegralConstant.h b/Eigen/src/Core/util/IntegralConstant.h index f79fea8..a298f81 100644 --- a/Eigen/src/Core/util/IntegralConstant.h +++ b/Eigen/src/Core/util/IntegralConstant.h
@@ -27,11 +27,11 @@ * * This class embeds a compile-time integer \c N. * - * It is similar to c++11 std::integral_constant<int,N> but with some additional features + * It is similar to std::integral_constant<int,N> but with some additional features * such as: * - implicit conversion to int * - arithmetic and some bitwise operators: -, +, *, /, %, &, | - * - c++98/14 compatibility with fix<N> and fix<N>() syntax to define integral constants. + * - fix<N> and fix<N>() syntax to define integral constants. * * It is strongly discouraged to directly deal with this class FixedInt. Instances are expected to * be created by the user using Eigen::fix<N> or Eigen::fix<N>().
diff --git a/Eigen/src/Core/util/Macros.h b/Eigen/src/Core/util/Macros.h index 57433e4..e51fe38 100644 --- a/Eigen/src/Core/util/Macros.h +++ b/Eigen/src/Core/util/Macros.h
@@ -782,8 +782,8 @@ // Does the compiler support std::hash? #ifndef EIGEN_HAS_STD_HASH -// The std::hash struct is defined in C++11 but is not labelled as a __device__ -// function and is not constexpr, so cannot be used on device. +// The std::hash struct is not labelled as a __device__ function and is not +// constexpr, so cannot be used on device. #if !defined(EIGEN_GPU_COMPILE_PHASE) #define EIGEN_HAS_STD_HASH 1 #else @@ -829,7 +829,7 @@ #endif #if defined(EIGEN_CUDACC) -// While available already with c++11, this is useful mostly starting with c++14 and relaxed constexpr rules +// Enable device-side constexpr when the toolchain supports relaxed constexpr rules. #if defined(__NVCC__) // nvcc considers constexpr functions as __host__ __device__ with the option --expt-relaxed-constexpr #ifdef __CUDACC_RELAXED_CONSTEXPR__ @@ -1214,7 +1214,7 @@ /** \internal * \brief Macro to manually inherit assignment operators. * This is necessary, because the implicitly defined assignment operator gets deleted when a custom operator= is - * defined. With C++11 or later this also default-implements the copy-constructor + * defined. This also default-implements the copy-constructor. */ #define EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Derived) \ EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Derived) \ @@ -1224,8 +1224,6 @@ * \brief Macro to manually define default constructors and destructors. * This is necessary when the copy constructor is re-defined. * For empty helper classes this should usually be protected, to avoid accidentally creating empty objects. - * - * Hiding the default destructor lead to problems in C++03 mode together with boost::multiprecision */ #define EIGEN_DEFAULT_EMPTY_CONSTRUCTOR_AND_DESTRUCTOR(Derived) \ EIGEN_DEVICE_FUNC Derived() = default; \
diff --git a/Eigen/src/Core/util/Meta.h b/Eigen/src/Core/util/Meta.h index ececab8..848d90d 100644 --- a/Eigen/src/Core/util/Meta.h +++ b/Eigen/src/Core/util/Meta.h
@@ -217,7 +217,7 @@ * It currently supports: * - any types T defining T::SizeAtCompileTime * - plain C arrays as T[N] - * - std::array (c++11) + * - std::array * - some internal types such as SingleRange and AllRange * * The second template parameter eases SFINAE-based specializations.
diff --git a/Eigen/src/SparseCore/SparseMatrix.h b/Eigen/src/SparseCore/SparseMatrix.h index 451c7b0..8b5cb2a 100644 --- a/Eigen/src/SparseCore/SparseMatrix.h +++ b/Eigen/src/SparseCore/SparseMatrix.h
@@ -1337,7 +1337,7 @@ * \code * value = dup_func(OldValue, NewValue) * \endcode - * Here is a C++11 example keeping the latest entry only: + * Here is an example keeping the latest entry only: * \code * mat.setFromTriplets(triplets.begin(), triplets.end(), [] (const Scalar&,const Scalar &b) { return b; }); * \endcode @@ -1366,7 +1366,7 @@ * \code * value = dup_func(OldValue, NewValue) * \endcode - * Here is a C++11 example keeping the latest entry only: + * Here is an example keeping the latest entry only: * \code * mat.setFromSortedTriplets(triplets.begin(), triplets.end(), [] (const Scalar&,const Scalar &b) { return b; }); * \endcode @@ -1430,7 +1430,7 @@ * \code * value = dup_func(OldValue, NewValue) * \endcode - * Here is a C++11 example keeping the latest entry only: + * Here is an example keeping the latest entry only: * \code * mat.insertFromTriplets(triplets.begin(), triplets.end(), [] (const Scalar&,const Scalar &b) { return b; }); * \endcode @@ -1459,7 +1459,7 @@ * \code * value = dup_func(OldValue, NewValue) * \endcode - * Here is a C++11 example keeping the latest entry only: + * Here is an example keeping the latest entry only: * \code * mat.insertFromSortedTriplets(triplets.begin(), triplets.end(), [] (const Scalar&,const Scalar &b) { return b; }); * \endcode
diff --git a/Eigen/src/ThreadPool/ThreadLocal.h b/Eigen/src/ThreadPool/ThreadLocal.h index f3ad5cc..7e55b08 100644 --- a/Eigen/src/ThreadPool/ThreadLocal.h +++ b/Eigen/src/ThreadPool/ThreadLocal.h
@@ -29,8 +29,7 @@ #include <Availability.h> #include <TargetConditionals.h> #endif -// Checks whether C++11's `thread_local` storage duration specifier is -// supported. +// Checks whether the `thread_local` storage duration specifier is supported. #if EIGEN_COMP_CLANGAPPLE && \ ((EIGEN_COMP_CLANGAPPLE < 8000042) || (TARGET_OS_IPHONE && __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_9_0)) // Notes: Xcode's clang did not support `thread_local` until version
diff --git a/Eigen/src/plugins/ArrayCwiseUnaryOps.inc b/Eigen/src/plugins/ArrayCwiseUnaryOps.inc index c06dc41..4bc999e 100644 --- a/Eigen/src/plugins/ArrayCwiseUnaryOps.inc +++ b/Eigen/src/plugins/ArrayCwiseUnaryOps.inc
@@ -456,13 +456,12 @@ typedef CwiseUnaryOp<internal::scalar_erfc_op<Scalar>, const Derived> ErfcReturnType; typedef CwiseUnaryOp<internal::scalar_ndtri_op<Scalar>, const Derived> NdtriReturnType; -/** \cpp11 \returns an expression of the coefficient-wise ln(|gamma(*this)|). +/** \returns an expression of the coefficient-wise ln(|gamma(*this)|). * * \specialfunctions_module * - * \note This function supports only float and double scalar types in c++11 mode. To support other scalar types, - * or float/double in non c++11 mode, the user has to provide implementations of lgamma(T) for any scalar - * type T to be supported. + * \note This function supports only float and double scalar types. To support other scalar types, + * the user has to provide implementations of lgamma(T) for any scalar type T to be supported. * * \sa <a href="group__CoeffwiseMathFunctions.html#cwisetable_lgamma">Math functions</a>, digamma() */ @@ -481,27 +480,25 @@ */ EIGEN_DEVICE_FUNC constexpr inline const DigammaReturnType digamma() const { return DigammaReturnType(derived()); } -/** \cpp11 \returns an expression of the coefficient-wise Gauss error +/** \returns an expression of the coefficient-wise Gauss error * function of *this. * * \specialfunctions_module * - * \note This function supports only float and double scalar types in c++11 mode. To support other scalar types, - * or float/double in non c++11 mode, the user has to provide implementations of erf(T) for any scalar - * type T to be supported. + * \note This function supports only float and double scalar types. To support other scalar types, + * the user has to provide implementations of erf(T) for any scalar type T to be supported. * * \sa <a href="group__CoeffwiseMathFunctions.html#cwisetable_erf">Math functions</a>, erfc() */ EIGEN_DEVICE_FUNC constexpr inline const ErfReturnType erf() const { return ErfReturnType(derived()); } -/** \cpp11 \returns an expression of the coefficient-wise Complementary error +/** \returns an expression of the coefficient-wise Complementary error * function of *this. * * \specialfunctions_module * - * \note This function supports only float and double scalar types in c++11 mode. To support other scalar types, - * or float/double in non c++11 mode, the user has to provide implementations of erfc(T) for any scalar - * type T to be supported. + * \note This function supports only float and double scalar types. To support other scalar types, + * the user has to provide implementations of erfc(T) for any scalar type T to be supported. * * \sa <a href="group__CoeffwiseMathFunctions.html#cwisetable_erfc">Math functions</a>, erf() */
diff --git a/doc/CoeffwiseMathFunctionsTable.dox b/doc/CoeffwiseMathFunctionsTable.dox index ae40533..b96e5c4 100644 --- a/doc/CoeffwiseMathFunctionsTable.dox +++ b/doc/CoeffwiseMathFunctionsTable.dox
@@ -23,7 +23,6 @@ foo(a[i]); \endcode means that the STL's function \c std::foo will be potentially called if it is compatible with the underlying scalar type. If not, then the user must ensure that an overload of the function foo is available for the given scalar type (usually defined in the same namespace as the given scalar type). -This also means that, unless specified, if the function \c std::foo is available only in some recent c++ versions (e.g., c++11), then the respective %Eigen's function/method will be usable on standard types only if the compiler support the required c++ version. <table class="manual-hl"> <tr> @@ -124,7 +123,7 @@ </td> <td>natural (base \f$ e \f$) logarithm of 1 plus \n the given number (\f$ \ln({1+a_i}) \f$)</td> <td>built-in generic implementation based on \c log,\n - plus \c using <a href="http://en.cppreference.com/w/cpp/numeric/math/log1p">\c std::log1p </a>; \cpp11</td> + plus \c using <a href="http://en.cppreference.com/w/cpp/numeric/math/log1p">\c std::log1p </a></td> <td></td> </tr> <tr> @@ -418,7 +417,7 @@ </td> <td>nearest integer, \n rounding away from zero in halfway cases</td> <td>built-in generic implementation \n based on \c floor and \c ceil,\n - plus \c using <a href="http://en.cppreference.com/w/cpp/numeric/math/round">\c std::round </a>; \cpp11</td> + plus \c using <a href="http://en.cppreference.com/w/cpp/numeric/math/round">\c std::round </a></td> <td>SSE4,AVX,ZVector (f,d)</td> </tr> <tr> @@ -428,7 +427,7 @@ \link Eigen::rint rint\endlink(a); </td> <td>nearest integer, \n rounding to nearest even in halfway cases</td> - <td>built-in generic implementation using <a href="http://en.cppreference.com/w/cpp/numeric/math/rint">\c std::rint </a>; \cpp11 + <td>built-in generic implementation using <a href="http://en.cppreference.com/w/cpp/numeric/math/rint">\c std::rint </a> or <a href="http://en.cppreference.com/w/c/numeric/math/rint">\c rintf </a>; </td> <td>SSE4,AVX (f,d)</td> </tr> @@ -446,7 +445,7 @@ </td> <td>checks if the given number has finite value</td> <td>built-in generic implementation,\n - plus \c using <a href="http://en.cppreference.com/w/cpp/numeric/math/isfinite">\c std::isfinite </a>; \cpp11</td> + plus \c using <a href="http://en.cppreference.com/w/cpp/numeric/math/isfinite">\c std::isfinite </a></td> <td></td> </tr> <tr> @@ -457,7 +456,7 @@ </td> <td>checks if the given number is infinite</td> <td>built-in generic implementation,\n - plus \c using <a href="http://en.cppreference.com/w/cpp/numeric/math/isinf">\c std::isinf </a>; \cpp11</td> + plus \c using <a href="http://en.cppreference.com/w/cpp/numeric/math/isinf">\c std::isinf </a></td> <td></td> </tr> <tr> @@ -468,7 +467,7 @@ </td> <td>checks if the given number is not a number</td> <td>built-in generic implementation,\n - plus \c using <a href="http://en.cppreference.com/w/cpp/numeric/math/isnan">\c std::isnan </a>; \cpp11</td> + plus \c using <a href="http://en.cppreference.com/w/cpp/numeric/math/isnan">\c std::isnan </a></td> <td></td> </tr> <tr> @@ -563,7 +562,7 @@ </td> <td>error function</td> <td class="code"> - using <a href="http://en.cppreference.com/w/cpp/numeric/math/erf">std::erf</a>; \cpp11 \n + using <a href="http://en.cppreference.com/w/cpp/numeric/math/erf">std::erf</a> \n erf(a[i]); </td> <td></td> @@ -576,7 +575,7 @@ </td> <td>complementary error function</td> <td class="code"> - using <a href="http://en.cppreference.com/w/cpp/numeric/math/erfc">std::erfc</a>; \cpp11 \n + using <a href="http://en.cppreference.com/w/cpp/numeric/math/erfc">std::erfc</a> \n erfc(a[i]); </td> <td></td> @@ -589,7 +588,7 @@ </td> <td>natural logarithm of the gamma function</td> <td class="code"> - using <a href="http://en.cppreference.com/w/cpp/numeric/math/lgamma">std::lgamma</a>; \cpp11 \n + using <a href="http://en.cppreference.com/w/cpp/numeric/math/lgamma">std::lgamma</a> \n lgamma(a[i]); </td> <td></td> @@ -614,7 +613,7 @@ <td><a href="https://en.wikipedia.org/wiki/Incomplete_gamma_function">lower incomplete gamma integral</a> \n \f$ \gamma(a_i,x_i)= \frac{1}{|a_i|} \int_{0}^{x_i}e^{\text{-}t} t^{a_i-1} \mathrm{d} t \f$</td> <td> - built-in for float and double,\n but requires \cpp11 + built-in for float and double,\n built-in generic fallback </td> <td></td> </tr> @@ -626,7 +625,7 @@ <td><a href="https://en.wikipedia.org/wiki/Incomplete_gamma_function">upper incomplete gamma integral</a> \n \f$ \Gamma(a_i,x_i) = \frac{1}{|a_i|} \int_{x_i}^{\infty}e^{\text{-}t} t^{a_i-1} \mathrm{d} t \f$</td> <td> - built-in for float and double,\n but requires \cpp11 + built-in for float and double,\n built-in generic fallback </td> <td></td> </tr> @@ -654,7 +653,7 @@ </td> <td><a href="https://en.wikipedia.org/wiki/Beta_function#Incomplete_beta_function">regularized incomplete beta function</a></td> <td> - built-in for float and double,\n but requires \cpp11 + built-in for float and double,\n built-in generic fallback </td> <td></td> </tr>
diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in index 421d006..bfb80bd 100644 --- a/doc/Doxyfile.in +++ b/doc/Doxyfile.in
@@ -28,8 +28,6 @@ "nonstableyet=\warning This is not considered to be part of the stable public API yet. Changes may happen in future releases. See \ref Experimental \"Experimental parts of Eigen\"" \ "implsparsesolverconcept=This class follows the \link TutorialSparseSolverConcept sparse solver concept \endlink." \ blank= \ - "cpp11=<span class='cpp11'>[c++11]</span>" \ - "cpp14=<span class='cpp14'>[c++14]</span>" \ "cpp17=<span class='cpp17'>[c++17]</span>" \ "newin{1}=<span class='newin3x'>New in %Eigen \1.</span>" \ "eigenAutoToc=<!-- TOC placeholder -->" \
diff --git a/doc/Pitfalls.dox b/doc/Pitfalls.dox index 7e627cf..6df6acb 100644 --- a/doc/Pitfalls.dox +++ b/doc/Pitfalls.dox
@@ -28,7 +28,7 @@ Now what if you don't care about vectorization and so don't want to be annoyed with these alignment issues? Then read \link getrid how to get rid of them \endlink. -\section TopicPitfalls_auto_keyword C++11 and the auto keyword +\section TopicPitfalls_auto_keyword The auto keyword In short: do not use the auto keywords with %Eigen's expressions, unless you are 100% sure about what you are doing. In particular, do not use the auto keyword as a replacement for a \c Matrix<> type. Here is an example:
diff --git a/doc/QuickReference.dox b/doc/QuickReference.dox index 4aece90..be99f9d 100644 --- a/doc/QuickReference.dox +++ b/doc/QuickReference.dox
@@ -483,9 +483,8 @@ while the second one (based on .array()) returns an array expression. Recall that .array() has no cost, it only changes the available API and interpretation of the data. -It is also very simple to apply any user defined function \c foo using DenseBase::unaryExpr together with <a href="http://en.cppreference.com/w/cpp/utility/functional/ptr_fun">std::ptr_fun</a> (c++03, deprecated or removed in newer C++ versions), <a href="http://en.cppreference.com/w/cpp/utility/functional/ref">std::ref</a> (c++11), or <a href="http://en.cppreference.com/w/cpp/language/lambda">lambdas</a> (c++11): +It is also very simple to apply any user defined function \c foo using DenseBase::unaryExpr together with <a href="http://en.cppreference.com/w/cpp/utility/functional/ref">std::ref</a> or <a href="http://en.cppreference.com/w/cpp/language/lambda">lambdas</a>: \code -mat1.unaryExpr(std::ptr_fun(foo)); mat1.unaryExpr(std::ref(foo)); mat1.unaryExpr([](double x) { return foo(x); }); \endcode
diff --git a/doc/StlContainers.dox b/doc/StlContainers.dox index 0342573..78c02f0 100644 --- a/doc/StlContainers.dox +++ b/doc/StlContainers.dox
@@ -12,8 +12,6 @@ That is, an allocator capable of allocating buffers with 16, 32, or even 64 bytes alignment. %Eigen does provide one ready for use: aligned_allocator. -Prior to \cpp11, if you want to use the `std::vector` container, then you also have to <code> \#include <Eigen/StdVector> </code>. - These issues arise only with \ref TopicFixedSizeVectorizable "fixed-size vectorizable Eigen types" and \ref TopicStructHavingEigenMembers "structures having such Eigen objects as member". For other %Eigen types, such as Vector3f or MatrixXd, no special care is needed when using STL containers. @@ -34,9 +32,7 @@ \section StlContainers_vector The case of std::vector -This section is for c++98/03 users only. \cpp11 (or above) users can stop reading here. - -So in c++98/03, the situation with `std::vector` is more complicated because of a bug in the standard (explanation below). +On some older toolchains (notably MSVC in 64-bit mode with reduced alignment settings), the situation with `std::vector` is more complicated because of a bug in the standard (explanation below). To workaround the issue, we had to specialize it for the Eigen::aligned_allocator type. In practice you \b must use the Eigen::aligned_allocator (not another aligned allocator), \b and \#include <Eigen/StdVector>.
diff --git a/doc/TopicAssertions.dox b/doc/TopicAssertions.dox index a2cc6cf..fe5ea0d 100644 --- a/doc/TopicAssertions.dox +++ b/doc/TopicAssertions.dox
@@ -25,7 +25,7 @@ \section StaticAssert Static assertions -Static assertions are not standardized until C++11. However, in the Eigen library, there are many conditions can and should be detectedat compile time. For instance, we use static assertions to prevent the code below from compiling. +In the Eigen library, there are many conditions that can and should be detected at compile time. For instance, we use static assertions to prevent the code below from compiling. \code Matrix3d() + Matrix4d(); // adding matrices of different sizes
diff --git a/doc/TopicMultithreading.dox b/doc/TopicMultithreading.dox index e8e10c5..1cc189e 100644 --- a/doc/TopicMultithreading.dox +++ b/doc/TopicMultithreading.dox
@@ -50,7 +50,7 @@ \section TopicMultiThreading_UsingEigenWithMT Using Eigen in a multi-threaded application \warning Note that all functions generating random matrices are \b not re-entrant nor thread-safe. Those include DenseBase::Random(), and DenseBase::setRandom(). This is because these functions are based on \c std::rand which is not re-entrant. -For thread-safe random generation, we recommend the use of C++11 random generators (\link DenseBase::NullaryExpr(Index, const CustomNullaryOp&) example \endlink). +For thread-safe random generation, we recommend the use of the std random generators (\link DenseBase::NullaryExpr(Index, const CustomNullaryOp&) example \endlink). In the case your application is parallelized with OpenMP, you might want to disable %Eigen's own parallelization as detailed in the previous section.
diff --git a/doc/TutorialMatrixClass.dox b/doc/TutorialMatrixClass.dox index 6b0c6f6..62f2fd0 100644 --- a/doc/TutorialMatrixClass.dox +++ b/doc/TutorialMatrixClass.dox
@@ -102,14 +102,7 @@ and is a no-operation. Matrices and vectors can also be initialized from lists of coefficients. -Prior to C++11, this feature is limited to small fixed-size column or vectors up to size 4: -\code -Vector2d a(5.0, 6.0); -Vector3d b(5.0, 6.0, 7.0); -Vector4d c(5.0, 6.0, 7.0, 8.0); -\endcode - -If C++11 is enabled, fixed-size column or row vectors of arbitrary size can be initialized by passing an arbitrary number of coefficients: +Fixed-size column or row vectors of arbitrary size can be initialized by passing an arbitrary number of coefficients: \code Vector2i a(1, 2); // A column-vector containing the elements {1, 2} Matrix<int, 5, 1> b {1, 2, 3, 4, 5}; // A column-vector containing the elements {1, 2, 3, 4, 5}
diff --git a/doc/TutorialSTL.dox b/doc/TutorialSTL.dox index 9a825bc..290c99b 100644 --- a/doc/TutorialSTL.dox +++ b/doc/TutorialSTL.dox
@@ -11,7 +11,7 @@ Any dense 1D expressions exposes the pair of `begin()/end()` methods to iterate over them. -This directly enables c++11 range for loops: +This directly enables range for loops: <table class="example"> <tr><th>Example:</th><th>Output:</th></tr> <tr><td>
diff --git a/test/indexed_view.cpp b/test/indexed_view.cpp index 619b097..3e82a2f 100644 --- a/test/indexed_view.cpp +++ b/test/indexed_view.cpp
@@ -59,7 +59,6 @@ #define VERIFY_EQ_INT(A, B) VERIFY_IS_APPROX(int(A), int(B)) -// C++03 does not allow local or unnamed enums as index enum DummyEnum { XX = 0, YY = 1 }; void check_indexed_view() { @@ -411,7 +410,6 @@ // Check compilation of enums as index type: a(XX) = 1; A(XX, YY) = 1; - // Anonymous enums only work with C++11 enum { X = 0, Y = 1 }; a(X) = 1; A(X, Y) = 1;
diff --git a/test/jacobisvd.cpp b/test/jacobisvd.cpp index 2e09c5e..6437fca 100644 --- a/test/jacobisvd.cpp +++ b/test/jacobisvd.cpp
@@ -108,8 +108,6 @@ } namespace Foo { -// older compiler require a default constructor for Bar -// cf: https://stackoverflow.com/questions/7411515/ class Bar { public: Bar() {}
diff --git a/test/meta.cpp b/test/meta.cpp index 46269b5..631b9bc 100644 --- a/test/meta.cpp +++ b/test/meta.cpp
@@ -91,8 +91,8 @@ #if (EIGEN_COMP_GNUC_STRICT && EIGEN_COMP_GNUC <= 990) || (EIGEN_COMP_CLANG_STRICT && EIGEN_COMP_CLANG <= 990) || \ (EIGEN_COMP_MSVC && EIGEN_COMP_MSVC <= 1914) // See http://eigen.tuxfamily.org/bz/show_bug.cgi?id=1752, - // basically, a fix in the c++ standard breaks our c++98 implementation - // of is_convertible for abstract classes. + // a fix in the c++ standard breaks our is_convertible implementation + // for abstract classes. // So the following tests are expected to fail with recent compilers. STATIC_CHECK((!internal::is_convertible<MyInterface, MyImpl>::value));
diff --git a/test/packetmath.cpp b/test/packetmath.cpp index b8a7f43..0091525 100644 --- a/test/packetmath.cpp +++ b/test/packetmath.cpp
@@ -851,7 +851,7 @@ } // Notice that this definition works for complex types as well. -// c++11 has std::log2 for real, but not for complex types. +// std::log2 only supports real types, not complex. template <typename Scalar> Scalar log2(Scalar x) { return Scalar(EIGEN_LOG2E) * std::log(x);
diff --git a/unsupported/Eigen/FFT b/unsupported/Eigen/FFT index 460ad26..7755334 100644 --- a/unsupported/Eigen/FFT +++ b/unsupported/Eigen/FFT
@@ -39,7 +39,7 @@ * incompatible with Eigen in GPL form. * - PocketFFT/DUCC (https://gitlab.mpcdf.mpg.de/mtr/pocketfft, https://gitlab.mpcdf.mpg.de/mtr/ducc) : faster than * kissfft, BSD 3-clause. A heavily modified implementation of FFTPack with the following advantages: - * -# strictly C++11 compliant + * -# strictly C++14 compliant * -# more accurate twiddle factor computation * -# very fast plan generation * -# worst case complexity for transform sizes with large prime factors is N*log(N),
diff --git a/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsArrayAPI.h b/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsArrayAPI.h index 0920d27..3063b9f 100644 --- a/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsArrayAPI.h +++ b/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsArrayAPI.h
@@ -15,13 +15,12 @@ namespace Eigen { -/** \cpp11 \returns an expression of the coefficient-wise igamma(\a a, \a x) to the given arrays. +/** \returns an expression of the coefficient-wise igamma(\a a, \a x) to the given arrays. * * This function computes the coefficient-wise incomplete gamma function. * - * \note This function supports only float and double scalar types in c++11 mode. To support other scalar types, - * or float/double in non c++11 mode, the user has to provide implementations of igammac(T,T) for any scalar - * type T to be supported. + * \note This function supports only float and double scalar types. To support other scalar types, + * the user has to provide implementations of igammac(T,T) for any scalar type T to be supported. * * \sa Eigen::igammac(), Eigen::lgamma() */ @@ -33,16 +32,13 @@ const ExponentDerived>(a.derived(), x.derived()); } -/** \cpp11 \returns an expression of the coefficient-wise igamma_der_a(\a a, \a x) to the given arrays. +/** \returns an expression of the coefficient-wise igamma_der_a(\a a, \a x) to the given arrays. * * This function computes the coefficient-wise derivative of the incomplete * gamma function with respect to the parameter a. * - * \note This function supports only float and double scalar types in c++11 - * mode. To support other scalar types, - * or float/double in non c++11 mode, the user has to provide implementations - * of igamma_der_a(T,T) for any scalar - * type T to be supported. + * \note This function supports only float and double scalar types. To support other scalar types, + * the user has to provide implementations of igamma_der_a(T,T) for any scalar type T to be supported. * * \sa Eigen::igamma(), Eigen::lgamma() */ @@ -54,17 +50,14 @@ const ExponentDerived>(a.derived(), x.derived()); } -/** \cpp11 \returns an expression of the coefficient-wise gamma_sample_der_alpha(\a alpha, \a sample) to the given +/** \returns an expression of the coefficient-wise gamma_sample_der_alpha(\a alpha, \a sample) to the given * arrays. * * This function computes the coefficient-wise derivative of the sample * of a Gamma(alpha, 1) random variable with respect to the parameter alpha. * - * \note This function supports only float and double scalar types in c++11 - * mode. To support other scalar types, - * or float/double in non c++11 mode, the user has to provide implementations - * of gamma_sample_der_alpha(T,T) for any scalar - * type T to be supported. + * \note This function supports only float and double scalar types. To support other scalar types, + * the user has to provide implementations of gamma_sample_der_alpha(T,T) for any scalar type T to be supported. * * \sa Eigen::igamma(), Eigen::lgamma() */ @@ -77,13 +70,12 @@ const AlphaDerived, const SampleDerived>(alpha.derived(), sample.derived()); } -/** \cpp11 \returns an expression of the coefficient-wise igammac(\a a, \a x) to the given arrays. +/** \returns an expression of the coefficient-wise igammac(\a a, \a x) to the given arrays. * * This function computes the coefficient-wise complementary incomplete gamma function. * - * \note This function supports only float and double scalar types in c++11 mode. To support other scalar types, - * or float/double in non c++11 mode, the user has to provide implementations of igammac(T,T) for any scalar - * type T to be supported. + * \note This function supports only float and double scalar types. To support other scalar types, + * the user has to provide implementations of igammac(T,T) for any scalar type T to be supported. * * \sa Eigen::igamma(), Eigen::lgamma() */ @@ -95,13 +87,12 @@ const ExponentDerived>(a.derived(), x.derived()); } -/** \cpp11 \returns an expression of the coefficient-wise polygamma(\a n, \a x) to the given arrays. +/** \returns an expression of the coefficient-wise polygamma(\a n, \a x) to the given arrays. * * It returns the \a n -th derivative of the digamma(psi) evaluated at \c x. * - * \note This function supports only float and double scalar types in c++11 mode. To support other scalar types, - * or float/double in non c++11 mode, the user has to provide implementations of polygamma(T,T) for any scalar - * type T to be supported. + * \note This function supports only float and double scalar types. To support other scalar types, + * the user has to provide implementations of polygamma(T,T) for any scalar type T to be supported. * * \sa Eigen::digamma() */ @@ -115,13 +106,12 @@ const DerivedX>(n.derived(), x.derived()); } -/** \cpp11 \returns an expression of the coefficient-wise betainc(\a x, \a a, \a b) to the given arrays. +/** \returns an expression of the coefficient-wise betainc(\a x, \a a, \a b) to the given arrays. * * This function computes the regularized incomplete beta function (integral). * - * \note This function supports only float and double scalar types in c++11 mode. To support other scalar types, - * or float/double in non c++11 mode, the user has to provide implementations of betainc(T,T,T) for any scalar - * type T to be supported. + * \note This function supports only float and double scalar types. To support other scalar types, + * the user has to provide implementations of betainc(T,T,T) for any scalar type T to be supported. * * \sa Eigen::betainc(), Eigen::lgamma() */
diff --git a/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h b/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h index 6d65c11..c95fed5 100644 --- a/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h +++ b/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h
@@ -40,7 +40,7 @@ // Steve /**************************************************************************** - * Implementation of lgamma, requires C++11/C99 * + * Implementation of lgamma, requires C99 * ****************************************************************************/ template <typename Scalar> @@ -755,7 +755,7 @@ #endif // EIGEN_HAS_C99_MATH /************************************************************************************************************** - * Implementation of igammac (complemented incomplete gamma integral), based on Cephes but requires C++11/C99 * + * Implementation of igammac (complemented incomplete gamma integral), based on Cephes but requires C99 * **************************************************************************************************************/ template <typename Scalar> @@ -1119,7 +1119,7 @@ #endif // EIGEN_HAS_C99_MATH /************************************************************************************************ - * Implementation of igamma (incomplete gamma integral), based on Cephes but requires C++11/C99 * + * Implementation of igamma (incomplete gamma integral), based on Cephes but requires C99 * ************************************************************************************************/ #if !EIGEN_HAS_C99_MATH @@ -1525,7 +1525,7 @@ }; /**************************************************************************** - * Implementation of polygamma function, requires C++11/C99 * + * Implementation of polygamma function, requires C99 * ****************************************************************************/ template <typename Scalar> @@ -1570,7 +1570,7 @@ #endif // EIGEN_HAS_C99_MATH /************************************************************************************************ - * Implementation of betainc (incomplete beta integral), based on Cephes but requires C++11/C99 * + * Implementation of betainc (incomplete beta integral), based on Cephes but requires C99 * ************************************************************************************************/ template <typename Scalar>
diff --git a/unsupported/Eigen/src/Tensor/TensorDimensions.h b/unsupported/Eigen/src/Tensor/TensorDimensions.h index 077f35f..3dd8415 100644 --- a/unsupported/Eigen/src/Tensor/TensorDimensions.h +++ b/unsupported/Eigen/src/Tensor/TensorDimensions.h
@@ -200,7 +200,6 @@ template <typename OtherIndex> EIGEN_DEVICE_FUNC explicit DSizes( const array<OtherIndex, NumDims>& other, - // Default template parameters require c++11. std::enable_if_t< internal::is_same<DenseIndex, typename internal::promote_index_type<DenseIndex, OtherIndex>::type>::value, void*> = 0) {
diff --git a/unsupported/Eigen/src/Tensor/TensorGlobalFunctions.h b/unsupported/Eigen/src/Tensor/TensorGlobalFunctions.h index 6a1240c..7ed0cb0 100644 --- a/unsupported/Eigen/src/Tensor/TensorGlobalFunctions.h +++ b/unsupported/Eigen/src/Tensor/TensorGlobalFunctions.h
@@ -15,7 +15,7 @@ namespace Eigen { -/** \cpp11 \returns an expression of the coefficient-wise betainc(\a x, \a a, \a b) to the given tensors. +/** \returns an expression of the coefficient-wise betainc(\a x, \a a, \a b) to the given tensors. * * This function computes the regularized incomplete beta function (integral). *
diff --git a/unsupported/Eigen/src/Tensor/TensorIndexList.h b/unsupported/Eigen/src/Tensor/TensorIndexList.h index c3480cb..3fdb231 100644 --- a/unsupported/Eigen/src/Tensor/TensorIndexList.h +++ b/unsupported/Eigen/src/Tensor/TensorIndexList.h
@@ -261,10 +261,7 @@ * code will attempt to take advantage of the indices that are known at * compile time to optimize the code it generates. * - * This functionality requires a c++11 compliant compiler. If your compiler - * is older you need to use arrays of indices instead. - * - * Several examples are provided in the cxx11_tensor_index_list.cpp file. + * Several examples are provided in the tensor_index_list.cpp file. * * \sa Tensor */
diff --git a/unsupported/Eigen/src/Tensor/TensorMacros.h b/unsupported/Eigen/src/Tensor/TensorMacros.h index f8bbcfe..7ab1c4d 100644 --- a/unsupported/Eigen/src/Tensor/TensorMacros.h +++ b/unsupported/Eigen/src/Tensor/TensorMacros.h
@@ -75,8 +75,8 @@ /** \internal * \brief Macro to manually inherit assignment operators. * This is necessary, because the implicitly defined assignment operator gets deleted when a custom operator= is - * defined. This also inherits template<OtherDerived> operator=(const OtherDerived&) assignments. With C++11 or later - * this also default-implements the copy-constructor + * defined. This also inherits template<OtherDerived> operator=(const OtherDerived&) assignments, and + * default-implements the copy-constructor. */ #define EIGEN_TENSOR_INHERIT_ASSIGNMENT_OPERATORS(Derived) \ EIGEN_TENSOR_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Derived) \
diff --git a/unsupported/Eigen/src/Tensor/TensorReductionGpu.h b/unsupported/Eigen/src/Tensor/TensorReductionGpu.h index a4ec458..61910e3 100644 --- a/unsupported/Eigen/src/Tensor/TensorReductionGpu.h +++ b/unsupported/Eigen/src/Tensor/TensorReductionGpu.h
@@ -856,7 +856,7 @@ static #if !defined(EIGEN_HIPCC) // FIXME : leaving this EIGEN_DEVICE_FUNC in, results in the following runtime error - // (in the cxx11_tensor_reduction_gpu test) + // (in the tensor_reduction_gpu test) // // terminate called after throwing an instance of 'std::runtime_error' // what(): No device code available for function: _ZN5Eigen8internal20OuterReductionKernelIL...
diff --git a/unsupported/Eigen/src/TensorSymmetry/Symmetry.h b/unsupported/Eigen/src/TensorSymmetry/Symmetry.h index 2c57e36..b750217 100644 --- a/unsupported/Eigen/src/TensorSymmetry/Symmetry.h +++ b/unsupported/Eigen/src/TensorSymmetry/Symmetry.h
@@ -167,7 +167,6 @@ constexpr static std::size_t Two = static_cast<std::size_t>(Two_); constexpr static std::size_t Three = tensor_symmetry_num_indices<Sym...>::value; - // don't use std::max, since it's not constexpr until C++14... constexpr static std::size_t maxOneTwoPlusOne = ((One > Two) ? One : Two) + 1; public:
diff --git a/unsupported/test/CMakeLists.txt b/unsupported/test/CMakeLists.txt index ec61f4c..a521b85 100644 --- a/unsupported/test/CMakeLists.txt +++ b/unsupported/test/CMakeLists.txt
@@ -143,98 +143,98 @@ set(EIGEN_SYCL ON) include(SyclConfigureTesting) - ei_add_test(cxx11_tensor_sycl) - ei_add_test(cxx11_tensor_image_op_sycl) - ei_add_test(cxx11_tensor_math_sycl) - ei_add_test(cxx11_tensor_forced_eval_sycl) - ei_add_test(cxx11_tensor_broadcast_sycl) - ei_add_test(cxx11_tensor_device_sycl) - ei_add_test(cxx11_tensor_reduction_sycl) - ei_add_test(cxx11_tensor_morphing_sycl) - ei_add_test(cxx11_tensor_shuffling_sycl) - ei_add_test(cxx11_tensor_padding_sycl) - ei_add_test(cxx11_tensor_builtins_sycl) - ei_add_test(cxx11_tensor_contract_sycl) - ei_add_test(cxx11_tensor_concatenation_sycl) - ei_add_test(cxx11_tensor_reverse_sycl) - ei_add_test(cxx11_tensor_convolution_sycl) - ei_add_test(cxx11_tensor_striding_sycl) - ei_add_test(cxx11_tensor_chipping_sycl) - ei_add_test(cxx11_tensor_layout_swap_sycl) - ei_add_test(cxx11_tensor_inflation_sycl) - ei_add_test(cxx11_tensor_random_sycl) - ei_add_test(cxx11_tensor_generator_sycl) - ei_add_test(cxx11_tensor_patch_sycl) - ei_add_test(cxx11_tensor_image_patch_sycl) - ei_add_test(cxx11_tensor_volume_patch_sycl) - ei_add_test(cxx11_tensor_argmax_sycl) - ei_add_test(cxx11_tensor_custom_op_sycl) - ei_add_test(cxx11_tensor_scan_sycl) - ei_add_test(cxx11_tensor_of_float16_sycl) + ei_add_test(tensor_sycl) + ei_add_test(tensor_image_op_sycl) + ei_add_test(tensor_math_sycl) + ei_add_test(tensor_forced_eval_sycl) + ei_add_test(tensor_broadcast_sycl) + ei_add_test(tensor_device_sycl) + ei_add_test(tensor_reduction_sycl) + ei_add_test(tensor_morphing_sycl) + ei_add_test(tensor_shuffling_sycl) + ei_add_test(tensor_padding_sycl) + ei_add_test(tensor_builtins_sycl) + ei_add_test(tensor_contract_sycl) + ei_add_test(tensor_concatenation_sycl) + ei_add_test(tensor_reverse_sycl) + ei_add_test(tensor_convolution_sycl) + ei_add_test(tensor_striding_sycl) + ei_add_test(tensor_chipping_sycl) + ei_add_test(tensor_layout_swap_sycl) + ei_add_test(tensor_inflation_sycl) + ei_add_test(tensor_random_sycl) + ei_add_test(tensor_generator_sycl) + ei_add_test(tensor_patch_sycl) + ei_add_test(tensor_image_patch_sycl) + ei_add_test(tensor_volume_patch_sycl) + ei_add_test(tensor_argmax_sycl) + ei_add_test(tensor_custom_op_sycl) + ei_add_test(tensor_scan_sycl) + ei_add_test(tensor_of_float16_sycl) set(EIGEN_SYCL OFF) endif() -ei_add_test(cxx11_tensor_argmax) -ei_add_test(cxx11_tensor_assign) -ei_add_test(cxx11_tensor_block_access) -ei_add_test(cxx11_tensor_block_eval) -ei_add_test(cxx11_tensor_block_io) -ei_add_test(cxx11_tensor_broadcasting) -ei_add_test(cxx11_tensor_casts) -ei_add_test(cxx11_tensor_chipping) -ei_add_test(cxx11_tensor_comparisons) -ei_add_test(cxx11_tensor_concatenation) -ei_add_test(cxx11_tensor_const) -ei_add_test(cxx11_tensor_contraction) -ei_add_test(cxx11_tensor_convolution) -ei_add_test(cxx11_tensor_custom_index) -ei_add_test(cxx11_tensor_custom_op) -ei_add_test(cxx11_tensor_dimension) -ei_add_test(cxx11_tensor_empty) -ei_add_test(cxx11_tensor_executor "-pthread" "${CMAKE_THREAD_LIBS_INIT}") -ei_add_test(cxx11_tensor_expr) -ei_add_test(cxx11_tensor_fft) -ei_add_test(cxx11_tensor_fixed_size) -ei_add_test(cxx11_tensor_forced_eval) -ei_add_test(cxx11_tensor_generator) -ei_add_test(cxx11_tensor_ifft) -ei_add_test(cxx11_tensor_image_patch) -ei_add_test(cxx11_tensor_index_list) -ei_add_test(cxx11_tensor_inflation) -ei_add_test(cxx11_tensor_intdiv) -ei_add_test(cxx11_tensor_io) -ei_add_test(cxx11_tensor_layout_swap) -ei_add_test(cxx11_tensor_lvalue) -ei_add_test(cxx11_tensor_map) -ei_add_test(cxx11_tensor_math) -ei_add_test(cxx11_tensor_mixed_indices) -ei_add_test(cxx11_tensor_morphing) -ei_add_test(cxx11_tensor_move) -ei_add_test(cxx11_tensor_notification "-pthread" "${CMAKE_THREAD_LIBS_INIT}") -ei_add_test(cxx11_tensor_of_complex) -ei_add_test(cxx11_tensor_of_const_values) -ei_add_test(cxx11_tensor_of_strings) -ei_add_test(cxx11_tensor_padding) -ei_add_test(cxx11_tensor_patch) -ei_add_test(cxx11_tensor_random) -ei_add_test(cxx11_tensor_reverse) -ei_add_test(cxx11_tensor_reduction) -ei_add_test(cxx11_tensor_ref) -ei_add_test(cxx11_tensor_roll) -ei_add_test(cxx11_tensor_roundings) -ei_add_test(cxx11_tensor_scan) -ei_add_test(cxx11_tensor_shuffling) -ei_add_test(cxx11_tensor_simple) -ei_add_test(cxx11_tensor_striding) -ei_add_test(cxx11_tensor_sugar) -ei_add_test(cxx11_tensor_thread_local "-pthread" "${CMAKE_THREAD_LIBS_INIT}") -ei_add_test(cxx11_tensor_thread_pool "-pthread" "${CMAKE_THREAD_LIBS_INIT}") -ei_add_test(cxx11_tensor_trace) -ei_add_test(cxx11_tensor_volume_patch) -ei_add_test(cxx11_tensor_symmetry) +ei_add_test(tensor_argmax) +ei_add_test(tensor_assign) +ei_add_test(tensor_block_access) +ei_add_test(tensor_block_eval) +ei_add_test(tensor_block_io) +ei_add_test(tensor_broadcasting) +ei_add_test(tensor_casts) +ei_add_test(tensor_chipping) +ei_add_test(tensor_comparisons) +ei_add_test(tensor_concatenation) +ei_add_test(tensor_const) +ei_add_test(tensor_contraction) +ei_add_test(tensor_convolution) +ei_add_test(tensor_custom_index) +ei_add_test(tensor_custom_op) +ei_add_test(tensor_dimension) +ei_add_test(tensor_empty) +ei_add_test(tensor_executor "-pthread" "${CMAKE_THREAD_LIBS_INIT}") +ei_add_test(tensor_expr) +ei_add_test(tensor_fft) +ei_add_test(tensor_fixed_size) +ei_add_test(tensor_forced_eval) +ei_add_test(tensor_generator) +ei_add_test(tensor_ifft) +ei_add_test(tensor_image_patch) +ei_add_test(tensor_index_list) +ei_add_test(tensor_inflation) +ei_add_test(tensor_intdiv) +ei_add_test(tensor_io) +ei_add_test(tensor_layout_swap) +ei_add_test(tensor_lvalue) +ei_add_test(tensor_map) +ei_add_test(tensor_math) +ei_add_test(tensor_mixed_indices) +ei_add_test(tensor_morphing) +ei_add_test(tensor_move) +ei_add_test(tensor_notification "-pthread" "${CMAKE_THREAD_LIBS_INIT}") +ei_add_test(tensor_of_complex) +ei_add_test(tensor_of_const_values) +ei_add_test(tensor_of_strings) +ei_add_test(tensor_padding) +ei_add_test(tensor_patch) +ei_add_test(tensor_random) +ei_add_test(tensor_reverse) +ei_add_test(tensor_reduction) +ei_add_test(tensor_ref) +ei_add_test(tensor_roll) +ei_add_test(tensor_roundings) +ei_add_test(tensor_scan) +ei_add_test(tensor_shuffling) +ei_add_test(tensor_simple) +ei_add_test(tensor_striding) +ei_add_test(tensor_sugar) +ei_add_test(tensor_thread_local "-pthread" "${CMAKE_THREAD_LIBS_INIT}") +ei_add_test(tensor_thread_pool "-pthread" "${CMAKE_THREAD_LIBS_INIT}") +ei_add_test(tensor_trace) +ei_add_test(tensor_volume_patch) +ei_add_test(tensor_symmetry) if("${CMAKE_SIZEOF_VOID_P}" EQUAL "8" AND NOT CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") # This test requires __uint128_t which is only available on 64bit systems - ei_add_test(cxx11_tensor_uint128) + ei_add_test(tensor_uint128) endif() find_package(CUDA 11.4) @@ -274,17 +274,17 @@ set(EIGEN_ADD_TEST_FILENAME_EXTENSION "cu") - ei_add_test(cxx11_tensor_complex_gpu) - ei_add_test(cxx11_tensor_complex_cwise_ops_gpu) - ei_add_test(cxx11_tensor_reduction_gpu) - ei_add_test(cxx11_tensor_argmax_gpu) - ei_add_test(cxx11_tensor_cast_float16_gpu) - ei_add_test(cxx11_tensor_scan_gpu) - ei_add_test(cxx11_tensor_device) - ei_add_test(cxx11_tensor_gpu) - ei_add_test(cxx11_tensor_contract_gpu) - ei_add_test(cxx11_tensor_of_float16_gpu) - ei_add_test(cxx11_tensor_random_gpu) + ei_add_test(tensor_complex_gpu) + ei_add_test(tensor_complex_cwise_ops_gpu) + ei_add_test(tensor_reduction_gpu) + ei_add_test(tensor_argmax_gpu) + ei_add_test(tensor_cast_float16_gpu) + ei_add_test(tensor_scan_gpu) + ei_add_test(tensor_device) + ei_add_test(tensor_gpu) + ei_add_test(tensor_contract_gpu) + ei_add_test(tensor_of_float16_gpu) + ei_add_test(tensor_random_gpu) unset(EIGEN_ADD_TEST_FILENAME_EXTENSION) endif() @@ -317,19 +317,19 @@ # complex datatype is not yet supported by HIP # so leaving out those tests for now # - # ei_add_test(cxx11_tensor_complex_gpu) - # ei_add_test(cxx11_tensor_complex_cwise_ops_gpu) + # ei_add_test(tensor_complex_gpu) + # ei_add_test(tensor_complex_cwise_ops_gpu) # - ei_add_test(cxx11_tensor_reduction_gpu) - ei_add_test(cxx11_tensor_argmax_gpu) - ei_add_test(cxx11_tensor_cast_float16_gpu) - ei_add_test(cxx11_tensor_scan_gpu) - ei_add_test(cxx11_tensor_device) - ei_add_test(cxx11_tensor_gpu) - ei_add_test(cxx11_tensor_contract_gpu) - ei_add_test(cxx11_tensor_of_float16_gpu) - ei_add_test(cxx11_tensor_of_bfloat16_gpu) - ei_add_test(cxx11_tensor_random_gpu) + ei_add_test(tensor_reduction_gpu) + ei_add_test(tensor_argmax_gpu) + ei_add_test(tensor_cast_float16_gpu) + ei_add_test(tensor_scan_gpu) + ei_add_test(tensor_device) + ei_add_test(tensor_gpu) + ei_add_test(tensor_contract_gpu) + ei_add_test(tensor_of_float16_gpu) + ei_add_test(tensor_of_bfloat16_gpu) + ei_add_test(tensor_random_gpu) unset(EIGEN_ADD_TEST_FILENAME_EXTENSION)
diff --git a/unsupported/test/autodiff.cpp b/unsupported/test/autodiff.cpp index a885a1e..8a98cd1 100644 --- a/unsupported/test/autodiff.cpp +++ b/unsupported/test/autodiff.cpp
@@ -91,7 +91,6 @@ } }; -/* Test functor for the C++11 features. */ template <typename Scalar> struct integratorFunctor { typedef Matrix<Scalar, 2, 1> InputType;
diff --git a/unsupported/test/cxx11_tensor_argmax.cpp b/unsupported/test/tensor_argmax.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_argmax.cpp rename to unsupported/test/tensor_argmax.cpp index 1bf5064..5a10276 100644 --- a/unsupported/test/cxx11_tensor_argmax.cpp +++ b/unsupported/test/tensor_argmax.cpp
@@ -269,7 +269,7 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_argmax) { +EIGEN_DECLARE_TEST(tensor_argmax) { CALL_SUBTEST(test_simple_index_pairs<RowMajor>()); CALL_SUBTEST(test_simple_index_pairs<ColMajor>()); CALL_SUBTEST(test_index_pairs_dim<RowMajor>());
diff --git a/unsupported/test/cxx11_tensor_argmax_gpu.cu b/unsupported/test/tensor_argmax_gpu.cu similarity index 99% rename from unsupported/test/cxx11_tensor_argmax_gpu.cu rename to unsupported/test/tensor_argmax_gpu.cu index 3be20d4..5df52c7 100644 --- a/unsupported/test/cxx11_tensor_argmax_gpu.cu +++ b/unsupported/test/tensor_argmax_gpu.cu
@@ -260,7 +260,7 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_argmax_gpu) { +EIGEN_DECLARE_TEST(tensor_argmax_gpu) { CALL_SUBTEST_1(test_gpu_simple_argmax<RowMajor>()); CALL_SUBTEST_1(test_gpu_simple_argmax<ColMajor>()); CALL_SUBTEST_2(test_gpu_argmax_dim<RowMajor>());
diff --git a/unsupported/test/cxx11_tensor_argmax_sycl.cpp b/unsupported/test/tensor_argmax_sycl.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_argmax_sycl.cpp rename to unsupported/test/tensor_argmax_sycl.cpp index c49ceac..9ae8f15 100644 --- a/unsupported/test/cxx11_tensor_argmax_sycl.cpp +++ b/unsupported/test/tensor_argmax_sycl.cpp
@@ -250,7 +250,7 @@ test_sycl_argmin_dim<DataType, RowMajor, int64_t>(sycl_device); } -EIGEN_DECLARE_TEST(cxx11_tensor_argmax_sycl) { +EIGEN_DECLARE_TEST(tensor_argmax_sycl) { for (const auto& device : Eigen::get_sycl_supported_devices()) { CALL_SUBTEST(sycl_argmax_test_per_device<half>(device)); CALL_SUBTEST(sycl_argmax_test_per_device<float>(device));
diff --git a/unsupported/test/cxx11_tensor_assign.cpp b/unsupported/test/tensor_assign.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_assign.cpp rename to unsupported/test/tensor_assign.cpp index 29d73c4..7ea6502 100644 --- a/unsupported/test/cxx11_tensor_assign.cpp +++ b/unsupported/test/tensor_assign.cpp
@@ -353,7 +353,7 @@ VERIFY_IS_EQUAL(c(2, 1, 3), 27); } -EIGEN_DECLARE_TEST(cxx11_tensor_assign) { +EIGEN_DECLARE_TEST(tensor_assign) { CALL_SUBTEST(test_1d()); CALL_SUBTEST(test_2d()); CALL_SUBTEST(test_3d());
diff --git a/unsupported/test/cxx11_tensor_block_access.cpp b/unsupported/test/tensor_block_access.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_block_access.cpp rename to unsupported/test/tensor_block_access.cpp index 8dbe4fd..2f866b9 100644 --- a/unsupported/test/cxx11_tensor_block_access.cpp +++ b/unsupported/test/tensor_block_access.cpp
@@ -510,7 +510,7 @@ CALL_SUBTEST(NAME<ColMajor>(ARG)); \ CALL_SUBTEST(NAME<RowMajor>(ARG)) -EIGEN_DECLARE_TEST(cxx11_tensor_block_access) { +EIGEN_DECLARE_TEST(tensor_block_access) { TEST_LAYOUTS(test_block_mapper_sanity); TEST_LAYOUTS_AND_DIMS(float, test_block_mapper_maps_every_element); TEST_LAYOUTS(test_uniform_block_shape);
diff --git a/unsupported/test/cxx11_tensor_block_eval.cpp b/unsupported/test/tensor_block_eval.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_block_eval.cpp rename to unsupported/test/tensor_block_eval.cpp index 9281224..cbd72a4 100644 --- a/unsupported/test/cxx11_tensor_block_eval.cpp +++ b/unsupported/test/tensor_block_eval.cpp
@@ -773,7 +773,7 @@ CALL_SUBTEST_PART(PART)((NAME<bool, RowMajor>())); \ CALL_SUBTEST_PART(PART)((NAME<bool, ColMajor>())) -EIGEN_DECLARE_TEST(cxx11_tensor_block_eval) { +EIGEN_DECLARE_TEST(tensor_block_eval) { // clang-format off CALL_SUBTESTS_DIMS_LAYOUTS_TYPES(1, test_eval_tensor_block); CALL_SUBTESTS_DIMS_LAYOUTS_TYPES(1, test_eval_tensor_binary_expr_block);
diff --git a/unsupported/test/cxx11_tensor_block_io.cpp b/unsupported/test/tensor_block_io.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_block_io.cpp rename to unsupported/test/tensor_block_io.cpp index dbc999f..d5ebad9 100644 --- a/unsupported/test/cxx11_tensor_block_io.cpp +++ b/unsupported/test/tensor_block_io.cpp
@@ -412,7 +412,7 @@ CALL_SUBTEST((NAME<bool, 4, ColMajor>())); \ CALL_SUBTEST((NAME<bool, 5, ColMajor>())) -EIGEN_DECLARE_TEST(cxx11_tensor_block_io) { +EIGEN_DECLARE_TEST(tensor_block_io) { // clang-format off CALL_SUBTESTS(test_block_io_copy_data_from_source_to_target); CALL_SUBTESTS(test_block_io_copy_using_reordered_dimensions);
diff --git a/unsupported/test/cxx11_tensor_broadcast_sycl.cpp b/unsupported/test/tensor_broadcast_sycl.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_broadcast_sycl.cpp rename to unsupported/test/tensor_broadcast_sycl.cpp index a8c6c97..a916889 100644 --- a/unsupported/test/cxx11_tensor_broadcast_sycl.cpp +++ b/unsupported/test/tensor_broadcast_sycl.cpp
@@ -132,7 +132,7 @@ test_broadcast_sycl_fixed<DataType, ColMajor, int64_t>(sycl_device); } -EIGEN_DECLARE_TEST(cxx11_tensor_broadcast_sycl) { +EIGEN_DECLARE_TEST(tensor_broadcast_sycl) { for (const auto& device : Eigen::get_sycl_supported_devices()) { CALL_SUBTEST(sycl_broadcast_test_per_device<half>(device)); CALL_SUBTEST(sycl_broadcast_test_per_device<float>(device));
diff --git a/unsupported/test/cxx11_tensor_broadcasting.cpp b/unsupported/test/tensor_broadcasting.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_broadcasting.cpp rename to unsupported/test/tensor_broadcasting.cpp index 0fa29a7..3575ea8 100644 --- a/unsupported/test/cxx11_tensor_broadcasting.cpp +++ b/unsupported/test/tensor_broadcasting.cpp
@@ -290,7 +290,7 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_broadcasting) { +EIGEN_DECLARE_TEST(tensor_broadcasting) { CALL_SUBTEST(test_simple_broadcasting<ColMajor>()); CALL_SUBTEST(test_simple_broadcasting<RowMajor>()); CALL_SUBTEST(test_vectorized_broadcasting<ColMajor>());
diff --git a/unsupported/test/cxx11_tensor_builtins_sycl.cpp b/unsupported/test/tensor_builtins_sycl.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_builtins_sycl.cpp rename to unsupported/test/tensor_builtins_sycl.cpp index 1449bdc..aad3119 100644 --- a/unsupported/test/cxx11_tensor_builtins_sycl.cpp +++ b/unsupported/test/tensor_builtins_sycl.cpp
@@ -496,7 +496,7 @@ test_binary_builtins_fixed_arg2<DataType, ColMajor, op_modulo>(sycl_device, tensor_range); } -EIGEN_DECLARE_TEST(cxx11_tensor_builtins_sycl) { +EIGEN_DECLARE_TEST(tensor_builtins_sycl) { for (const auto& device : Eigen::get_sycl_supported_devices()) { QueueInterface queueInterface(device); Eigen::SyclDevice sycl_device(&queueInterface);
diff --git a/unsupported/test/cxx11_tensor_cast_float16_gpu.cu b/unsupported/test/tensor_cast_float16_gpu.cu similarity index 97% rename from unsupported/test/cxx11_tensor_cast_float16_gpu.cu rename to unsupported/test/tensor_cast_float16_gpu.cu index 2028751..ae230b0 100644 --- a/unsupported/test/cxx11_tensor_cast_float16_gpu.cu +++ b/unsupported/test/tensor_cast_float16_gpu.cu
@@ -67,7 +67,7 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_cast_float16_gpu) { +EIGEN_DECLARE_TEST(tensor_cast_float16_gpu) { CALL_SUBTEST(test_gpu_conversion()); CALL_SUBTEST(test_fallback_conversion()); }
diff --git a/unsupported/test/cxx11_tensor_casts.cpp b/unsupported/test/tensor_casts.cpp similarity index 98% rename from unsupported/test/cxx11_tensor_casts.cpp rename to unsupported/test/tensor_casts.cpp index 4b8e67e..b3ae58f 100644 --- a/unsupported/test/cxx11_tensor_casts.cpp +++ b/unsupported/test/tensor_casts.cpp
@@ -68,7 +68,7 @@ } }; -EIGEN_DECLARE_TEST(cxx11_tensor_casts) { +EIGEN_DECLARE_TEST(tensor_casts) { CALL_SUBTEST(test_cast_runner<bool>::run()); CALL_SUBTEST(test_cast_runner<int8_t>::run()); CALL_SUBTEST(test_cast_runner<int16_t>::run());
diff --git a/unsupported/test/cxx11_tensor_chipping.cpp b/unsupported/test/tensor_chipping.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_chipping.cpp rename to unsupported/test/tensor_chipping.cpp index b06b297..34620fa 100644 --- a/unsupported/test/cxx11_tensor_chipping.cpp +++ b/unsupported/test/tensor_chipping.cpp
@@ -405,7 +405,7 @@ VERIFY_IS_EQUAL(chip4.data(), static_cast<float*>(0)); } -EIGEN_DECLARE_TEST(cxx11_tensor_chipping) { +EIGEN_DECLARE_TEST(tensor_chipping) { CALL_SUBTEST(test_simple_chip<ColMajor>()); CALL_SUBTEST(test_simple_chip<RowMajor>()); CALL_SUBTEST(test_dynamic_chip<ColMajor>());
diff --git a/unsupported/test/cxx11_tensor_chipping_sycl.cpp b/unsupported/test/tensor_chipping_sycl.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_chipping_sycl.cpp rename to unsupported/test/tensor_chipping_sycl.cpp index eb50e15..4251a0f 100644 --- a/unsupported/test/cxx11_tensor_chipping_sycl.cpp +++ b/unsupported/test/tensor_chipping_sycl.cpp
@@ -604,7 +604,7 @@ test_chip_as_lvalue_sycl<DataType, RowMajor, int64_t>(sycl_device); // test_chip_as_lvalue_sycl<DataType, ColMajor, int64_t>(sycl_device); } -EIGEN_DECLARE_TEST(cxx11_tensor_chipping_sycl) { +EIGEN_DECLARE_TEST(tensor_chipping_sycl) { for (const auto& device : Eigen::get_sycl_supported_devices()) { CALL_SUBTEST(sycl_chipping_test_per_device<float>(device)); CALL_SUBTEST(sycl_chipping_test_per_device<half>(device));
diff --git a/unsupported/test/cxx11_tensor_comparisons.cpp b/unsupported/test/tensor_comparisons.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_comparisons.cpp rename to unsupported/test/tensor_comparisons.cpp index 1ef1179..311de9e 100644 --- a/unsupported/test/cxx11_tensor_comparisons.cpp +++ b/unsupported/test/tensor_comparisons.cpp
@@ -183,7 +183,7 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_comparisons) { +EIGEN_DECLARE_TEST(tensor_comparisons) { CALL_SUBTEST(test_orderings()); CALL_SUBTEST(test_equality()); CALL_SUBTEST(test_isnan());
diff --git a/unsupported/test/cxx11_tensor_complex_cwise_ops_gpu.cu b/unsupported/test/tensor_complex_cwise_ops_gpu.cu similarity index 97% rename from unsupported/test/cxx11_tensor_complex_cwise_ops_gpu.cu rename to unsupported/test/tensor_complex_cwise_ops_gpu.cu index 2633f8f..79759cc 100644 --- a/unsupported/test/cxx11_tensor_complex_cwise_ops_gpu.cu +++ b/unsupported/test/tensor_complex_cwise_ops_gpu.cu
@@ -84,7 +84,7 @@ cudaFree(d_out); } -EIGEN_DECLARE_TEST(test_cxx11_tensor_complex_cwise_ops) { +EIGEN_DECLARE_TEST(test_tensor_complex_cwise_ops) { CALL_SUBTEST(test_cuda_complex_cwise_ops<float>()); CALL_SUBTEST(test_cuda_complex_cwise_ops<double>()); }
diff --git a/unsupported/test/cxx11_tensor_complex_gpu.cu b/unsupported/test/tensor_complex_gpu.cu similarity index 99% rename from unsupported/test/cxx11_tensor_complex_gpu.cu rename to unsupported/test/tensor_complex_gpu.cu index 777814e..290b799 100644 --- a/unsupported/test/cxx11_tensor_complex_gpu.cu +++ b/unsupported/test/tensor_complex_gpu.cu
@@ -168,7 +168,7 @@ gpu_device.deallocate(gpu_out_ptr); } -EIGEN_DECLARE_TEST(test_cxx11_tensor_complex) { +EIGEN_DECLARE_TEST(test_tensor_complex) { CALL_SUBTEST(test_cuda_nullary()); CALL_SUBTEST(test_cuda_sum_reductions()); CALL_SUBTEST(test_cuda_mean_reductions());
diff --git a/unsupported/test/cxx11_tensor_concatenation.cpp b/unsupported/test/tensor_concatenation.cpp similarity index 98% rename from unsupported/test/cxx11_tensor_concatenation.cpp rename to unsupported/test/tensor_concatenation.cpp index cc0a160..e7f53b6 100644 --- a/unsupported/test/cxx11_tensor_concatenation.cpp +++ b/unsupported/test/tensor_concatenation.cpp
@@ -116,7 +116,7 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_concatenation) { +EIGEN_DECLARE_TEST(tensor_concatenation) { CALL_SUBTEST(test_dimension_failures<ColMajor>()); CALL_SUBTEST(test_dimension_failures<RowMajor>()); CALL_SUBTEST(test_static_dimension_failure<ColMajor>());
diff --git a/unsupported/test/cxx11_tensor_concatenation_sycl.cpp b/unsupported/test/tensor_concatenation_sycl.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_concatenation_sycl.cpp rename to unsupported/test/tensor_concatenation_sycl.cpp index 42fb4fa..28c9372 100644 --- a/unsupported/test/cxx11_tensor_concatenation_sycl.cpp +++ b/unsupported/test/tensor_concatenation_sycl.cpp
@@ -183,7 +183,7 @@ test_simple_concatenation<DataType, ColMajor, int64_t>(sycl_device); test_concatenation_as_lvalue<DataType, ColMajor, int64_t>(sycl_device); } -EIGEN_DECLARE_TEST(cxx11_tensor_concatenation_sycl) { +EIGEN_DECLARE_TEST(tensor_concatenation_sycl) { for (const auto& device : Eigen::get_sycl_supported_devices()) { CALL_SUBTEST(tensorConcat_perDevice<half>(device)); CALL_SUBTEST(tensorConcat_perDevice<float>(device));
diff --git a/unsupported/test/cxx11_tensor_const.cpp b/unsupported/test/tensor_const.cpp similarity index 97% rename from unsupported/test/cxx11_tensor_const.cpp rename to unsupported/test/tensor_const.cpp index 6606417..eea9238 100644 --- a/unsupported/test/cxx11_tensor_const.cpp +++ b/unsupported/test/tensor_const.cpp
@@ -50,7 +50,7 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_const) { +EIGEN_DECLARE_TEST(tensor_const) { CALL_SUBTEST(test_simple_assign()); CALL_SUBTEST(test_assign_of_const_tensor()); }
diff --git a/unsupported/test/cxx11_tensor_contract_gpu.cu b/unsupported/test/tensor_contract_gpu.cu similarity index 99% rename from unsupported/test/cxx11_tensor_contract_gpu.cu rename to unsupported/test/tensor_contract_gpu.cu index 25d2fb6..4023cfa 100644 --- a/unsupported/test/cxx11_tensor_contract_gpu.cu +++ b/unsupported/test/tensor_contract_gpu.cu
@@ -186,7 +186,7 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_contract_gpu) { +EIGEN_DECLARE_TEST(tensor_contract_gpu) { CALL_SUBTEST_1(test_gpu_contraction<ColMajor>(128, 128, 128)); CALL_SUBTEST_1(test_gpu_contraction<RowMajor>(128, 128, 128));
diff --git a/unsupported/test/cxx11_tensor_contract_sycl.cpp b/unsupported/test/tensor_contract_sycl.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_contract_sycl.cpp rename to unsupported/test/tensor_contract_sycl.cpp index c8194e1..02eba8e 100644 --- a/unsupported/test/cxx11_tensor_contract_sycl.cpp +++ b/unsupported/test/tensor_contract_sycl.cpp
@@ -821,7 +821,7 @@ << "s\n"; } -EIGEN_DECLARE_TEST(cxx11_tensor_contract_sycl) { +EIGEN_DECLARE_TEST(tensor_contract_sycl) { for (const auto &device : Eigen::get_sycl_supported_devices()) { std::cout << "Running on " << device.template get_info<cl::sycl::info::device::name>() << std::endl; QueueInterface queueInterface(device);
diff --git a/unsupported/test/cxx11_tensor_contraction.cpp b/unsupported/test/tensor_contraction.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_contraction.cpp rename to unsupported/test/tensor_contraction.cpp index 9bf7ec6..4a5e6e7 100644 --- a/unsupported/test/cxx11_tensor_contraction.cpp +++ b/unsupported/test/tensor_contraction.cpp
@@ -528,7 +528,7 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_contraction) { +EIGEN_DECLARE_TEST(tensor_contraction) { CALL_SUBTEST_1(test_evals<ColMajor>()); CALL_SUBTEST_1(test_evals<RowMajor>()); CALL_SUBTEST_1(test_scalar<ColMajor>());
diff --git a/unsupported/test/cxx11_tensor_convolution.cpp b/unsupported/test/tensor_convolution.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_convolution.cpp rename to unsupported/test/tensor_convolution.cpp index c7952c2..3b91cde 100644 --- a/unsupported/test/cxx11_tensor_convolution.cpp +++ b/unsupported/test/tensor_convolution.cpp
@@ -133,7 +133,7 @@ VERIFY_IS_APPROX(result(1), (input(6) * kernel(0) + input(9) * kernel(1) + input(12) * kernel(2))); } -EIGEN_DECLARE_TEST(cxx11_tensor_convolution) { +EIGEN_DECLARE_TEST(tensor_convolution) { CALL_SUBTEST(test_evals<ColMajor>()); CALL_SUBTEST(test_evals<RowMajor>()); CALL_SUBTEST(test_expr<ColMajor>());
diff --git a/unsupported/test/cxx11_tensor_convolution_sycl.cpp b/unsupported/test/tensor_convolution_sycl.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_convolution_sycl.cpp rename to unsupported/test/tensor_convolution_sycl.cpp index 0d6358c..c27a330 100644 --- a/unsupported/test/cxx11_tensor_convolution_sycl.cpp +++ b/unsupported/test/tensor_convolution_sycl.cpp
@@ -451,7 +451,7 @@ test_strides<float, RowMajor, int64_t>(sycl_device); } -EIGEN_DECLARE_TEST(cxx11_tensor_convolution_sycl) { +EIGEN_DECLARE_TEST(tensor_convolution_sycl) { for (const auto& device : Eigen::get_sycl_supported_devices()) { CALL_SUBTEST(tensorConvolutionPerDevice(device)); }
diff --git a/unsupported/test/cxx11_tensor_custom_index.cpp b/unsupported/test/tensor_custom_index.cpp similarity index 97% rename from unsupported/test/cxx11_tensor_custom_index.cpp rename to unsupported/test/tensor_custom_index.cpp index 0c446df..8a790f9 100644 --- a/unsupported/test/cxx11_tensor_custom_index.cpp +++ b/unsupported/test/tensor_custom_index.cpp
@@ -71,7 +71,7 @@ VERIFY_IS_EQUAL(tensor.coeffRef(coeffC), tensor.coeffRef(coeff)); } -EIGEN_DECLARE_TEST(cxx11_tensor_custom_index) { +EIGEN_DECLARE_TEST(tensor_custom_index) { test_map_as_index<ColMajor>(); test_map_as_index<RowMajor>(); test_matrix_as_index<ColMajor>();
diff --git a/unsupported/test/cxx11_tensor_custom_op.cpp b/unsupported/test/tensor_custom_op.cpp similarity index 98% rename from unsupported/test/cxx11_tensor_custom_op.cpp rename to unsupported/test/tensor_custom_op.cpp index becdc21..65ba001 100644 --- a/unsupported/test/cxx11_tensor_custom_op.cpp +++ b/unsupported/test/tensor_custom_op.cpp
@@ -96,7 +96,7 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_custom_op) { +EIGEN_DECLARE_TEST(tensor_custom_op) { CALL_SUBTEST(test_custom_unary_op()); CALL_SUBTEST(test_custom_binary_op()); }
diff --git a/unsupported/test/cxx11_tensor_custom_op_sycl.cpp b/unsupported/test/tensor_custom_op_sycl.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_custom_op_sycl.cpp rename to unsupported/test/tensor_custom_op_sycl.cpp index a29b54a..54d2ca7 100644 --- a/unsupported/test/cxx11_tensor_custom_op_sycl.cpp +++ b/unsupported/test/tensor_custom_op_sycl.cpp
@@ -163,7 +163,7 @@ test_custom_binary_op_sycl<DataType, ColMajor, int64_t>(sycl_device); test_custom_binary_op_sycl<DataType, RowMajor, int64_t>(sycl_device); } -EIGEN_DECLARE_TEST(cxx11_tensor_custom_op_sycl) { +EIGEN_DECLARE_TEST(tensor_custom_op_sycl) { for (const auto& device : Eigen::get_sycl_supported_devices()) { CALL_SUBTEST(custom_op_perDevice<float>(device)); }
diff --git a/unsupported/test/cxx11_tensor_device.cu b/unsupported/test/tensor_device.cu similarity index 99% rename from unsupported/test/cxx11_tensor_device.cu rename to unsupported/test/tensor_device.cu index 7ba7288..e7e6a05 100644 --- a/unsupported/test/cxx11_tensor_device.cu +++ b/unsupported/test/tensor_device.cu
@@ -430,7 +430,7 @@ test_device_memory<OffByOneScalar<int>>(context.device()); } -EIGEN_DECLARE_TEST(cxx11_tensor_device) { +EIGEN_DECLARE_TEST(tensor_device) { CALL_SUBTEST_1(test_cpu()); CALL_SUBTEST_2(test_gpu()); }
diff --git a/unsupported/test/cxx11_tensor_device_sycl.cpp b/unsupported/test/tensor_device_sycl.cpp similarity index 98% rename from unsupported/test/cxx11_tensor_device_sycl.cpp rename to unsupported/test/tensor_device_sycl.cpp index 9640ed4..db1ebd2 100644 --- a/unsupported/test/cxx11_tensor_device_sycl.cpp +++ b/unsupported/test/tensor_device_sycl.cpp
@@ -81,7 +81,7 @@ // test_device_exceptions<DataType, ColMajor>(sycl_device); } -EIGEN_DECLARE_TEST(cxx11_tensor_device_sycl) { +EIGEN_DECLARE_TEST(tensor_device_sycl) { for (const auto& device : Eigen::get_sycl_supported_devices()) { CALL_SUBTEST(sycl_device_test_per_device<half>(device)); CALL_SUBTEST(sycl_device_test_per_device<float>(device));
diff --git a/unsupported/test/cxx11_tensor_dimension.cpp b/unsupported/test/tensor_dimension.cpp similarity index 98% rename from unsupported/test/cxx11_tensor_dimension.cpp rename to unsupported/test/tensor_dimension.cpp index 0458373..2517e3d 100644 --- a/unsupported/test/cxx11_tensor_dimension.cpp +++ b/unsupported/test/tensor_dimension.cpp
@@ -73,7 +73,7 @@ VERIFY_IS_EQUAL(dst1[2], 6L); } -EIGEN_DECLARE_TEST(cxx11_tensor_dimension) { +EIGEN_DECLARE_TEST(tensor_dimension) { CALL_SUBTEST(test_dynamic_size()); CALL_SUBTEST(test_fixed_size()); CALL_SUBTEST(test_match());
diff --git a/unsupported/test/cxx11_tensor_empty.cpp b/unsupported/test/tensor_empty.cpp similarity index 95% rename from unsupported/test/cxx11_tensor_empty.cpp rename to unsupported/test/tensor_empty.cpp index a688b4d..a4ccd27 100644 --- a/unsupported/test/cxx11_tensor_empty.cpp +++ b/unsupported/test/tensor_empty.cpp
@@ -29,7 +29,7 @@ tgt3 = tgt2; } -EIGEN_DECLARE_TEST(cxx11_tensor_empty) { +EIGEN_DECLARE_TEST(tensor_empty) { CALL_SUBTEST(test_empty_tensor()); CALL_SUBTEST(test_empty_fixed_size_tensor()); }
diff --git a/unsupported/test/cxx11_tensor_executor.cpp b/unsupported/test/tensor_executor.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_executor.cpp rename to unsupported/test/tensor_executor.cpp index 33748c6..5a74a04 100644 --- a/unsupported/test/cxx11_tensor_executor.cpp +++ b/unsupported/test/tensor_executor.cpp
@@ -623,7 +623,7 @@ CALL_SUBTEST_PART(PART) \ ((NAME<T, NUM_DIMS, ThreadPoolDevice, VECTORIZABLE(T, true), TiledEvaluation::On, RowMajor>(tp_device))) -EIGEN_DECLARE_TEST(cxx11_tensor_executor) { +EIGEN_DECLARE_TEST(tensor_executor) { Eigen::DefaultDevice default_device; // Default device is unused in ASYNC tests. EIGEN_UNUSED_VARIABLE(default_device);
diff --git a/unsupported/test/cxx11_tensor_expr.cpp b/unsupported/test/tensor_expr.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_expr.cpp rename to unsupported/test/tensor_expr.cpp index d29b1db..6fb58e1 100644 --- a/unsupported/test/cxx11_tensor_expr.cpp +++ b/unsupported/test/tensor_expr.cpp
@@ -462,7 +462,7 @@ test_minmax_nan_propagation_templ<double>(); } -EIGEN_DECLARE_TEST(cxx11_tensor_expr) { +EIGEN_DECLARE_TEST(tensor_expr) { CALL_SUBTEST(test_1d()); CALL_SUBTEST(test_2d()); CALL_SUBTEST(test_3d());
diff --git a/unsupported/test/cxx11_tensor_fft.cpp b/unsupported/test/tensor_fft.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_fft.cpp rename to unsupported/test/tensor_fft.cpp index 8db1a24..f88cf72 100644 --- a/unsupported/test/cxx11_tensor_fft.cpp +++ b/unsupported/test/tensor_fft.cpp
@@ -244,7 +244,7 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_fft) { +EIGEN_DECLARE_TEST(tensor_fft) { test_fft_complex_input_golden(); test_fft_real_input_golden();
diff --git a/unsupported/test/cxx11_tensor_fixed_size.cpp b/unsupported/test/tensor_fixed_size.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_fixed_size.cpp rename to unsupported/test/tensor_fixed_size.cpp index fb22859..20370f4 100644 --- a/unsupported/test/cxx11_tensor_fixed_size.cpp +++ b/unsupported/test/tensor_fixed_size.cpp
@@ -253,7 +253,7 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_fixed_size) { +EIGEN_DECLARE_TEST(tensor_fixed_size) { CALL_SUBTEST(test_0d()); CALL_SUBTEST(test_1d()); CALL_SUBTEST(test_tensor_map());
diff --git a/unsupported/test/cxx11_tensor_forced_eval.cpp b/unsupported/test/tensor_forced_eval.cpp similarity index 97% rename from unsupported/test/cxx11_tensor_forced_eval.cpp rename to unsupported/test/tensor_forced_eval.cpp index 5ceac39..9e21c25 100644 --- a/unsupported/test/cxx11_tensor_forced_eval.cpp +++ b/unsupported/test/tensor_forced_eval.cpp
@@ -69,7 +69,7 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_forced_eval) { +EIGEN_DECLARE_TEST(tensor_forced_eval) { CALL_SUBTEST(test_simple()); CALL_SUBTEST(test_const()); }
diff --git a/unsupported/test/cxx11_tensor_forced_eval_sycl.cpp b/unsupported/test/tensor_forced_eval_sycl.cpp similarity index 98% rename from unsupported/test/cxx11_tensor_forced_eval_sycl.cpp rename to unsupported/test/tensor_forced_eval_sycl.cpp index 7c727d4..0d43737 100644 --- a/unsupported/test/cxx11_tensor_forced_eval_sycl.cpp +++ b/unsupported/test/tensor_forced_eval_sycl.cpp
@@ -70,7 +70,7 @@ test_forced_eval_sycl<DataType, RowMajor, int64_t>(sycl_device); test_forced_eval_sycl<DataType, ColMajor, int64_t>(sycl_device); } -EIGEN_DECLARE_TEST(cxx11_tensor_forced_eval_sycl) { +EIGEN_DECLARE_TEST(tensor_forced_eval_sycl) { for (const auto& device : Eigen::get_sycl_supported_devices()) { CALL_SUBTEST(tensorForced_evalperDevice<float>(device)); CALL_SUBTEST(tensorForced_evalperDevice<half>(device));
diff --git a/unsupported/test/cxx11_tensor_generator.cpp b/unsupported/test/tensor_generator.cpp similarity index 97% rename from unsupported/test/cxx11_tensor_generator.cpp rename to unsupported/test/tensor_generator.cpp index d380985..a100f38 100644 --- a/unsupported/test/cxx11_tensor_generator.cpp +++ b/unsupported/test/tensor_generator.cpp
@@ -72,7 +72,7 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_generator) { +EIGEN_DECLARE_TEST(tensor_generator) { CALL_SUBTEST(test_1D<ColMajor>()); CALL_SUBTEST(test_1D<RowMajor>()); CALL_SUBTEST(test_2D<ColMajor>());
diff --git a/unsupported/test/cxx11_tensor_generator_sycl.cpp b/unsupported/test/tensor_generator_sycl.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_generator_sycl.cpp rename to unsupported/test/tensor_generator_sycl.cpp index 8879b58..8002119 100644 --- a/unsupported/test/cxx11_tensor_generator_sycl.cpp +++ b/unsupported/test/tensor_generator_sycl.cpp
@@ -133,7 +133,7 @@ test_gaussian_sycl<DataType, RowMajor, int64_t>(sycl_device); test_gaussian_sycl<DataType, ColMajor, int64_t>(sycl_device); } -EIGEN_DECLARE_TEST(cxx11_tensor_generator_sycl) { +EIGEN_DECLARE_TEST(tensor_generator_sycl) { for (const auto& device : Eigen::get_sycl_supported_devices()) { CALL_SUBTEST(sycl_generator_test_per_device<float>(device)); }
diff --git a/unsupported/test/cxx11_tensor_gpu.cu b/unsupported/test/tensor_gpu.cu similarity index 99% rename from unsupported/test/cxx11_tensor_gpu.cu rename to unsupported/test/tensor_gpu.cu index 28d27ab..3656a5c 100644 --- a/unsupported/test/cxx11_tensor_gpu.cu +++ b/unsupported/test/tensor_gpu.cu
@@ -1430,7 +1430,7 @@ gpuFree(d_out); } -EIGEN_DECLARE_TEST(cxx11_tensor_gpu) { +EIGEN_DECLARE_TEST(tensor_gpu) { CALL_SUBTEST_1(test_gpu_nullary()); CALL_SUBTEST_1(test_gpu_nullary_max_size<int16_t>()); CALL_SUBTEST_1(test_gpu_nullary_max_size<int32_t>()); @@ -1454,9 +1454,6 @@ CALL_SUBTEST_7(test_gpu_convolution_3d<RowMajor>()); #endif - // std::erf, std::erfc, and so on where only added in c++11. We use them - // as a golden reference to validate the results produced by Eigen. Therefore - // we can only run these tests if we use a c++11 compiler. CALL_SUBTEST_8(test_gpu_lgamma<float>(1.0f)); CALL_SUBTEST_8(test_gpu_lgamma<float>(100.0f)); CALL_SUBTEST_8(test_gpu_lgamma<float>(0.01f));
diff --git a/unsupported/test/cxx11_tensor_ifft.cpp b/unsupported/test/tensor_ifft.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_ifft.cpp rename to unsupported/test/tensor_ifft.cpp index 04f46eb..a325251 100644 --- a/unsupported/test/cxx11_tensor_ifft.cpp +++ b/unsupported/test/tensor_ifft.cpp
@@ -134,7 +134,7 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_ifft) { +EIGEN_DECLARE_TEST(tensor_ifft) { CALL_SUBTEST(test_1D_fft_ifft_invariant<ColMajor>(4)); CALL_SUBTEST(test_1D_fft_ifft_invariant<ColMajor>(16)); CALL_SUBTEST(test_1D_fft_ifft_invariant<ColMajor>(32));
diff --git a/unsupported/test/cxx11_tensor_image_op_sycl.cpp b/unsupported/test/tensor_image_op_sycl.cpp similarity index 98% rename from unsupported/test/cxx11_tensor_image_op_sycl.cpp rename to unsupported/test/tensor_image_op_sycl.cpp index 4c901a4..df3e8d2 100644 --- a/unsupported/test/cxx11_tensor_image_op_sycl.cpp +++ b/unsupported/test/tensor_image_op_sycl.cpp
@@ -89,7 +89,7 @@ test_image_op_sycl<DataType, RowMajor, int64_t>(sycl_device); } -EIGEN_DECLARE_TEST(cxx11_tensor_image_op_sycl) { +EIGEN_DECLARE_TEST(tensor_image_op_sycl) { for (const auto& device : Eigen::get_sycl_supported_devices()) { CALL_SUBTEST(sycl_computing_test_per_device<half>(device)); CALL_SUBTEST(sycl_computing_test_per_device<float>(device));
diff --git a/unsupported/test/cxx11_tensor_image_patch.cpp b/unsupported/test/tensor_image_patch.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_image_patch.cpp rename to unsupported/test/tensor_image_patch.cpp index 76bf539..d78c3da 100644 --- a/unsupported/test/cxx11_tensor_image_patch.cpp +++ b/unsupported/test/tensor_image_patch.cpp
@@ -1201,7 +1201,7 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_image_patch) { +EIGEN_DECLARE_TEST(tensor_image_patch) { CALL_SUBTEST_1(test_simple_patch()); CALL_SUBTEST_2(test_patch_no_extra_dim()); CALL_SUBTEST_3(test_patch_padding_valid());
diff --git a/unsupported/test/cxx11_tensor_image_patch_sycl.cpp b/unsupported/test/tensor_image_patch_sycl.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_image_patch_sycl.cpp rename to unsupported/test/tensor_image_patch_sycl.cpp index a6d3b7a..b241d94 100644 --- a/unsupported/test/cxx11_tensor_image_patch_sycl.cpp +++ b/unsupported/test/tensor_image_patch_sycl.cpp
@@ -1148,7 +1148,7 @@ test_patch_no_extra_dim_sycl<DataType, int64_t>(sycl_device); test_imagenet_patches_sycl<DataType, int64_t>(sycl_device); } -EIGEN_DECLARE_TEST(cxx11_tensor_image_patch_sycl) { +EIGEN_DECLARE_TEST(tensor_image_patch_sycl) { for (const auto& device : Eigen::get_sycl_supported_devices()) { CALL_SUBTEST(sycl_tensor_image_patch_test_per_device<float>(device)); }
diff --git a/unsupported/test/cxx11_tensor_index_list.cpp b/unsupported/test/tensor_index_list.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_index_list.cpp rename to unsupported/test/tensor_index_list.cpp index ef71474..ee9c0db 100644 --- a/unsupported/test/cxx11_tensor_index_list.cpp +++ b/unsupported/test/tensor_index_list.cpp
@@ -414,7 +414,7 @@ VERIFY(dimensions_match(dim1, dim2)); } -EIGEN_DECLARE_TEST(cxx11_tensor_index_list) { +EIGEN_DECLARE_TEST(tensor_index_list) { CALL_SUBTEST(test_static_index_list()); CALL_SUBTEST(test_type2index_list()); CALL_SUBTEST(test_type2indexpair_list());
diff --git a/unsupported/test/cxx11_tensor_inflation.cpp b/unsupported/test/tensor_inflation.cpp similarity index 97% rename from unsupported/test/cxx11_tensor_inflation.cpp rename to unsupported/test/tensor_inflation.cpp index 1c8edea..0339b8a 100644 --- a/unsupported/test/cxx11_tensor_inflation.cpp +++ b/unsupported/test/tensor_inflation.cpp
@@ -69,7 +69,7 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_inflation) { +EIGEN_DECLARE_TEST(tensor_inflation) { CALL_SUBTEST(test_simple_inflation<ColMajor>()); CALL_SUBTEST(test_simple_inflation<RowMajor>()); }
diff --git a/unsupported/test/cxx11_tensor_inflation_sycl.cpp b/unsupported/test/tensor_inflation_sycl.cpp similarity index 98% rename from unsupported/test/cxx11_tensor_inflation_sycl.cpp rename to unsupported/test/tensor_inflation_sycl.cpp index 5001100..d24585a 100644 --- a/unsupported/test/cxx11_tensor_inflation_sycl.cpp +++ b/unsupported/test/tensor_inflation_sycl.cpp
@@ -122,7 +122,7 @@ test_simple_inflation_sycl<DataType, RowMajor, int64_t>(sycl_device); test_simple_inflation_sycl<DataType, ColMajor, int64_t>(sycl_device); } -EIGEN_DECLARE_TEST(cxx11_tensor_inflation_sycl) { +EIGEN_DECLARE_TEST(tensor_inflation_sycl) { for (const auto& device : Eigen::get_sycl_supported_devices()) { CALL_SUBTEST(sycl_inflation_test_per_device<half>(device)); CALL_SUBTEST(sycl_inflation_test_per_device<float>(device));
diff --git a/unsupported/test/cxx11_tensor_intdiv.cpp b/unsupported/test/tensor_intdiv.cpp similarity index 98% rename from unsupported/test/cxx11_tensor_intdiv.cpp rename to unsupported/test/tensor_intdiv.cpp index 358f984..ccddf97 100644 --- a/unsupported/test/cxx11_tensor_intdiv.cpp +++ b/unsupported/test/tensor_intdiv.cpp
@@ -128,7 +128,7 @@ VERIFY_IS_EQUAL(result, result_op); } -EIGEN_DECLARE_TEST(cxx11_tensor_intdiv) { +EIGEN_DECLARE_TEST(tensor_intdiv) { CALL_SUBTEST_1(test_signed_32bit()); CALL_SUBTEST_2(test_unsigned_32bit()); CALL_SUBTEST_3(test_signed_64bit());
diff --git a/unsupported/test/cxx11_tensor_io.cpp b/unsupported/test/tensor_io.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_io.cpp rename to unsupported/test/tensor_io.cpp index ace3e7c..5804fe2 100644 --- a/unsupported/test/cxx11_tensor_io.cpp +++ b/unsupported/test/tensor_io.cpp
@@ -110,7 +110,7 @@ VERIFY(os.str() == "1"); } -EIGEN_DECLARE_TEST(cxx11_tensor_io) { +EIGEN_DECLARE_TEST(tensor_io) { CALL_SUBTEST((test_tensor_ostream<float, 0, Eigen::ColMajor>())); CALL_SUBTEST((test_tensor_ostream<float, 1, Eigen::ColMajor>())); CALL_SUBTEST((test_tensor_ostream<float, 2, Eigen::ColMajor>()));
diff --git a/unsupported/test/cxx11_tensor_layout_swap.cpp b/unsupported/test/tensor_layout_swap.cpp similarity index 97% rename from unsupported/test/cxx11_tensor_layout_swap.cpp rename to unsupported/test/tensor_layout_swap.cpp index 46a0bb2..26478d3 100644 --- a/unsupported/test/cxx11_tensor_layout_swap.cpp +++ b/unsupported/test/tensor_layout_swap.cpp
@@ -50,7 +50,7 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_layout_swap) { +EIGEN_DECLARE_TEST(tensor_layout_swap) { CALL_SUBTEST(test_simple_swap()); CALL_SUBTEST(test_swap_as_lvalue()); }
diff --git a/unsupported/test/cxx11_tensor_layout_swap_sycl.cpp b/unsupported/test/tensor_layout_swap_sycl.cpp similarity index 98% rename from unsupported/test/cxx11_tensor_layout_swap_sycl.cpp rename to unsupported/test/tensor_layout_swap_sycl.cpp index 7d1cbdc..7889a5c 100644 --- a/unsupported/test/cxx11_tensor_layout_swap_sycl.cpp +++ b/unsupported/test/tensor_layout_swap_sycl.cpp
@@ -112,7 +112,7 @@ test_simple_swap_sycl<DataType, int64_t>(sycl_device); test_swap_as_lvalue_sycl<DataType, int64_t>(sycl_device); } -EIGEN_DECLARE_TEST(cxx11_tensor_layout_swap_sycl) { +EIGEN_DECLARE_TEST(tensor_layout_swap_sycl) { for (const auto& device : Eigen::get_sycl_supported_devices()) { CALL_SUBTEST(sycl_tensor_layout_swap_test_per_device<half>(device)); CALL_SUBTEST(sycl_tensor_layout_swap_test_per_device<float>(device));
diff --git a/unsupported/test/cxx11_tensor_lvalue.cpp b/unsupported/test/tensor_lvalue.cpp similarity index 90% rename from unsupported/test/cxx11_tensor_lvalue.cpp rename to unsupported/test/tensor_lvalue.cpp index 8873dc6..d283f5c 100644 --- a/unsupported/test/cxx11_tensor_lvalue.cpp +++ b/unsupported/test/tensor_lvalue.cpp
@@ -33,4 +33,4 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_lvalue) { CALL_SUBTEST(test_compound_assignment()); } +EIGEN_DECLARE_TEST(tensor_lvalue) { CALL_SUBTEST(test_compound_assignment()); }
diff --git a/unsupported/test/cxx11_tensor_map.cpp b/unsupported/test/tensor_map.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_map.cpp rename to unsupported/test/tensor_map.cpp index 3c896a6..c5706c1 100644 --- a/unsupported/test/cxx11_tensor_map.cpp +++ b/unsupported/test/tensor_map.cpp
@@ -308,7 +308,7 @@ VERIFY_IS_EQUAL(scalar2(), 14); } -EIGEN_DECLARE_TEST(cxx11_tensor_map) { +EIGEN_DECLARE_TEST(tensor_map) { CALL_SUBTEST(test_0d()); CALL_SUBTEST(test_1d()); CALL_SUBTEST(test_2d());
diff --git a/unsupported/test/cxx11_tensor_math.cpp b/unsupported/test/tensor_math.cpp similarity index 95% rename from unsupported/test/cxx11_tensor_math.cpp rename to unsupported/test/tensor_math.cpp index 0bcbbb7..247a379 100644 --- a/unsupported/test/cxx11_tensor_math.cpp +++ b/unsupported/test/tensor_math.cpp
@@ -36,7 +36,7 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_math) { +EIGEN_DECLARE_TEST(tensor_math) { CALL_SUBTEST(test_tanh()); CALL_SUBTEST(test_sigmoid()); }
diff --git a/unsupported/test/cxx11_tensor_math_sycl.cpp b/unsupported/test/tensor_math_sycl.cpp similarity index 98% rename from unsupported/test/cxx11_tensor_math_sycl.cpp rename to unsupported/test/tensor_math_sycl.cpp index 6987710..6d3cf60 100644 --- a/unsupported/test/cxx11_tensor_math_sycl.cpp +++ b/unsupported/test/tensor_math_sycl.cpp
@@ -94,7 +94,7 @@ test_sigmoid_sycl<DataType, ColMajor, int64_t>(sycl_device); } -EIGEN_DECLARE_TEST(cxx11_tensor_math_sycl) { +EIGEN_DECLARE_TEST(tensor_math_sycl) { for (const auto& device : Eigen::get_sycl_supported_devices()) { CALL_SUBTEST(sycl_computing_test_per_device<half>(device)); CALL_SUBTEST(sycl_computing_test_per_device<float>(device));
diff --git a/unsupported/test/cxx11_tensor_mixed_indices.cpp b/unsupported/test/tensor_mixed_indices.cpp similarity index 94% rename from unsupported/test/cxx11_tensor_mixed_indices.cpp rename to unsupported/test/tensor_mixed_indices.cpp index 2530fca..bb3be1c 100644 --- a/unsupported/test/cxx11_tensor_mixed_indices.cpp +++ b/unsupported/test/tensor_mixed_indices.cpp
@@ -50,4 +50,4 @@ VERIFY_IS_APPROX(vec4(5), 5.0f * 5.0f); } -EIGEN_DECLARE_TEST(cxx11_tensor_mixed_indices) { CALL_SUBTEST(test_simple()); } +EIGEN_DECLARE_TEST(tensor_mixed_indices) { CALL_SUBTEST(test_simple()); }
diff --git a/unsupported/test/cxx11_tensor_morphing.cpp b/unsupported/test/tensor_morphing.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_morphing.cpp rename to unsupported/test/tensor_morphing.cpp index bbc0de5..9c91087 100644 --- a/unsupported/test/cxx11_tensor_morphing.cpp +++ b/unsupported/test/tensor_morphing.cpp
@@ -535,7 +535,7 @@ CALL_SUBTEST_PART(PART)((NAME<bool, ColMajor>())); \ CALL_SUBTEST_PART(PART)((NAME<bool, RowMajor>())) -EIGEN_DECLARE_TEST(cxx11_tensor_morphing) { +EIGEN_DECLARE_TEST(tensor_morphing) { CALL_SUBTEST_1(test_simple_reshape<void>()); CALL_SUBTEST_1(test_static_reshape<void>()); CALL_SUBTEST_1(test_reshape_as_lvalue<void>());
diff --git a/unsupported/test/cxx11_tensor_morphing_sycl.cpp b/unsupported/test/tensor_morphing_sycl.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_morphing_sycl.cpp rename to unsupported/test/tensor_morphing_sycl.cpp index f96ffb3..49d738c 100644 --- a/unsupported/test/cxx11_tensor_morphing_sycl.cpp +++ b/unsupported/test/tensor_morphing_sycl.cpp
@@ -363,7 +363,7 @@ test_strided_slice_as_rhs_sycl<DataType, RowMajor, int64_t>(sycl_device); run_eigen<float, RowMajor, long, int>(sycl_device); } -EIGEN_DECLARE_TEST(cxx11_tensor_morphing_sycl) { +EIGEN_DECLARE_TEST(tensor_morphing_sycl) { for (const auto& device : Eigen::get_sycl_supported_devices()) { CALL_SUBTEST(sycl_morphing_test_per_device<half>(device)); CALL_SUBTEST(sycl_morphing_test_per_device<float>(device));
diff --git a/unsupported/test/cxx11_tensor_move.cpp b/unsupported/test/tensor_move.cpp similarity index 95% rename from unsupported/test/cxx11_tensor_move.cpp rename to unsupported/test/tensor_move.cpp index 5b24509..ce71f13 100644 --- a/unsupported/test/cxx11_tensor_move.cpp +++ b/unsupported/test/tensor_move.cpp
@@ -65,4 +65,4 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_move) { CALL_SUBTEST(test_move()); } +EIGEN_DECLARE_TEST(tensor_move) { CALL_SUBTEST(test_move()); }
diff --git a/unsupported/test/cxx11_tensor_notification.cpp b/unsupported/test/tensor_notification.cpp similarity index 97% rename from unsupported/test/cxx11_tensor_notification.cpp rename to unsupported/test/tensor_notification.cpp index 71c4d05..014afa5 100644 --- a/unsupported/test/cxx11_tensor_notification.cpp +++ b/unsupported/test/tensor_notification.cpp
@@ -61,7 +61,7 @@ VERIFY_IS_EQUAL(counter, 4); } -EIGEN_DECLARE_TEST(cxx11_tensor_notification) { +EIGEN_DECLARE_TEST(tensor_notification) { CALL_SUBTEST(test_notification_single()); CALL_SUBTEST(test_notification_multiple()); }
diff --git a/unsupported/test/cxx11_tensor_of_bfloat16_gpu.cu b/unsupported/test/tensor_of_bfloat16_gpu.cu similarity index 99% rename from unsupported/test/cxx11_tensor_of_bfloat16_gpu.cu rename to unsupported/test/tensor_of_bfloat16_gpu.cu index 599a130..ea3d450 100644 --- a/unsupported/test/cxx11_tensor_of_bfloat16_gpu.cu +++ b/unsupported/test/tensor_of_bfloat16_gpu.cu
@@ -439,7 +439,7 @@ #endif -EIGEN_DECLARE_TEST(cxx11_tensor_of_bfloat16_gpu) { +EIGEN_DECLARE_TEST(tensor_of_bfloat16_gpu) { CALL_SUBTEST_1(test_gpu_numext<void>()); // The reduction unit tests have been excluded until a working
diff --git a/unsupported/test/cxx11_tensor_of_complex.cpp b/unsupported/test/tensor_of_complex.cpp similarity index 98% rename from unsupported/test/cxx11_tensor_of_complex.cpp rename to unsupported/test/tensor_of_complex.cpp index d02ae27..4c855a4 100644 --- a/unsupported/test/cxx11_tensor_of_complex.cpp +++ b/unsupported/test/tensor_of_complex.cpp
@@ -99,7 +99,7 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_of_complex) { +EIGEN_DECLARE_TEST(tensor_of_complex) { CALL_SUBTEST(test_additions()); CALL_SUBTEST(test_abs()); CALL_SUBTEST(test_arg());
diff --git a/unsupported/test/cxx11_tensor_of_const_values.cpp b/unsupported/test/tensor_of_const_values.cpp similarity index 97% rename from unsupported/test/cxx11_tensor_of_const_values.cpp rename to unsupported/test/tensor_of_const_values.cpp index 7a6f0dc..7d4754c 100644 --- a/unsupported/test/cxx11_tensor_of_const_values.cpp +++ b/unsupported/test/tensor_of_const_values.cpp
@@ -91,7 +91,7 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_of_const_values) { +EIGEN_DECLARE_TEST(tensor_of_const_values) { CALL_SUBTEST(test_assign()); CALL_SUBTEST(test_plus()); CALL_SUBTEST(test_plus_equal());
diff --git a/unsupported/test/cxx11_tensor_of_float16_gpu.cu b/unsupported/test/tensor_of_float16_gpu.cu similarity index 99% rename from unsupported/test/cxx11_tensor_of_float16_gpu.cu rename to unsupported/test/tensor_of_float16_gpu.cu index 3d39c5a..eba57db 100644 --- a/unsupported/test/cxx11_tensor_of_float16_gpu.cu +++ b/unsupported/test/tensor_of_float16_gpu.cu
@@ -444,7 +444,7 @@ gpu_device.deallocate(d_res_float); } -EIGEN_DECLARE_TEST(cxx11_tensor_of_float16_gpu) { +EIGEN_DECLARE_TEST(tensor_of_float16_gpu) { CALL_SUBTEST_1(test_gpu_numext<void>()); CALL_SUBTEST_1(test_gpu_conversion<void>());
diff --git a/unsupported/test/cxx11_tensor_of_float16_sycl.cpp b/unsupported/test/tensor_of_float16_sycl.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_of_float16_sycl.cpp rename to unsupported/test/tensor_of_float16_sycl.cpp index 811ca11..6dd0682 100644 --- a/unsupported/test/cxx11_tensor_of_float16_sycl.cpp +++ b/unsupported/test/tensor_of_float16_sycl.cpp
@@ -374,7 +374,7 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_of_float16_sycl) { +EIGEN_DECLARE_TEST(tensor_of_float16_sycl) { for (const auto& s : Eigen::get_sycl_supported_devices()) { QueueInterface queueInterface(s); auto sycl_device = Eigen::SyclDevice(&queueInterface);
diff --git a/unsupported/test/cxx11_tensor_of_strings.cpp b/unsupported/test/tensor_of_strings.cpp similarity index 98% rename from unsupported/test/cxx11_tensor_of_strings.cpp rename to unsupported/test/tensor_of_strings.cpp index 6447503..fa8acde 100644 --- a/unsupported/test/cxx11_tensor_of_strings.cpp +++ b/unsupported/test/tensor_of_strings.cpp
@@ -131,7 +131,7 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_of_strings) { +EIGEN_DECLARE_TEST(tensor_of_strings) { // Beware: none of this is likely to ever work on a GPU. CALL_SUBTEST(test_assign()); CALL_SUBTEST(test_concat());
diff --git a/unsupported/test/cxx11_tensor_padding.cpp b/unsupported/test/tensor_padding.cpp similarity index 98% rename from unsupported/test/cxx11_tensor_padding.cpp rename to unsupported/test/tensor_padding.cpp index a21da4a..7100de6 100644 --- a/unsupported/test/cxx11_tensor_padding.cpp +++ b/unsupported/test/tensor_padding.cpp
@@ -82,7 +82,7 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_padding) { +EIGEN_DECLARE_TEST(tensor_padding) { CALL_SUBTEST(test_simple_padding<ColMajor>()); CALL_SUBTEST(test_simple_padding<RowMajor>()); CALL_SUBTEST(test_padded_expr<ColMajor>());
diff --git a/unsupported/test/cxx11_tensor_padding_sycl.cpp b/unsupported/test/tensor_padding_sycl.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_padding_sycl.cpp rename to unsupported/test/tensor_padding_sycl.cpp index e311dc6..ce10ff7 100644 --- a/unsupported/test/cxx11_tensor_padding_sycl.cpp +++ b/unsupported/test/tensor_padding_sycl.cpp
@@ -140,7 +140,7 @@ test_padded_expr<DataType, RowMajor, int64_t>(sycl_device); test_padded_expr<DataType, ColMajor, int64_t>(sycl_device); } -EIGEN_DECLARE_TEST(cxx11_tensor_padding_sycl) { +EIGEN_DECLARE_TEST(tensor_padding_sycl) { for (const auto& device : Eigen::get_sycl_supported_devices()) { CALL_SUBTEST(sycl_padding_test_per_device<half>(device)); CALL_SUBTEST(sycl_padding_test_per_device<float>(device));
diff --git a/unsupported/test/cxx11_tensor_patch.cpp b/unsupported/test/tensor_patch.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_patch.cpp rename to unsupported/test/tensor_patch.cpp index 76e75f9..bb23f3a 100644 --- a/unsupported/test/cxx11_tensor_patch.cpp +++ b/unsupported/test/tensor_patch.cpp
@@ -163,7 +163,7 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_patch) { +EIGEN_DECLARE_TEST(tensor_patch) { CALL_SUBTEST(test_simple_patch<ColMajor>()); CALL_SUBTEST(test_simple_patch<RowMajor>()); // CALL_SUBTEST(test_expr_shuffling());
diff --git a/unsupported/test/cxx11_tensor_patch_sycl.cpp b/unsupported/test/tensor_patch_sycl.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_patch_sycl.cpp rename to unsupported/test/tensor_patch_sycl.cpp index 3000cdc..9640ba2 100644 --- a/unsupported/test/cxx11_tensor_patch_sycl.cpp +++ b/unsupported/test/tensor_patch_sycl.cpp
@@ -241,7 +241,7 @@ test_simple_patch_sycl<DataType, RowMajor, int64_t>(sycl_device); test_simple_patch_sycl<DataType, ColMajor, int64_t>(sycl_device); } -EIGEN_DECLARE_TEST(cxx11_tensor_patch_sycl) { +EIGEN_DECLARE_TEST(tensor_patch_sycl) { for (const auto& device : Eigen::get_sycl_supported_devices()) { CALL_SUBTEST(sycl_tensor_patch_test_per_device<half>(device)); CALL_SUBTEST(sycl_tensor_patch_test_per_device<float>(device));
diff --git a/unsupported/test/cxx11_tensor_random.cpp b/unsupported/test/tensor_random.cpp similarity index 98% rename from unsupported/test/cxx11_tensor_random.cpp rename to unsupported/test/tensor_random.cpp index 7cc2a2f..8317c68 100644 --- a/unsupported/test/cxx11_tensor_random.cpp +++ b/unsupported/test/tensor_random.cpp
@@ -86,7 +86,7 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_random) { +EIGEN_DECLARE_TEST(tensor_random) { CALL_SUBTEST((test_default<float>())); CALL_SUBTEST((test_normal<float>())); CALL_SUBTEST((test_default<double>()));
diff --git a/unsupported/test/cxx11_tensor_random_gpu.cu b/unsupported/test/tensor_random_gpu.cu similarity index 97% rename from unsupported/test/cxx11_tensor_random_gpu.cu rename to unsupported/test/tensor_random_gpu.cu index f6f269e..4d627a9 100644 --- a/unsupported/test/cxx11_tensor_random_gpu.cu +++ b/unsupported/test/tensor_random_gpu.cu
@@ -71,7 +71,7 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_random_gpu) { +EIGEN_DECLARE_TEST(tensor_random_gpu) { CALL_SUBTEST(test_gpu_random_uniform()); CALL_SUBTEST(test_gpu_random_normal()); CALL_SUBTEST(test_complex());
diff --git a/unsupported/test/cxx11_tensor_random_sycl.cpp b/unsupported/test/tensor_random_sycl.cpp similarity index 98% rename from unsupported/test/cxx11_tensor_random_sycl.cpp rename to unsupported/test/tensor_random_sycl.cpp index 76bfdbf..2633705 100644 --- a/unsupported/test/cxx11_tensor_random_sycl.cpp +++ b/unsupported/test/tensor_random_sycl.cpp
@@ -73,7 +73,7 @@ test_sycl_random_normal<DataType, RowMajor, int64_t>(sycl_device); test_sycl_random_normal<DataType, ColMajor, int64_t>(sycl_device); } -EIGEN_DECLARE_TEST(cxx11_tensor_random_sycl) { +EIGEN_DECLARE_TEST(tensor_random_sycl) { for (const auto& device : Eigen::get_sycl_supported_devices()) { CALL_SUBTEST(sycl_random_test_per_device<half>(device)); CALL_SUBTEST(sycl_random_test_per_device<float>(device));
diff --git a/unsupported/test/cxx11_tensor_reduction.cpp b/unsupported/test/tensor_reduction.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_reduction.cpp rename to unsupported/test/tensor_reduction.cpp index d280199..eaef98c 100644 --- a/unsupported/test/cxx11_tensor_reduction.cpp +++ b/unsupported/test/tensor_reduction.cpp
@@ -487,7 +487,7 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_reduction) { +EIGEN_DECLARE_TEST(tensor_reduction) { CALL_SUBTEST(test_trivial_reductions<ColMajor>()); CALL_SUBTEST(test_trivial_reductions<RowMajor>()); CALL_SUBTEST((test_simple_reductions<float, ColMajor>()));
diff --git a/unsupported/test/cxx11_tensor_reduction_gpu.cu b/unsupported/test/tensor_reduction_gpu.cu similarity index 98% rename from unsupported/test/cxx11_tensor_reduction_gpu.cu rename to unsupported/test/tensor_reduction_gpu.cu index cedd829..8fa8be2 100644 --- a/unsupported/test/cxx11_tensor_reduction_gpu.cu +++ b/unsupported/test/tensor_reduction_gpu.cu
@@ -131,7 +131,7 @@ dev.deallocate(out_data); } -EIGEN_DECLARE_TEST(cxx11_tensor_reduction_gpu) { +EIGEN_DECLARE_TEST(tensor_reduction_gpu) { CALL_SUBTEST_1((test_full_reductions<float, ColMajor>())); CALL_SUBTEST_1((test_full_reductions<double, ColMajor>())); CALL_SUBTEST_2((test_full_reductions<float, RowMajor>()));
diff --git a/unsupported/test/cxx11_tensor_reduction_sycl.cpp b/unsupported/test/tensor_reduction_sycl.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_reduction_sycl.cpp rename to unsupported/test/tensor_reduction_sycl.cpp index cf2a4b7..90184d9 100644 --- a/unsupported/test/cxx11_tensor_reduction_sycl.cpp +++ b/unsupported/test/tensor_reduction_sycl.cpp
@@ -844,7 +844,7 @@ sycl_device.synchronize(); } -EIGEN_DECLARE_TEST(cxx11_tensor_reduction_sycl) { +EIGEN_DECLARE_TEST(tensor_reduction_sycl) { for (const auto& device : Eigen::get_sycl_supported_devices()) { std::cout << "Running on " << device.template get_info<cl::sycl::info::device::name>() << std::endl; QueueInterface queueInterface(device);
diff --git a/unsupported/test/cxx11_tensor_ref.cpp b/unsupported/test/tensor_ref.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_ref.cpp rename to unsupported/test/tensor_ref.cpp index d8f99c1..d0e2415 100644 --- a/unsupported/test/cxx11_tensor_ref.cpp +++ b/unsupported/test/tensor_ref.cpp
@@ -230,7 +230,7 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_ref) { +EIGEN_DECLARE_TEST(tensor_ref) { CALL_SUBTEST(test_simple_lvalue_ref()); CALL_SUBTEST(test_simple_rvalue_ref()); CALL_SUBTEST(test_multiple_dims());
diff --git a/unsupported/test/cxx11_tensor_reverse.cpp b/unsupported/test/tensor_reverse.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_reverse.cpp rename to unsupported/test/tensor_reverse.cpp index 611cfc8..37a836a 100644 --- a/unsupported/test/cxx11_tensor_reverse.cpp +++ b/unsupported/test/tensor_reverse.cpp
@@ -169,7 +169,7 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_reverse) { +EIGEN_DECLARE_TEST(tensor_reverse) { CALL_SUBTEST(test_simple_reverse<ColMajor>()); CALL_SUBTEST(test_simple_reverse<RowMajor>()); CALL_SUBTEST(test_expr_reverse<ColMajor>(true));
diff --git a/unsupported/test/cxx11_tensor_reverse_sycl.cpp b/unsupported/test/tensor_reverse_sycl.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_reverse_sycl.cpp rename to unsupported/test/tensor_reverse_sycl.cpp index f2c9824..fd78f8a 100644 --- a/unsupported/test/cxx11_tensor_reverse_sycl.cpp +++ b/unsupported/test/tensor_reverse_sycl.cpp
@@ -217,7 +217,7 @@ test_expr_reverse<DataType, RowMajor, int64_t>(sycl_device, true); test_expr_reverse<DataType, ColMajor, int64_t>(sycl_device, true); } -EIGEN_DECLARE_TEST(cxx11_tensor_reverse_sycl) { +EIGEN_DECLARE_TEST(tensor_reverse_sycl) { for (const auto& device : Eigen::get_sycl_supported_devices()) { std::cout << "Running on " << device.get_info<cl::sycl::info::device::name>() << std::endl; CALL_SUBTEST_1(sycl_reverse_test_per_device<short>(device));
diff --git a/unsupported/test/cxx11_tensor_roll.cpp b/unsupported/test/tensor_roll.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_roll.cpp rename to unsupported/test/tensor_roll.cpp index eaa7886..0142ba7 100644 --- a/unsupported/test/cxx11_tensor_roll.cpp +++ b/unsupported/test/tensor_roll.cpp
@@ -146,7 +146,7 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_roll) { +EIGEN_DECLARE_TEST(tensor_roll) { CALL_SUBTEST(test_simple_roll<ColMajor>()); CALL_SUBTEST(test_simple_roll<RowMajor>()); CALL_SUBTEST(test_expr_roll<ColMajor>(true));
diff --git a/unsupported/test/cxx11_tensor_roundings.cpp b/unsupported/test/tensor_roundings.cpp similarity index 96% rename from unsupported/test/cxx11_tensor_roundings.cpp rename to unsupported/test/tensor_roundings.cpp index 33e9cb3..ecc1739 100644 --- a/unsupported/test/cxx11_tensor_roundings.cpp +++ b/unsupported/test/tensor_roundings.cpp
@@ -50,7 +50,7 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_roundings) { +EIGEN_DECLARE_TEST(tensor_roundings) { CALL_SUBTEST(test_float_rounding()); CALL_SUBTEST(test_float_ceiling()); CALL_SUBTEST(test_float_flooring());
diff --git a/unsupported/test/cxx11_tensor_scan.cpp b/unsupported/test/tensor_scan.cpp similarity index 98% rename from unsupported/test/cxx11_tensor_scan.cpp rename to unsupported/test/tensor_scan.cpp index 8f0b3a2..307b7a6 100644 --- a/unsupported/test/cxx11_tensor_scan.cpp +++ b/unsupported/test/tensor_scan.cpp
@@ -96,7 +96,7 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_scan) { +EIGEN_DECLARE_TEST(tensor_scan) { CALL_SUBTEST((test_1d_scan<ColMajor, float, true>())); CALL_SUBTEST((test_1d_scan<ColMajor, float, false>())); CALL_SUBTEST((test_1d_scan<RowMajor, float, true>()));
diff --git a/unsupported/test/cxx11_tensor_scan_gpu.cu b/unsupported/test/tensor_scan_gpu.cu similarity index 98% rename from unsupported/test/cxx11_tensor_scan_gpu.cu rename to unsupported/test/tensor_scan_gpu.cu index e3a5c4d..f94f770 100644 --- a/unsupported/test/cxx11_tensor_scan_gpu.cu +++ b/unsupported/test/tensor_scan_gpu.cu
@@ -66,7 +66,7 @@ gpuFree((void*)d_t_result); } -EIGEN_DECLARE_TEST(cxx11_tensor_scan_gpu) { +EIGEN_DECLARE_TEST(tensor_scan_gpu) { CALL_SUBTEST_1(test_gpu_cumsum<ColMajor>(128, 128, 128)); CALL_SUBTEST_2(test_gpu_cumsum<RowMajor>(128, 128, 128)); }
diff --git a/unsupported/test/cxx11_tensor_scan_sycl.cpp b/unsupported/test/tensor_scan_sycl.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_scan_sycl.cpp rename to unsupported/test/tensor_scan_sycl.cpp index 2c303e5..1db0471 100644 --- a/unsupported/test/cxx11_tensor_scan_sycl.cpp +++ b/unsupported/test/tensor_scan_sycl.cpp
@@ -97,7 +97,7 @@ test_sycl_cumsum<DataType, ColMajor, int64_t>(sycl_device, 1023, 127, 2049, 2, false); test_sycl_cumsum<DataType, RowMajor, int64_t>(sycl_device, 1023, 127, 2049, 2, false); } -EIGEN_DECLARE_TEST(cxx11_tensor_scan_sycl) { +EIGEN_DECLARE_TEST(tensor_scan_sycl) { for (const auto& device : Eigen::get_sycl_supported_devices()) { std::cout << "Running on " << device.template get_info<cl::sycl::info::device::name>() << std::endl; QueueInterface queueInterface(device);
diff --git a/unsupported/test/cxx11_tensor_shuffling.cpp b/unsupported/test/tensor_shuffling.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_shuffling.cpp rename to unsupported/test/tensor_shuffling.cpp index dd4e398..6f374e3 100644 --- a/unsupported/test/cxx11_tensor_shuffling.cpp +++ b/unsupported/test/tensor_shuffling.cpp
@@ -256,7 +256,7 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_shuffling) { +EIGEN_DECLARE_TEST(tensor_shuffling) { CALL_SUBTEST(test_simple_shuffling<ColMajor>()); CALL_SUBTEST(test_simple_shuffling<RowMajor>()); CALL_SUBTEST(test_expr_shuffling<ColMajor>());
diff --git a/unsupported/test/cxx11_tensor_shuffling_sycl.cpp b/unsupported/test/tensor_shuffling_sycl.cpp similarity index 98% rename from unsupported/test/cxx11_tensor_shuffling_sycl.cpp rename to unsupported/test/tensor_shuffling_sycl.cpp index 15e7deb..4f9207e 100644 --- a/unsupported/test/cxx11_tensor_shuffling_sycl.cpp +++ b/unsupported/test/tensor_shuffling_sycl.cpp
@@ -106,7 +106,7 @@ test_simple_shuffling_sycl<DataType, RowMajor, int64_t>(sycl_device); test_simple_shuffling_sycl<DataType, ColMajor, int64_t>(sycl_device); } -EIGEN_DECLARE_TEST(cxx11_tensor_shuffling_sycl) { +EIGEN_DECLARE_TEST(tensor_shuffling_sycl) { for (const auto& device : Eigen::get_sycl_supported_devices()) { CALL_SUBTEST(sycl_shuffling_test_per_device<half>(device)); CALL_SUBTEST(sycl_shuffling_test_per_device<float>(device));
diff --git a/unsupported/test/cxx11_tensor_simple.cpp b/unsupported/test/tensor_simple.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_simple.cpp rename to unsupported/test/tensor_simple.cpp index c313119..c707f40 100644 --- a/unsupported/test/cxx11_tensor_simple.cpp +++ b/unsupported/test/tensor_simple.cpp
@@ -322,7 +322,7 @@ VERIFY_IS_EQUAL(epsilon.size(), 3 * 5 * 7); } -EIGEN_DECLARE_TEST(cxx11_tensor_simple) { +EIGEN_DECLARE_TEST(tensor_simple) { CALL_SUBTEST(test_0d()); CALL_SUBTEST(test_1d()); CALL_SUBTEST(test_2d());
diff --git a/unsupported/test/cxx11_tensor_striding.cpp b/unsupported/test/tensor_striding.cpp similarity index 98% rename from unsupported/test/cxx11_tensor_striding.cpp rename to unsupported/test/tensor_striding.cpp index b6910ca..6cc7933 100644 --- a/unsupported/test/cxx11_tensor_striding.cpp +++ b/unsupported/test/tensor_striding.cpp
@@ -106,7 +106,7 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_striding) { +EIGEN_DECLARE_TEST(tensor_striding) { CALL_SUBTEST(test_simple_striding<ColMajor>()); CALL_SUBTEST(test_simple_striding<RowMajor>()); CALL_SUBTEST(test_striding_as_lvalue<ColMajor>());
diff --git a/unsupported/test/cxx11_tensor_striding_sycl.cpp b/unsupported/test/tensor_striding_sycl.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_striding_sycl.cpp rename to unsupported/test/tensor_striding_sycl.cpp index 65c96ac..53788d1 100644 --- a/unsupported/test/cxx11_tensor_striding_sycl.cpp +++ b/unsupported/test/tensor_striding_sycl.cpp
@@ -186,7 +186,7 @@ test_striding_as_lvalue<float, RowMajor, int64_t>(sycl_device); } -EIGEN_DECLARE_TEST(cxx11_tensor_striding_sycl) { +EIGEN_DECLARE_TEST(tensor_striding_sycl) { for (const auto& device : Eigen::get_sycl_supported_devices()) { CALL_SUBTEST(tensorStridingPerDevice(device)); }
diff --git a/unsupported/test/cxx11_tensor_sugar.cpp b/unsupported/test/tensor_sugar.cpp similarity index 97% rename from unsupported/test/cxx11_tensor_sugar.cpp rename to unsupported/test/tensor_sugar.cpp index d1827e8..6f8c6f2 100644 --- a/unsupported/test/cxx11_tensor_sugar.cpp +++ b/unsupported/test/tensor_sugar.cpp
@@ -71,7 +71,7 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_sugar) { +EIGEN_DECLARE_TEST(tensor_sugar) { CALL_SUBTEST(test_comparison_sugar()); CALL_SUBTEST(test_scalar_sugar_add_mul()); CALL_SUBTEST(test_scalar_sugar_sub_div());
diff --git a/unsupported/test/cxx11_tensor_sycl.cpp b/unsupported/test/tensor_sycl.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_sycl.cpp rename to unsupported/test/tensor_sycl.cpp index e772f6d..3873648 100644 --- a/unsupported/test/cxx11_tensor_sycl.cpp +++ b/unsupported/test/tensor_sycl.cpp
@@ -341,7 +341,7 @@ test_sycl_cast<DataType, int, ColMajor, int64_t>(sycl_device); } -EIGEN_DECLARE_TEST(cxx11_tensor_sycl) { +EIGEN_DECLARE_TEST(tensor_sycl) { for (const auto& device : Eigen::get_sycl_supported_devices()) { CALL_SUBTEST(sycl_computing_test_per_device<float>(device)); }
diff --git a/unsupported/test/cxx11_tensor_symmetry.cpp b/unsupported/test/tensor_symmetry.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_symmetry.cpp rename to unsupported/test/tensor_symmetry.cpp index e1a1472..27796b6 100644 --- a/unsupported/test/cxx11_tensor_symmetry.cpp +++ b/unsupported/test/tensor_symmetry.cpp
@@ -783,7 +783,7 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_symmetry) { +EIGEN_DECLARE_TEST(tensor_symmetry) { CALL_SUBTEST(test_symgroups_static()); CALL_SUBTEST(test_symgroups_dynamic()); CALL_SUBTEST(test_symgroups_selection());
diff --git a/unsupported/test/cxx11_tensor_thread_local.cpp b/unsupported/test/tensor_thread_local.cpp similarity index 98% rename from unsupported/test/cxx11_tensor_thread_local.cpp rename to unsupported/test/tensor_thread_local.cpp index 32ba2cd..5fe8fe6 100644 --- a/unsupported/test/cxx11_tensor_thread_local.cpp +++ b/unsupported/test/tensor_thread_local.cpp
@@ -136,7 +136,7 @@ VERIFY_IS_EQUAL(unique_threads.size() <= (static_cast<size_t>(num_threads + 1)), true); } -EIGEN_DECLARE_TEST(cxx11_tensor_thread_local) { +EIGEN_DECLARE_TEST(tensor_thread_local) { CALL_SUBTEST(test_simple_thread_local()); CALL_SUBTEST(test_zero_sized_thread_local()); CALL_SUBTEST(test_large_number_of_tasks_no_spill());
diff --git a/unsupported/test/cxx11_tensor_thread_pool.cpp b/unsupported/test/tensor_thread_pool.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_thread_pool.cpp rename to unsupported/test/tensor_thread_pool.cpp index d1645ee..41d442b 100644 --- a/unsupported/test/cxx11_tensor_thread_pool.cpp +++ b/unsupported/test/tensor_thread_pool.cpp
@@ -720,7 +720,7 @@ VERIFY_IS_EQUAL(allocator->dealloc_count(), num_allocs); } -EIGEN_DECLARE_TEST(cxx11_tensor_thread_pool) { +EIGEN_DECLARE_TEST(tensor_thread_pool) { CALL_SUBTEST_1(test_multithread_elementwise()); CALL_SUBTEST_1(test_async_multithread_elementwise()); CALL_SUBTEST_1(test_multithread_compound_assignment());
diff --git a/unsupported/test/cxx11_tensor_trace.cpp b/unsupported/test/tensor_trace.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_trace.cpp rename to unsupported/test/tensor_trace.cpp index bf013d0..d641864 100644 --- a/unsupported/test/cxx11_tensor_trace.cpp +++ b/unsupported/test/tensor_trace.cpp
@@ -156,7 +156,7 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_trace) { +EIGEN_DECLARE_TEST(tensor_trace) { CALL_SUBTEST(test_0D_trace<ColMajor>()); CALL_SUBTEST(test_0D_trace<RowMajor>()); CALL_SUBTEST(test_all_dimensions_trace<ColMajor>());
diff --git a/unsupported/test/cxx11_tensor_uint128.cpp b/unsupported/test/tensor_uint128.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_uint128.cpp rename to unsupported/test/tensor_uint128.cpp index 8ce602c..534f212 100644 --- a/unsupported/test/cxx11_tensor_uint128.cpp +++ b/unsupported/test/tensor_uint128.cpp
@@ -162,7 +162,7 @@ } #endif -EIGEN_DECLARE_TEST(cxx11_tensor_uint128) { +EIGEN_DECLARE_TEST(tensor_uint128) { #ifdef EIGEN_NO_INT128 // Skip the test on compilers that don't support 128bit integers natively return;
diff --git a/unsupported/test/cxx11_tensor_volume_patch.cpp b/unsupported/test/tensor_volume_patch.cpp similarity index 98% rename from unsupported/test/cxx11_tensor_volume_patch.cpp rename to unsupported/test/tensor_volume_patch.cpp index 31da410..dbbd772 100644 --- a/unsupported/test/cxx11_tensor_volume_patch.cpp +++ b/unsupported/test/tensor_volume_patch.cpp
@@ -101,7 +101,7 @@ } } -EIGEN_DECLARE_TEST(cxx11_tensor_volume_patch) { +EIGEN_DECLARE_TEST(tensor_volume_patch) { CALL_SUBTEST(test_single_voxel_patch()); CALL_SUBTEST(test_entire_volume_patch()); }
diff --git a/unsupported/test/cxx11_tensor_volume_patch_sycl.cpp b/unsupported/test/tensor_volume_patch_sycl.cpp similarity index 99% rename from unsupported/test/cxx11_tensor_volume_patch_sycl.cpp rename to unsupported/test/tensor_volume_patch_sycl.cpp index 327ac67..68b4006 100644 --- a/unsupported/test/cxx11_tensor_volume_patch_sycl.cpp +++ b/unsupported/test/tensor_volume_patch_sycl.cpp
@@ -221,7 +221,7 @@ test_single_voxel_patch_sycl<DataType, int64_t>(sycl_device); test_entire_volume_patch_sycl<DataType, int64_t>(sycl_device); } -EIGEN_DECLARE_TEST(cxx11_tensor_volume_patch_sycl) { +EIGEN_DECLARE_TEST(tensor_volume_patch_sycl) { for (const auto& device : Eigen::get_sycl_supported_devices()) { CALL_SUBTEST(sycl_tensor_volume_patch_test_per_device<half>(device)); CALL_SUBTEST(sycl_tensor_volume_patch_test_per_device<float>(device));