MCPcopy Create free account
hub / github.com/AMReX-Codes/amrex / isPinned

Method isPinned

Src/Base/AMReX_Arena.cpp:111–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111bool
112Arena::isPinned () const
113{
114#ifdef AMREX_USE_GPU
115 return (! arena_info.use_cpu_memory)
116 && arena_info.device_use_hostalloc;
117#else
118 return false;
119#endif
120}
121
122bool
123Arena::hasFreeDeviceMemory (std::size_t)

Callers 2

updateNeighborsGPUMethod · 0.45
Redistribute_implMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected