Skip to content

Commit

Permalink
float32_t experiments
Browse files Browse the repository at this point in the history
  • Loading branch information
alvoron committed Dec 20, 2024
1 parent 8827d47 commit 8c82db3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/cpu/acl/matmul/acl_lowp_matmul.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

#include "cpu/acl/matmul/acl_lowp_matmul.hpp"

#include "arm_compute/src/cpu/functions/CpuTypes.h"

namespace dnnl {
namespace impl {
namespace cpu {
Expand Down Expand Up @@ -203,11 +205,11 @@ status_t acl_lowp_matmul_t::pd_t::init_scratchpad(
const memory_desc_wrapper dst_d(&dst_md_);
if (almc_.use_dst_acc) {
scratchpad.book(memory_tracking::names::key_matmul_dst_in_acc_dt,
dst_d.nelems(), sizeof(arm_compute::float32_t));
dst_d.nelems(), sizeof(float32_t));
}
if (almc_.use_cast_acc) {
scratchpad.book(memory_tracking::names::key_matmul_dst_cast_acc,
dst_d.nelems(), sizeof(arm_compute::float32_t));
dst_d.nelems(), sizeof(float32_t));
}
return status::success;
}
Expand Down

0 comments on commit 8c82db3

Please sign in to comment.