mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Allow device allocs for timestamp events
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
d603bb2f34
commit
8aa2e76173
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user