Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set the right HIP device before creating base event counter
Without any default device in the current thread, all base events were associated with device 0, causing failures when used on other devices. Fix this by calling hipSetDevice before recording the event.
- Loading branch information