mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
fix: flush caches after filling image
Related-To: NEO-14454 Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
77a66e5ec2
commit
d04ac3d60f
@@ -994,7 +994,14 @@ TaskCountType CommandQueue::peekBcsTaskCount(aub_stream::EngineType bcsEngineTyp
|
||||
}
|
||||
|
||||
bool CommandQueue::isTextureCacheFlushNeeded(uint32_t commandType) const {
|
||||
return (commandType == CL_COMMAND_COPY_IMAGE || commandType == CL_COMMAND_WRITE_IMAGE) && getGpgpuCommandStreamReceiver().isDirectSubmissionEnabled();
|
||||
switch (commandType) {
|
||||
case CL_COMMAND_COPY_IMAGE:
|
||||
case CL_COMMAND_WRITE_IMAGE:
|
||||
case CL_COMMAND_FILL_IMAGE:
|
||||
return getGpgpuCommandStreamReceiver().isDirectSubmissionEnabled();
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
IndirectHeap &CommandQueue::getIndirectHeap(IndirectHeapType heapType, size_t minRequiredSize) {
|
||||
|
||||
Reference in New Issue
Block a user