Allow device allocs for timestamp events

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
This commit is contained in:
Aravind Gopalakrishnan
2022-02-25 22:35:37 +00:00
committed by Compute-Runtime-Automation
parent d603bb2f34
commit 8aa2e76173
2 changed files with 37 additions and 1 deletions

View File

@@ -85,7 +85,7 @@ ze_result_t EventPoolImp::initialize(DriverHandle *driver, Context *context, uin
useDeviceAlloc = false;
}
if (useDeviceAlloc && !isEventPoolTimestampFlagSet()) {
if (useDeviceAlloc) {
allocationType = NEO::AllocationType::GPU_TIMESTAMP_DEVICE_BUFFER;
}