| 313 | |
| 314 | |
| 315 | void cpu_deallocMatrixWrapper(qcomp** wrapper) { |
| 316 | |
| 317 | // only the outer pointer is freed; the |
| 318 | // inner pointers are offsets to another |
| 319 | // malloc which is separately freed. |
| 320 | // Safe to call even when nullptr |
| 321 | free(wrapper); |
| 322 | } |
| 323 | |
| 324 | |
| 325 | qcomp** cpu_allocMatrix(qindex dim) { |
no outgoing calls
no test coverage detected