mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-27 15:53:13 +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
@@ -98,7 +98,7 @@ struct EnqueueHandlerWithAubSubCaptureTests : public EnqueueHandlerTest {
|
||||
template <typename FamilyType>
|
||||
class MockCmdQWithAubSubCapture : public CommandQueueHw<FamilyType> {
|
||||
public:
|
||||
MockCmdQWithAubSubCapture(Context *context, ClDevice *device) : CommandQueueHw<FamilyType>(context, device, nullptr) {}
|
||||
MockCmdQWithAubSubCapture(Context *context, ClDevice *device) : CommandQueueHw<FamilyType>(context, device, nullptr, false) {}
|
||||
|
||||
void waitUntilComplete(uint32_t taskCountToWait, FlushStamp flushStampToWait, bool useQuickKmdSleep) override {
|
||||
waitUntilCompleteCalled = true;
|
||||
@@ -174,7 +174,7 @@ class MyCommandQueueHw : public CommandQueueHw<GfxFamily> {
|
||||
typedef CommandQueueHw<GfxFamily> BaseClass;
|
||||
|
||||
public:
|
||||
MyCommandQueueHw(Context *context, ClDevice *device, cl_queue_properties *properties) : BaseClass(context, device, properties){};
|
||||
MyCommandQueueHw(Context *context, ClDevice *device, cl_queue_properties *properties) : BaseClass(context, device, properties, false){};
|
||||
Vec3<size_t> lws = {1, 1, 1};
|
||||
Vec3<size_t> elws = {1, 1, 1};
|
||||
void enqueueHandlerHook(const unsigned int commandType, const MultiDispatchInfo &multiDispatchInfo) override {
|
||||
|
||||
Reference in New Issue
Block a user