einsums.gpu#
Note
This page is generated by apiary from the binding
annotations and the package’s Python source. Do not edit by hand.
Summary#
available_device_memory— Free device memory in bytes; on the mock, a configurable limit (default half of RAM).device_name— The device name, or “” on the mock.device_synchronize— Synchronize the entire device. Blocks until all queued GPU work completes. Wrap GPU calls in this when timing from Python.set_mock_device_memory_limit— Set the mock backend’s device memory limit, for tests that simulate OOM.
Functions#
- einsums.gpu.available_device_memory() int#
Free device memory in bytes; on the mock, a configurable limit (default half of RAM).