Skip to content

Conversation

@astrojerms
Copy link

There is an index out of bound issue that shows up in DcgmTopology when DCGM is installed with dcgm-exporter on systems with more than one GPU. This error only occurs when assertions are enabled (_GLIBCXX_ASSERTIONS). The actual invalid access appears to occur on 729 of DcgmTopology.cpp.

This fix simply resets the gpuCounts vector to a vector of it's original size with values of 0, rather than setting gpuCounts to an empty vector.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant