mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Remove not needed cmdbuffer memsets
Related-To: NEO-7156 Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
b694a639a3
commit
0ce963d84a
@ -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;
|
||||
|
Reference in New Issue
Block a user