Hi,
We try to use highly efficient libraries such as cudnn or mkldnn as much as possible. So in practice, their code is most likely to be the one that runs when you call conv.
The general implementation we have that works in all cases can be found there: for gpu 270 and for cpu 322.