nod-ai / iree-amd-aie

IREE plugin repository for the AMD AIE accelerator
Apache License 2.0
46 stars 23 forks source link

[aie-rt] use `XAIE_DEV_GEN_AIE2IPU` #511

Closed makslevental closed 2 days ago

makslevental commented 4 days ago

I goofed and didn't notice aie-rt had a device model for IPU with their latest release. This eliminates one of the patches/hacks I had to implement. Note, here is the current set of devices they support:

#define XAIE_DEV_GENERIC_DEVICE     0U
#define XAIE_DEV_GEN_AIE        1U
#define XAIE_DEV_GEN_AIEML      2U
#define XAIE_DEV_GEN_AIE2IPU            3U
#define XAIE_DEV_GEN_AIE2P      4U
#define XAIE_DEV_GEN_S100       6U
#define XAIE_DEV_GEN_S200       7U
#define XAIE_DEV_GEN_AIE2P_STRIX_A0 8U
#define XAIE_DEV_GEN_AIE2P_STRIX_B0 9U

:sunglasses: