fixed device selection during compilation to use rocm_agent_enumerator [ROCm/hip commit: 3a57ba989f]
3a57ba989f