Skip to main content

module

unsafe

Implements types that work with unsafe pointers.

You can import these APIs from the memory package. For example:

from memory import Pointer

Aliases

  • Pointer = LegacyPointer[?, ?]:

Structs

  • LegacyPointer: Defines a LegacyPointer struct that contains the address of a register passable type.
  • DTypePointer: Defines a DTypePointer struct that contains an address of the given dtype.

Functions

  • bitcast: Bitcasts a SIMD value to another SIMD value.