We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 845824e commit 2ba34a6Copy full SHA for 2ba34a6
1 file changed
gloo/cuda_collectives_native.h
@@ -83,7 +83,7 @@ class CudaLocalNativeReduce : public LocalOp<T> {
83
84
// Enable peer access for devA to memory on devB
85
CUDA_CHECK(cudaSetDevice(devA));
86
- cudaDeviceEnablePeerAccess(devB, 0);
+ (void)cudaDeviceEnablePeerAccess(devB, 0);
87
88
// Use cudaGetLastError so that any error is cleared.
89
auto err = cudaGetLastError();
@@ -196,7 +196,7 @@ class CudaLocalNativeBroadcast : public LocalOp<T> {
196
197
198
199
200
201
202
0 commit comments