amd/llvm: Add Subgroup Scan functions for SI
authorDaniel Schürmann <daniel@schuermann.dev>
Wed, 20 Nov 2019 11:40:07 +0000 (12:40 +0100)
committerDaniel Schürmann <daniel@schuermann.dev>
Wed, 20 Nov 2019 20:31:45 +0000 (20:31 +0000)
commit0cbcfc071e32fd5fc9950a5660adb7dafb7aaef0
tree848d9ecd2da48540a1ea8264405d199694b78484
parentfca2d3ce3fd87e2b5744e1f1d7c0c95814ed86b3
amd/llvm: Add Subgroup Scan functions for SI

The idea of this implementation is taken from the ROCm Device Libs:
https://github.com/RadeonOpenCompute/ROCm-Device-Libs/blob/master/ockl/src/wfredscan.cl

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/llvm/ac_llvm_build.c