Skip to content

Commit bac280b

Browse files
Fix NcclSpace broadcast.
Signed-off-by: Cedric Chevalier <[email protected]>
1 parent 225c7d6 commit bac280b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/KokkosComm/nccl/broadcast.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ auto broadcast(const Kokkos::Cuda& space, View& v, int root, ncclComm_t comm) ->
2727

2828
Req<NcclSpace> req{space.cuda_stream()};
2929
if (KC::is_contiguous(v)) {
30-
ncclBcast(KC::data_handle(v), KC::span(v), datatype<NccSpace, T>, root, comm, space.cuda_stream());
30+
ncclBcast(KC::data_handle(v), KC::span(v), datatype<NcclSpace, T>(), root, comm, space.cuda_stream());
3131
} else {
3232
Kokkos::abort("KokkosComm::Experimental::nccl::broadcast: unimplemented for non-contiguous views");
3333
}

0 commit comments

Comments
 (0)