Hi Robin, On 2023/11/7 15:57, Robin Dapp wrote:
Thanks, what I was slightly concerned about is that we now have the implicit assumption that the initial value is 0. I mean that's what the vectorizer does for reductions but theoretically, wouldn't we also combine other values into 0 now?
Sorry, I'm not understanding what you mean. I think it's only safe to do this combine if it's initialized to 0. Because this combine actually throws away the operation of adding 0 (via mask operand).
-- Best, Lehua (RiVAI) lehua.d...@rivai.ai