onednn: upgrade 3.0.1 -> 3.1

Release Notes:
https://github.com/oneapi-src/oneDNN/releases/tag/v3.1

Disable Graph API with ONEDNN_BUILD_GRAPH=OFF because that is not supported with DNNL_GPU_RUNTIME=OCL.

Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This commit is contained in:
Teoh Suh Haw 2023-04-12 13:57:00 +08:00 committed by Anuj Mittal
parent 51b86cf2fe
commit 48ddf2b0e6

View File

@ -13,8 +13,8 @@ SECTION = "lib"
inherit pkgconfig cmake ptest
S = "${WORKDIR}/git"
SRCREV = "51f9bd790743e313bdecc767d8e6c5cc729e07ab"
SRC_URI = "git://github.com/oneapi-src/oneDNN.git;branch=rls-v3.0;protocol=https \
SRCREV = "928065bd62372d2824900a86c5438bba407c98d1"
SRC_URI = "git://github.com/oneapi-src/oneDNN.git;branch=rls-v3.1;protocol=https \
file://run-ptest \
"
@ -32,6 +32,7 @@ EXTRA_OECMAKE += " \
-DDNNL_CPU_RUNTIME=OMP \
-DDNNL_ARCH_OPT_FLAGS="" \
-DCMAKE_SKIP_RPATH=ON \
-DONEDNN_BUILD_GRAPH=OFF \
"
PACKAGECONFIG ??= "gpu"