[MLIR][GPU] Remove call to cudaSetDevice(), which no longer exists

Differential Revision: https://reviews.llvm.org/D120085
This commit is contained in:
Krzysztof Drewniak 2022-02-17 21:37:15 +00:00
parent 62914bad46
commit c5803ee4fa
1 changed files with 0 additions and 1 deletions

View File

@ -194,5 +194,4 @@ mgpuMemHostRegisterMemRef(int64_t rank, StridedMemRefType<char, 1> *descriptor,
extern "C" MLIR_CUDA_WRAPPERS_EXPORT void mgpuSetDefaultDevice(int32_t device) {
defaultDevice = device;
CUDA_REPORT_IF_ERROR(cudaSetDevice(device));
}