forked from OSchip/llvm-project
[MLIR][GPU] Remove call to cudaSetDevice(), which no longer exists
Differential Revision: https://reviews.llvm.org/D120085
This commit is contained in:
parent
62914bad46
commit
c5803ee4fa
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue