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
// divisibility[d] is the largest power of two that divides the first element
// of all groups of length contiguity[d] along dimension d.
//
// For example,
//
// [[10, 11, 12, 13, 18, 19, 20, 21],
// [20, 21, 22, 23, 28, 29, 30, 31]]
//
// has divisibility [1, 2], and
//
// [[12, 16, 20, 24],
// [13, 17, 21, 25],
// [14, 18, 22, 26],
// [15, 19, 23, 27]]
//
// has divisibility [4, 1].
//
// On the other hand,
//
// [0, 1, 2, 0, 4, 5, 6, 7]
//
// has divisibility 1 because its contiguity is 1.
in second sample, contiguity should be [4, 1], divisibility should be [1, 4], means dim0 must split 4, because dim0 is not contiguous, dim1 can split 1, because contiguous. divisibility means a split-factor, it is misunderstand?
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
-
triton/include/triton/Analysis
/AxisInfo.h
// divisibility[d] is the largest power of two that divides the first element
// of all groups of length contiguity[d] along dimension d.
//
// For example,
//
// [[10, 11, 12, 13, 18, 19, 20, 21],
// [20, 21, 22, 23, 28, 29, 30, 31]]
//
// has divisibility [1, 2], and
//
// [[12, 16, 20, 24],
// [13, 17, 21, 25],
// [14, 18, 22, 26],
// [15, 19, 23, 27]]
//
// has divisibility [4, 1].
//
// On the other hand,
//
// [0, 1, 2, 0, 4, 5, 6, 7]
//
// has divisibility 1 because its contiguity is 1.
in second sample, contiguity should be [4, 1], divisibility should be [1, 4], means dim0 must split 4, because dim0 is not contiguous, dim1 can split 1, because contiguous.
divisibility
means a split-factor, it is misunderstand?Beta Was this translation helpful? Give feedback.
All reactions