Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions gloo/cuda_collectives_native.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class CudaLocalNativeReduce : public LocalOp<T> {

// Enable peer access for devA to memory on devB
CUDA_CHECK(cudaSetDevice(devA));
cudaDeviceEnablePeerAccess(devB, 0);
(void)cudaDeviceEnablePeerAccess(devB, 0);

// Use cudaGetLastError so that any error is cleared.
auto err = cudaGetLastError();
Expand Down Expand Up @@ -196,7 +196,7 @@ class CudaLocalNativeBroadcast : public LocalOp<T> {

// Enable peer access for devA to memory on devB
CUDA_CHECK(cudaSetDevice(devA));
cudaDeviceEnablePeerAccess(devB, 0);
(void)cudaDeviceEnablePeerAccess(devB, 0);

// Use cudaGetLastError so that any error is cleared.
auto err = cudaGetLastError();
Expand Down
Loading