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

@@ -178,6 +178,12 @@ struct XeHpgCoreFamily : public XeHpgCore {
static constexpr bool isInterfaceDescriptorHeaplessMode() {
return false;
}
template <typename WalkerType>
static auto getPostSyncType() {
return std::decay_t<POSTSYNC_DATA>{};
}
using WalkerVariant = std::variant<COMPUTE_WALKER *>;
};