mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-20 13:11:34 +08:00
Remove custom _PATCH_TOKEN_GLOBAL_HOST_ACCESS_TABLE definition
This commit removes custom definition of _PATCH_TOKEN_GLOBAL_HOST_ACCESS_TABLE and instead uses one provided by IGC. Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
46f4472965
commit
50aeae41bf
@ -390,7 +390,7 @@ inline bool decodeToken(const SPatchItemHeader *token, KernelFromPatchtokens &ou
|
||||
case PATCH_TOKEN_KERNEL_ARGUMENT_INFO:
|
||||
assignArgInfo(out, token);
|
||||
break;
|
||||
case _PATCH_TOKEN_GLOBAL_HOST_ACCESS_TABLE:
|
||||
case PATCH_TOKEN_GLOBAL_HOST_ACCESS_TABLE:
|
||||
assignToken(out.tokens.hostAccessTable, token);
|
||||
break;
|
||||
|
||||
|
@ -42,10 +42,6 @@ enum class ArgObjectTypeSpecialized : uint32_t {
|
||||
Vme
|
||||
};
|
||||
|
||||
const uint32_t patchTokenGlobalHostAccessTableUnknownId = 1234;
|
||||
constexpr bool hasGlobalHostAccessTable = ((CURRENT_ICBE_VERSION == 1080 && NUM_PATCH_TOKENS == 58) || (CURRENT_ICBE_VERSION == 1082 && NUM_PATCH_TOKENS == 59));
|
||||
constexpr uint32_t _PATCH_TOKEN_GLOBAL_HOST_ACCESS_TABLE = hasGlobalHostAccessTable ? 57 : patchTokenGlobalHostAccessTableUnknownId;
|
||||
|
||||
using StackVecUnhandledTokens = StackVec<const SPatchItemHeader *, 4>;
|
||||
using StackVecByValMap = StackVec<const SPatchDataParameterBuffer *, 8>;
|
||||
using StackVecStrings = StackVec<const SPatchString *, 4>;
|
||||
|
Reference in New Issue
Block a user