Mojo module
unsafe
Provides utility functions for unsafe manipulation of SIMD values.
You can import these APIs from the memory package. For example:
from memory import bitcastFunctionsโ
- โ
bitcast: Bitcasts a SIMD value to another SIMD value. - โ
pack_bits: Packs a SIMD vector ofboolvalues into an integer.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!