tileon.language
Memory Operations
load
Load data from memory with optional masking.
store
Store data to memory with optional masking.
make_block_ptr
Create a block pointer for efficient memory access.
tensor_descriptor
Create a tensor descriptor for complex memory layouts.
Indexing
arange
Create a range of indices.
program_id
Get the ID of the current program instance.
range / static_range
Create a static range for iteration.
full / zeros / zeros_like
Create filled tensors.
Tensor Operations
broadcast / broadcast_to
Broadcast tensor to a new shape.
expand_dims / reshape / slice / split / squeeze / transpose / unsqueeze / view
Tensor shape manipulation operations.
join / cat
Concatenate tensors.
Math Operations
dot
Matrix multiplication for tiles.
fma
Fused multiply-add.
add / sub / mul / div
Element-wise arithmetic operations.
Comparison
maximum / minimum
Element-wise max/min operations.
where
Conditional selection.
Reduction
sum / max / min
Reduction operations across an axis.
argmax / argmin
Return indices of max/min values.
reduce
General reduction operation.
Sorting
sort / topk
Sorting operations.
Utility
cdiv
Ceiling division.
constexpr
Compile-time constant.
num_programs
Get total number of program instances.