mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
feature: additional checkers to enable feature
Resolves: NEO-13973 Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
4bc13fa0dc
commit
0243004907
@@ -10,6 +10,7 @@
|
||||
#include "shared/source/device/device.h"
|
||||
#include "shared/source/execution_environment/root_device_environment.h"
|
||||
#include "shared/source/helpers/api_specific_config.h"
|
||||
#include "shared/source/helpers/compiler_product_helper.h"
|
||||
#include "shared/source/release_helper/release_helper.h"
|
||||
|
||||
#include "level_zero/core/source/compiler_interface/l0_reg_path.h"
|
||||
@@ -33,6 +34,10 @@ bool ApiSpecificConfig::getGlobalBindlessHeapConfiguration(const ReleaseHelper *
|
||||
}
|
||||
|
||||
bool ApiSpecificConfig::getBindlessMode(const Device &device) {
|
||||
if (device.getCompilerProductHelper().isForceBindlessRequired()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (debugManager.flags.UseBindlessMode.get() != -1) {
|
||||
return debugManager.flags.UseBindlessMode.get();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user