English

Host-Based Allocators for Device Memory

Software Engineering 2024-05-14 v1

Abstract

Memory allocation is a fairly mature field of computer science. However, we challenge a prevailing assumption in the literature over the last 50 years which, if reconsidered, necessitates a fundamental reevaluation of many classical memory management algorithms. We pose a model where the allocation algorithm runs on host memory but allocates device memory and so incur the following constraint: the allocator can't read the memory it is allocating. This means we are unable to use boundary tags, which is a concept that has been ubiquitous in nearly every allocation algorithm. In this paper, we propose alternate algorithms to work around this constraint, and discuss in general the implications of this system model.

Keywords

Cite

@article{arxiv.2405.07079,
  title  = {Host-Based Allocators for Device Memory},
  author = {Oren Bell and Ashwin Kumar and Chris Gill},
  journal= {arXiv preprint arXiv:2405.07079},
  year   = {2024}
}

Comments

9 pages, 4 figures

R2 v1 2026-06-28T16:24:16.098Z