feature: force stateless for copy buffer to buffer

Related-to: NEO-6075

Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
This commit is contained in:
Damian Tomczak
2025-09-11 19:28:11 +00:00
committed by Compute-Runtime-Automation
parent 53fc4c1958
commit a58c56c0c1
6 changed files with 120 additions and 12 deletions

View File

@@ -80,9 +80,9 @@ cl_int CommandQueueHw<GfxFamily>::enqueueWriteBufferImpl(
numEventsInWaitList, eventWaitList, event);
}
const bool useStateless = forceStateless(buffer->getSize());
const bool isStateless = isForceStateless || forceStateless(buffer->getSize());
const bool useHeapless = this->getHeaplessModeEnabled();
auto builtInType = EBuiltInOps::adjustBuiltinType<EBuiltInOps::copyBufferToBuffer>(useStateless, useHeapless);
auto builtInType = EBuiltInOps::adjustBuiltinType<EBuiltInOps::copyBufferToBuffer>(isStateless, useHeapless);
void *srcPtr = const_cast<void *>(ptr);