Multi-threaded OpenACC code crashes on Jetson, works on desktop

@AastaLLL:

HPC doesn’t support Jetson.
It only works on the ARM CPU platform.

Do you mean that HPC SDK doesn’t officially support the Jetson platform? Before starting to play with it, I found this answer from a couple of years ago, which seems to suggest that it should work on Xavier boards. Overall, it seems to generate GPU code and work in most circumstances properly. Only when I try to use threads, I get an issue.