Sierra Toolkit Version of the Day
Helper class for managing CUDA device memory.
Tracks persistent mappings between host(cpu) buffers and CUDA device buffers, intended to be used for mapping bucket/field data pointers on the host to buffers on the device. This allows algorithm/bucket loops to repeatedly reference pointers to field data without performing the device allocation every time.
This class also allows for creating and using device buffers that are not mapped to host buffers.