-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
Open
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCS-tracking-unimplementedStatus: The feature has not been implemented.Status: The feature has not been implemented.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Description
Feature gate: #![feature(hint_prefetch)]
This is a tracking issue for hints to prefetch memory.
Public API
// core::hint
#[non_exhaustive]
pub enum Locality {
L3,
L2.
L1,
}
pub const fn prefetch_read<T>(ptr: *const T, locality: Locality);
pub const fn prefetch_write<T>(ptr: *mut T, locality: Locality);
pub const fn prefetch_read_non_temporal<T>(ptr: *const T, locality: Locality);
pub const fn prefetch_write_non_temporal<T>(ptr: *mut T, locality: Locality);
pub const fn prefetch_read_instruction<T>(ptr: *const T, locality: Locality);Steps / History
(Remember to update the S-tracking-* label when checking boxes.)
- ACP Add memory prefetching to
core::hintlibs-team#638 - add
core::hint::prefetch_{read, write}_{data, instruction}#146948 - Implementation: #...
- Final comment period (FCP)1
- Stabilization PR
Unresolved Questions
- None yet.
Footnotes
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCS-tracking-unimplementedStatus: The feature has not been implemented.Status: The feature has not been implemented.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.