Skip to content

Commit 95ca2af

Browse files
authored
Fix deprecated use of 0/NULL in gloo/cuda_broadcast_one_to_all.h + 1
Differential Revision: D71284808 Pull Request resolved: #420
1 parent cbe963b commit 95ca2af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gloo/cuda_broadcast_one_to_all.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ class CudaBroadcastOneToAll : public Algorithm {
3636
void init(
3737
typename std::enable_if<
3838
std::is_same<U, CudaHostWorkspace<T>>::value,
39-
typename U::Pointer>::type* = NULL);
39+
typename U::Pointer>::type* = nullptr);
4040

4141
template <typename U = W>
4242
void init(
4343
typename std::enable_if<
4444
std::is_same<U, CudaDeviceWorkspace<T>>::value,
45-
typename U::Pointer>::type* = NULL);
45+
typename U::Pointer>::type* = nullptr);
4646

4747
std::vector<CudaDevicePointer<T>> devicePtrs_;
4848
std::vector<CudaStream> streams_;

0 commit comments

Comments
 (0)