MCPcopy Create free account
hub / github.com/QuEST-Kit/QuEST / cpu_allocArray

Function cpu_allocArray

quest/src/cpu/cpu_config.cpp:179–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177
178
179qcomp* cpu_allocArray(qindex length) {
180 return (qcomp*) calloc(length, sizeof(qcomp));
181}
182
183
184qcomp* cpu_allocNumaArray(qindex length) {

Callers 9

cpu_allocNumaArrayFunction · 0.85
cpu_allocMatrixFunction · 0.85
allocSuperOpFunction · 0.85
createCompMatrFunction · 0.85
createDiagMatrFunction · 0.85
createPauliStrSumFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected