[all-commits] [llvm/llvm-project] d6281c: [OpenMP] Add API for pinned memory

carlobertolli via All-commits all-commits at lists.llvm.org
Wed Dec 14 06:52:43 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d6281caa3446af99c0ea89ac2ace5747b08c10d3
      https://github.com/llvm/llvm-project/commit/d6281caa3446af99c0ea89ac2ace5747b08c10d3
  Author: Carlo Bertolli <carlo.bertolli at amd.com>
  Date:   2022-12-14 (Wed, 14 Dec 2022)

  Changed paths:
    M openmp/runtime/src/kmp.h
    M openmp/runtime/src/kmp_alloc.cpp

  Log Message:
  -----------
  [OpenMP] Add API for pinned memory

This patch adds API support for the atk_pinned trait for omp_alloc.
It does not implement kmp_target_lock_mem and kmp_target_unlock_mem in libomptarget,
but prepares libomp for it. Patches to libomptarget to implement
lock/unlock coming after this one.

Reviewed by: jlpeyton, jdoerfert

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




More information about the All-commits mailing list