jdoerfert added a comment.

For the record, this is an implementation of the scheme proposed in 
https://reviews.llvm.org/D60907#1484756.
There are drawbacks, see the TODO, but it will give most people a short term 
solution until we get OpenMP 5.0 variants.

Finally, there is a remote chance this will cause trouble to people that use 
math.h/cmath functions, e.g. with the old SSE hack, which are not available 
anymore.
I don't suspect that to happen but if it does we can, again as a short term 
solution, selectively extract declarations from the host cmath into the device 
cmath.


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61399/new/

https://reviews.llvm.org/D61399



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to