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
When I tried to implement an vector addition using triton.I found that if you let idx be a block,then Z[idx] = X[idx]+Y[idx] can be implemented to tl.store(Z+idx,tl.load(X+idx)+tl.load(Y+idx)),However, when I tried to implement Z[0] = X[idx]+Y[idx] in triton,there would be an error. Although I understand the reason of this error. I still want to find a solution.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When I tried to implement an vector addition using triton.I found that if you let idx be a block,then Z[idx] = X[idx]+Y[idx] can be implemented to tl.store(Z+idx,tl.load(X+idx)+tl.load(Y+idx)),However, when I tried to implement Z[0] = X[idx]+Y[idx] in triton,there would be an error. Although I understand the reason of this error. I still want to find a solution.
Beta Was this translation helpful? Give feedback.
All reactions