blob: 50eea7df5cb37cda64f624bb94e8d91b1632f576 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#pragma once
namespace NYql {
inline void PrefetchForRead(const void* ptr) {
__builtin_prefetch(ptr, 0, 3);
}
inline void PrefetchForWrite(void* ptr) {
__builtin_prefetch(ptr, 1, 3);
}
} // namespace NYql
|