shiltian wrote:

I think that is a misuse of OpenMP semantics. We can't expect to have regular 
OpenMP code working in the same way as OpenMP offloading code when targeting a 
GPU meanwhile while the code is not wrapped into `target` region. I understand 
to have variants and declare target is not convenient but that conforms with 
OpenMP standard. I don't think this change conforms with the standard.

https://github.com/llvm/llvm-project/pull/122149
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to