Skip to content

Commit

Permalink
[GPU] OneDNN gpu submodule update to version 2.5 (openvinotoolkit#8449)
Browse files Browse the repository at this point in the history
* [GPU] OneDNN gpu submodule update to version 2.5

* [GPU] Updated onednn submodule and added layout optimizer fix
  • Loading branch information
lznamens authored and akuporos committed Nov 11, 2021
1 parent f069af7 commit 4051fdc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
5 changes: 5 additions & 0 deletions inference-engine/thirdparty/clDNN/src/impls/ocl/reduce.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@ attach_reduce_impl::attach_reduce_impl() {
std::make_tuple(data_types::i32, format::b_fs_yx_fsv16),
std::make_tuple(data_types::i8, format::b_fs_yx_fsv16),
std::make_tuple(data_types::u8, format::b_fs_yx_fsv16),
std::make_tuple(data_types::f32, format::b_fs_yx_fsv32),
std::make_tuple(data_types::f16, format::b_fs_yx_fsv32),
std::make_tuple(data_types::i32, format::b_fs_yx_fsv32),
std::make_tuple(data_types::i8, format::b_fs_yx_fsv32),
std::make_tuple(data_types::u8, format::b_fs_yx_fsv32),
});
}

Expand Down
6 changes: 2 additions & 4 deletions inference-engine/thirdparty/clDNN/src/layout_optimizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -866,10 +866,8 @@ layout layout_optimizer::get_expected_layout(layout const& current_layout,
}
} else if ((_optimization_attributes.b_fs_yx_fsv16_network &&
convolution_b_fs_yx_fsv16_opt(input_layout, output_layout, weights_layout, prim)) && is_2d) {
if (is_dw)
expected_format = cldnn::format::b_fs_yx_fsv32;
else
expected_format = cldnn::format::b_fs_yx_fsv16;
// TODO: optimize clDNN kernels for good support of b_fs_yx_fsv32 format
expected_format = cldnn::format::b_fs_yx_fsv32;
} else {
expected_format = imad_case(node);
}
Expand Down
2 changes: 1 addition & 1 deletion thirdparty/onednn_gpu
Submodule onednn_gpu updated 553 files

0 comments on commit 4051fdc

Please sign in to comment.