<div dir="ltr">I don't think this works today. There's some state in <a href="http://omp_data.cu">omp_data.cu</a> which looks like it gets shared by any target offloading invocation, so I think multiple host threads will invoke kernels that step on each other.<div><br></div><div>Further, I think this should work. It seems like a reasonable use case.</div><div><br></div><div>Shall we fix up deviceRTL (and the compiler side of reduction, possibly elsewhere) to support multiple simultaneous invocations of the openmp target runtime?</div><div><br></div><div>Thanks,</div><div><br></div><div>Jon</div></div>