aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/CMakeLists.txt
Commit message (Collapse)AuthorAge
* Add CMake infrastructure for smoke testingGravatar David Tellenbach2021-03-31
| | | | | Necessary CMake changes to implement pre-merge smoke tests running via CI.
* Eliminate CMake FindPackageHandleStandardArgs warnings.Gravatar Antonio Sanchez2021-02-24
| | | | | | | | | | | | | | | | | CMake complains that the package name does not match when the case differs, e.g.: ``` CMake Warning (dev) at /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:273 (message): The package name passed to `find_package_handle_standard_args` (UMFPACK) does not match the name of the calling package (Umfpack). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/FindUmfpack.cmake:50 (find_package_handle_standard_args) bench/spbench/CMakeLists.txt:24 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. ``` Here we rename the libraries to match their true cases.
* Replace language_support module with builtin CheckLanguageGravatar Samir Benmendil2021-01-27
| | | | | | | | | | | | The workaround_9220 function was introduced a long time ago to workaround a CMake issue with enable_language(OPTIONAL). Since then CMake has clarified that the OPTIONAL keywords has not been implemented[0]. A CheckLanguage module is now provided with CMake to check if a language can be enabled. Use that instead. [0] https://cmake.org/cmake/help/v3.18/command/enable_language.html
* Add CUDA complex sqrt.Gravatar Antonio Sanchez2020-12-22
| | | | | | | | | | | | | | | This is to support scalar `sqrt` of complex numbers `std::complex<T>` on device, requested by Tensorflow folks. Technically `std::complex` is not supported by NVCC on device (though it is by clang), so the default `sqrt(std::complex<T>)` function only works on the host. Here we create an overload to add back the functionality. Also modified the CMake file to add `--relaxed-constexpr` (or equivalent) flag for NVCC to allow calling constexpr functions from device functions, and added support for specifying compute architecture for NVCC (was already available for clang).
* Make inclusion of doc sub-directory optional by adjusting options.Gravatar Bowie Owens2020-11-27
| | | | | | | | | | Allows exclusion of doc and related targets to help when using eigen via add_subdirectory(). Requested by: https://gitlab.com/libeigen/eigen/-/issues/1842 Also required making EIGEN_TEST_BUILD_DOCUMENTATION a dependent option on EIGEN_BUILD_DOC. This ensures documentation targets are properly defined when EIGEN_TEST_BUILD_DOCUMENTATION is ON.
* CMakefile update for ROCm 4.0Gravatar Deven Desai2020-10-29
| | | | Starting with ROCm 4.0, the `hipconfig --platform` command will return `amd` (prior return value was `hcc`). Updating the CMakeLists.txt files in the test dirs to account for this change.
* Disable test exceptions when using OpenMP.Gravatar David Tellenbach2020-10-09
|
* Add possibility to split test suit build targets and improved CI configurationGravatar David Tellenbach2020-08-19
| | | | | | - Introduce CMake option `EIGEN_SPLIT_TESTSUITE` that allows to divide the single test build target into several subtargets - Add CI pipeline for merge request that can be run by GitLab's shared runners - Add nightly CI pipeline
* Report custom C++ flags in CMake testing summaryGravatar David Tellenbach2020-06-30
|
* Support BFloat16 in EigenGravatar Teng Lu2020-06-20
|
* - Vectorizing MMA packing.Gravatar Everton Constantino2020-05-19
| | | | | - Optimizing MMA kernel. - Adding PacketBlock store to blas_data_mapper.
* Added io testGravatar Joel Holdsworth2019-12-11
|
* STYLE: Convert CMake-language commands to lower caseGravatar Hans Johnson2019-10-31
| | | | | Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case.
* STYLE: Remove CMake-language block-end command argumentsGravatar Hans Johnson2019-10-31
| | | | | | Ancient versions of CMake required else(), endif(), and similar block termination commands to have arguments matching the command starting the block. This is no longer the preferred style.
* Minor build improvementsGravatar tra2019-05-31
| | | | | | | | * Allow specifying multiple GPU architectures. E.g.: cmake -DEIGEN_CUDA_COMPUTE_ARCH="60;70" * Pass CUDA SDK path to clang. Without it it will default to /usr/local/cuda which may not be the right location, if cmake was invoked with -DCUDA_TOOLKIT_ROOT_DIR=/some/other/CUDA/path
* PR 593: Add variadtic ctor for DiagonalMatrix with unit testsGravatar David Tellenbach2019-03-14
|
* Protect c++11 type alias with Eigen's macro, and add respective unit test.Gravatar Gael Guennebaud2019-02-20
|
* PR 572: Add initializer list constructors to Matrix and Array (include unit ↵Gravatar David Tellenbach2019-01-21
| | | | | | | | tests and doc) - {1,2,3,4,5,...} for fixed-size vectors only - {{1,2,3},{4,5,6}} for the general cases - {{1,2,3,4,5,....}} is allowed for both row and column-vector
* Make nestByValue works again (broken since 3.3) and add unit tests.Gravatar Gael Guennebaud2019-01-17
|
* Boosttest only available for Boost version >= 1.53.0Gravatar Patrick Peltzer2019-01-17
|
* Simplify handling of tests that must fail to compile.Gravatar Gael Guennebaud2018-12-12
| | | | Each test is now a normal ctest target, and build properties (compiler+flags) are preserved (instead of starting a new build-dir from scratch).
* bug #231: initial implementation of STL iterators for dense expressionsGravatar Gael Guennebaud2018-10-01
|
* merge with default EigenGravatar Gael Guennebaud2018-09-21
|\
| * Rename test/array.cpp to test/array_cwise.cpp to avoid conflicts with the ↵Gravatar Gael Guennebaud2018-09-20
| | | | | | | | array header.
| * bug #1572: use c++11 atomic instead of volatile if c++11 is available, and ↵Gravatar Gael Guennebaud2018-07-17
| | | | | | | | disable multi-threaded GEMM on non-x86 without c++11.
| * Simplify handling and non-splitted tests and include split_test_helper.h ↵Gravatar Gael Guennebaud2018-07-16
| | | | | | | | instead of re-generating it. This also allows us to modify it without breaking existing build folder.
| * Fix usage of EIGEN_SPLIT_LARGE_TESTS=ON: some unit tests, such as ↵Gravatar Gael Guennebaud2018-07-16
| | | | | | | | indexed_view have to be split unconditionally.
| * Updates corresponding to the latest round of PR feedbackGravatar Deven Desai2018-07-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The major changes are 1. Moving CUDA/PacketMath.h to GPU/PacketMath.h 2. Moving CUDA/MathFunctions.h to GPU/MathFunction.h 3. Moving CUDA/CudaSpecialFunctions.h to GPU/GpuSpecialFunctions.h The above three changes effectively enable the Eigen "Packet" layer for the HIP platform 4. Merging the "hip_basic" and "cuda_basic" unit tests into one ("gpu_basic") 5. Updating the "EIGEN_DEVICE_FUNC" marking in some places The change has been tested on the HIP and CUDA platforms.
| * syncing this fork with upstreamGravatar Deven Desai2018-06-13
| |\
| | * bug #1531: make dedicatd unit testing for NumDimensionsGravatar Gael Guennebaud2018-06-08
| | |
| | * Fix the way matrix folder is passed to the tests.Gravatar Gael Guennebaud2018-06-08
| | |
| * | Adding support for using Eigen in HIP kernels.Gravatar Deven Desai2018-06-06
| |/ | | | | | | | | | | | | | | | | This commit enables the use of Eigen on HIP kernels / AMD GPUs. Support has been added along the same lines as what already exists for using Eigen in CUDA kernels / NVidia GPUs. Application code needs to explicitly define EIGEN_USE_HIP when using Eigen in HIP kernels. This is because some of the CUDA headers get picked up by default during Eigen compile (irrespective of whether or not the underlying compiler is CUDACC/NVCC, for e.g. Eigen/src/Core/arch/CUDA/Half.h). In order to maintain this behavior, the EIGEN_USE_HIP macro is used to switch to using the HIP version of those header files (see Eigen/Core and unsupported/Eigen/CXX11/Tensor) Use the "-DEIGEN_TEST_HIP" cmake option to enable the HIP specific unit tests.
| * Search for sequential Pastix.Gravatar Gael Guennebaud2018-05-29
| |
| * Fix handling of path names containing spaces and the likes.Gravatar Gael Guennebaud2018-05-29
| |
| * Add an option to test with external BLAS libraryGravatar Christoph Hertzberg2018-05-22
| |
| * No need to make noise, if KLU is foundGravatar Christoph Hertzberg2018-04-13
| |
| * MIsc. source and comment typosGravatar luz.paz2018-03-11
| | | | | | | | Found using `codespell` and `grep` from downstream FreeCAD
| * Add support for SuiteSparse's KLU routinesGravatar Kyle Vedder2017-10-04
| |
* | mergeGravatar Gael Guennebaud2017-02-21
|\ \
* | | Cleanup intitial reshape implementation:Gravatar Gael Guennebaud2017-01-29
| | | | | | | | | | | | | | | - reshape -> reshaped - make it compatible with evaluators.
* | | import yoco xiao's work on reshapeGravatar Gael Guennebaud2017-01-29
|\ \ \
| | | * bug #1424: add numext::abs specialization for unsigned integer types.Gravatar Gael Guennebaud2017-06-09
| | | |
| | | * Improve cmake scripts for Pastix and BLAS detection.Gravatar Gael Guennebaud2017-04-14
| | |/
| | * bug #1393: enable Matrix/Array explicit ctor from types with conversion ↵Gravatar Gael Guennebaud2017-02-17
| |/ |/| | | | | operators (was ok with 3.2)
* | Add unit test for FixedInt and SymbolicGravatar Gael Guennebaud2017-01-24
| |
* | Add unit test for indexed viewsGravatar Gael Guennebaud2017-01-06
| |
* | Improved support for compiling CUDA code with clang as the host compilerGravatar Benoit Steiner2016-10-03
| |
* | Add minimal support for Array<string>, and fix Tensor<string>Gravatar Gael Guennebaud2016-07-25
| |
* | Move half unit test from unsupported to main testsGravatar Gael Guennebaud2016-07-22
| |
* | Add a unit test to stress our solvers with Boost.MultiprecisionGravatar Gael Guennebaud2016-07-20
| |