mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
Create dedicated engine for internal usage
Related-To: NEO-4149 Change-Id: I1641866429cfa87b457a808b22917d191c482a7e Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
31029be263
commit
d810067048
@@ -45,13 +45,14 @@ CommandQueueCreateFunc commandQueueFactory[IGFX_MAX_CORE] = {};
|
||||
CommandQueue *CommandQueue::create(Context *context,
|
||||
ClDevice *device,
|
||||
const cl_queue_properties *properties,
|
||||
bool internalUsage,
|
||||
cl_int &retVal) {
|
||||
retVal = CL_SUCCESS;
|
||||
|
||||
auto funcCreate = commandQueueFactory[device->getRenderCoreFamily()];
|
||||
DEBUG_BREAK_IF(nullptr == funcCreate);
|
||||
|
||||
return funcCreate(context, device, properties);
|
||||
return funcCreate(context, device, properties, internalUsage);
|
||||
}
|
||||
|
||||
CommandQueue::CommandQueue() : CommandQueue(nullptr, nullptr, 0) {
|
||||
|
||||
Reference in New Issue
Block a user