| 2119 | } |
| 2120 | |
| 2121 | void validate_newMatrixAllocs(CompMatr matr, const char* caller) { |
| 2122 | |
| 2123 | bool isDenseMatrix = true; |
| 2124 | int numNodes = 1; |
| 2125 | size_t numBytes = mem_getLocalMatrixMemoryRequired(matr.numQubits, isDenseMatrix, numNodes); |
| 2126 | assertNewMatrixAllocsSucceeded(matr, numBytes, caller); |
| 2127 | } |
| 2128 | void validate_newMatrixAllocs(DiagMatr matr, const char* caller) { |
| 2129 | |
| 2130 | bool isDenseMatrix = false; |
no test coverage detected