Skip to content

Commit 7ebf75e

Browse files
alvoronazhai219
authored andcommittedDec 24, 2024
[ARM][FORK] Resolve float32_t type on 32-bit platforms
1 parent b09f6bc commit 7ebf75e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed
 

‎src/cpu/acl/matmul/acl_lowp_matmul.cpp

+4-2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

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

19+
#include "src/cpu/CpuTypes.h"
20+
1921
namespace dnnl {
2022
namespace impl {
2123
namespace cpu {
@@ -203,11 +205,11 @@ status_t acl_lowp_matmul_t::pd_t::init_scratchpad(
203205
const memory_desc_wrapper dst_d(&dst_md_);
204206
if (almc_.use_dst_acc) {
205207
scratchpad.book(memory_tracking::names::key_matmul_dst_in_acc_dt,
206-
dst_d.nelems(), sizeof(float32_t));
208+
dst_d.nelems(), sizeof(arm_compute::float32_t));
207209
}
208210
if (almc_.use_cast_acc) {
209211
scratchpad.book(memory_tracking::names::key_matmul_dst_cast_acc,
210-
dst_d.nelems(), sizeof(float32_t));
212+
dst_d.nelems(), sizeof(arm_compute::float32_t));
211213
}
212214
return status::success;
213215
}

0 commit comments

Comments
 (0)