Module burn_compute::memory_management

source ·
Expand description

Memory management module.

Structs§

Enums§

  • The strategy defines the frequency at which deallocation of unused memory chunks should occur.
  • The SimpleHandle is a memory handle, referring to either a chunk or a slice.
  • The strategy defines when to reuse chunk with slices.

Traits§

  • The MemoryHandle trait is an abstract way to refer to some memory segment. It should not contain actual references to data.
  • The MemoryManagement trait encapsulates strategies for (de)allocating memory. It is bound to the ComputeStorage trait, which does the actual (de)allocations.