Skip to content

Question about ReduceConverter #115

Answered by nhat-nguyen
jingchangshi asked this question in Q&A
Discussion options

You must be logged in to vote

@haishanzzzz would be the best person to ask this, here's a snippet from our old internal code -- hopefully it gives some more context:

// Transpose input if reducing the last dimension, this changes the
// accumulation from (1D vector -> scalar) to (2D matrix -> 1D vector),
// which improves ALU and memory efficiency on most SIMD and SIMT
// architectures.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by jingchangshi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants