FZGPUModules 2.0
GPU-accelerated modular compression pipelines
Loading...
Searching...
No Matches
fz::OwnedDeviceBuffer Class Reference

#include <device_buffer.h>

Public Member Functions

void * release ()
 
void reset ()
 

Detailed Description

A device allocation the caller owns. Move-only; frees on destruction using the backend and device recorded at allocation time.

Member Function Documentation

◆ release()

void * fz::OwnedDeviceBuffer::release ( )
inline

Relinquish ownership; the caller becomes responsible for freeing.

◆ reset()

void fz::OwnedDeviceBuffer::reset ( )
inline

Free the held allocation (if any) and become empty.