mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 22:43:00 +08:00
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:
committed by
Compute-Runtime-Automation
parent
096e424428
commit
5a4fa180d6
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user