[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR #70765: [oneDNN] Update oneDNN library to v3.5 #70822

Merged
merged 2 commits into from
Jul 4, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
[oneDNN]Update oneDNN library to v3.5
  • Loading branch information
yimeisun123 committed Jul 2, 2024
commit 97b12896b7e068fb194a40c08812ff26ce0c87cf
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