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 374 of file qureg.cpp.
374 {
375 validate_quregFields(qureg, __func__);
376 validate_numReportedNewlinesAboveZero(__func__);
377
378
379
380 size_t localMem = mem_getLocalQuregMemoryRequired(qureg.numAmpsPerNode);
381 if (qureg.isDistributed)
382 localMem *= 2;
383
384
385 localMem += sizeof(qureg);
386
387 print_header(qureg, localMem);
388 print_elems(qureg);
389
390
391 print_oneFewerNewlines();
392}
◆ 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 356 of file qureg.cpp.
356 {
357 validate_quregFields(qureg, __func__);
358 validate_numReportedNewlinesAboveZero(__func__);
359
360
361
362
363 print_label("Qureg");
364 printDeploymentInfo(qureg);
365 printDimensionInfo(qureg);
366 printDistributionInfo(qureg);
367 printMemoryInfo(qureg);
368
369
370 print_oneFewerNewlines();
371}