mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-28 08:37:12 +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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user