-
Notifications
You must be signed in to change notification settings - Fork 13.8k
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 {
NonTemporal = 0,
L3 = 1,
L2 = 2,
L1 = 3,
}
pub const fn prefetch_read_data<T>(ptr: *const T, locality: Locality);
pub const fn prefetch_write_data<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::hint
libs-team#638 - Implementation: #...
- Final comment period (FCP)1
- Stabilization PR
Unresolved Questions
- None yet.
Footnotes
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.