Fix for forceStateless check

Change-Id: Ic1d4787c3d8c7bdd70f13451d703bbc9958af7c7
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-3314
This commit is contained in:
Kamil Kopryk
2019-11-06 10:01:37 +01:00
committed by sys_ocldev
parent d9f1849323
commit 011701ee5e
13 changed files with 102 additions and 100 deletions

View File

@@ -97,10 +97,6 @@ template <typename FamilyType>
struct CommandQueueStateless : public CommandQueueHw<FamilyType> {
CommandQueueStateless(Context *context, Device *device) : CommandQueueHw<FamilyType>(context, device, nullptr){};
bool forceStateless(size_t size) override {
return true;
}
void enqueueHandlerHook(const unsigned int commandType, const MultiDispatchInfo &dispatchInfo) override {
auto kernel = dispatchInfo.begin()->getKernel();
EXPECT_TRUE(kernel->getKernelInfo().patchInfo.executionEnvironment->CompiledForGreaterThan4GBBuffers);
@@ -112,10 +108,6 @@ template <typename FamilyType>
struct CommandQueueStateful : public CommandQueueHw<FamilyType> {
CommandQueueStateful(Context *context, Device *device) : CommandQueueHw<FamilyType>(context, device, nullptr){};
bool forceStateless(size_t size) override {
return false;
}
void enqueueHandlerHook(const unsigned int commandType, const MultiDispatchInfo &dispatchInfo) override {
auto kernel = dispatchInfo.begin()->getKernel();
auto &device = kernel->getDevice();