ABataev added a comment.

In D57768#1386933 <https://reviews.llvm.org/D57768#1386933>, @bader wrote:

> In D57768#1386924 <https://reviews.llvm.org/D57768#1386924>, @ABataev wrote:
>
> > This definitely requires a test.
>
>
> @ABataev, I tried to find some tests on similar `-fcuda-is-device` and 
> `-fopenmp-is-device` options, but I wasn't able to find a dedicated test. 
> Could you suggest some examples testing similar functionality, please?


There are several similar tests:
OpenMP/driver.c, Driver/openmp-offload.c, Driver/openmp-offload-gpu.c. There is 
no absolutely the same test for OpenMP, since OpenMP has mo similar req for the 
offloading.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D57768



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

Reply via email to