mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 09:03:14 +08:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user