Mojo function
strided_store
strided_store[type: DType, //, simd_width: Int](value: SIMD[type, simd_width], addr: UnsafePointer[SIMD[type, 1], address_space, exclusive, alignment], stride: Int, mask: SIMD[bool, simd_width] = 1)
Loads values from addr according to a specific stride.
Parameters:
- βtype (
DType
): DType ofvalue
, the value to store. - βsimd_width (
Int
): The width of the SIMD vectors.
Args:
- βvalue (
SIMD[type, simd_width]
): The values to store. - βaddr (
UnsafePointer[SIMD[type, 1], address_space, exclusive, alignment]
): The location to store values at. - βstride (
Int
): How many lanes to skip before storing again. - βmask (
SIMD[bool, simd_width]
): A binary vector which prevents memory access to certain lanes ofvalue
.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!
If you'd like to share more information, please report an issue on GitHub
π What went wrong?