[Openmp-commits] [PATCH] D108574: [OpenMP] libomp: runtime part of omp_all_memory task dependence implementation.

Andrey Churbanov via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Aug 23 12:46:48 PDT 2021


AndreyChurbanov created this revision.
AndreyChurbanov added reviewers: hbae, jlpeyton, Nawrin, tlwilmar.
AndreyChurbanov added a project: OpenMP.
Herald added subscribers: jfb, guansong, yaxunl.
AndreyChurbanov requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: openmp-commits, sstefan1.

New omp_all_memory task dependence type is implemented.

Library recognizes the new type via either 
(dependence_address == NULL && dependence_flag == 0x80 (set highest bit of 1-byte flag)) 
or 
(dependence_address == SIZE_MAX).

A task with new dependence type depends on each preceding task with any dependence type (kind of a dependence barrier).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D108574

Files:
  openmp/runtime/src/kmp.h
  openmp/runtime/src/kmp_taskdeps.cpp
  openmp/runtime/src/kmp_taskdeps.h
  openmp/runtime/test/tasking/kmp_task_depend_all.c
  openmp/runtime/test/tasking/kmp_taskwait_depend_all.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108574.368170.patch
Type: text/x-patch
Size: 27695 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210823/8ad39821/attachment-0001.bin>


More information about the Openmp-commits mailing list