feature: control bindless compilation mode based on release

- check releaseHelper support when selecting bindless mode, if not
disabled, prefer bindless mode in L0 API
- bindless mode can be forced with DebugVariable: UseBindlessMode

Related-To: NEO-7063

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
Mateusz Hoppe
2023-10-18 18:37:50 +00:00
committed by Compute-Runtime-Automation
parent 096e424428
commit 5a4fa180d6
18 changed files with 51 additions and 22 deletions

View File

@@ -14,13 +14,14 @@
#include <vector>
namespace NEO {
class ReleaseHelper;
struct ApiSpecificConfig {
enum ApiType { OCL,
L0 };
static bool isStatelessCompressionSupported();
static bool getGlobalBindlessHeapConfiguration();
static bool getBindlessMode();
static bool getBindlessMode(const ReleaseHelper *);
static bool isDeviceAllocationCacheEnabled();
static bool isDynamicPostSyncAllocLayoutEnabled();
static ApiType getApiType();