Skip to content

Commit be92457

Browse files
authored
cpu: aarch64: backport fix reorder case (#4342)
1 parent b4a761c commit be92457

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/cpu/aarch64/jit_uni_reorder_utils.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*******************************************************************************
22
* Copyright 2018-2023 Intel Corporation
33
* Copyright 2020-2023 FUJITSU LIMITED
4-
* Copyright 2022 Arm Ltd. and affiliates
4+
* Copyright 2022, 2025 Arm Ltd. and affiliates
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
@@ -289,7 +289,11 @@ status_t prb_init(prb_t &p, const memory_desc_t &imd, const memory_desc_t &omd,
289289
= dst_mask == 0 ? scale_type_t::COMMON : scale_type_t::MANY;
290290
}
291291

292-
if (src_mask != dst_mask) return status::unimplemented;
292+
VDISPATCH_REORDER_IC(
293+
IMPLICATION(p.src_scale_type != scale_type_t::NONE
294+
&& p.dst_scale_type != scale_type_t::NONE,
295+
src_mask == dst_mask),
296+
VERBOSE_UNSUPPORTED_SCALES_CFG);
293297

294298
p.scale_adjust = (om_d.extra().flags & memory_extra_flags::scale_adjust)
295299
? om_d.extra().scale_adjust

0 commit comments

Comments
 (0)