mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-01 04:23:00 +08:00
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:
committed by
Compute-Runtime-Automation
parent
1cf5d7dc9c
commit
c0abff9cf2
20
shared/source/utilities/pool_allocators.cpp
Normal file
20
shared/source/utilities/pool_allocators.cpp
Normal 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
|
||||
Reference in New Issue
Block a user