Interleaving columns #1606
Replies: 2 comments
-
Would also be interested in this. |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can accomplish this using tl.join. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm working with 4-bit quantized matrices, meaning that each value in the matrix is a uint8 containing two 4 bit values. If I have an mxn block of a matrix, I can use bitwise ops to get two mxn blocks, whose columns need to be interleaved into an mx2n matrix.
Is there any way to accomplish this interleaving in triton? It seems like for the most part slicing/concatenating is not the intended use case, so is it necessary to handwrite a kernel?
Beta Was this translation helpful? Give feedback.
All reactions