Home
last modified time | relevance | path

Searched refs:pool (Results 1 – 11 of 11) sorted by relevance

/petsc/src/sys/objects/cxx/memory/
H A Dobject_pool.cxx151 …return std::lower_bound(this->pool().begin(), this->pool().end(), align, [](const pool_type::value… in find_align_()
156 …return std::lower_bound(this->pool().begin(), this->pool().end(), align, [](const pool_type::value… in find_align_()
191 PetscCallCXX(this->pool().clear()); in clear_()
437 if (align_it != this->pool().end() && align_it->first == align) { in try_allocate()
515 …if (it == this->pool().end() || it->first != align) PetscCallCXX(it = this->pool().insert(it, {ali… in deallocate()
587 …PetscCallAbort(PETSC_COMM_SELF, pool().allocate(&ptr, size, static_cast<align_type>(alignof(std::m… in operator new()
597 allocator_type &allocated = pool(); in operator delete()
611 PetscCallAbort(PETSC_COMM_SELF, pool().allocate(&ptr, size, static_cast<align_type>(align))); in operator new()
621 PetscCallAbort(PETSC_COMM_SELF, pool().get_attributes(ptr, &size, nullptr)); in operator delete()
622 PetscCallAbort(PETSC_COMM_SELF, pool().deallocate(&ptr, size, static_cast<align_type>(align))); in operator delete()
[all …]
/petsc/include/petsc/private/cpp/
H A Dobject_pool.hpp94 explicit LockGuard(PoolAllocator *pool) noexcept : pool_{pool} { ++pool_->locked_; } in LockGuard() argument
97 void operator()(PoolAllocator *pool) const noexcept { --pool->locked_; } in operator ()()
119 PETSC_NODISCARD pool_type &pool() noexcept { return pool_; } in pool() function in Petsc::memory::PoolAllocator
120 PETSC_NODISCARD const pool_type &pool() const noexcept { return pool_; } in pool() function in Petsc::memory::PoolAllocator
147 for (auto &&align_it : pool()) { in for_each()
204 PETSC_NODISCARD static allocator_type &pool() noexcept;
/petsc/systems/Apple/iOS/examples/Basic/
H A Dmain.m13 NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
15 [pool release];
/petsc/systems/Apple/iOS/examples/testopengl/
H A Dmain.m14 NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
24 [pool release];
/petsc/src/sys/objects/device/impls/cupm/
H A Dcupmevent.hpp79 static CUPMEventPool<T, flags> pool; in cupm_event_pool() local
80 return pool; in cupm_event_pool()
H A Dcupmcontext.hpp184 static PoolType pool; in default_pool_() local
185 return pool; in default_pool_()
/petsc/include/petsc/private/valgrind/
H A Dvalgrind.h7005 #define VALGRIND_CREATE_MEMPOOL(pool, rzB, is_zeroed) \ argument
7007 pool, rzB, is_zeroed, 0, 0)
7037 #define VALGRIND_CREATE_MEMPOOL_EXT(pool, rzB, is_zeroed, flags) \ argument
7039 pool, rzB, is_zeroed, flags, 0)
7042 #define VALGRIND_DESTROY_MEMPOOL(pool) \ argument
7044 pool, 0, 0, 0, 0)
7047 #define VALGRIND_MEMPOOL_ALLOC(pool, addr, size) \ argument
7049 pool, addr, size, 0, 0)
7052 #define VALGRIND_MEMPOOL_FREE(pool, addr) \ argument
7054 pool, addr, 0, 0, 0)
[all …]
/petsc/include/petsc/private/
H A Dcupminterface.hpp217 PETSC_NODISCARD static cupmError_t cupmDeviceGetMemPool(cupmMemPool_t *pool, int) noexcept in PETSC_CUPM_ALIAS_FUNCTION()
219 *pool = nullptr; in PETSC_CUPM_ALIAS_FUNCTION()
362 PETSC_NODISCARD static cupmError_t cupmDeviceGetMemPool(cupmMemPool_t *pool, int) noexcept in PETSC_CUPM_ALIAS_FUNCTION()
364 *pool = nullptr; in PETSC_CUPM_ALIAS_FUNCTION()
/petsc/doc/changes/
H A Ddev.md29 - Add the option `-hypre_umpire_device_pool_size <n>` to set the Umpire device memory pool size (in…
H A D314.md214 - Update TSTrajectory (type memory) to preallocate a checkpoint pool
/petsc/share/petsc/datafiles/meshes/
H A Dtestcase3D.cas2438 (dpm/film-gutter-and-pool-treatment? #t)
2611 (dpm/random-pool-size 0)