Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[hip] Cleanup the dispatch thread before the rest of the device. (#19826
) If the hip device is destroyed without all work having been completed, the dispatch thread will then access the partially deleted device. Move the dispatch cleanup to be the first thing we do in the destroy, which will join the threads, and then the cleanup threads next, then we can start removing the real things from the device. Signed-off-by: Andrew Woloszyn <andrew.woloszyn@gmail.com>
- Loading branch information