Remove not needed cmdbuffer memsets

Related-To: NEO-7156
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
Kamil Kopryk 2022-09-19 12:23:41 +00:00 committed by Compute-Runtime-Automation
parent b694a639a3
commit 0ce963d84a
1 changed files with 0 additions and 2 deletions

View File

@ -225,8 +225,6 @@ ze_result_t CommandQueueImp::CommandBufferManager::initialize(Device *device, si
return ZE_RESULT_ERROR_OUT_OF_DEVICE_MEMORY;
}
memset(buffers[BUFFER_ALLOCATION::FIRST]->getUnderlyingBuffer(), 0, buffers[BUFFER_ALLOCATION::FIRST]->getUnderlyingBufferSize());
memset(buffers[BUFFER_ALLOCATION::SECOND]->getUnderlyingBuffer(), 0, buffers[BUFFER_ALLOCATION::SECOND]->getUnderlyingBufferSize());
flushId[BUFFER_ALLOCATION::FIRST] = std::make_pair(0u, 0u);
flushId[BUFFER_ALLOCATION::SECOND] = std::make_pair(0u, 0u);
return ZE_RESULT_SUCCESS;