Functions for printing Qureg states or reporting their configuration.
More...
Functions for printing Qureg states or reporting their configuration.
◆ reportQureg()
void reportQureg |
( |
Qureg | qureg | ) |
|
- Note
- Documentation for this function or struct is under construction!
- Warning
- This function has not yet been unit tested and may contain bugs. Please use with caution!
- See also
-
Definition at line 375 of file qureg.cpp.
375 {
376 validate_quregFields(qureg, __func__);
377 validate_numReportedNewlinesAboveZero(__func__);
378
379
380
381 size_t localMem = mem_getLocalQuregMemoryRequired(qureg.numAmpsPerNode);
382 if (qureg.isDistributed)
383 localMem *= 2;
384
385
386 localMem += sizeof(qureg);
387
388 print_header(qureg, localMem);
389 print_elems(qureg);
390
391
392 print_oneFewerNewlines();
393}
◆ reportQuregParams()
void reportQuregParams |
( |
Qureg | qureg | ) |
|
- Note
- Documentation for this function or struct is under construction!
- Warning
- This function has not yet been unit tested and may contain bugs. Please use with caution!
- See also
-
Definition at line 357 of file qureg.cpp.
357 {
358 validate_quregFields(qureg, __func__);
359 validate_numReportedNewlinesAboveZero(__func__);
360
361
362
363
364 print_label("Qureg");
365 printDeploymentInfo(qureg);
366 printDimensionInfo(qureg);
367 printDistributionInfo(qureg);
368 printMemoryInfo(qureg);
369
370
371 print_oneFewerNewlines();
372}