Make the core code for the convolution reusable.
Add gradient for GpuConvDnn