Skip to content

Commit d11f159

Browse files
committed
Run trunc tests with Float32 thanks to new Enzyme
1 parent bb27392 commit d11f159

File tree

4 files changed

+4
-10
lines changed

4 files changed

+4
-10
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Aqua = "0.6, 0.7, 0.8"
3030
CUDA = "5"
3131
ChainRulesCore = "1"
3232
ChainRulesTestUtils = "1"
33-
Enzyme = "0.13.118"
33+
Enzyme = "0.13.131"
3434
EnzymeTestUtils = "0.2.5"
3535
GenericLinearAlgebra = "0.3.19"
3636
GenericSchur = "0.5.6"

test/enzyme/eig.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ using Test
33
using LinearAlgebra: Diagonal
44
using CUDA, AMDGPU
55

6-
# infinity-norm doesn't play nicely with Float32, Enzyme, and 1.12
7-
# see https://github.com/EnzymeAD/Enzyme.jl/issues/2985
8-
BLASFloats = (Float64, ComplexF64) # full suite is too expensive on CI
6+
BLASFloats = (Float32, ComplexF64) # full suite is too expensive on CI
97
GenericFloats = ()
108
@isdefined(TestSuite) || include("../testsuite/TestSuite.jl")
119
using .TestSuite

test/enzyme/eigh.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ using Test
33
using LinearAlgebra: Diagonal
44
using CUDA, AMDGPU
55

6-
# infinity-norm doesn't play nicely with Float32, Enzyme, and 1.12
7-
# see https://github.com/EnzymeAD/Enzyme.jl/issues/2985
8-
BLASFloats = (Float64, ComplexF64) # full suite is too expensive on CI
6+
BLASFloats = (Float32, ComplexF64) # full suite is too expensive on CI
97
GenericFloats = ()
108
@isdefined(TestSuite) || include("../testsuite/TestSuite.jl")
119
using .TestSuite

test/enzyme/svd.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ using Test
33
using LinearAlgebra: Diagonal
44
using CUDA, AMDGPU
55

6-
# infinity-norm doesn't play nicely with Float32, Enzyme, and 1.12
7-
# see https://github.com/EnzymeAD/Enzyme.jl/issues/2985
8-
BLASFloats = (Float64, ComplexF64) # full suite is too expensive on CI
6+
BLASFloats = (Float32, ComplexF64) # full suite is too expensive on CI
97
GenericFloats = ()
108
@isdefined(TestSuite) || include("../testsuite/TestSuite.jl")
119
using .TestSuite

0 commit comments

Comments
 (0)