* Disable fs_b_yx_fsv32 fusing for onednn case too
This commit is contained in:
parent
751337d428
commit
ae1066a74c
@ -637,7 +637,9 @@ void prepare_primitive_fusing::fuse_simple_primitives(program &p) {
|
||||
auto eltwise_supports_fusings = [&](eltwise_node& node) -> bool {
|
||||
auto out_layout = node.get_output_layout();
|
||||
if (out_layout.data_type == data_types::f16 && out_layout.batch() > 1 &&
|
||||
(_lo.get_optimization_attributes().fs_b_yx_fsv32_network || out_layout.format == format::fs_b_yx_fsv32)) {
|
||||
((_lo.get_optimization_attributes().fs_b_yx_fsv32_network &&
|
||||
!_lo.get_optimization_attributes().use_onednn_impls) ||
|
||||
out_layout.format == format::fs_b_yx_fsv32)) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user