You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are potential race conditions in halide_hexagon_power_hvx_on and halide_hexagon_power_hvx_off. There are at least three possible issues:
The reference count is not atomically incremented/decremented (fixed in Fix potential race condition in power_hvx_on/off #5194). This is the worst one, because it could result in HVX not being turned on or off at all when needed.
HVX could be powered off, and while it is powering off, be powered back on. I'm not sure what would happen in this case or which call would "win".
There are potential race conditions in
halide_hexagon_power_hvx_onandhalide_hexagon_power_hvx_off. There are at least three possible issues: