triton.language¶
Programming Model¶
Returns the id of the current program instance along the given |
|
Returns the number of program instances launched along the given |
Creation Ops¶
Returns contiguous values within the open interval [ |
|
Returns a block filled with the scalar value 0 for the given |
Shape Manipulation Ops¶
Tries to broadcast the given block to a new |
|
Tries to reshape the given block to a new shape. |
|
Returns a contiguous flattened view of |
Memory Ops¶
Return a block of data whose values are, elementwise, loaded from memory at location defined by |
|
Stores |
|
Performs an atomic “compare-and-swap” and the memory locations specified by |
|
Swaps the old values stored at location |
Math Ops¶
Computes the element-wise exponential of |
|
Computes the element-wise natural logarithm of |
|
Computes the element-wise sigmoid of |
|
Computes the element-wise softmax of |
Reduction Ops¶
Returns the maximum value of all elements in the |
|
Returns the minimum value of all elements in the |
|
Returns the sum of all elements in the |
Comparison ops¶
Computes the element-wise minimum of |
|
Computes the element-wise maximum of |
Compiler Hint Ops¶
Let the compiler knows that the values in |