a02888af58
The amdgpu-arch tool is not supported for static build. This commit adds changes to detect the build type during cmake config and use the rocm_agent_enumerator for static build. Change-Id: I8a295e01f54075507390ef540f16b28bb20237a9