[PATCH] D45527: [OpenMP] Fix affinity API for KMP_AFFINITY=none|compact|scatter

Jonathan Peyton via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 27 07:56:47 PDT 2018


jlpeyton added a comment.

In https://reviews.llvm.org/D45527#1077680, @twoh wrote:

> Hello @jlpeyton @tlwilmar, is there a chance that this breaks runtime/test/ompt/misc/api_calls_from_other_thread.cpp test? ompt_get_num_places() is expected to return 0 from the test but with this patch it returns 1, and I think it is because __kmp_affinity_num_masks is set to 1 from __kmp_create_affinity_none_places().


Yes, I will fix this.  Thanks for pointing it out!


Repository:
  rL LLVM

https://reviews.llvm.org/D45527





More information about the llvm-commits mailing list