/* * Copyright (C) 2020-2022 Intel Corporation * * SPDX-License-Identifier: MIT * */ #pragma once #include #include namespace NEO { struct ApiSpecificConfig { enum ApiType { OCL, L0 }; static bool isStatelessCompressionSupported(); static bool getHeapConfiguration(); static bool getBindlessConfiguration(); static ApiType getApiType(); static std::string getName(); static uint64_t getReducedMaxAllocSize(uint64_t maxAllocSize); static const char *getRegistryPath(); static std::string getAubPrefixForSpecificApi() { return (getName() + "_"); } }; } // namespace NEO