[dGPU] Use cldnn concat if data type is fp32. (#19240)

This commit is contained in:
Jade Cho authored and GitHub committed 2023-08-17 09:14:26 +00:00
1 parent 1b9de79d0d
commit 2394732055
1 file changed
+2 -1
@@ -1594,7 +1594,8 @@ impl_types layout_optimizer::get_preferred_impl_type(program_node& node, format
if (!_optimization_attributes.use_onednn_impls)
return impl_types::ocl;
if (node.get_output_layout().data_type == data_types::i32)
if (node.get_output_layout().data_type == data_types::i32 ||
node.get_output_layout().data_type == data_types::f32)
return impl_types::ocl;
for (auto& dep : node.get_dependencies()) {