Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dcgmlib/src/DcgmTopology.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ dcgmReturn_t GetActiveNvSwitchNvLinkCountsForAllGpus(const std::vector<dcgm_topo
return DCGM_ST_INSUFFICIENT_SIZE;
}

gpuCounts = {};
gpuCounts.assign(gpuInfo.size(), 0);

// Attempt to query through NVML. This is not supported in all drivers so
// there is a fallback approach below
Expand Down