Searched refs:memory_pool (Results 1 – 6 of 6) sorted by relevance
3 memory_pool title18 A ``memory_pool`` allocates and frees memory in a way that scales with the number of processors.36 #include "oneapi/tbb/memory_pool.h"46 class memory_pool {48 explicit memory_pool(const Alloc &src = Alloc());49 memory_pool(const memory_pool& other) = delete;50 memory_pool& operator=(const memory_pool& other) = delete;51 ~memory_pool();63 .. cpp:function:: explicit memory_pool(const Alloc &src = Alloc())76 #include "oneapi/tbb/memory_pool.h"[all …]
20 This constructor is linked with an instance of either the ``memory_pool`` or the ``fixed_pool`` cla…31 #include "oneapi/tbb/memory_pool.h"53 explicit memory_pool_allocator(memory_pool &pool) throw();76 memory_pool_allocator(memory_pool &pool) throw();95 .. cpp:function:: explicit memory_pool_allocator(memory_pool &pool)97 **Effects**: Constructs a memory pool allocator serviced by ``memory_pool`` instance pool.113 #include "oneapi/tbb/memory_pool.h"
30 #include "oneapi/tbb/memory_pool.h"70 #include "oneapi/tbb/memory_pool.h"
21 #error Set TBB_PREVIEW_MEMORY_POOL to include memory_pool.h175 class memory_pool : public pool_base {182 explicit memory_pool(const Alloc &src = Alloc());185 ~memory_pool() { destroy(); } // call the callbacks first and destroy my_alloc latter in ~memory_pool()203 memory_pool<Alloc>::memory_pool(const Alloc &src) : my_alloc(src) { in memory_pool() function211 void *memory_pool<Alloc>::allocate_request(intptr_t pool_id, size_t & bytes) { in allocate_request()212 memory_pool<Alloc> &self = *reinterpret_cast<memory_pool<Alloc>*>(pool_id); in allocate_request()234 int memory_pool<Alloc>::deallocate_request(intptr_t pool_id, void* raw_ptr, size_t raw_bytes) { in deallocate_request()235 memory_pool<Alloc> &self = *reinterpret_cast<memory_pool<Alloc>*>(pool_id); in deallocate_request()266 using detail::d1::memory_pool;
97 tbb::memory_pool<NullAllocator> pool; in TestZeroSpaceMemoryPool()190 tbb::memory_pool<tbb::scalable_allocator<int>> pool;221 typedef tbb::memory_pool<tbb::memory_pool_allocator<char, tbb::fixed_pool> > NestedPool;234 tbb::memory_pool<tbb::scalable_allocator<int>> mpool;280 tbb::memory_pool<tbb::scalable_allocator<int>> mpool; 290 tbb::memory_pool<tbb::scalable_allocator<int> > mpool;
36 …The ``memory_pool`` template class and the ``fixed_pool`` class meet the Memory Pool named require…