ABataev added a comment.

The patch does not seem quite correct. I committed another fix for this problem.
There is still the problem with the explicitly specified `shared` clause on 
`target teams` directive, but I don't think that it must cause some troubles. 
The variable still should not be transferred from device to the host, so it is 
fine to pass by value into inner teams regions. Though, generally speaking, it 
must be fixed.


Repository:
  rC Clang

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

https://reviews.llvm.org/D56113



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

Reply via email to