Commit Graph

27 Commits

Author SHA1 Message Date
Nikolay Bogoychev
e8a1a2530f
Fix AVX2+ detection on Mac (#895)
MacOS is weird and its CPU flags are separated in two separate fields returned by the sysctl interface. To get around this, we need to test both of them, so here goes

Co-authored-by: Roman Grundkiewicz <rgrundkiewicz@gmail.com>
2021-12-07 17:47:33 +00:00
Marcin Junczys-Dowmunt
8ecc8b653f FindMKL modified to find installed mkl in system paths 2021-02-24 05:19:34 +00:00
Roman Grundkiewicz
080d75ad59 Merged PR 14402: Sync with public marian-dev master 1.9.31
This simply pulls the recent updates from the public repo.
2020-07-28 22:19:40 +00:00
Roman Grundkiewicz
aad22c9d09
Add option for printing CMake cached variables (#583)
* Add option --build-info
2020-03-10 10:29:50 -07:00
Roman Grundkiewicz
00d2e999e3
Add support for compiling on Mac (and clang) (#598)
* Compile marian on mac and clang. Two linker errors left

* MacOS defines has a different definition for unsigned long

* Find OpenBLAS on mac

* Fix a typo in the BLAS detection

* Simplify and add comments

* Refactor cpu allocation code. Do not fallback to malloc

* Fix compilation warning on gcc

* Refactor memory allocation

* Make things compile with clang-8 with fewer warnings.

* Eliminate clang warnings when compiling examples and when compiling without MKL

* added USE_MKL option to compile without MKL for debugging even when MKL is installed

* fixed issues with compiling examples with clang

* Fix compile errors with clang in src/tests.

* Fix missing whitespace in error message in src/tests/sqlite.cpp.

* Responding to Frank Seide's code review.

* Eliminate clang warnings when compiling with -DUSE_FBGEMM=on.

* Fix compilation on gcc 8

* Get Marian to compile with Clang-10.

* Fix Clang-8 warnings when compiling with marian-server

* Add more comments and explicit unsigned long long for windows

* Pull in fbgemm that supports mac

* Fix warning flags order in CMakeLists.txt

Co-authored-by: Kenneth Heafield <kpu@users.noreply.github.com>
Co-authored-by: Ulrich Germann <ulrich.germann@gmail.com>
Co-authored-by: Roman Grundkiewicz <romang@amu.edu.pl>
2020-03-05 21:08:23 +00:00
Marcin Junczys-Dowmunt
bab02e3b84 Merge branch 'cblas' 2019-12-13 13:12:07 -08:00
alvations
59011c8129 added ssse4.2 support 2019-11-07 07:09:40 +08:00
Young Jin Kim
d82bd9d271 Add Wl block to avoid parallel dependencies in the unit tests 2019-07-03 15:58:14 -07:00
Young Jin Kim
d3c6e5f2bc Add some more comments and change variable names 2019-06-26 11:36:02 -07:00
Young Jin Kim
e8ca9a3756 Update some fixed 2019-06-18 17:09:14 -07:00
Nikolay Bogoychev
f8943a78d1 Add the changes to CMakeLists.txt and add also support for finding the include directory 2019-02-24 20:29:54 +00:00
Nikolay Bogoychev
a2d381d65c A more intelligent way to detect cblas if it's not included in openblas 2019-02-24 19:59:26 +00:00
Marcin Junczys-Dowmunt
01ce3ed71b detect cpu intrinsics 2018-12-06 21:24:33 -08:00
Cédric Rousseau
1ec1802e48 Improve FindCUDNN and FindMKL to look into well-known path on Windows 2018-09-12 16:15:11 +02:00
Cédric Rousseau
5785380fa9 Fix Warning: D9002: ignoring unknown option '-m64' 2018-09-04 17:00:44 +02:00
Marcin Junczys-Dowmunt
d96c03f7cb find static NCCL 2018-08-05 22:08:44 -07:00
Marcin Junczys-Dowmunt
dceb7185d8 fix merge 2018-07-27 10:14:21 -07:00
Marcin Junczys-Dowmunt
f68cf82f64 clean NCCL support 2018-06-24 23:07:41 -07:00
Marcin Junczys-Dowmunt
7447dcba4f small fixes to make things compile and pass regression tests 2018-06-07 15:14:54 -07:00
Jon Clark
3e68deff52 Pile of truly horrible hacks to *almost* get things building on windows 2018-05-24 17:05:31 -07:00
Marcin Junczys-Dowmunt
dbba0f220d add cudnn back 2018-02-24 20:11:02 -08:00
Marcin Junczys-Dowmunt
ccbbbb95d3 fix FindMKL 2018-02-24 16:11:53 -08:00
Marcin Junczys-Dowmunt
f224db8257 add FinMKL 2018-02-21 21:39:29 -08:00
Roman Grundkiewicz
a3b72c2ffe Add TCMalloc 2017-11-02 10:33:47 +00:00
Roman Grundkiewicz
7aaa3ba985 Switch to manual project versioning 2017-07-13 13:02:43 +01:00
Roman Grundkiewicz
dfcb4ab1ba Add project versioning 2017-07-04 14:06:26 +01:00
Tomasz Dwojak
352203ea9f Add FindCUDNN.cmake 2017-06-21 11:10:20 +00:00