kirancodes.me
To Proof Maintenance & Beyond!

Iterative data-parallel mark&sweep on a GPU

Ronald Veldema, Michael Philippsen

Abstract

Automatic memory management makes programming easier. This is also true for general purpose GPU computing where currently no garbage collectors exist. In this paper we present a parallel mark-and-sweep collector to collect GPU memory on the GPU and tune its performance. Performance is increased by: (1) data-parallel marking and sweeping of regions of memory, (2) marking all elements of large arrays in parallel, (3) trading recursion over parallelism to match deeply linked data structures.

Related papers