Skip to content

Commit

Permalink
[GPU] Resolve performance regression by selecting ref kernel (openvin…
Browse files Browse the repository at this point in the history
…otoolkit#8550)

- Not to select fsv16 for u8 to fp32 conv

Signed-off-by: Min, Byungil <[email protected]>
  • Loading branch information
byungilm authored and openvino-dev-samples committed Nov 24, 2021
1 parent f8dec44 commit 9f8775f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions inference-engine/thirdparty/clDNN/src/layout_optimizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -859,10 +859,7 @@ layout layout_optimizer::get_expected_layout(layout const& current_layout,
if (input_layout.size.batch[0] % 16 == 0) {
expected_format = cldnn::format::bs_fs_yx_bsv32_fsv32;
} else {
if (data_type_traits::is_floating_point(output_layout.data_type))
expected_format = cldnn::format::b_fs_yx_fsv16;
else
expected_format = cldnn::format::b_fs_yx_fsv32;
expected_format = cldnn::format::b_fs_yx_fsv32;
}
} else if ((_optimization_attributes.b_fs_yx_fsv16_network &&
convolution_b_fs_yx_fsv16_opt(input_layout, output_layout, weights_layout, prim)) && is_2d) {
Expand Down

0 comments on commit 9f8775f

Please sign in to comment.