Skip to main content



masked_store[size: Int](value: SIMD[type, size], addr: DTypePointer[type, 0], mask: SIMD[bool, size], alignment: Int = 1)

Stores a value at a memory location, skipping masked lanes.


  • size (Int): Size of value, the data to store.


  • value (SIMD[type, size]): The vector containing data to store.
  • addr (DTypePointer[type, 0]): A vector of memory location to store data at.
  • mask (SIMD[bool, size]): A binary vector which prevents memory access to certain lanes of value.
  • alignment (Int): The alignment of the destination locations. Must be 0 or a power of two constant integer value.