mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 17:13:29 +08:00
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:
committed by
Compute-Runtime-Automation
parent
53fc4c1958
commit
a58c56c0c1
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user