[Openmp-dev] Target offloading from multiple threads

Ye Luo via Openmp-dev openmp-dev at lists.llvm.org
Tue Dec 3 13:24:54 PST 2019


FYI: More past conversations.
http://lists.llvm.org/pipermail/openmp-dev/2019-March/002443.html
http://lists.llvm.org/pipermail/cfe-dev/2019-October/063804.html
Ye
===================
Ye Luo, Ph.D.
Computational Science Division & Leadership Computing Facility
Argonne National Laboratory


Jon Chesterfield via Openmp-dev <openmp-dev at lists.llvm.org> 于2019年12月3日周二
下午3:02写道:

> I don't think this works today. There's some state in omp_data.cu 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.
>
> Further, I think this should work. It seems like a reasonable use case.
>
> Shall we fix up deviceRTL (and the compiler side of reduction, possibly
> elsewhere) to support multiple simultaneous invocations of the openmp
> target runtime?
>
> Thanks,
>
> Jon
> _______________________________________________
> Openmp-dev mailing list
> Openmp-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20191203/0b63052c/attachment.html>


More information about the Openmp-dev mailing list