-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
330: Update CUDA sender functionality to work with P2300 reference implementation r=msimberg a=msimberg Continuation of #315. Part 2/n to fix #302. This has now been tested with clang 14 and CUDA. ~but a CI configuration will follow in a separate PR (the llvm build requires this patch: spack/spack#31661 - Makes `get_env` customizations `noexcept` as required (and enforced) by the P2300 reference implementation. - Add a missing `range` header to `cuda_scheduler_bulk.hpp`. - ADL-isolate sender and receiver types in `async_cuda` module. - Fixes the `completion_signatures` for senders in `async_cuda`. Note that the helpers for computing the types have to be guarded with a `requires is_invocable_v...` because `make_completion_signatures` instantiates the helper with non-`set_value_t` signatures as well. I have to investigate whether this is a bug or expected behaviour. - Because of the above, a number of helper "kernels" have received trailing `decltype`s to enable SFINAE with bogus arguments. - Removes the SFINAE for `then_with_cuda_stream` etc. since the HIP branch has been merged into DLA-Future. The SFINAE is no longer needed for choosing a `then_with_*` overload and adds unnecessary complexity. - The reference implementation's `split` does not yet support move-only senders, so some additional tests are disabled with CUDA and the reference implementation. - Change the `clang-14` Jenkins configuration to use CUDA and the P2300 reference implementation. Note, this is not for 0.7.0 as it needs more work. Reviews are, however, already welcome. 346: Remove `operator|` overloads for `sync_wait` and `start_detached` r=msimberg a=msimberg Fixes #329 . 347: Add Codacy coverage report r=msimberg a=msimberg Part of #4. Not fully tested, but I got some reporting already to Codacy so there is hope that this works... To do: - [x] badge 352: Increase timeout for container algorithms tests on macOS CI configuration r=msimberg a=msimberg I'm increasing the timeout to check if these timeouts https://github.com/pika-org/pika/runs/7692289838?check_suite_focus=true#step:6:237 are simply due to the test taking long to complete or if it really hangs. `partial_sort_copy_range` is one of the longer running tests so it's possible that it indeed just doesn't have enough time to finish (the timeout is 120 seconds and one of the later runs finished in 101 seconds: https://github.com/pika-org/pika/runs/7691710341?check_suite_focus=true#step:6:237). Co-authored-by: Mikael Simberg <simberg@cscs.ch> Co-authored-by: Mikael Simberg <mikael.simberg@iki.fi>
- Loading branch information
Showing
31 changed files
with
587 additions
and
519 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# Copyright (c) 2020-2022 ETH Zurich | ||
# | ||
# SPDX-License-Identifier: BSL-1.0 | ||
# Distributed under the Boost Software License, Version 1.0. (See accompanying | ||
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | ||
|
||
name: Linux CI (Coverage) | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
name: github/linux/coverage | ||
runs-on: ubuntu-latest | ||
container: pikaorg/pika-ci-base:8 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Configure | ||
shell: bash | ||
run: | | ||
cmake \ | ||
. \ | ||
-Bbuild \ | ||
-GNinja \ | ||
-DCMAKE_BUILD_TYPE=Debug \ | ||
-DCMAKE_CXX_FLAGS="--coverage" \ | ||
-DCMAKE_EXE_LINKER_FLAGS="--coverage" \ | ||
-DPIKA_WITH_UNITY_BUILD=ON \ | ||
-DPIKA_WITH_PRECOMPILED_HEADERS=ON \ | ||
-DPIKA_WITH_MALLOC=system \ | ||
-DPIKA_WITH_EXAMPLES=ON \ | ||
-DPIKA_WITH_TESTS=ON \ | ||
-DPIKA_WITH_TESTS_HEADERS=OFF \ | ||
-DPIKA_WITH_TESTS_MAX_THREADS=2 \ | ||
-DPIKA_WITH_PARALLEL_TESTS_BIND_NONE=ON | ||
- name: Build | ||
shell: bash | ||
run: | | ||
cmake --build build --target tests | ||
- name: Test | ||
shell: bash | ||
working-directory: build | ||
continue-on-error: true | ||
run: | | ||
ctest -j2 --timeout 120 --output-on-failure | ||
- name: Upload coverage report | ||
shell: bash | ||
working-directory: build | ||
run: | | ||
grcov . \ | ||
--source-dir .. \ | ||
--output-path lcov.info \ | ||
--output-type lcov \ | ||
--llvm \ | ||
--ignore-not-existing | ||
bash <(curl -Ls https://coverage.codacy.com/get.sh) report \ | ||
--project-token ${{ secrets.CODACY_PIKA_PROJECT_TOKEN }} \ | ||
--language CPP \ | ||
--coverage-reports lcov.info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.