Save frequencies when bulk-saving of times is enabled#322
Save frequencies when bulk-saving of times is enabled#322oleksandr-pavlyk wants to merge 6 commits intoNVIDIA:mainfrom
Conversation
The utility was already used to save times
|
Questions to be answered:
|
|
Setting I executed the benchmark 2 times: Executing Sizes of BIN files for each runInspecting the JSON file corresponding to the run with default value of throttling threshold, the GPU frequencies are collected and non-empty binary files are generated: Inspecting the JSON file corresponding to the run with zero throttling threshold which turns off the collection of GPU frequency data, the sample frequencies binary files are all empty: |
This could be used to save data as float32_t, or float64_t. This flexibility is useful for experimentation.
This places all std::vector members together. Added default initialization to all std::vector members, and all other members with default constructors. Exceptions are references and nvbench::launch m_launch; member
|
After discussing the issue internally, we should always collect GPU frequencies even if throttling threshold has been set to zero. |
With GPU frequency bulk data now collected for any setting of throttling threshold, use of |
…tive measure_cold class now directly inherits m_check_throttling from state. This ensures that when `--jsonbin` is specified frequency data corresponding to timing data are available to write out.
Closes #318
This PR:
writeout_datautility is used to save duration and frequency data faster