[all-commits] [llvm/llvm-project] fcf1a1: [OMPX] Change `thread_dim` to `block_dim` and the ...

Shilei Tian via All-commits all-commits at lists.llvm.org
Thu Aug 3 18:51:21 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fcf1a1022a08e28716da98d5983205337435a85c
      https://github.com/llvm/llvm-project/commit/fcf1a1022a08e28716da98d5983205337435a85c
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2023-08-03 (Thu, 03 Aug 2023)

  Changed paths:
    M openmp/libomptarget/DeviceRTL/src/Mapping.cpp
    M openmp/libomptarget/test/api/ompx_3d.c
    M openmp/libomptarget/test/api/ompx_3d.cpp
    M openmp/libomptarget/test/offloading/ompx_coords.c
    M openmp/libomptarget/test/offloading/ompx_saxpy_mixed.c
    M openmp/runtime/src/include/ompx.h.var

  Log Message:
  -----------
  [OMPX] Change `thread_dim` to `block_dim` and the original `block_dim` to `grid_dim`

There is no `threadDim` in CUDA. Instead, it is `blockDim`. Then the current
`blockDim` is `gridDim` in CUDA.

Reviewed By: jhuber6

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




More information about the All-commits mailing list