Changed default device to GPU.