[PATCH] D92363: [HIP] Warn no --offload-arch option
Yaxun Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 5 09:32:09 PST 2021
yaxunl added a comment.
In D92363#2607072 <https://reviews.llvm.org/D92363#2607072>, @yaxunl wrote:
> @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.
sorry, wrong patch.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92363/new/
https://reviews.llvm.org/D92363
More information about the cfe-commits
mailing list