mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 13:33:02 +08:00
Capability to create multiple Regular contexts per engine
Ralated-To: NEO-7618 Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
7850d06c09
commit
99e0493a39
@@ -177,7 +177,9 @@ void CommandQueue::initializeGpgpu() const {
|
||||
!(getCmdQueueProperties<cl_queue_priority_khr>(propertiesVector.data(), CL_QUEUE_PRIORITY_KHR) & static_cast<cl_queue_priority_khr>(CL_QUEUE_PRIORITY_LOW_KHR)) &&
|
||||
engineRoundRobinAvailable;
|
||||
|
||||
if (assignEngineRoundRobin) {
|
||||
if (device->getDevice().getNumberOfRegularContextsPerEngine() > 1) {
|
||||
this->gpgpuEngine = &device->getDevice().getNextEngineForMultiRegularContextMode();
|
||||
} else if (assignEngineRoundRobin) {
|
||||
this->gpgpuEngine = &device->getDevice().getNextEngineForCommandQueue();
|
||||
} else {
|
||||
this->gpgpuEngine = &device->getDefaultEngine();
|
||||
|
||||
Reference in New Issue
Block a user