[go: nahoru, domu]

Skip to content

Commit

Permalink
[oneDNN]Update oneDNN library to v3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
yimeisun123 committed Jul 2, 2024
1 parent 4642e0b commit 97b1289
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions tensorflow/workspace2.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,9 @@ def _tf_repositories():
tf_http_archive(
name = "onednn",
build_file = "//third_party/mkl_dnn:mkldnn_v1.BUILD",
sha256 = "5131ac559a13daa6e2784d20ab24e4607e55aa6da973518086326a647d389425",
strip_prefix = "oneDNN-3.4.2",
urls = tf_mirror_urls("https://github.com/oneapi-src/oneDNN/archive/refs/tags/v3.4.2.tar.gz"),
sha256 = "8356aa9befde4d4ff93f1b016ac4310730b2de0cc0b8c6c7ce306690bc0d7b43",
strip_prefix = "oneDNN-3.5",
urls = tf_mirror_urls("https://github.com/oneapi-src/oneDNN/archive/refs/tags/v3.5.tar.gz"),
)

tf_http_archive(
Expand Down
5 changes: 3 additions & 2 deletions third_party/mkl_dnn/mkldnn_v1.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ _CMAKE_COMMON_LIST = {
"#cmakedefine01 BUILD_PRIMITIVE_GPU_ISA_ALL": "#define BUILD_PRIMITIVE_GPU_ISA_ALL 0",
"#cmakedefine01 BUILD_GEN9": "#define BUILD_GEN9 0",
"#cmakedefine01 BUILD_GEN11": "#define BUILD_GEN11 0",
"#cmakedefine01 BUILD_XE2": "#define BUILD_XE2 0",
"#cmakedefine01 BUILD_XELP": "#define BUILD_XELP 0",
"#cmakedefine01 BUILD_XEHPG": "#define BUILD_XEHPG 0",
"#cmakedefine01 BUILD_XEHPC": "#define BUILD_XEHPC 0",
Expand Down Expand Up @@ -94,8 +95,8 @@ expand_template(
out = "include/oneapi/dnnl/dnnl_version.h",
substitutions = {
"@DNNL_VERSION_MAJOR@": "3",
"@DNNL_VERSION_MINOR@": "4",
"@DNNL_VERSION_PATCH@": "1",
"@DNNL_VERSION_MINOR@": "5",
"@DNNL_VERSION_PATCH@": "0",
"@DNNL_VERSION_HASH@": "N/A",
},
template = "include/oneapi/dnnl/dnnl_version.h.in",
Expand Down

0 comments on commit 97b1289

Please sign in to comment.