refactor: Correct using's for idd type and postSync type and getInlineDataSize
Related-To: NEO-10681 Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
parent
9da7084994
commit
b71bb715fc
|
@ -5961,10 +5961,10 @@ typedef struct tagCOMPUTE_WALKER {
|
|||
TheStructure.Common.PreemptLastCol = value;
|
||||
}
|
||||
static constexpr uint32_t getInlineDataSize() { // patched
|
||||
return 32u;
|
||||
return sizeof(TheStructure.Common.InlineData);
|
||||
}
|
||||
using InterfaceDescriptorType = INTERFACE_DESCRIPTOR_DATA; // patched
|
||||
using PostSyncType = POSTSYNC_DATA; // patched
|
||||
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));
|
||||
|
|
|
@ -5815,10 +5815,10 @@ typedef struct tagCOMPUTE_WALKER {
|
|||
return reinterpret_cast<uint32_t *>(&TheStructure.Common.InlineData);
|
||||
}
|
||||
static constexpr uint32_t getInlineDataSize() { // patched
|
||||
return 32u;
|
||||
return sizeof(TheStructure.Common.InlineData);
|
||||
}
|
||||
using InterfaceDescriptorType = INTERFACE_DESCRIPTOR_DATA; // patched
|
||||
using PostSyncType = POSTSYNC_DATA; // patched
|
||||
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));
|
||||
|
|
|
@ -5584,10 +5584,10 @@ typedef struct tagCOMPUTE_WALKER {
|
|||
return reinterpret_cast<uint32_t *>(&TheStructure.Common.InlineData);
|
||||
}
|
||||
static constexpr uint32_t getInlineDataSize() { // patched
|
||||
return 32u;
|
||||
return sizeof(TheStructure.Common.InlineData);
|
||||
}
|
||||
using InterfaceDescriptorType = INTERFACE_DESCRIPTOR_DATA; // patched
|
||||
using PostSyncType = POSTSYNC_DATA; // patched
|
||||
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));
|
||||
|
|
Loading…
Reference in New Issue