479 Commits

Author SHA1 Message Date
105a7cd7fa tests: prepare Eigen_threadpool implementation for new Eigen versions 2025-10-10 16:09:37 -07:00
d71aca8dc1 ci: added RISC-V CI workflow
Co-authored-by: Zhuozhao Xia <i@xiazhuozhao.com>
2025-10-03 10:40:14 -07:00
b349fa578b cpu: rv64: Add CPU_INSTANCE_RV64GCV_ZVFH macro
Co-authored-by: Fei Zhang <zhangfei@iscas.ac.cn>
2025-10-02 16:20:13 -07:00
ef11b9764e build: aarch64: enforce -Wundef on AArch64 (#4050)
Signed-off-by: Siddhartha Menon <siddhartha.menon@arm.com>
2025-10-01 20:28:34 +01:00
4b8b41662f cmake: fix typos 2025-09-29 12:12:14 -07:00
b2eb185074 build: restored deprecated declarations warnings 2025-09-26 15:15:49 -07:00
d499766f0b cmake: enable stdlib debug mode for debug builds 2025-09-24 13:49:49 -07:00
eceddc6e05 revert: cmake: add "-mcpu=power10 -mmma" to cross-compilation flags
This reverts commit c76260b9553b7edb85ffccb127d11f223d08b893.
2025-09-19 14:57:05 -07:00
dd27e35554 cpu: aarch64: Enable stateless ACL inner product/fully connected. (#3716) 2025-09-09 16:16:56 +01:00
64ce535238 cpu: risc-v: build: add Zvfh extension support detection
Co-authored-by: Fei Zhang <zhangfei@iscas.ac.cn>
2025-09-03 13:17:23 -07:00
ee33cdcf63 doc, build: added version selector for developer guide 2025-08-22 16:26:12 -07:00
c76260b955 cmake: add "-mcpu=power10 -mmma" to cross-compilation flags
Required to fix build issues with new GEMM implementation.
2025-08-19 15:40:43 -07:00
9f20c0fa65 xe: reorganize directory structure 2025-08-08 18:45:11 -07:00
0f7a278170 Update ACL reorder API without introducing regressions (#3643) 2025-07-30 09:44:22 +01:00
608fc3ae0b cmake: add standard c++ exception handling on Windows 2025-07-25 15:17:53 -07:00
e9d697577d cpu: risc-v: build: fix dynamic selection bug
Signed-off-by: Zhang fei <zhangfei@iscas.ac.cn>
2025-07-17 17:10:21 -07:00
9464ecab9d doc: updated Sphinx configuration to display project name and version 2025-07-16 17:27:00 -07:00
5c6aa20524 gpu: intel: move rt agnostic code out of ocl folder 2025-07-11 20:29:17 -07:00
faaa1411fa Revert "cpu: aarch64: Update ACL reorder API" (#3522) 2025-07-04 11:42:55 +01:00
18c6d2ac95 cpu: aarch64: Update ACL reorder API (#2992) 2025-07-01 10:48:31 +01:00
18d0043591 build: risc-v: Enable dynamic selection of -march for RV64 2025-06-25 18:05:23 -07:00
5e746b88a7 gpu: intel: sycl: add support for kernel compilation 2025-06-25 13:37:08 -07:00
b4e96e3d06 build: account for Compute Library minor version in CMake (#3399)
Signed-off-by: Siddhartha Menon <siddhartha.menon@arm.com>
2025-06-09 10:12:35 +01:00
e6cf5f5807 build: fix hash sub for out-of-tree builds
When building oneDNN outside of the git tree, but inside that of a
different repository, the commit hash that is substituted is from the
parent repository. This change limits git to the oneDNN root directory,
and silences the error message when the git command fails.

For example:
```bash
git clone https://github.com/uxlfoundation/oneDNN.git dnnl
mkdir test_fail
git --git-dir dnnl/.git --work-tree test_fail checkout origin/main .
cmake -S test_fail -B test_fail/build
grep "#define DNNL_VERSION_HASH" test_fail/build/include/oneapi/dnnl/dnnl_version_hash.h
```
Before (out-of-tree):
```
-- CMAKE_BUILD_TYPE is unset, defaulting to Release
...
-- Found Git: /usr/bin/git (found version "2.30.2")
fatal: not a git repository (or any of the parent directories): .git
-- Enabled testing coverage: CI
...
-- Build files have been written to: test_fail/build
```
Before (within, say, the latest IGC at the time of writing):
```
-- CMAKE_BUILD_TYPE is unset, defaulting to Release
...
-- Found Git: /usr/bin/git (found version "2.30.2")
-- Enabled testing coverage: CI
...
-- Build files have been written to: test_fail/build
```
After:
```
-- CMAKE_BUILD_TYPE is unset, defaulting to Release
...
-- Found Git: /usr/bin/git (found version "2.30.2")
-- Enabled testing coverage: CI
...
-- Build files have been written to: test_fail/build
```
2025-06-02 10:48:13 -07:00
2cb38a2076 build: intel: add call to find_package(OpenCL) in config.cmake.in (#3335) 2025-05-30 14:08:26 +01:00
666bfe295a xe: ocl: name all kernels with ref_ in ref_*.cl files 2025-05-22 16:26:28 -07:00
eee549c5ff build, benchdnn: disable no_ref_memory for sanitizer validation 2025-05-20 22:28:31 -07:00
2de4b380b8 build: remove Wundef option from host_compiler feature 2025-05-15 16:46:03 -07:00
8c68c00247 build: aarch64: Update minimum ACL version to 52.0.0
ComputeLibrary-v52.0.0 is the first release to use semantic versioning.
The CMake rules have been updated to add sanity checks based on this new
paradigm.

Signed-off-by: Siddhartha Menon <siddhartha.menon@arm.com>
2025-05-12 12:33:28 +01:00
1c825b46bb build: enable Wundef 2025-05-09 16:52:00 -07:00
ea9c699451 src, tests: fix undefined macro hits 2025-05-09 16:52:00 -07:00
bde471dd9c build: allow using ONEDNN_BUILD_DOC 2025-05-07 17:09:11 -07:00
9703c30657 build, common: remove build options for GEN9 and GEN11 2025-05-07 15:55:40 -07:00
26fe797937 cmake: platform: remove clang-tidy FIXME for headers 2025-04-25 11:15:50 -07:00
192c755375 riscv64: runtime improvements
Signed-off-by: Zhang fei <zhangfei@iscas.ac.cn>
2025-04-10 09:49:17 -07:00
b85ca83faa common: promote sparse functionality 2025-04-09 21:04:18 -07:00
cb9657552a cpu: aarch64: Enable stateless ACL LayerNorm 2025-04-08 15:07:14 +01:00
6b573f950f cmake, doc: add GROUP_NORMALIZATION value for ONEDNN_ENABLE_PRIMITIVE (#3025) 2025-04-04 11:10:37 -07:00
396fdfc9f7 all: clean graph compiler backend 2025-03-28 23:01:06 +08:00
7dc74a94ef cmake: limit host compiler dpcpp warning divergence 2025-03-28 07:18:38 -07:00
5de25f354a riscv64: update cmake
Signed-off-by: Zhang fei <zhangfei@iscas.ac.cn>
2025-03-27 12:47:16 +01:00
f8c3ab0cb2 riscv64: update cmake
Signed-off-by: Zhang fei <zhangfei@iscas.ac.cn>
2025-03-27 12:47:16 +01:00
4107fb945f riscv64: update intrinsics
Signed-off-by: Zhang fei <zhangfei@iscas.ac.cn>
2025-03-27 12:47:16 +01:00
71f1837317 build: removed -fcf-protection build option for old GCC
This allows oneDNN to build successfully with GCC 7.x
2025-03-26 10:39:51 -07:00
8fe3c8b03f build: nvidia: fix install dependencies (#2768) 2025-03-12 16:12:08 +00:00
2d3f544bf0 build: utils: Fixed issue with installed multiple version of the OpenCL 2025-02-25 15:22:43 -08:00
235dc6dd8e cmake: find and link cublasLt properly 2025-02-17 22:38:14 +08:00
68cfcfc634 gpu: amd: add support for rocm6.1 2025-02-13 17:49:24 +01:00
423fab4d34 cmake: convert string literal warning to error 2025-02-05 11:58:30 -08:00
56a7453b7d build: added -fno-sycl-unnamed-lambda for builds with host compiler
Option `-fsycl-unnamed-lambda` is enabled by default, but not compatible
with `-fsycl-host-compiler`. While icpx driver adds
`-fno-sycl-unnamed-lambda` to avoid build issues clang++ does not do that.
2025-02-04 12:19:31 -08:00