Hi All,
Hi Liu,
I appreciate your prompt work very much!
You immediate found the origin of problem and how to fix.
It is amazing!
0) After applying this patch to winpthreads (and building & installing it)
the output is consistently reproducible. I also checked FPU control words
in OMP t
在 2020/8/13 21:56, Liu Hao 写道:
> This is necessary for math functions taking `long double` arguments to
> work reliably, as by default, new threads have their x87 precision set
> to 53 bits.
>
> Note the x87 control word can't be set in the TLS callback. It gets
> overwritten before the thread pro
This is necessary for math functions taking `long double` arguments to
work reliably, as by default, new threads have their x87 precision set
to 53 bits.
Note the x87 control word can't be set in the TLS callback. It gets
overwritten before the thread procedure begins execution. There is NO
workar
在 2020/8/13 下午2:56, Takashi Inoue 写道:
> Hi All,
>
> I made C version of sample code which demonstrate the problem(?).
> I attach the code to this post.
> I renamed files so that ML system does not remove files.
> So, please rename back "cdemo.txt" to "cdemo.c" and
> "Makefile.txt" to "Makefile."