Skip to content

Commit

Permalink
[ARM][FORK] Resolve float32_t type
Browse files Browse the repository at this point in the history
  • Loading branch information
alvoron committed Dec 23, 2024
1 parent 73ed350 commit c1dd251
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/common/memory_tracking.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,10 @@ enum {
key_wino_U,
key_wino_V,
key_wino_M,
key_decompression_scales,
key_decompression_zero_points,
key_src_quantized,
key_src_dequantized_scales,
// These two keys should always be the last ones,
// even though they are not in alphabetical order
key_nested,
Expand Down
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 "src/cpu/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(float32_t));
dst_d.nelems(), sizeof(arm_compute::float32_t));
}
if (almc_.use_cast_acc) {
scratchpad.book(memory_tracking::names::key_matmul_dst_cast_acc,
dst_d.nelems(), sizeof(float32_t));
dst_d.nelems(), sizeof(arm_compute::float32_t));
}
return status::success;
}
Expand Down

0 comments on commit c1dd251

Please sign in to comment.