mirror of
https://github.com/microsoft/mscclpp.git
synced 2026-04-19 22:39:11 +00:00
Small Adjust in Test Data AllGather at Executor Test (#384)
This commit is contained in:
@@ -43,7 +43,7 @@ FILL_DATA(int32, int)
|
||||
for (size_t i = blockIdx.x * blockDim.x + threadIdx.x; i < num_elems; i += blockDim.x * gridDim.x) { \
|
||||
seed = ranqd1(seed); \
|
||||
test_buf[rank_offset + i] = DataType(seed % blockDim.x) / DataType(blockDim.x); \
|
||||
assert(result_buf[i] == test_buf[i]); \
|
||||
assert(result_buf[rank_offset + i] == test_buf[rank_offset + i]); \
|
||||
} \
|
||||
} \
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user