Skip to main content

Module gpu

Module gpu 

Source
Expand description

GPU dispatch for the decode engine.

Structs§

Params
Params struct.
RegionMeta
RegionMeta struct.

Constants§

MAX_DECODE_INPUT_BYTES
Maximum input bytes accepted by one GPU decode dispatch.
MAX_DECODE_REGIONS
Maximum decoded regions accepted from one GPU readback.
REGION_META_SIZE
REGION_META_SIZE constant.
WORKGROUP_SIZE
WORKGROUP_SIZE constant.

Functions§

map_readback_region_meta
map_readback_region_meta function.
map_readback_u32
map_readback_u32 function.
readback_buffer
readback_buffer function.
readback_regions
readback_regions function.
validate_gpu_sizes
validate_gpu_sizes function.
zeroed_storage
zeroed_storage function.