[Openmp-commits] [PATCH] D157051: [OMPX] Change `thread_dim` to `block_dim` and the original `block_dim` to `grid_dim`

Shilei Tian via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Aug 3 15:54:46 PDT 2023


tianshilei1992 created this revision.
tianshilei1992 added reviewers: jdoerfert, jhuber6.
Herald added a project: All.
tianshilei1992 requested review of this revision.
Herald added subscribers: openmp-commits, jplehr, sstefan1.
Herald added a project: OpenMP.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D157051

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157051.547034.patch
Type: text/x-patch
Size: 4379 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20230803/81638e34/attachment.bin>


More information about the Openmp-commits mailing list