aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmake
Commit message (Collapse)AuthorAge
* Fix checking of version number for mingw.Gravatar Antonio Sanchez2021-06-11
| | | | | | | | | | | MinGW spits out version strings like: `x86_64-w64-mingw32-g++ (GCC) 10-win32 20210110`, which causes the version extraction to fail. Added support for this with tests. Also added `make_unsigned` for `long long`, since mingw seems to use that for `uint64_t`. Related to #2268. CMake and build passes for me after this.
* Fix parsing of version for nvhpcGravatar Nicolas Cornu2021-06-10
| | | | | As the first line of the version is empty it crashes, so delete first line if it is empty
* Add CI infrastructure for pre-merge smoke tests.Gravatar David Tellenbach2021-04-01
| | | | | | This patch adds pre-merge smoke tests for x86 Linux using gcc-10 and clang-10. Closes #2188.
* 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.
* Add missing adolc isinf/isnan.Gravatar Antonio Sanchez2021-02-19
| | | | | | | Also modified cmake/FindAdolc.cmake to eliminate warnings, and added search paths to match install layout. Fixed: #2157
* 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
* check for include dirs setGravatar filippobrizzi2020-11-26
|
* Bug #2036 make sure find_standard_math_library_test_program actually ↵Gravatar Christoph Hertzberg2020-10-24
| | | | compiles (and is guaranteed to call math functions)
* Make sure compiler does not optimize away calls to math functionsGravatar Susi Lehtola2020-10-24
|
* Fix using FindStandardMathLibrary.cmake with -Wall (-Wunused-value) added to ↵Gravatar Павел Мацула2020-09-19
| | | | CMAKE_CXX_FLAG
* 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
* AVX path for BF16Gravatar Sheng Yang2020-07-14
|
* Pass CMAKE_MAKE_PROGRAM to Fortran language support testGravatar Christoph Grüninger2020-06-27
| | | | | Otherwise the Make (or Ninja) program is used, which is installed system wide.
* Update FindComputeCpp.cmake to fix build problems on WindowsGravatar Thales Sabino2020-06-05
| | | | | - Use standard types in SYCL/PacketMath.h to avoid compilation problems on Windows - Add EIGEN_HAS_CONSTEXPR to cxx11_tensor_argmax_sycl.cpp to fix build problems on Windows
* [SYCL] Rebasing the SYCL support branch on top of the Einge upstream master ↵Gravatar Mehdi Goli2019-11-28
| | | | | | | | | | | | | | | | | | | | | | branch. * Unifying all loadLocalTile from lhs and rhs to an extract_block function. * Adding get_tensor operation which was missing in TensorContractionMapper. * Adding the -D method missing from cmake for Disable_Skinny Contraction operation. * Wrapping all the indices in TensorScanSycl into Scan parameter struct. * Fixing typo in Device SYCL * Unifying load to private register for tall/skinny no shared * Unifying load to vector tile for tensor-vector/vector-tensor operation * Removing all the LHS/RHS class for extracting data from global * Removing Outputfunction from TensorContractionSkinnyNoshared. * Combining the local memory version of tall/skinny and normal tensor contraction into one kernel. * Combining the no-local memory version of tall/skinny and normal tensor contraction into one kernel. * Combining General Tensor-Vector and VectorTensor contraction into one kernel. * Making double buffering optional for Tensor contraction when local memory is version is used. * Modifying benchmark to accept custom Reduction Sizes * Disabling AVX optimization for SYCL backend on the host to allow SSE optimization to the host * Adding Test for SYCL * Modifying SYCL CMake
* COMP: target_compile_definitions requires cmake 2.8.11Gravatar Hans Johnson2019-11-17
| | | | | | | | | Features committed in 2016 have required cmake verison 2.8.11. `sergiu Tue Nov 22 12:25:06 2016 +0100: target_compile_definitions` Set the minimum cmake version to the minimum version that is capable of compiling or installing the code base.
* 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.
* Remove XSMM support from Tensor moduleGravatar Eugene Zhulenev2019-08-19
|
* 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 #1606: Explicitly set the standard before ↵Gravatar Christoph Hertzberg2018-10-19
| | | | | | | find_package(StandardMathLibrary). Also replace EIGEN_COMPILER_SUPPORT_CXX11 in favor of EIGEN_COMPILER_SUPPORT_CPP11. Grafted manually from a4afa90d161faab385a77f0e2764fb13ff3b9484
* Remove explicit mkldnn support and redundant TensorContractionKernelBlockingGravatar Eugene Zhulenev2018-09-27
|
* Support multiple contraction kernel types in TensorContractionThreadPoolGravatar Eugene Zhulenev2018-09-26
|
* [PATCH] cmake: Support source include with add_subdirectory andGravatar Jean-Christophe Fillion-Robin2018-09-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | find_package use This commit allows the sources of the project to be included in a parent project CMakeLists.txt and support use of "find_package(Eigen3 CONFIG REQUIRED)" Here is an example allowing to test the changes. It is not particularly useful in itself. This change will allow to support one of the scenario allowing to create custom 3D Slicer application bundling associated plugins. /tmp/eigen-git-mirror # Eigen sources /tmp/test/CMakeLists.txt: cmake_minimum_required(VERSION 3.12) project(test) add_subdirectory("/tmp/eigen-git-mirror" "eigen-git-mirror") find_package(Eigen3 CONFIG REQUIRED) and configuring it using: mkdir /tmp/test-build && cd $_ cmake \ -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY:BOOL=1 \ -DEigen3_DIR:PATH=/tmp/test-build/eigen-git-mirror \ /tmp/test Co-authored-by: Pablo Hernandez <pablo.hernandez@kitware.com> --- CMakeLists.txt | 1 + cmake/Eigen3Config.cmake.in | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-)
* Allow to filter out build-error messagesGravatar Christoph Hertzberg2018-07-24
|
* Get rid of EIGEN_TEST_FUNC, unit tests must now be declared with ↵Gravatar Gael Guennebaud2018-07-17
| | | | | | | | | EIGEN_DECLARE_TEST(mytest) { /* code */ }. This provide several advantages: - more flexibility in designing unit tests - unit tests can be glued to speed up compilation - unit tests are compiled with same predefined macros, which is a requirement for zapcc
* 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.
* Add the cmake option "EIGEN_DASHBOARD_BUILD_TARGET" to control the build ↵Gravatar Gael Guennebaud2018-07-16
| | | | target in dashboard mode (e.g., ctest -D Experimental)
* Make EIGEN_TEST_CUDA_CLANG more friendly with OSXGravatar Gael Guennebaud2018-07-13
|
* Add support for MIPS SIMD (MSA)Gravatar Alexey Frunze2018-07-06
|
* FindEigen3: Set Eigen3_FOUND variableGravatar Daniele E. Domenichelli2018-07-11
|
* merging the CUDA and HIP implementation for the Tensor directory and the ↵Gravatar Deven Desai2018-06-20
| | | | unit tests
* 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.
* Add an option to test with external BLAS libraryGravatar Christoph Hertzberg2018-05-22
|
* Fix cmake scripts with no fortran compilerGravatar Gael Guennebaud2018-04-07
|
* MIsc. source and comment typosGravatar luz.paz2018-03-11
| | | | Found using `codespell` and `grep` from downstream FreeCAD
* Handle PGI compilerGravatar Gael Guennebaud2017-11-17
|
* Merged in alainvaucher/eigen/find-module-imported-target (pull request PR-324)Gravatar Gael Guennebaud2017-11-15
| | | | | | | | | | In the CMake find module, define the Eigen imported target as when installing with CMake * In the CMake find module, define the Eigen imported target * Add quotes to the imported location, in case there are spaces in the path. Approved-by: Alain Vaucher <acvaucher@gmail.com>
* KLU depends on BTF but not on libSuiteSparse nor CholmodGravatar Gael Guennebaud2017-11-10
|
* Add support for SuiteSparse's KLU routinesGravatar Kyle Vedder2017-10-04
|
* Make sure CMAKE_Fortran_COMPILER is set before checking for Fortran functionsGravatar Christoph Hertzberg2017-06-20
|
* Merged eigen/eigen into defaultGravatar Benoit Steiner2017-05-26
|\
* \ Merged in a-doumoulakis/opencl (pull request PR-12)Gravatar Benoit Steiner2017-05-25
|\ \ | | | | | | | | | Enable triSYCL with Eigen
| * \ Merge changed from upstreamGravatar a-doumoulakis2017-05-24
| |\ \
* | | | Update FindComputeCpp.cmake with new changes from SDKGravatar Duncan McBain2017-05-24
| |/ / |/| |
* | | Fixing Cmake Dependency for SYCLGravatar Mehdi Goli2017-05-22
| | |
| * | Add cmake file FindTriSYCL.cmakeGravatar a-doumoulakis2017-05-17
| | |
| * | Add support for triSYCLGravatar a-doumoulakis2017-05-05
|/ / | | | | | | | | | | Eigen is now able to use triSYCL with EIGEN_SYCL_TRISYCL and TRISYCL_INCLUDE_DIR options Fix contraction kernel with correct nd_item dimension