MemorySpace::allocate needs to have memory pool counting. #3064
Labels
Bug
Broken / incorrect code; it could be Kokkos' responsibility, or others’ (e.g., Trilinos)
Projects
Milestone
The lowest level public API for memory allocation doesn't tack allocations via profiling hooks.
MemorySpace::allocate
andMemorySpace::deallocate
MemorySpace::allocate
can allocate memory without adding our allocation headerallocate(size_t)
anddeallocate(void*, size_t)
use empty labelallocate(const std::string, size_t)
anddeallocate(const std::string, void*, size_t)
which are also called by the no-label overloads.allocate
it is technically a user error to not pass the same label todeallocate
- though I guess a tool can recover, since the ptr has to match at least..The text was updated successfully, but these errors were encountered: