Do not use max power saving mode in VA sharing scenarios.

-This can be achieved by passing CL_QUEUE_THROTTLE_LOW_KHR as throttle hint
to command queue.
- This gives much better control about the granularity of this feature
instead of triggering this for the whole context user may still have
power saving mode queues.

Change-Id: I066729f963119ddc1f62ad2785c342af2fea588e
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
This commit is contained in:
Mrozek, Michal
2019-05-07 14:24:13 +02:00
committed by sys_ocldev
parent cadc461712
commit bc35cd250a
8 changed files with 1 additions and 98 deletions

View File

@@ -170,9 +170,6 @@ bool Context::createImpl(const cl_context_properties *properties,
if (memoryManager->isAsyncDeleterEnabled()) {
memoryManager->getDeferredDeleter()->addClient();
}
if (this->sharingFunctions[SharingType::VA_SHARING]) {
device->initMaxPowerSavingMode();
}
}
for (auto &device : devices) {