Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

[ESIMD] Fix sporadic timeouts of matrix_transpose test #391

Merged
merged 1 commit into from
Aug 10, 2021

Conversation

DenisBakhvalov
Copy link

@DenisBakhvalov DenisBakhvalov commented Aug 3, 2021

ESIMD matrix_transpose.cpp test sporadically hanged when running simultaneously in 2 threads. I observed 7 timeouts out of 1000 total (500 for each thread) runs.

We have a similar ESIMD matrix_transpose_usm.cpp test, which is the same test but uses USM pointers instead of accessors. The only difference is in the working set, which seems to be the reason for this strange behavior. With the current patch, I got 0 timeouts for 1000 total runs.

The reason for the original hang is further investigated on the backend side.

@DenisBakhvalov
Copy link
Author

ESIMD/regression/replicate_bug.cpp fails are expected and will be fixed in #379

@vladimirlaz
Copy link

@DenisBakhvalov could you please add some description for the fix?

@DenisBakhvalov
Copy link
Author

@DenisBakhvalov could you please add some description for the fix?

Done

@vladimirlaz vladimirlaz merged commit b36a1f9 into intel:intel Aug 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants