Hi,
You will need to write your custom cpp/cu code to support such thing especially if your input is float32.
Note that float64/32/16 convolutions are heavily optimized by cudnn and you will need a very high quality implementation to beat these.