mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 09:03:14 +08:00
test: Fix zello_ipc_event
Correct offset at which the number of events is extracted from IPC event pool handle. Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
ce059e7fe3
commit
9026c5912e
@@ -87,7 +87,7 @@ void runClient(int commSocket, uint32_t clientId) {
|
||||
|
||||
// get the number of events from the payload
|
||||
uint32_t numEvents = 0;
|
||||
memcpy(&numEvents, pIpcEventPoolHandle.data + sizeof(int), sizeof(int));
|
||||
memcpy(&numEvents, pIpcEventPoolHandle.data + sizeof(uint64_t), sizeof(uint64_t));
|
||||
|
||||
std::vector<ze_event_handle_t> events(numEvents);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user