-
Notifications
You must be signed in to change notification settings - Fork 69
Expand file tree
/
Copy pathruntests.jl
More file actions
55 lines (48 loc) · 1.45 KB
/
runtests.jl
File metadata and controls
55 lines (48 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
using TensorOperations
using LinearAlgebra
using Test
using Random
Random.seed!(1234567)
using TensorOperations: IndexError
using TensorOperations: BaseCopy, BaseView, StridedNative, StridedBLAS
using TensorOperations: DefaultAllocator, ManualAllocator
@testset "tensoropt" verbose = true begin
include("tensoropt.jl")
end
@testset "auxiliary" verbose = true begin
include("auxiliary.jl")
end
@testset "macro keywords" verbose = true begin
include("macro_kwargs.jl")
end
@testset "method syntax" verbose = true begin
include("methods.jl")
end
@testset "macro with index notation" verbose = true begin
include("tensor.jl")
end
@testset "ad" verbose = false begin
include("ad.jl")
end
# note: cuTENSOR should not be loaded before this point
# as there is a test which requires it to be loaded after
@testset "cuTENSOR extension" verbose = true begin
include("cutensor.jl")
end
# note: Bumper should not be loaded before this point
# as there is a test which requires it to be loaded after
@testset "Bumper extension" verbose = true begin
include("butensor.jl")
end
# note: OMEinsumContractionOrders should not be loaded before this point
# as there is a test which requires it to be loaded after
@testset "OMEinsumOptimizer extension" begin
include("omeinsumcontractionordres.jl")
end
@testset "Polynomials" begin
include("polynomials.jl")
end
@testset "Aqua" verbose = true begin
using Aqua
Aqua.test_all(TensorOperations)
end