[Openmp-commits] [PATCH] D107121: [OpenMP] Fix performance regression reported in bug #51235

Joachim Protze via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Sat Jul 31 14:36:30 PDT 2021


protze.joachim added a comment.

I execute in BUILD/runtime/runtime-bin and use LD_PRELOAD to make sure, that I use the right libomp.
The system I use for testing has two sockets with 24 cores each. So, using core 24,25 I make sure to get the extra latency from communication between the sockets.

I added a print statement before the assertion and found that v=-1.
I added an atomic counter to count the executed tasks for each iteration of the for loop. If the assertion triggers, the task count is 2 instead of 3.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107121/new/

https://reviews.llvm.org/D107121



More information about the Openmp-commits mailing list