mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 14:02:58 +08:00
refactor: add NOLINT for hardware info padding warning
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
7fa7d4204d
commit
261c4d3e72
@@ -137,7 +137,7 @@ inline bool operator==(const RuntimeCapabilityTable &lhs, const RuntimeCapabilit
|
||||
return result;
|
||||
}
|
||||
|
||||
struct HardwareInfo {
|
||||
struct HardwareInfo { // NOLINT(clang-analyzer-optin.performance.Padding)
|
||||
HardwareInfo() = default;
|
||||
HardwareInfo(const PLATFORM *platform, const FeatureTable *featureTable, const WorkaroundTable *workaroundTable,
|
||||
const GT_SYSTEM_INFO *gtSystemInfo, const RuntimeCapabilityTable &capabilityTable);
|
||||
@@ -148,7 +148,6 @@ struct HardwareInfo {
|
||||
alignas(4) GT_SYSTEM_INFO gtSystemInfo{};
|
||||
alignas(8) RuntimeCapabilityTable capabilityTable{};
|
||||
alignas(8) HardwareIpVersion ipVersion{};
|
||||
uint8_t reserved[4]{}; // to keep optimal alignment
|
||||
};
|
||||
|
||||
// Global table of hardware prefixes
|
||||
|
||||
Reference in New Issue
Block a user