Different answer each time?
kwalcock opened this issue · 2 comments
kwalcock commented
Please excuse the naïve question, but should glove.c be creating a different collection of vectors on two runs with the same input even if the random seed also stays the same? It will do this if the thread count is not 1. If that's expected behavior, I'm going to have to wait out that single thread in order to get a repeatable result and I'm impatient. Thanks for any insight anyone can provide.
AngledLuffa commented
Yes, a multithreaded process may have the results come in at slightly
different times, leading to math operations being applied in different
orders, leading to small differences which spiral out of control until what
originally looked like a tiny disagreement ending up with a fight lasting
for hours with no one willing to back down over something stupid
…On Tue, Jul 12, 2022 at 10:04 PM Keith Alcock ***@***.***> wrote:
Please excuse the naïve question, but should glove.c be creating a
different collection of vectors on two runs with the same input even if the
random seed also stays the same? It will do this if the thread count is not
1. If that's expected behavior, I'm going to have to wait out that single
thread in order to get a repeatable result and I'm impatient. Thanks for
any insight anyone can provide.
—
Reply to this email directly, view it on GitHub
<#207>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA2AYWLFFAWRG5PUFZEVZMLVTZE7DANCNFSM53NLJXFA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
kwalcock commented
That is explained so eloquently that it makes up for the disappointment. Thanks for confirming. I'll just have to wait out the single thread.