Skip to main content

struct

PrefetchCache

Prefetch cache type.

Aliases

  • INSTRUCTION = 0: The instruction prefetching option.
  • DATA = 1: The data prefetching option.

Fields

  • value (SIMD[int32, 1]): The cache prefetch. It should be in [0, 1].

Implemented traits

AnyType

Methods

__init__

__init__(value: Int) -> Self

Constructs a prefetch option.

Args:

  • value (Int): An integer value representing the prefetch cache option to be used. Should be a value in the range [0, 1].

Returns:

The prefetch cache type that was constructed.