fix: global stateless heap creation in heapless path

Related-To: NEO-10681
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
Kamil Kopryk
2024-09-05 15:43:24 +00:00
committed by Compute-Runtime-Automation
parent b2004979ce
commit 95b035a071
4 changed files with 29 additions and 0 deletions

View File

@@ -15,6 +15,7 @@
namespace NEO {
class ReleaseHelper;
struct RootDeviceEnvironment;
struct ApiSpecificConfig {
enum ApiType { OCL,
@@ -26,6 +27,7 @@ struct ApiSpecificConfig {
static bool isHostAllocationCacheEnabled();
static bool isDeviceUsmPoolingEnabled();
static bool isHostUsmPoolingEnabled();
static bool isGlobalStatelessEnabled(const RootDeviceEnvironment &rootDeviceEnvironment);
static ApiType getApiType();
static std::string getName();
static uint64_t getReducedMaxAllocSize(uint64_t maxAllocSize);