Skip to content

Commit ccb82d6

Browse files
authored
Missed one CHECK_NOTNULL in pytorch#82032's find-replace
1 parent 9b8e0a3 commit ccb82d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

caffe2/contrib/nccl/cuda_nccl_gpu.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ void runNCCL(const NCCLExecution& ex, InitF&& init_f, F&& f) {
177177
// Now, wait on all the events in the original stream.
178178
CUDAGuard dg(ex.stream_gpu_id);
179179
for (auto& event : events) {
180-
CUDA_ENFORCE(cudaStreamWaitEvent(CHECK_NOTNULL(ex.stream), event, 0));
180+
CUDA_ENFORCE(cudaStreamWaitEvent(TORCH_CHECK_NOTNULL(ex.stream), event, 0));
181181
}
182182
}
183183

0 commit comments

Comments
 (0)