6854570285
Preserve order and duplicate entries in rocm_agent_enumerator output
before filtering visible devices. This ensures alignment with
the expected indexing in HIP_VISIBLE_DEVICES.
[ROCm/hip-tests commit: 355d97fec4]