This patch improves the device info printing in the NextGen plugins. The device info properties are composed of keys and values, each property encapsulated by a PrintInfoTy object. These properties are pushed into a std::deque by each vendor-specific plugins, and later, processed and printed by the PluginInterface. This implementation extensively uses std::string, but it should not be a performance issue, since it's not in any critical path.
For the moment, this patch adds the device info for AMDGPU. It's missing the same changes for the CUDA plugin.
Maybe, add a comment to explain what level means.
/// Level represents the level in the info tree print (i.e. indentation)
Or something like that?