The new ompx.h header will give us a place to put extensions. The first
are 3D getters for the common cuda values:
`{threadId,threadDim,blockId,blockDim}.{x,y,z}`
Paths
| Differential D156501
[OpenMP] Introduce ompx.h and 3D wrappers (threadId, threadDim, ...) ClosedPublic Authored by jdoerfert on Jul 27 2023, 8:50 PM.
Details Summary The new ompx.h header will give us a place to put extensions. The first `{threadId,threadDim,blockId,blockDim}.{x,y,z}`
Diff Detail
Event Timeline
This revision is now accepted and ready to land.Jul 31 2023, 9:07 AM This revision was landed with ongoing or failed builds.Jul 31 2023, 1:45 PM Closed by commit rGdaef6d327aa3: [OpenMP] Introduce ompx.h and 3D wrappers (threadId, threadDim, ...) (authored by jdoerfert). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 545787 openmp/libomptarget/DeviceRTL/src/Mapping.cpp
openmp/libomptarget/DeviceRTL/src/exports
openmp/libomptarget/test/api/ompx_3d.c
openmp/libomptarget/test/api/ompx_3d.cpp
openmp/runtime/cmake/LibompExports.cmake
openmp/runtime/src/CMakeLists.txt
openmp/runtime/src/include/ompx.h.var
|
Since the patch contains host support as well, we need a test for host.