MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ flush_range

std::function<void(void*, size_t, size_t)> MayaFlux::Registry::Service::BufferService::flush_range

Flush mapped memory range (make host writes visible to device)

Parameters
memoryMemory handle
offsetOffset in bytes
sizeSize in bytes to flush (or 0 for entire mapped range)

Required for non-coherent host-visible memory after CPU writes. For coherent memory, this is typically a no-op but may still provide ordering guarantees.

Definition at line 60 of file BufferService.hpp.