module
intrinsics
Defines intrinsics.
You can import these APIs from the complex
package. For example:
from sys import PrefetchLocality
Structs
-
PrefetchLocality
: The prefetch locality. -
PrefetchRW
: Prefetch read or write. -
PrefetchCache
: Prefetch cache type. -
PrefetchOptions
: Collection of configuration parameters for a prefetch intrinsic call.
Functions
-
llvm_intrinsic
: Calls an LLVM intrinsic with no arguments. -
gather
: Reads scalar values from a SIMD vector, and gathers them into one vector. -
scatter
: Takes scalar values from a SIMD vector andscatters
them into a vector of pointers. -
prefetch
: Prefetches an instruction or data into cache before it is used. -
masked_load
: Loads data from memory and return it, replacing masked lanes with values from the passthrough vector. -
masked_store
: Stores a value at a memory location, skipping masked lanes. -
compressed_store
: Compresses the lanes ofvalue
, skippingmask
lanes, and stores ataddr
. -
strided_load
: Loads values from addr according to a specific stride. -
strided_store
: Loads values from addr according to a specific stride.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!
If you'd like to share more information, please report an issue on GitHub
😔 What went wrong?