Re-organize function documentation into sections
This commit is contained in:
@@ -54,7 +54,8 @@
|
||||
#include "rocm_smi_test/functional/perf_level_read_write.h"
|
||||
#include "rocm_smi_test/test_common.h"
|
||||
|
||||
static const std::map<rsmi_dev_perf_level_t, const char *> kDevPerfLvlNameMap = {
|
||||
static const std::map<rsmi_dev_perf_level_t, const char *>
|
||||
kDevPerfLvlNameMap = {
|
||||
{RSMI_DEV_PERF_LEVEL_AUTO, "RSMI_DEV_PERF_LEVEL_AUTO"},
|
||||
{RSMI_DEV_PERF_LEVEL_LOW, "RSMI_DEV_PERF_LEVEL_LOW"},
|
||||
{RSMI_DEV_PERF_LEVEL_HIGH, "RSMI_DEV_PERF_LEVEL_HIGH"},
|
||||
@@ -129,7 +130,7 @@ void TestPerfLevelReadWrite::Run(void) {
|
||||
" ..." << std::endl;
|
||||
}
|
||||
ret = rsmi_dev_perf_level_set(dv_ind,
|
||||
static_cast<rsmi_dev_perf_level_t>(pfl_i));
|
||||
static_cast<rsmi_dev_perf_level_t>(pfl_i));
|
||||
CHK_ERR_ASRT(ret)
|
||||
ret = rsmi_dev_perf_level_get(dv_ind, &pfl);
|
||||
CHK_ERR_ASRT(ret)
|
||||
|
||||
Reference in New Issue
Block a user