Revert "fix: track registered CSR clients"

This reverts commit 53f635e392.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
Compute-Runtime-Validation
2023-09-24 09:39:38 +02:00
committed by Compute-Runtime-Automation
parent d515ba965c
commit ade538ce54
18 changed files with 77 additions and 127 deletions

View File

@@ -253,11 +253,10 @@ CommandQueue *CommandQueue::create(uint32_t productFamily, Device *device, NEO::
}
void CommandQueueImp::unregisterCsrClient() {
this->csr->unregisterClient(this);
}
void CommandQueueImp::registerCsrClient() {
this->csr->registerClient(this);
if (getClientId() != CommandQueue::clientNotRegistered) {
this->csr->unregisterClient();
setClientId(CommandQueue::clientNotRegistered);
}
}
ze_result_t CommandQueueImp::CommandBufferManager::initialize(Device *device, size_t sizeRequested) {