llama.cpp
ec3dac26 - HIP: implement a ddp path for sum reduction operator (#32215)

Commit
1 day ago
HIP: implement a ddp path for sum reduction operator (#32215) * HIP: implement a ddp path for sum reduction operator * Support wdiths 4,8,16 * Might as well support width 2 also * Fix width 8 case * hip: change from ddp move to dpp update * hip: static assert * hip: change width == 32 to ds_swizzle * hip: when lane0 only is used, handle fast warp_reduce_sum * hip: ds swizzle static assert * hip: typo * hip: extend to warp_reduce_sum(float2 a) * hip: small comment mmvf.cu to avoid concurrent shared memory writes in MMVF, extends lane0 to block_size > warp_size * hip: add mmvq to warp_reduce_sum lane0 only * Update ggml/src/ggml-cuda/common.cuh Co-authored-by: Johannes Gäßler <johannesg@5d6.de> --------- Co-authored-by: thelittlefireman <thelittlefireman3@gmail.com> Co-authored-by: thelittlefireman <5165783+thelittlefireman@users.noreply.github.com> Co-authored-by: Johannes Gäßler <johannesg@5d6.de>
Author
Parents
Loading