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

Include hash of weights in the key of the primitive cache for aarch64 lowp gemm #341

Draft
wants to merge 1 commit into
base: ideep_pytorch
Choose a base branch
from
Draft
Changes from all commits
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
6 changes: 6 additions & 0 deletions include/ideep/operators/matmul.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1064,6 +1064,9 @@ struct matmul_forward : public dnnl::matmul,
dst_desc,
op_attr,
with_bias,
#ifdef __aarch64__
weights.get_hash(),
#endif
omp_get_max_threads());
#ifdef __aarch64__
auto pd_pair = fetch_or_create(key, [&]() {
Expand Down Expand Up @@ -1219,6 +1222,9 @@ struct matmul_forward : public dnnl::matmul,
dst_desc,
op_attr,
with_bias,
#ifdef __aarch64__
weights.get_hash(),
#endif
omp_get_max_threads());

// Create pd and primitive
Expand Down