refactor: dont use std::pod

Related-To: NEO-10767
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
Kamil Kopryk
2025-01-14 00:32:40 +00:00
committed by Compute-Runtime-Automation
parent 83c87a33ec
commit 41a78ffa93

View File

@ -1,5 +1,5 @@
/*
* Copyright (C) 2023 Intel Corporation
* Copyright (C) 2023-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@ -7,6 +7,8 @@
#pragma once
#include "shared/source/helpers/common_types.h"
#include <cstddef>
#include <cstdint>
#include <type_traits>
@ -43,6 +45,6 @@ struct alignas(32) ImplicitArgs {
static_assert(std::alignment_of_v<ImplicitArgs> == 32, "Implicit args size need to be aligned to 32");
static_assert(sizeof(ImplicitArgs) == (32 * sizeof(uint32_t)));
static_assert(ImplicitArgs::getSize() == (28 * sizeof(uint32_t)));
static_assert(std::is_pod<ImplicitArgs>::value);
static_assert(NEO::TypeTraits::isPodV<ImplicitArgs>);
} // namespace NEO