[Openmp-dev] Status of detached tasks in Clang

Johannes Doerfert via Openmp-dev openmp-dev at lists.llvm.org
Sat Apr 4 09:20:59 PDT 2020


Hi Joseph,


I'm not sure who is working on this but we might be able to figure this 
out on our bi-weekly call Wednesday.

Feel free to call but we should figure this out either way.


Apologies for the delay,

   Johannes



On 4/3/20 7:18 AM, Joseph Schuchart via Openmp-dev wrote:
> Dear all,
>
> I am eager to play around with detached tasks in OpenMP. It seems that 
> support has gone into the runtime about a year ago [1] but even with 
> Clang 10 I get a warning that the detach clause is ignored:
>
> $ clang-10 -fopenmp test_detached.c
> test_detached.c:25:47: warning: extra tokens at the end of '#pragma 
> omp task' are ignored [-Wextra-tokens]
>   #pragma omp task detach(event)
>
> The status website lists detached tasks as work in progress [2]. Is 
> there a way to try detached tasks in some experimental version of 
> Clang? Or am I just missing a flag to enable them in the Clang release?
>
> Thanks a lot,
> Joseph
>
> [1] https://reviews.llvm.org/D62485
> [2] https://clang.llvm.org/docs/OpenMPSupport.html
> _______________________________________________
> Openmp-dev mailing list
> Openmp-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20200404/ccfb0fc9/attachment.html>


More information about the Openmp-dev mailing list