Skip to content

Commit 8e4cc9e

Browse files
authored
[GPU] enable dynamic shape conv on compile graph pass (#30944)
### Descriptions - Remove WA that checks use_explicit_padding for convolution. It needs to choose impl at compile graph pass. ### Tickets: - 162880
1 parent 7ea6e2d commit 8e4cc9e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/plugins/intel_gpu/src/graph/registry/convolution_impls.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ const std::vector<std::shared_ptr<cldnn::ImplementationManager>>& Registry<convo
2323
OV_GPU_CREATE_INSTANCE_OCL(ocl::ConvolutionImplementationManager, shape_types::static_shape)
2424
OV_GPU_CREATE_INSTANCE_OCL(ocl::ConvolutionImplementationManager, shape_types::dynamic_shape,
2525
[](const cldnn::program_node& node){
26-
if (node.can_use(impl_types::onednn))
27-
return false;
28-
return node.as<convolution>().use_explicit_padding();
26+
return !node.can_use(impl_types::onednn);
2927
})
3028
};
3129

0 commit comments

Comments
 (0)