Files
compute-runtime/shared/source/utilities/pool_allocators.cpp
Fabian Zwoliński 3c43276dab feature: add global/const surface nonUSM allocation pooling
Related-To: NEO-12287
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2025-10-29 16:56:59 +01:00

24 lines
656 B
C++

/*
* Copyright (C) 2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/utilities/pool_allocators.h"
#include "shared/source/utilities/generic_pool_allocator.inl"
namespace NEO {
#define INSTANTIATE_POOL_ALLOCATOR(Traits) \
template class AbstractBuffersAllocator<GenericPool<Traits>, GraphicsAllocation>; \
template class GenericPoolAllocator<Traits>
INSTANTIATE_POOL_ALLOCATOR(TimestampPoolTraits);
INSTANTIATE_POOL_ALLOCATOR(GlobalSurfacePoolTraits);
INSTANTIATE_POOL_ALLOCATOR(ConstantSurfacePoolTraits);
#undef INSTANTIATE_POOL_ALLOCATOR
} // namespace NEO