Skip to main content

DEFAULT_COMPRESSION_GRANULARITY

Constant DEFAULT_COMPRESSION_GRANULARITY 

Source
pub const DEFAULT_COMPRESSION_GRANULARITY: usize = _; // 2_097_152usize
Expand description

The default compression page granularity on supported hardware (2 MiB).

cuMemCreate allocations must be a multiple of the granularity returned by cuMemGetAllocationGranularity. On all currently shipping Ampere/Hopper parts this is the large-page size of 2 MiB.