ggml-cuda: reduce chunked AllReduce launch width

This commit is contained in:
xrip committed 2026-09-21 20:46:09 +03:00
1 parent 982f36c66c
commit 83629f2632
1 file changed
+1 -1
+1 -1
View File
@@ -74,7 +74,7 @@ static constexpr size_t GGML_CUDA_AR_ARRIVAL_STRIDE = 64;
// Number of blocks the chunked kernel launches with. Each block stripes a
// disjoint slice of the data and synchronizes through its own arrival-token
// slot so multiple SMs can pump PCIe stores in parallel.
static constexpr int GGML_CUDA_AR_KERNEL_BLOCKS = 8;
static constexpr int GGML_CUDA_AR_KERNEL_BLOCKS = 4;
// ---------------------------------------------------------------------------
// Chunked kernel AllReduce -- 2 GPUs, supports float, half, and bfloat16.