Guidance regarding reporting a bug probably related with VectorAPI
Aurelian Tutuianu
padreati at yahoo.com
Thu Nov 30 19:07:31 UTC 2023
Hello everyone,
I am a Java veteran user, but a completely disoriented bug reporter. While working on building a tensor library leveraging VectorAPI and concurrency, I went into what it looks like a bug.
The scenario is simple, I simulate two strided arrays and compute dot product between them. For vectorized computation I take values from the strided array using fromArray in it's simple form if the stride is 1 or the complex form with indexes if we have non unit stride. Since I know from the beginning if a strided vector is unitary or not, I tried to take out the condition outside the loop. That causes problems (it looks like from time to time it goes to the wrong branch and calls the other function.
I have built a small reproducible example which you can find it here: https://github.com/padreati/rapaio/blob/master/rapaio-experiment/src/bugs/VectorTest.java. I have also hs_err files if needed. It has the same behavior on OpenJdk, Corretto, Zulu, others not tested. I use Linux Ubuntu, i7 gen11, 8 cores.
It is possible to guide me into how to report that, if I may? Or if somebody can reproduce also? Or perhaps I made a mistake that I am not aware of and I might learn from that?
I am astonished of your work and it is the first time I take enough courage to bother you with issues I have. Best regards, Aurelian Tutuianu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/panama-dev/attachments/20231130/f00b56a7/attachment-0001.htm>
More information about the panama-dev
mailing list