Use ROCr API for checking whether a device is an APU to replace the old implementation with hard-coded target name. This PR will make the APU check cleaner and better maintainable. Tested on MI210, MI300A, Strix Halo (gfx1151).
Use ROCr API for checking whether a device is an APU to replace the old implementation with hard-coded target name. This PR will make the APU check cleaner and better maintainable. Tested on MI210, MI300A, Strix Halo (gfx1151).