mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-22 10:17:01 +08:00
Pass timestamp resolution to scheduler through event pool.
Related-To: NEO-2491 Change-Id: I7fb42441320b2b8a63b65ebe1d7f1f435809c80e Signed-off-by: Piotr Zdunowski <piotr.zdunowski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
bb7c4d9222
commit
5e4362258a
@@ -141,6 +141,7 @@ void DeviceQueue::initDeviceQueue() {
|
||||
|
||||
auto igilEventPool = reinterpret_cast<IGIL_EventPool *>(eventPoolBuffer->getUnderlyingBuffer());
|
||||
memset(eventPoolBuffer->getUnderlyingBuffer(), 0x0, eventPoolBuffer->getUnderlyingBufferSize());
|
||||
igilEventPool->m_TimestampResolution = static_cast<float>(device->getProfilingTimerResolution());
|
||||
igilEventPool->m_size = caps.maxOnDeviceEvents;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user