refactor: introduce generic pool allocator using traits pattern

Related-To: NEO-12287
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
This commit is contained in:
Fabian Zwoliński
2025-10-27 15:39:58 +00:00
committed by Compute-Runtime-Automation
parent 1cf5d7dc9c
commit c0abff9cf2
17 changed files with 330 additions and 281 deletions

View File

@@ -0,0 +1,20 @@
/*
* Copyright (C) 2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/utilities/pool_allocators.h"
#include "shared/source/helpers/non_copyable_or_moveable.h"
#include "shared/source/utilities/generic_pool_allocator.inl"
namespace NEO {
template class GenericPool<TimestampPoolTraits>;
template class GenericPoolAllocator<TimestampPoolTraits>;
static_assert(NEO::NonCopyable<TimestampPool>);
} // namespace NEO