mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
refactor: dont use std::pod
Related-To: NEO-10767 Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
83c87a33ec
commit
41a78ffa93
@ -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
|
||||
|
Reference in New Issue
Block a user