-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use busy waiting barrier in reduction to band (#864)
- Loading branch information
Showing
8 changed files
with
85 additions
and
15 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
22 changes: 22 additions & 0 deletions
22
include/dlaf/eigensolver/internal/get_red2band_barrier_busy_wait.h
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,22 @@ | ||
// | ||
// Distributed Linear Algebra with Future (DLAF) | ||
// | ||
// Copyright (c) 2018-2023, ETH Zurich | ||
// All rights reserved. | ||
// | ||
// Please, refer to the LICENSE file in the root directory. | ||
// SPDX-License-Identifier: BSD-3-Clause | ||
// | ||
#pragma once | ||
|
||
#include <chrono> | ||
|
||
#include "dlaf/tune.h" | ||
|
||
namespace dlaf::eigensolver::internal { | ||
|
||
inline std::chrono::duration<double> getReductionToBandBarrierBusyWait() noexcept { | ||
return std::chrono::microseconds(getTuneParameters().red2band_barrier_busy_wait_us); | ||
} | ||
|
||
} |
22 changes: 22 additions & 0 deletions
22
include/dlaf/eigensolver/internal/get_tridiag_rank1_barrier_busy_wait.h
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,22 @@ | ||
// | ||
// Distributed Linear Algebra with Future (DLAF) | ||
// | ||
// Copyright (c) 2018-2023, ETH Zurich | ||
// All rights reserved. | ||
// | ||
// Please, refer to the LICENSE file in the root directory. | ||
// SPDX-License-Identifier: BSD-3-Clause | ||
// | ||
#pragma once | ||
|
||
#include <chrono> | ||
|
||
#include "dlaf/tune.h" | ||
|
||
namespace dlaf::eigensolver::internal { | ||
|
||
inline std::chrono::duration<double> getTridiagRank1BarrierBusyWait() noexcept { | ||
return std::chrono::microseconds(getTuneParameters().red2band_barrier_busy_wait_us); | ||
} | ||
|
||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,7 +47,7 @@ class DlaFuture(CMakePackage, CudaPackage, ROCmPackage): | |
depends_on("umpire+rocm~shared", when="+rocm") | ||
depends_on("[email protected]:") | ||
|
||
depends_on("pika@0.15.1:") | ||
depends_on("pika@0.16:") | ||
depends_on("[email protected]:") | ||
depends_on("pika +mpi") | ||
depends_on("pika +cuda", when="+cuda") | ||
|
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