In http://reviews.llvm.org/D9036#156680, @tra wrote:

> LGTM.
>  On a side note, do you still need fcuda_allow_host_calls_from_host_device ?


Yes, unfortunately. This one is used by the compilation step itself, where 
Clang then emits a warning (instead of an error). This mimics nvcc's behavior. 
Some __host__ __device__ functions are only really called on the host side, but 
the compiler has no way of proving it statically.


http://reviews.llvm.org/D9036

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



_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to