[Openmp-commits] [PATCH] D98713: [OpenMP][WIP] Move run-sched-var ICV to ICVStateTy to make TaskDescr obsolete

Johannes Doerfert via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Mar 16 08:00:05 PDT 2021


jdoerfert created this revision.
Herald added subscribers: guansong, fedor.sergeev, yaxunl.
Herald added a reviewer: bollu.
jdoerfert requested review of this revision.
Herald added a subscriber: sstefan1.
Herald added a project: OpenMP.

Note: This is not for review.

As follow up on D98349 <https://reviews.llvm.org/D98349> and D98678 <https://reviews.llvm.org/D98678>, this patch shows that we can
eliminate the members of TaskDescr by introducing a run-sched-var in the
ICVStateTy. Other functionality is already covered by the ICVStateTy.

The task.cu uses need to be converted to the new system, e.g., by
calling `enterDataEnvironment` instead of the task copy stuff.  Other
than that, this looks like we only need to remove all the old plumbing.

Unclear how to merge/split D98349 <https://reviews.llvm.org/D98349> and this one and the cleanup follow
up.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D98713

Files:
  openmp/libomptarget/deviceRTLs/common/include/ICVs.h
  openmp/libomptarget/deviceRTLs/common/omptarget.h
  openmp/libomptarget/deviceRTLs/common/omptargeti.h
  openmp/libomptarget/deviceRTLs/common/src/ICVs.cpp
  openmp/libomptarget/deviceRTLs/common/src/libcall.cu
  openmp/libomptarget/deviceRTLs/common/src/loop.cu
  openmp/libomptarget/deviceRTLs/common/src/omptarget.cu
  openmp/libomptarget/deviceRTLs/common/src/parallel.cu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98713.330990.patch
Type: text/x-patch
Size: 13809 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210316/8782c563/attachment-0001.bin>


More information about the Openmp-commits mailing list