IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /docs/manual/basics.md). For the complete Mojo documentation index, see llms.txt.
Skip to main content
Version: Nightly
For the complete Mojo documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /docs/manual/basics.md).

compressed_store

compressed_store[dtype: DType, size: Int](value: SIMD[dtype, size], addr: UnsafePointer[Scalar[dtype], address_space=addr.address_space], mask: SIMD[DType.bool, size])

Compresses the lanes of value, skipping mask lanes, and stores at addr.

Parameters:

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

Args: