[Openmp-commits] [openmp] r293094 - [OpenMP] Initial implementation of OpenMP offloading library - libomptarget.
Georgios Rokos via Openmp-commits
openmp-commits at lists.llvm.org
Thu Apr 13 10:26:12 PDT 2017
Hi Hal,
Thanks for spotting this. -j was set to 1 initially because back then
libomptarget was NOT thread-safe, so we had to serialize the tests. This is
no longer the case, so we can change the configuration to use all available
resources of the system. I will submit a patch.
George
From: Hal Finkel <hfinkel at anl.gov>
To: Georgios Rokos/Watson/IBM at IBMUS,
<openmp-commits at lists.llvm.org>
Date: 13/04/2017 12:35
Subject: Re: [Openmp-commits] [openmp] r293094 - [OpenMP] Initial
implementation of OpenMP offloading library - libomptarget.
Hi George,
On 01/25/2017 03:27 PM, George Rokos via Openmp-commits wrote:
> Author: grokos
> Date: Wed Jan 25 15:27:24 2017
> New Revision: 293094
>
> URL: http://llvm.org/viewvc/llvm-project?rev=293094&view=rev
> Log:
> [OpenMP] Initial implementation of OpenMP offloading library -
libomptarget.
>
> This is the patch upstreaming the device-agnostic part of libomptarget.
>
> Differential Revision: https://reviews.llvm.org/D14031
>
>
> ...
> + # Use add_lit_testsuite() from LLVM CMake. This also depends on OpenMP
> + # implementation because it uses omp.h.
> + add_lit_testsuite(check-libomptarget
> + "Running libomptarget tests"
> + ${CMAKE_CURRENT_BINARY_DIR}
> + ARGS "-j 1"
Adding -j 1 may be okay for the stand-alone testing configuration, but
we can't add it here like this. The argument applies not only to the
tests in this subdirectory, but to all regression tests being run. That
means that running check-all after a complete build might take 20
minutes instead of 1. Is there a reason we need to be (more) careful
about this here than we are for the openmp tests? As a note, we
definitely over-subscribe the system for the openmp tests, but they're
not performance tests, and the stressing has often proved helpful.
Thanks again,
Hal
> + DEPENDS omptarget omp
> + )
> +
> ...
>
> _______________________________________________
> Openmp-commits mailing list
> Openmp-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-commits
--
Hal Finkel
Lead, Compiler Technology and Programming Languages
Leadership Computing Facility
Argonne National Laboratory
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20170413/f6d3487b/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-commits/attachments/20170413/f6d3487b/attachment-0001.gif>
More information about the Openmp-commits
mailing list