mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 05:24:02 +08:00
Add API name to aub file name
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
0a83d610c1
commit
9ff91defba
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user