[all-commits] [llvm/llvm-project] 49fabd: [openmp] Do not use shared memory on Android

pirama-arumuga-nainar via All-commits all-commits at lists.llvm.org
Mon Aug 9 09:47:51 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 49fabd9d76b470e3d3fdd47011826207a4e4a8eb
      https://github.com/llvm/llvm-project/commit/49fabd9d76b470e3d3fdd47011826207a4e4a8eb
  Author: Pirama Arumuga Nainar <pirama at google.com>
  Date:   2021-08-09 (Mon, 09 Aug 2021)

  Changed paths:
    M openmp/runtime/src/kmp_config.h.cmake
    M openmp/runtime/src/kmp_runtime.cpp

  Log Message:
  -----------
  [openmp] Do not use shared memory on Android

Android provides ashmem/ASharedMemory support on newer releases, which
we can use if requested by openmp users on Android.

Also refactor the preprocessor check for using shared memory to
kmp_config.h.cmake.

Differential Revision: https://reviews.llvm.org/D107181




More information about the All-commits mailing list