mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 14:33:04 +08:00
refactor: Switch EventDescriptor initialization to designated initializers
Related-To: NEO-12287 Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
3560b016bd
commit
ecc96a9ab4
@@ -109,19 +109,19 @@ struct InOrderCmdListFixture : public ::Test<ModuleFixture> {
|
||||
constexpr uint32_t counterBasedFlags = (ZE_EVENT_POOL_COUNTER_BASED_EXP_FLAG_IMMEDIATE | ZE_EVENT_POOL_COUNTER_BASED_EXP_FLAG_NON_IMMEDIATE);
|
||||
|
||||
const EventDescriptor eventDescriptor = {
|
||||
nullptr, // eventPoolAllocation
|
||||
pNext, // extension
|
||||
0, // totalEventSize
|
||||
EventPacketsCount::maxKernelSplit, // maxKernelCount
|
||||
0, // maxPacketsCount
|
||||
counterBasedFlags, // counterBasedFlags
|
||||
0, // index
|
||||
0, // signalScope
|
||||
0, // waitScope
|
||||
false, // timestampPool
|
||||
false, // kernelMappedTsPoolFlag
|
||||
false, // importedIpcPool
|
||||
false, // ipcPool
|
||||
.eventPoolAllocation = nullptr,
|
||||
.extensions = pNext,
|
||||
.totalEventSize = 0,
|
||||
.maxKernelCount = EventPacketsCount::maxKernelSplit,
|
||||
.maxPacketsCount = 0,
|
||||
.counterBasedFlags = counterBasedFlags,
|
||||
.index = 0,
|
||||
.signalScope = 0,
|
||||
.waitScope = 0,
|
||||
.timestampPool = false,
|
||||
.kernelMappedTsPoolFlag = false,
|
||||
.importedIpcPool = false,
|
||||
.ipcPool = false,
|
||||
};
|
||||
|
||||
standaloneCbEventStorage.push_back(1);
|
||||
|
||||
Reference in New Issue
Block a user