Closed michaelrampl closed 3 years ago
@michaelrampl Thanks a lot for your feedback! Indeed, I was having a dumb error, and it seems to be fixed. I close the issue.
@berenger-eu I confirm the that the issue has been fixed! Many thanks for the quick response and the excellent library :+1:
If you just take the example kernel and print out all positions at the end (add this snippet at the end of the main function), you will end up with malformed positions after the first tree rebuild.
After executing this, I get the following output
There, you can clearly see, that not only have the first 4 rows been cleared, also the other values are completely mixed up or even malformed.
The issue happens on both
gcc 11.1.1
andclang 12.0.0
regardless if OpenMP has been used or not.