I discussed this problem with the author of atomics in OpenMP already. I hope to get the answer from him tomorrow. PS. I'll try to investigate this problem a little bit more, maybe I'll come into some suitable solution. I have an idea in mind, but I need to play with it a little bit. PPS. gcc uses global lock for all atomic operations and that's all. In icc there is a little bit more complex solution. I want to use an existing infrastructure of clang/LLVM.

Best regards,
Alexey Bataev
=============
Software Engineer
Intel Compiler Team

16.12.2014 21:23, John McCall пишет:
Okay.  So where does that leave us with this patch?  The minimal thing is to 
just wait for direction from the OpenMP language committee, or we can 
optimistically assume that we get that rule and then build the implementation 
around that assumption.

Note also that you need to be compatible with whatever GCC is doing here, 
assuming you're trying to guarantee compiler interop.


http://reviews.llvm.org/D6431

EMAIL PREFERENCES
   http://reviews.llvm.org/settings/panel/emailpreferences/




_______________________________________________
cfe-commits mailing list
cfe-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to