Why I cannot perform dot operation on two matrices?

print(S.shape, S.dtype)
print(G.shape, G.dtype)
torch.dot(S, torch.t(G))


torch.Size([256, 31360]) torch.int16
torch.Size([1825, 31360]) torch.int16

RuntimeError: _th_dot not supported on CUDAType for Short

Same happens with int and long.