[all-commits] [llvm/llvm-project] 1081bb: [OpenMP][libomptarget] Fix run region async condition

Kevin Sala Penad├ęs via All-commits all-commits at lists.llvm.org
Mon Aug 15 10:08:56 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1081bb08cc509af820849d7c9ef62d8e84bfcde2
      https://github.com/llvm/llvm-project/commit/1081bb08cc509af820849d7c9ef62d8e84bfcde2
  Author: Kevin Sala Penads <ksalapenades at anl.gov>
  Date:   2022-08-15 (Mon, 15 Aug 2022)

  Changed paths:
    M openmp/libomptarget/src/device.cpp

  Log Message:
  -----------
  [OpenMP][libomptarget] Fix run region async condition

This patch fixes a condition in the openmp/libomptarget/src/device.cpp file. The code was checking if the run_region plugin API function was implemented, but it should actually check the run_region_async function instead.

Reviewed By: tianshilei1992

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




More information about the All-commits mailing list