Skip to content

b12839

  • b12839
  • ec3dac2
  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
  • Choose a tag to compare

  • b12839
  • ec3dac2
  • Choose a tag to compare

  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
@IMbackK IMbackK tagged this 28 Nov 14:28
* 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>
Assets 2
Loading