The consumer RX580 and workstation WX7100 are based on the same Polaris silicon, and the consumer card is configured with a higher power limit of 185W vs 130W, but the workstation card usually performs similarly or much better anyway. It's most egregious in the Siemens NX test where the workstation card is about 8 times faster.
I think AMD strategically throttles legacy OpenGL paths similar to Nvidia, Autodesk Max/Maya use modern shader-based viewports and in those the consumer card pulls ahead as you'd expect given its higher power limit.