Mojo function
compressed_store
compressed_store[dtype: DType, size: Int](value: SIMD[dtype, size], addr: UnsafePointer[Scalar[dtype], address_space=address_space, origin=origin], mask: SIMD[DType.bool, size])
Compresses the lanes of value, skipping mask lanes, and stores at addr.
Parameters:
Args:
- value (
SIMD): The vector containing data to store. - addr (
UnsafePointer): The memory location to store the compressed data. - mask (
SIMD): 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!