From the link you’ve posted, it seems that one spatial dimension is smaller than the kernel size. Could you check that?
Also, it’s strange that the CPU code runs without an error, while your GPU code crashes as @justusschock mentioned. Could you print the shapes of your input and the conv layer setup?