Before a vendor call: inside an MTL5 region, the vendor runs on this thread only; outside one, nothing happens beyond a thread-local read.
More...
Before a vendor call: inside an MTL5 region, the vendor runs on this thread only; outside one, nothing happens beyond a thread-local read.
The vendor is set once per region, not once per call (with BLIS a set costs more than a small ddot). On the region's calling thread the previous setting is restored when the thread leaves the region. On a pool worker, which only ever runs region tids, it stays at one.