mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 14:02:58 +08:00
Revert "performance: enable staging write for cl buffers"
This reverts commit a9a2f7577f.
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
9e4513914f
commit
d7c8b42d01
@@ -173,7 +173,6 @@ bool CommandQueue::isValidForStagingTransfer(MemObj *memObj, const void *ptr, bo
|
||||
switch (memObj->peekClMemObjType()) {
|
||||
case CL_MEM_OBJECT_IMAGE1D:
|
||||
case CL_MEM_OBJECT_IMAGE2D:
|
||||
case CL_MEM_OBJECT_BUFFER:
|
||||
return stagingBufferManager->isValidForStagingTransfer(this->getDevice(), ptr, hasDependencies);
|
||||
default:
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user