mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 18:37:46 +08:00
More cleanup of Level Zero core API
Change-Id: Iad2118683efb4f5029503a8fec20d88b37d22e07 Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
This commit is contained in:
@@ -84,15 +84,14 @@ ze_result_t CommandQueueImp::synchronizeByPollingForTaskCount(uint32_t timeout)
|
||||
|
||||
void CommandQueueImp::printFunctionsPrintfOutput() {
|
||||
size_t size = this->printfFunctionContainer.size();
|
||||
if (size) {
|
||||
for (size_t i = 0; i < size; i++) {
|
||||
this->printfFunctionContainer[i]->printPrintfOutput();
|
||||
}
|
||||
this->printfFunctionContainer.clear();
|
||||
for (size_t i = 0; i < size; i++) {
|
||||
this->printfFunctionContainer[i]->printPrintfOutput();
|
||||
}
|
||||
this->printfFunctionContainer.clear();
|
||||
}
|
||||
|
||||
CommandQueue *CommandQueue::create(uint32_t productFamily, Device *device, NEO::CommandStreamReceiver *csr, const ze_command_queue_desc_t *desc) {
|
||||
CommandQueue *CommandQueue::create(uint32_t productFamily, Device *device, NEO::CommandStreamReceiver *csr,
|
||||
const ze_command_queue_desc_t *desc) {
|
||||
CommandQueueAllocatorFn allocator = nullptr;
|
||||
if (productFamily < IGFX_MAX_PRODUCT) {
|
||||
allocator = commandQueueFactory[productFamily];
|
||||
|
||||
Reference in New Issue
Block a user