mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 22:12:59 +08:00
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:
committed by
Compute-Runtime-Automation
parent
fa58073095
commit
89c3aab321
@@ -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 *>;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user