mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-22 10:17:01 +08:00
performance: allocate states vector together with command list
Allocating vector backing storage on stack makes it allocated together with the whole command list object. So no second use of heap for the state changes vector data. Related-To: NEO-7828 Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
9e44344419
commit
7b0283e810
@@ -50,7 +50,6 @@ CommandQueueImp::CommandQueueImp(Device *device, NEO::CommandStreamReceiver *csr
|
||||
if (overrideUseKmdWaitFunction != -1) {
|
||||
useKmdWaitFunction = !!(overrideUseKmdWaitFunction);
|
||||
}
|
||||
this->stateChanges.reserve(CommandQueueImp::defaultCommandListStateChangeListSize);
|
||||
}
|
||||
|
||||
ze_result_t CommandQueueImp::destroy() {
|
||||
|
||||
Reference in New Issue
Block a user