Searched refs:saved_device (Results 1 – 1 of 1) sorted by relevance
400 int saved_device = 0; in GetCommunicator() local401 CUDA_RETURN_IF_ERROR(cudaGetDevice(&saved_device)); in GetCommunicator()413 CUDA_RETURN_IF_ERROR(cudaSetDevice(saved_device)); in GetCommunicator()