mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-22 19:29:06 +08:00
Turn on caching if buffers are set as constant args.
- If resources is constant arg it means it will only be read - Therefore even for read_write buffer we may turn on caching. Change-Id: Id2c34d4993111bf5c6523a1946464c397db95686 Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
e57682a8a9
commit
f0d3b47886
@@ -1498,7 +1498,7 @@ class DrmMockBuffer : public Buffer {
|
||||
gfxAllocation(alloc) {
|
||||
}
|
||||
|
||||
void setArgStateful(void *memory, bool forceNonAuxMode, bool disableL3Cache) override {
|
||||
void setArgStateful(void *memory, bool forceNonAuxMode, bool disableL3Cache, bool isReadOnly) override {
|
||||
}
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user