Searched refs:saved_device (Results 1 – 1 of 1) sorted by relevance
311 int saved_device = 0; in GetCommunicator() local312 CUDA_RETURN_IF_ERROR(cudaGetDevice(&saved_device)); in GetCommunicator()324 CUDA_RETURN_IF_ERROR(cudaSetDevice(saved_device)); in GetCommunicator()