Home
last modified time | relevance | path

Searched refs:deallocate (Results 1 – 12 of 12) sorted by relevance

/petsc/src/ksp/ksp/tests/raja/
H A DmemoryManager.hpp50 void deallocate(T *&ptr) in deallocate() function
58 sycl_res->deallocate(ptr); in deallocate()
91 sycl_res->deallocate(ptr); in deallocate_gpu()
H A Dex1.raja.cxx393 memoryManager::deallocate(I); in main()
394 memoryManager::deallocate(Iold); in main()
/petsc/src/sys/objects/device/impls/cupm/
H A Dcupmevent.hpp27 PetscErrorCode deallocate(cupmEvent_t *) noexcept;
62 inline PetscErrorCode CUPMEventPool<T, flags>::deallocate(cupmEvent_t *in_event) noexcept in deallocate() function in Petsc::device::cupm::CUPMEventPool
130 PetscCallAbort(PETSC_COMM_SELF, cupm_fast_event_pool<T>().deallocate(&event_)); in ~CUPMEvent()
146 PetscCallAbort(PETSC_COMM_SELF, cupm_fast_event_pool<T>().deallocate(&event_)); in operator =()
H A Dcupmallocator.hpp42 static PetscErrorCode deallocate(value_type *, const StreamBase<U> *) noexcept;
58 inline PetscErrorCode HostAllocator<T, P>::deallocate(value_type *ptr, const StreamBase<U> *) noexc… in deallocate() function in Petsc::device::cupm::HostAllocator
93 static PetscErrorCode deallocate(value_type *, const StreamBase<U> *) noexcept;
113 inline PetscErrorCode DeviceAllocator<T, P>::deallocate(value_type *ptr, const StreamBase<U> *strea… in deallocate() function in Petsc::device::cupm::DeviceAllocator
H A Dcupmcontext.hpp285 if (dci->event) PetscCall(cupm_fast_event_pool<T>().deallocate(&dci->event)); in destroy()
511 … PetscCall(default_pool_<HostAllocator<T>>().deallocate(reinterpret_cast<char **>(ptr), &stream)); in memFree()
524 …PetscCall(default_pool_<DeviceAllocator<T>>().deallocate(reinterpret_cast<char **>(ptr), &stream)); in memFree()
/petsc/include/petsc/private/cpp/
H A Dobject_pool.hpp78 PetscErrorCode deallocate(void **, size_type, align_type) noexcept;
349 PetscErrorCode deallocate(value_type **) noexcept;
450 inline PetscErrorCode ObjectPool<T, Constructor>::deallocate(value_type **obj) noexcept in deallocate() function in Petsc::ObjectPool
456 …PetscCall(this->allocator().deallocate(reinterpret_cast<void **>(obj), sizeof(value_type), static_… in deallocate()
/petsc/src/mat/tests/
H A DcJSON.c142 void(CJSON_CDECL *deallocate)(void *pointer);
191 global_hooks.deallocate = free; in cJSON_InitHooks()
199 global_hooks.deallocate = free; in cJSON_InitHooks()
200 if (hooks->free_fn != NULL) global_hooks.deallocate = hooks->free_fn; in cJSON_InitHooks()
204 …if ((global_hooks.allocate == malloc) && (global_hooks.deallocate == free)) global_hooks.reallocat… in cJSON_InitHooks()
223 …if (!(item->type & cJSON_IsReference) && (item->valuestring != NULL)) global_hooks.deallocate(item… in cJSON_Delete()
224 …if (!(item->type & cJSON_StringIsConst) && (item->string != NULL)) global_hooks.deallocate(item->s… in cJSON_Delete()
225 global_hooks.deallocate(item); in cJSON_Delete()
401 p->hooks.deallocate(p->buffer); in ensure()
411 p->hooks.deallocate(p->buffer); in ensure()
[all …]
/petsc/src/sys/objects/device/impls/
H A Dsegmentedmempool.hpp351 PetscCall(allocator_->deallocate(mem_, stream)); in clear_()
583 static PetscErrorCode deallocate(value_type *, const device::StreamBase<U> *) noexcept;
603 inline PetscErrorCode SegmentedMemoryPoolAllocatorBase<T>::deallocate(value_type *ptr, const device… in deallocate() function in Petsc::memory::impl::SegmentedMemoryPoolAllocatorBase
702 PetscErrorCode deallocate(value_type **, const stream_type *) noexcept;
830 …SegmentedMemoryPool<MemType, StreamType, AllocType, DefaultChunkSize>::deallocate(value_type **ptr… in deallocate() function in Petsc::memory::SegmentedMemoryPool
877 PetscCall(deallocate(ptr, stream)); in reallocate()
/petsc/src/sys/objects/cxx/memory/
H A Dobject_pool.cxx500 PetscErrorCode PoolAllocator::deallocate(void **in_ptr, size_type size, align_type align) noexcept in deallocate() function in Petsc::memory::PoolAllocator
600 PetscCallAbort(PETSC_COMM_SELF, allocated.deallocate(&ptr, size, align)); in operator delete()
622 PetscCallAbort(PETSC_COMM_SELF, pool().deallocate(&ptr, size, static_cast<align_type>(align))); in operator delete()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DPETSc.pyx400 # deallocate command line arguments
411 # deallocate command line arguments
/petsc/src/sys/objects/device/interface/
H A Ddcontext.cxx154 PetscCall(contextPool.deallocate(dctx)); in PetscDeviceContextDestroy()
H A Dmark_dcontext.cxx71 if (*event) PetscCall(event_pool.deallocate(event)); in PetscEventDestroy_Private()