[PATCH] D100396: [SYCL] Enable `opencl_global_[host,device]` attributes for SYCL
Alexey Bader via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 11 07:31:53 PDT 2021
bader marked 3 inline comments as done.
bader added inline comments.
================
Comment at: clang/test/SemaSYCL/address-space-conversions.cpp:74
+ GLOB = GLOB_DEVICE;
+ GLOB_DEVICE = GLOB; // expected-error {{assigning '__global int *' to '__global_device int *' changes address space of pointer}}
}
----------------
Anastasia wrote:
> Let's add explicit casts too.
Done.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100396/new/
https://reviews.llvm.org/D100396
More information about the cfe-commits
mailing list