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:
Jobczyk, Lukasz
2020-01-21 09:35:12 +01:00
committed by sys_ocldev
parent 31029be263
commit d810067048
59 changed files with 258 additions and 161 deletions

View File

@@ -57,8 +57,10 @@ class CommandQueue : public BaseObject<_cl_command_queue> {
public:
static const cl_ulong objectMagic = 0x1234567890987654LL;
static CommandQueue *create(Context *context, ClDevice *device,
static CommandQueue *create(Context *context,
ClDevice *device,
const cl_queue_properties *properties,
bool internalUsage,
cl_int &errcodeRet);
CommandQueue();
@@ -472,7 +474,6 @@ class CommandQueue : public BaseObject<_cl_command_queue> {
std::unique_ptr<TimestampPacketContainer> timestampPacketContainer;
};
typedef CommandQueue *(*CommandQueueCreateFunc)(
Context *context, ClDevice *device, const cl_queue_properties *properties);
using CommandQueueCreateFunc = CommandQueue *(*)(Context *context, ClDevice *device, const cl_queue_properties *properties, bool internalUsage);
} // namespace NEO