diff options
| author | Alexey Bataev <a.bataev@hotmail.com> | 2020-05-19 16:29:36 -0400 |
|---|---|---|
| committer | Alexey Bataev <a.bataev@hotmail.com> | 2020-06-02 10:50:08 -0400 |
| commit | 89d9dba2c6885949887edf4b80e1aabf8d8f3f88 (patch) | |
| tree | 70ce9954c86ff1ae3dd8852621cf359fbc99119e /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | |
| parent | d559185aaebeb66456edb63b47da5a2f67a0a5e2 (diff) | |
[OPENMP50]Initial codegen for 'affinity' clauses.
Summary:
Added initial codegen for 'affinity' clauses on task directives.
Emits next code:
```
kmp_task_affinity_info_t affs[<num_elems>];
void *td = __kmpc_task_alloc(..);
affs[<i>].base = &data_i;
affs[<i>].size = sizeof(data_i);
__kmpc_omp_reg_task_with_affinity(&loc, <gtid>, td, <num_elems>, affs);
```
The result returned by the call of `__kmpc_omp_reg_task_with_affinity`
function is ignored currently sincethe runtime currently ignores args
and returns 0 uncoditionally.
Reviewers: jdoerfert
Subscribers: yaxunl, guansong, sstefan1, llvm-commits, cfe-commits, caomhin
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D80240
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
0 files changed, 0 insertions, 0 deletions
