This patch adds omp.single according to Section 2.8.2 of OpenMP 5.0.
Also added tests for the same.
Co-authored-by: Kiran Kumar T P <kirankumar.tp@amd.com>
Differential D122288
[mlir][OpenMP] Add omp.single shraiysh on Mar 22 2022, 10:17 PM. Authored by
Details This patch adds omp.single according to Section 2.8.2 of OpenMP 5.0. Also added tests for the same. Co-authored-by: Kiran Kumar T P <kirankumar.tp@amd.com>
Diff Detail
Event Timeline
|
I think copyprivate is missed. __kmpc_copyprivate is needed when lowering from MLIR to LLVMIR. I guess all the directives and clauses related to global thread variables need to be specified in OpenMP dialect.