[all-commits] [llvm/llvm-project] 376803: [OpenMP] Directly use user's grid and block size i...

Shilei Tian via All-commits all-commits at lists.llvm.org
Mon Dec 18 09:26:31 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3768039913be32666a316a2b5c12739c423dbc61
      https://github.com/llvm/llvm-project/commit/3768039913be32666a316a2b5c12739c423dbc61
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2023-12-18 (Mon, 18 Dec 2023)

  Changed paths:
    M openmp/libomptarget/plugins-nextgen/common/include/PluginInterface.h
    M openmp/libomptarget/plugins-nextgen/common/src/PluginInterface.cpp
    A openmp/libomptarget/test/offloading/ompx_bare.c

  Log Message:
  -----------
  [OpenMP] Directly use user's grid and block size in kernel language mode (#70612)

In kernel language mode, use user's grid and blocks size directly. No
validity
check, which means if user's values are too large, the launch will fail,
similar
to what CUDA and HIP are doing right now.




More information about the All-commits mailing list