summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptScriptGroup.cpp
diff options
context:
space:
mode:
authorRitanya B Bharadwaj <ritanya-b.bharadwaj@hpe.com>2022-06-27 10:35:30 -0500
committerChi Chun Chen <chichun.chen@hpe.com>2022-06-27 10:36:46 -0500
commit8322fe200d60919bcf19700138f04f9fdc909360 (patch)
tree734a8ae954c792f14bf95f803ee17f6e8cb03cfe /lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptScriptGroup.cpp
parentb4f2d7cde54c301f591a8e2a16135bb113c5e7ed (diff)
Adding support for target in_reduction
Implementing target in_reduction by wrapping target task with host task with in_reduction and if clause. This is in compliance with OpenMP 5.0 section: 2.19.5.6. So, this ``` for (int i=0; i<N; i++) { res = res+i } ``` will become ``` #pragma omp task in_reduction(+:res) if(0) #pragma omp target map(res) for (int i=0; i<N; i++) { res = res+i } ``` Reviewed By: ABataev Differential Revision: https://reviews.llvm.org/D125669
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptScriptGroup.cpp')
0 files changed, 0 insertions, 0 deletions