Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AMReX-Codes/amrex
/ amrex_mempool_alloc
Function
amrex_mempool_alloc
Src/Base/AMReX_MemPool.cpp:74–78 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
72
}
73
74
void* amrex_mempool_alloc (size_t nbytes)
75
{
76
int tid = OpenMP::get_thread_num();
77
return the_memory_pool[tid]->alloc(nbytes);
78
}
79
80
void amrex_mempool_free (void* p)
81
{
Callers
3
amrex_mempool_init
Function · 0.85
AMReX_BaseFab.H
File · 0.85
alloc
Method · 0.85
Calls
2
get_thread_num
Function · 0.85
alloc
Method · 0.45
Tested by
no test coverage detected