From b9ff2281f07e2ccbda225a83b97abafed1fe6b97 Mon Sep 17 00:00:00 2001 From: Mikael Simberg Date: Mon, 16 Sep 2024 11:07:57 +0200 Subject: [PATCH 1/2] Work around stdexec let_value bug --- include/dlaf/communication/kernels/internal/all_reduce.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/dlaf/communication/kernels/internal/all_reduce.h b/include/dlaf/communication/kernels/internal/all_reduce.h index f4dff2f1e5..6df2dee153 100644 --- a/include/dlaf/communication/kernels/internal/all_reduce.h +++ b/include/dlaf/communication/kernels/internal/all_reduce.h @@ -80,8 +80,9 @@ template // written into the output tile instead). The reduction is explicitly done // on CPU memory so that we can manage potential asynchronous copies between // CPU and GPU. A reduction requires contiguous memory. - return withTemporaryTile(std::move(tile_in), std::move(all_reduce)); + return pika::execution::experimental::make_unique_any_sender( + withTemporaryTile(std::move(tile_in), std::move(all_reduce))); }; #if !defined(DLAF_WITH_MPI_GPU_AWARE) From ba336411d2645e1c23c73543654508ba3001f3cf Mon Sep 17 00:00:00 2001 From: Mikael Simberg Date: Mon, 16 Sep 2024 11:08:22 +0200 Subject: [PATCH 2/2] Reenable GCC 11/stdexec CI configurations --- ci/.gitlab-ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ci/.gitlab-ci.yml b/ci/.gitlab-ci.yml index 5fcbba6f0b..065b95acc0 100644 --- a/ci/.gitlab-ci.yml +++ b/ci/.gitlab-ci.yml @@ -5,9 +5,8 @@ include: - local: 'ci/cpu/clang15_release.yml' - local: 'ci/cpu/clang16_release.yml' - local: 'ci/cpu/clang18_release.yml' - # https://github.com/eth-cscs/DLA-Future/issues/1184 - # - local: 'ci/cpu/gcc11_release_stdexec.yml' - # - local: 'ci/cpu/gcc11_debug_stdexec.yml' + - local: 'ci/cpu/gcc11_release_stdexec.yml' + - local: 'ci/cpu/gcc11_debug_stdexec.yml' - local: 'ci/cpu/gcc12_release_cxx20.yml' - local: 'ci/cpu/gcc13_codecov.yml' - local: 'ci/cpu/gcc13_release.yml'