Skip to content

Commit

Permalink
Explicitly specify data_type in capture
Browse files Browse the repository at this point in the history
Change-Id: I3a49ee3acc235df88c2df1d150803b2db2143aee
Signed-off-by: Galantsev, Dmitrii <[email protected]>
  • Loading branch information
danzimm authored and dmitrii-galantsev committed Sep 16, 2024
1 parent f34eb94 commit 9119927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rocm_smi/src/rocm_smi_gpu_metrics.cc
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ AMDGpuDynamicMetricTblValues_t format_metric_row(const T& metric, const std::str
value = (metric);
}

auto amdgpu_dynamic_metric_value = [&]() {
auto amdgpu_dynamic_metric_value = [&, data_type=data_type]() {
AMDGpuDynamicMetricsValue_t amdgpu_dynamic_metric_value_init{};
amdgpu_dynamic_metric_value_init.m_value = value;
amdgpu_dynamic_metric_value_init.m_info = (value_title + " : " + std::to_string(idx));
Expand Down

0 comments on commit 9119927

Please sign in to comment.