You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Heterogeneous computing in spectral methods (#571)
* Started heterogeneous RBC implementation
* Refactor
* Implemented more general heterogeneous solves
* Fixes
---------
Co-authored-by: Thomas <[email protected]>
Copy file name to clipboardExpand all lines: pySDC/implementations/problem_classes/generic_spectral.py
+53-3Lines changed: 53 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -64,6 +64,7 @@ def __init__(
64
64
max_cached_factorizations=12,
65
65
spectral_space=True,
66
66
real_spectral_coefficients=False,
67
+
heterogeneous=False,
67
68
debug=False,
68
69
):
69
70
"""
@@ -81,6 +82,7 @@ def __init__(
81
82
max_cached_factorizations (int): Number of matrix decompositions to cache before starting eviction
82
83
spectral_space (bool): If yes, the solution will not be transformed back after solving and evaluating the RHS, and is expected as input in spectral space to these functions
83
84
real_spectral_coefficients (bool): If yes, allow only real values in spectral space, otherwise, allow complex.
85
+
heterogeneous (bool): If yes, perform memory intensive sparse matrix operations on CPU
84
86
debug (bool): Make additional tests at extra computational cost
0 commit comments