[GPU] Resolve performance regression by selecting ref kernel (#8550)

- Not to select fsv16 for u8 to fp32 conv

Signed-off-by: Min, Byungil <byungil.min@intel.com>
This commit is contained in:
Min, Byungil 2021-11-12 22:39:47 +09:00 committed by GitHub
parent 1f597321de
commit 338aad25db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {