mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-23 11:03:02 +08:00
performance: Move preemption allocation init to the first submission
Related-To: NEO-12323 Signed-off-by: Krzysztof Sprzaczkowski <krzysztof.sprzaczkowski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
92ea7ee7a3
commit
a17745532c
@@ -250,7 +250,7 @@ CommandQueue *CommandQueue::create(uint32_t productFamily, Device *device, NEO::
|
||||
osContext.reInitializeContext();
|
||||
}
|
||||
|
||||
csr->initializeResources(false);
|
||||
csr->initializeResources(false, device->getDevicePreemptionMode());
|
||||
csr->initDirectSubmission();
|
||||
if (commandQueue->cmdListHeapAddressModel == NEO::HeapAddressModel::globalStateless) {
|
||||
csr->createGlobalStatelessHeap();
|
||||
|
||||
Reference in New Issue
Block a user