yaxunl added a comment.

@tra I got some issue with this patch. There are cases that an expression using 
a host variable is compile-time constant, e.g.

  int x;
  __device__ void fun() {
    sizeof(x);
  }

Do we want to allow that? Thanks.


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

https://reviews.llvm.org/D92363

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [PATCH] D92363: [HIP] Warn no --... Yaxun Liu via Phabricator via cfe-commits

Reply via email to