Extend gather-scatter optimization with prefetch optimization
This commit is contained in:
@@ -820,13 +820,7 @@ static inline void prefetch_nt(const void * uniform ptr) {
|
||||
}
|
||||
|
||||
static inline void prefetch_l1(const void * varying ptr) {
|
||||
const void * uniform ptrArray[programCount];
|
||||
ptrArray[programIndex] = ptr;
|
||||
|
||||
foreach_active (i) {
|
||||
const void * uniform p = ptrArray[i];
|
||||
prefetch_l1(p);
|
||||
}
|
||||
__pseudo_prefetch_read_varying_1((int64)ptr, (IntMaskType)__mask);
|
||||
}
|
||||
|
||||
static inline void prefetch_l2(const void * varying ptr) {
|
||||
|
||||
Reference in New Issue
Block a user