[Openmp-commits] [PATCH] D60976: [OpenMP] Implement task modifier for reduction clause

Jonathan Peyton via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Apr 22 12:00:57 PDT 2019


jlpeyton created this revision.
jlpeyton added reviewers: tlwilmar, hbae.
jlpeyton added a project: OpenMP.
Herald added subscribers: jdoerfert, jfb, guansong.

Implemented task modifier in two versions - one without taking into account
omp_orig variable (the omp_orig still can be processed by compiler without help
of the library, but each reduction object will need separate initializer with
global access to omp_orig), another with omp_orig variable included into
interface (single initializer can be used for multiple reduction objects of
the same type).  Second version can be used when the omp_orig is not globally
accessible, or to optimize code in case of multiple reduction objects
of the same type.

Patch by Andrey Churbanov


Repository:
  rOMP OpenMP

https://reviews.llvm.org/D60976

Files:
  runtime/src/dllexports
  runtime/src/kmp.h
  runtime/src/kmp_tasking.cpp
  runtime/test/tasking/kmp_task_modifier_simple_par_new.cpp
  runtime/test/tasking/kmp_task_modifier_simple_par_old.cpp
  runtime/test/tasking/kmp_task_modifier_simple_ws_new.cpp
  runtime/test/tasking/kmp_task_modifier_simple_ws_old.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60976.196110.patch
Type: text/x-patch
Size: 37428 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20190422/6d3bf7b3/attachment-0001.bin>


More information about the Openmp-commits mailing list