This patch adds the documentation for the operations omp.atomic.read,
omp.atomic.write and omp.atomic.update.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
@shraiysh Thanks for the patch. A few nits.
mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td | ||
---|---|---|
593 | Same here. Please check the following statement from OpenMP 5.0 specification "If atomic-clause is read then memory-order-clause must not be acq_rel or release" | |
621 | According to OpenMP 5.0 spec, I have noticed the following restriction "If atomic-clause is write then memory-order-clause must not be acq_rel or acquire." Can you please check this once? |
As this has been merged already, I will change those specific points in a separate patch.
Please remove "according to the OpenMP Standard". All the materials in this file follow the OpenMP standard. No need to emphasize the point. Also for the following.