Blocks with ownership: a novel approach to CPU and GPU memory in C++
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Summary
bx::Blk is a C++ memory block type that bundles the pointer, size, alignment, owning allocator, and operation status into one value, rather than a bare pointer that loses its size on free.