MemoryLimitExceeded#
- exception cuquantum.MemoryLimitExceeded( )[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.
If the options was set to str, this value is the calculated limit.