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
Fix race condition in the CPU numpy reader (#4848)
- when the last sample in the numpy reader is duplicated
due to padding, the reader tries to read the same
sample to the same memory, but from different clones of it
concurrently. What is more the memory that is read can be
allocated and deallocated concurrently. This PR removed this
redundant and dangerous work, making sure that each sample is read
only once.
Signed-off-by: Janusz Lisiecki <[email protected]>
0 commit comments