bloqade.pyqrack.base.StackMemory
← Module overview
class
method
method
source
classStackMemory¶source
bloqade.pyqrack.base.StackMemory
Bases: MemoryABC
Signature
class StackMemory(pyqrack_options: PyQrackOptions = _default_pyqrack_args(), *, total: int)Parameters
| Name | Type | Default | Description |
|---|---|---|---|
pyqrack_options | PyQrackOptions | _default_pyqrack_args() | |
total | int | required |
Attributes
| Name | Type | Default | Description |
|---|---|---|---|
total | int | field(kw_only=True) | |
allocated | int | field(init=False, default=0) |
methodallocate¶source
bloqade.pyqrack.base.StackMemory.allocate
methodreset¶source
bloqade.pyqrack.base.StackMemory.reset
def reset()