triton.language.store¶
- triton.language.store(pointer, value, mask=None, eviction_policy='')¶
Stores
value
tensor of elements in memory, element-wise, at the memory locations specified bypointer
.value
is implicitly broadcast topointer.shape
and typecast topointer.dtype.element_ty
.- Parameters
pointer (Block of dtype=triton.PointerDType) – The memory locations where the elements of
value
are stored.value (Block) – The tensor of elements to be stored.
mask (Block of triton.int1, optional) – If mask[idx] is false, do not store
value[idx]
atpointer[idx]
.