mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
fix: disable passing FtrTile64Optimization to gmmlib
add debug key to control if the value should be passed Related-To: NEO-10785 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
f7342ff910
commit
1e1d675606
@@ -7,6 +7,7 @@
|
||||
|
||||
#include "shared/source/gmm_helper/client_context/gmm_client_context.h"
|
||||
|
||||
#include "shared/source/debug_settings/debug_settings_manager.h"
|
||||
#include "shared/source/execution_environment/root_device_environment.h"
|
||||
#include "shared/source/gmm_helper/client_context/gmm_handle_allocator.h"
|
||||
#include "shared/source/gmm_helper/gmm_interface.h"
|
||||
@@ -37,6 +38,9 @@ GmmClientContext::GmmClientContext(const RootDeviceEnvironment &rootDeviceEnviro
|
||||
if (osInterface && osInterface->getDriverModel()) {
|
||||
osInterface->getDriverModel()->setGmmInputArgs(&inArgs);
|
||||
}
|
||||
if (debugManager.flags.EnableFtrTile64Optimization.get() != -1) {
|
||||
reinterpret_cast<_SKU_FEATURE_TABLE *>(inArgs.pSkuTable)->FtrTile64Optimization = debugManager.flags.EnableFtrTile64Optimization.get();
|
||||
}
|
||||
|
||||
auto ret = GmmInterface::initialize(&inArgs, &outArgs);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user