Device Gpu If Torch Cuda Event