Add API name to aub file name

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
Bartosz Dunajski
2021-09-16 12:31:00 +00:00
committed by Compute-Runtime-Automation
parent 0a83d610c1
commit 9ff91defba
10 changed files with 33 additions and 12 deletions

View File

@@ -6,6 +6,7 @@
*/
#include <cstdint>
#include <string>
#pragma once
namespace NEO {
@@ -16,7 +17,11 @@ struct ApiSpecificConfig {
static bool getHeapConfiguration();
static bool getBindlessConfiguration();
static ApiType getApiType();
static const char *getAubPrefixForSpecificApi();
static std::string getName();
static uint64_t getReducedMaxAllocSize(uint64_t maxAllocSize);
static std::string getAubPrefixForSpecificApi() {
return (getName() + "_");
}
};
} // namespace NEO