We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dc71f3 commit 12f3bb0Copy full SHA for 12f3bb0
src/runtime/contrib/curand/curand.cc
@@ -110,7 +110,7 @@ void RandomFill(DLTensor* tensor) {
110
} else {
111
LOG(FATAL) << "ValueError: Unsupported dtype: " << tensor->dtype;
112
}
113
- TVMSynchronize(tensor->device.device_type, tensor->device.device_type, nullptr);
+ cuda_api->StreamSync(tensor->device, nullptr);
114
115
116
TVM_FFI_STATIC_INIT_BLOCK() {
0 commit comments