[Openmp-dev] Available features of libomptarget nvptx for 7.0 release

Georgios Rokos via Openmp-dev openmp-dev at lists.llvm.org
Tue Jul 3 12:34:03 PDT 2018


Hi Guray,

The trunk version of the nvptx RTL is on par with trunk clang, i.e. it
supports everything from the ykt release with the exception of teams
reduction.

Support for teams reduction will be added to the RTL once it has been
implemented into clang.

George



From:	Guray Ozen via Openmp-dev <openmp-dev at lists.llvm.org>
To:	Alexey Bataev <a.bataev at outlook.com>, "Hervé Yviquel"
            <herve.yviquel at ic.unicamp.br>, "openmp-dev at lists.llvm.org"
            <openmp-dev at lists.llvm.org>
Date:	03/07/2018 19:49
Subject:	Re: [Openmp-dev] Available features of libomptarget nvptx for
            7.0 release
Sent by:	"Openmp-dev" <openmp-dev-bounces at lists.llvm.org>



Thank you very much for the answer Alexey. I am actually more curious about
the runtime. Because, in Nvidia, we have started implementing OpenMP GPU
offload on Flang frontend. We are using libomptarget and
libomtparget-nvptx. Therefore I was asking which features will runtime
support in v7.0.
Also, my additional comments are below.
From: Alexey Bataev <a.bataev at outlook.com>
Sent: Tuesday, July 3, 2018 5:39 PM
To: Hervé Yviquel <herve.yviquel at ic.unicamp.br>; Guray Ozen
<gozen at nvidia.com>; openmp-dev at lists.llvm.org
Subject: Re: [Openmp-dev] Available features of libomptarget nvptx for 7.0
release



Hi, are you interested in the status of clang compiler or just library? I
can answer for clang and support for offloading to NVidia GPUs.
It supports almost everything from OpenMP 4.5, except for reductions across
the teams.


[GURAY:] Is it only in clang ? Do you know does teams reduction works on
runtime?



Also, there are still some bugs in the current implementation.
1. Some math functions may cause troubles during the compilation of the
device specific code. There is a patch that fixes that problem, but it
requires some additional work.
2. Our implementation supports 2 datasharing model for the device code:
cuda mode, where all local variables are actually local threadprivate
globals (i.e. registers), and generic mode, where the shared variables are
placed in the global memory and can be shared between the threads of the
parallel regions. Currently, only cuda-mode works correctly, generic mode
requires some additional bug fix.
Also, trunk clang compiler does not support static linking.


[GURAY:] Is related to clang-offload-bundler?




Best regards,
Alexey Bataev.
-------------
Best regards,
Alexey Bataev
01.07.2018 5:26, Hervé Yviquel via Openmp-dev пишет:
      I agree. Would it be possible to get an update on the status of
      libomptarget and its codegen? Is it more or less in pair with
      clang-ykt now?

      Thanks,
      Hervé

      On juin 13 2018, at 6:15 pm, Guray Ozen via Openmp-dev
      <openmp-dev at lists.llvm.org> wrote:

            Hi all,



            The release date for 7.0 is approaching. I'm curious about the
            libomptarget and libomptarget-nvptx runtime library. Is there a
            list of which features are not available in 7.0 and which ones
            are not?



            Best

            -guray

            This email message is for the sole use of the intended
            recipient(s) and may contain confidential information.  Any
            unauthorized review, use, disclosure or distribution is
            prohibited.  If you are not the intended recipient, please
            contact the sender by reply email and destroy all copies of the
            original message.

            _______________________________________________
            Openmp-dev mailing list
            Openmp-dev at lists.llvm.org
            http://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev



      _______________________________________________
      Openmp-dev mailing list
      Openmp-dev at lists.llvm.org
      http://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev
 _______________________________________________
Openmp-dev mailing list
Openmp-dev at lists.llvm.org
http://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/20180703/6f7604d6/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20180703/6f7604d6/attachment-0001.gif>


More information about the Openmp-dev mailing list