479 Commits

Author SHA1 Message Date
08fa4edf15 build: suppress deprecation warnings for a custom host compiler 2021-11-02 12:32:03 -07:00
6263fa2ff3 build: cuda: work around conflicting OpenCL headers 2021-10-26 11:16:39 -07:00
b19001f637 build: add a sycl prefix to FindOpenCL.cmake 2021-10-26 11:16:39 -07:00
8aa42d6f23 build: add a hint to FindcuDNN.cmake 2021-10-22 11:29:53 -07:00
20b5f9dab9 build: suppress self-comparison warning 2021-10-21 12:14:33 -07:00
c98c90f181 build, src: introduce isa configuring build knob 2021-10-14 15:51:03 -07:00
30d44b47ce build: remove suppressing deprecation warnings 2021-10-10 23:51:50 -07:00
ad574d3a7c all: remove mkldnn compatibility layer 2021-09-22 15:10:40 -07:00
4f83c02de8 build: fix copyright 2021-09-21 00:03:45 -07:00
0dc526bf23 build: move UPPERCASE_CMAKE_BUILD_TYPE to the top level 2021-09-21 00:03:45 -07:00
3181e4f1d3 version.cmake: tweak git log invocation
If a user has set log.showSignature = true, then build will break
because DNNL_VERSION_HASH define will be overrun by muliple lines about
the signature of the commit.

If a user has customized core.abbrev-- e.g. Linux kernel developers are
encouraged to set it to 12-- then each build could display a commit hash
string of differing lengths. The git default is "auto", so length of the
hash string could change depending on, e.g., the number of commits in
this repository. That's probably undesirable. By explicitly overriding
abbrev on the command line, it ensures all builds going forward will
generate a hash of the same length (namely, the entire commit hash).

With --oneline one and only one line of output ought to appear, and it
will be the commit hash.

Signed-off-by: Joe Konno <joe.konno@intel.com>

v2: add support for git without support for --no-show-signature
Requested-by: Igor Safonov <igor.safonov@intel.com>
2021-09-20 10:47:59 +02:00
3b190fcfcd doc, ci: update Compute Library minimum version to 21.08 2021-09-20 10:47:27 +02:00
083a7fdf82 common: introduce stack checker 2021-09-17 17:35:24 -07:00
8d2863454a fixup: build: suppress false positive -Wstringop-overflow with gcc 10.x 2021-09-17 11:28:28 -07:00
eb7855d2f1 build: fix GCC version parsing with 2 digit versions 2021-09-17 11:28:28 -07:00
3cee579141 build: doc: sphinx: add an option to support custom generator 2021-09-15 15:43:29 -07:00
6d1b708eb0 build: suppress false positive -Wstringop-overflow with gcc 10.x 2021-09-14 09:48:44 -07:00
c47c8512ff cpu: risc-v: add RISC-V defines and fix indentation 2021-09-14 15:31:00 +02:00
45f1d23286 build, src: introduce configuring build knobs 2021-08-26 14:10:38 -07:00
9f053d0b77 doc: build: made Python interpreter dependency optional 2021-08-16 13:47:19 -07:00
04af802a9c doc: adopt build system to work with doxyrest and sphinx 2021-08-16 13:47:19 -07:00
9efd89218f build: enable caching rt objects by default 2021-08-15 02:21:54 -07:00
58ad825c10 build: introduce DNNL_LIBRARY_NAME build option 2021-08-13 08:42:27 -07:00
b3f70bd108 build: rename LIB_NAME to DNNL_LIBRARY_NAME 2021-08-13 08:42:27 -07:00
43722c520a build: specify C++ standard for gnu host compiler 2021-08-11 06:01:06 -07:00
3b28c52462 build: fix to include path for ArmPL builds. (#1111) 2021-07-08 17:02:34 -07:00
e150a0993c build: suppress SYCL warning on Windows
... coming from TBB.
2021-07-07 13:22:22 -07:00
7d1d6949d6 build: update path from relative to absolute for TBB identification
... so that tests may find TBB in CPU=NONE configuration properly.
2021-07-07 13:22:22 -07:00
a113ac4f50 gpu: ocl: introduce utility functions to work with USM 2021-07-03 00:32:23 -07:00
057ec96a6f build: workaround unused-command-line-argument warning 2021-06-29 12:24:35 -07:00
bb8900be4e cmake: use /bigobj by default on windows 2021-06-21 09:24:40 -07:00
0ca25d9df0 build: sycl: suppress warnings coming from SYCL headers 2021-06-17 18:52:56 -07:00
c4cfe42072 build: sycl: define OpenCL version explicitly 2021-06-17 18:52:56 -07:00
1597b52240 build: do not add host compiler options or OpenCL runtime 2021-06-17 18:52:56 -07:00
452dc2a0f0 build: enable warnings for DPCPP compiler and remove obsolete workarounds 2021-06-17 18:52:56 -07:00
65f9a23f8e aarch64: build: update Compute Library min. version to v21.05 2021-06-12 12:08:46 -07:00
100be0f6f1 build: remove redundant characters from ocl kernels 2021-06-11 10:49:05 -07:00
a3edf046d7 build, gpu: switch to using 1 literal for ocl kernels 2021-06-11 10:49:05 -07:00
c03e40cce2 build: generate ocl kernel headers 2021-06-11 10:49:05 -07:00
0bd3847e5a build: drop release c++ runtime for debug build types - WA 2021-05-27 11:07:17 -07:00
03ba176e3e build: C files also affected by RelWitMDd build type 2021-05-27 11:07:17 -07:00
ad9cf1ae34 build: add a workaround to enable OMP runtime with DPCPP compiler 2021-05-26 17:25:10 -07:00
31d69c6c3c build: add support for GNU host compiler 2021-05-26 17:25:10 -07:00
131e094dc5 build: add a mechanism for propagating host compiler options 2021-05-26 17:25:10 -07:00
4621eb9032 build: add DNNL_DPCPP_HOST_COMPILER option 2021-05-26 17:25:10 -07:00
b5d0222a6c build: add sanitizers blacklist support 2021-05-25 12:46:35 -07:00
deb493bea9 build,tests: enable threading layer in testing for GPU only 2021-05-19 22:21:36 -07:00
012aafb2f2 build,common,sycl,gpu: separate gpu runtime from cpu one 2021-05-19 22:21:36 -07:00
70b8be41ae build: allow specifying non-sycl CPU runtime along with sycl GPU runtime 2021-05-19 22:21:36 -07:00
df97c4c879 build: apply fp-model=precise for icx and dpcpp 2021-05-14 21:18:12 -07:00