refactor: Extract PostSyncType to outer abstract layer

This modification serves to simplify the integration of generated
compute walker structures.

Related-To: NEO-13147

Signed-off-by: Vysochyn, Illia <illia.vysochyn@intel.com>
This commit is contained in:
Vysochyn, Illia
2024-11-19 17:41:53 +00:00
committed by Compute-Runtime-Automation
parent fa58073095
commit 89c3aab321
25 changed files with 80 additions and 58 deletions

View File

@@ -5953,8 +5953,6 @@ typedef struct tagCOMPUTE_WALKER {
return sizeof(TheStructure.Common.InlineData);
}
using InterfaceDescriptorType = std::decay_t<decltype(TheStructure.Common.InterfaceDescriptor)>; // patched
using PostSyncType = std::decay_t<decltype(TheStructure.Common.PostSync)>; // patched
} COMPUTE_WALKER;
STATIC_ASSERT(160 == sizeof(COMPUTE_WALKER));

View File

@@ -5981,7 +5981,6 @@ typedef struct tagCOMPUTE_WALKER {
return sizeof(TheStructure.Common.InlineData);
}
using InterfaceDescriptorType = std::decay_t<decltype(TheStructure.Common.InterfaceDescriptor)>; // patched
using PostSyncType = std::decay_t<decltype(TheStructure.Common.PostSync)>; // patched
} COMPUTE_WALKER;
STATIC_ASSERT(160 == sizeof(COMPUTE_WALKER));

View File

@@ -5815,8 +5815,6 @@ typedef struct tagCOMPUTE_WALKER {
return sizeof(TheStructure.Common.InlineData);
}
using InterfaceDescriptorType = std::decay_t<decltype(TheStructure.Common.InterfaceDescriptor)>; // patched
using PostSyncType = std::decay_t<decltype(TheStructure.Common.PostSync)>; // patched
} COMPUTE_WALKER;
STATIC_ASSERT(156 == sizeof(COMPUTE_WALKER));

View File

@@ -5584,8 +5584,6 @@ typedef struct tagCOMPUTE_WALKER {
return sizeof(TheStructure.Common.InlineData);
}
using InterfaceDescriptorType = std::decay_t<decltype(TheStructure.Common.InterfaceDescriptor)>; // patched
using PostSyncType = std::decay_t<decltype(TheStructure.Common.PostSync)>; // patched
} COMPUTE_WALKER;
STATIC_ASSERT(156 == sizeof(COMPUTE_WALKER));