mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
refactor: unify prefetch encode methods
Related-To: NEO-14703 Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
76af9fbb31
commit
a015188166
@@ -7178,10 +7178,10 @@ struct STATE_PREFETCH {
|
||||
}
|
||||
|
||||
inline void setPrefetchSize(const uint32_t value) {
|
||||
TheStructure.Common.PrefetchSize = value;
|
||||
TheStructure.Common.PrefetchSize = value - 1; // patched
|
||||
}
|
||||
inline uint32_t getPrefetchSize() const {
|
||||
return TheStructure.Common.PrefetchSize;
|
||||
return TheStructure.Common.PrefetchSize + 1; // patched
|
||||
}
|
||||
|
||||
inline void setKernelInstructionPrefetch(const bool value) {
|
||||
|
||||
Reference in New Issue
Block a user