MemoryLimitExceeded#

exception cuquantum.MemoryLimitExceeded(limit: int, requirement: int, device_id: int)[source]#

This exception is raised when the operation requires more device memory than what was specified in operation options.

- limit

int The memory limit in bytes.

- requirement

int Memory required to perform the operation.

- device_id

int The device selected to run the operation.