1 /* 2 * Copyright (C) 2020-2021 Intel Corporation 3 * 4 * SPDX-License-Identifier: MIT 5 * 6 */ 7 8 #include <cstdint> 9 #include <string> 10 11 #pragma once 12 namespace NEO { 13 struct ApiSpecificConfig { 14 enum ApiType { OCL, 15 L0 }; 16 static bool isStatelessCompressionSupported(); 17 static bool getHeapConfiguration(); 18 static bool getBindlessConfiguration(); 19 static ApiType getApiType(); 20 static std::string getName(); 21 static uint64_t getReducedMaxAllocSize(uint64_t maxAllocSize); 22 static const char *getRegistryPath(); 23 getAubPrefixForSpecificApiApiSpecificConfig24 static std::string getAubPrefixForSpecificApi() { 25 return (getName() + "_"); 26 } 27 }; 28 } // namespace NEO 29