x=torch.rand(3,4)
y=torch.rand(3,4)
x=x.cuda()
y=y.cuda()
x+y
Traceback (most recent call last):
File “”, line 1, in 
File “f:\Anaconda3\lib\site-packages\torch\tensor.py 1”, line 293, in add
return self.add(other)
RuntimeError: cuda runtime error (48) : no kernel image is available for execution on the device at d:\pytorch\pytorch\torch\lib\thc\generic/THCTensorMathPointwise.cu:301