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
Copy file name to clipboardexpand all lines: test/Core/calculators.jl
+11-15
Original file line number
Diff line number
Diff line change
@@ -4,14 +4,9 @@ using NQCDynamics.Calculators
4
4
using LinearAlgebra: tr, Diagonal, eigvecs, eigvals
5
5
using RingPolymerArrays: RingPolymerArrays
6
6
7
-
# For the allocation tests check against both backends as we can't be sure which is in use.
8
-
const MKL_EIGEN_ALLOCATIONS =54912
9
-
# Julia 1.10 has slightly different eigen allocations
10
-
ifVERSION>v"1.9"
11
-
const OPENBLAS_EIGEN_ALLOCATIONS =57216
12
-
else
13
-
const OPENBLAS_EIGEN_ALLOCATIONS =56896
14
-
end
7
+
# Allocation-based tests aren't great - change these values if there's a good reason to.
8
+
# Eigenvalue allocations limit: Regardless of maths backend and Julia version, eigenvalues should take fewer allocations than this or something might be wrong
0 commit comments