You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cannot understand the meaning of triton_gpu.slice just from the explanation in "SliceEncodingAttr", this explanation as following:
let description = [{
TODO: improve docs
A = [x x x x x x x x]
parent = [0 1 2 3 ]
[4 5 6 7 ]
[8 9 10 11]
[12 13 14 15]
dim = 0
Then the data of A would be distributed as follow between the 16 CUDA threads:
L(A) = [ {0,4,8,12} , {1,5,9,13} , ... {3,7,11,15}, {0,4,8,12} , ..., {3,7,11,15} ]
This is useful for constructing the inverse layout of an expand_dims operation during some optimization passes.
}];
now, let's show a code about triton_gpu.slice in the .mlir,like this:
I cannot understand the meaning of triton_gpu.slice just from the explanation in "SliceEncodingAttr", this explanation as following:
now, let's show a code about triton_gpu.slice in the .mlir,like this:
I cannot figure out the layout about "%0", "%1", "%2", and "%3"
Is there anyone would like to teach me?
Is there anyone would like to tell me tensor layout about above values?
The text was updated successfully, but these errors were encountered: