jhuber6 wrote:

> I don't think it should be GPU code generation path as there is no explicit 
> `target` region used.

it needs to be, otherwise the code generation for things like `#pragma omp 
parallel` will be wrong. The way I see it, the DeviceRTL is `libomp.a` for the 
GPU target, so we need to emit runtime calls for that runtime.

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