pub unsafe extern "C" fn getEnvironmentString(
env: QuESTEnv,
str_: *mut c_char,
)Expand description
Sets \p str to a string containing information about the runtime environment, including whether simulation is using CUDA (for GPU), OpenMP (for multithreading) and/or MPI (for distribution). The number of CPU threads and distributed ranks is also reported. Note there is currently no reporting of the number of GPU cores used.
The string format is:
"CUDA=b OpenMP=b MPI=b threads=n ranks=n"where b is 0 or 1, and n are integers.
@ingroup debug @param[in] env object representing the execution environment. A single instance is used for each program @param[out] str to be populated with the output string @author Ania Brown @author Tyson Jones