Mojo struct
PrefetchRW
Prefetch read or write.
Aliasesβ
READ = 0
: Read prefetch.WRITE = 1
: Write prefetch.
Fieldsβ
- βvalue (
SIMD[int32, 1]
): The read-write prefetch. It should be in [0, 1].
Implemented traitsβ
AnyType
Methodsβ
__init__
β
__init__(inout self: Self, value: Int)
Constructs a prefetch read-write option.
Args:
- βvalue (
Int
): An integer value representing the prefetch read-write option to be used. Should be a value in the range[0, 1]
.
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?