cubecl_runtime

Module memory_management

Source
Expand description

Memory management module.

Structs§

  • Properties of the device related to allocation.
  • A set of storage buffers that are ‘locked’ and cannot be used for allocations currently.
  • Reserves and keeps track of chunks of memory in the storage, and slices upon these chunks.
  • Options to create a memory pool.
  • Amount of memory in use by this allocator and statistics on how much memory is reserved and wasted in total.

Enums§

Traits§

  • The managed tensor buffer handle that points to some memory segment. It should not contain actual data.