mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 18:06:32 +08:00
Reuse command buffers in L0 command list
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
64aec8dc4e
commit
616580637b
@@ -134,7 +134,7 @@ ze_result_t CommandListCoreFamily<gfxCoreFamily>::initialize(Device *device, NEO
|
||||
|
||||
commandContainer.setReservedSshSize(getReserveSshSize());
|
||||
DeviceImp *deviceImp = static_cast<DeviceImp *>(device);
|
||||
auto returnValue = commandContainer.initialize(deviceImp->getActiveDevice());
|
||||
auto returnValue = commandContainer.initialize(deviceImp->getActiveDevice(), deviceImp->allocationsForReuse.get());
|
||||
ze_result_t returnType = parseErrorCode(returnValue);
|
||||
if (returnType == ZE_RESULT_SUCCESS) {
|
||||
if (!isCopyOnly()) {
|
||||
|
||||
Reference in New Issue
Block a user