AdcMemory

class libadcc.AdcMemory

Bases: pybind11_builtins.pybind11_object

Class controlling the memory allocations for adcc ADC calculations. Python binding to libadcc::AdcMemory.

Attributes Summary

allocator

Return the allocator to which the class is initialised.

contraction_batch_size

Get or set the batch size for contraction, i.e. the number of elements handled simultaneously in a tensor contraction.

max_block_size

Return the maximal block size a tenor may have along each axis.

pagefile_directory

Return the pagefile_directory value: Note: This value is only meaningful if allocator != “standard”

Methods Summary

initialise(self, pagefile_directory, …)

Attributes Documentation

allocator

Return the allocator to which the class is initialised.

contraction_batch_size

Get or set the batch size for contraction, i.e. the number of elements handled simultaneously in a tensor contraction.

max_block_size

Return the maximal block size a tenor may have along each axis.

pagefile_directory

Return the pagefile_directory value: Note: This value is only meaningful if allocator != “standard”

Methods Documentation

initialise(self: libadcc.AdcMemory, pagefile_directory: str, max_block_size: int, allocator: str) → None