Besides duplicating code, privatizing variables in every section causes problems when synchronization barriers are used. This happens because each section is executed by a given thread, which will cause the program to hang if not all running threads execute the barrier operation. Fixes https://github.com/llvm/llvm-project/issues/72824
21 KiB
21 KiB