tianshilei1992 marked 2 inline comments as done. tianshilei1992 added inline comments.
================ Comment at: openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp:583 + if (!KernelEnvOrError) + return KernelEnvOrError.takeError(); + ---------------- jdoerfert wrote: > We used to default to SPMD w/o a _exec_mode. Unsure if this will cause > problems. I am inclined to allow missing _kernel_env as well and use SPMD > then. Now we need the global variable to call `target_init` at runtime, so missing it sounds like a bug. I'm not sure if we would optimize the symbol out, but I kinda doubt it. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D142569/new/ https://reviews.llvm.org/D142569 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits