[Openmp-commits] [PATCH] D74145: [OpenMP][Offloading] Added support for multiple streams so that multiple kernels can be executed concurrently

Shilei Tian via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Feb 6 10:49:14 PST 2020


tianshilei1992 created this revision.
tianshilei1992 added a reviewer: jdoerfert.
tianshilei1992 added a project: OpenMP.
Herald added subscribers: openmp-commits, jfb, guansong.
tianshilei1992 updated this revision to Diff 242948.

It will initialize a number of streams for each device at first. The number can be configured via environment variable `LIBOMPTARGET_NUM_STREAMS`. For each kernel submission, a stream will be selected in a round-robin manner.


https://reviews.llvm.org/D74145

Files:
  openmp/libomptarget/plugins/cuda/src/rtl.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74145.242948.patch
Type: text/x-patch
Size: 4206 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20200206/a402d1fe/attachment.bin>


More information about the Openmp-commits mailing list