diff --git a/NDTensors/Project.toml b/NDTensors/Project.toml index 9791e07b66..2c82d64857 100644 --- a/NDTensors/Project.toml +++ b/NDTensors/Project.toml @@ -67,7 +67,7 @@ Dictionaries = "0.4" EllipsisNotation = "1.8" FillArrays = "1" Folds = "0.2.8" -Functors = "0.2, 0.3, 0.4" +Functors = "0.2, 0.3, 0.4, 0.5" GPUArraysCore = "0.1, 0.2" HDF5 = "0.14, 0.15, 0.16, 0.17" HalfIntegers = "1" diff --git a/NDTensors/src/lib/UnallocatedArrays/test/Project.toml b/NDTensors/src/lib/UnallocatedArrays/test/Project.toml new file mode 100644 index 0000000000..88851e5c59 --- /dev/null +++ b/NDTensors/src/lib/UnallocatedArrays/test/Project.toml @@ -0,0 +1,5 @@ +[deps] +FillArrays = "1a297f60-69ca-5386-bcde-b61e274b549b" +LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" +NDTensors = "23ae76d9-e61a-49c4-8f12-3f1a16adf9cf" +Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" diff --git a/NDTensors/src/lib/UnallocatedArrays/test/runtests.jl b/NDTensors/src/lib/UnallocatedArrays/test/runtests.jl index b7b7fe2839..4dd8b8b521 100644 --- a/NDTensors/src/lib/UnallocatedArrays/test/runtests.jl +++ b/NDTensors/src/lib/UnallocatedArrays/test/runtests.jl @@ -1,9 +1,10 @@ @eval module $(gensym()) using FillArrays: FillArrays, AbstractFill, Fill, Zeros using NDTensors: NDTensors -using NDTensors.UnallocatedArrays +using NDTensors.UnallocatedArrays: + UnallocatedFill, UnallocatedZeros, allocate, alloctype, set_alloctype using LinearAlgebra: norm -using Test: @test, @testset, @test_broken +using Test: @test, @test_broken, @testset include(joinpath(pkgdir(NDTensors), "test", "NDTensorsTestUtils", "NDTensorsTestUtils.jl")) using .NDTensorsTestUtils: devices_list @@ -247,7 +248,7 @@ end end using FillArrays: Fill, Zeros -using NDTensors.UnallocatedArrays +using NDTensors.UnallocatedArrays: UnallocatedFill, UnallocatedZeros using NDTensors.TypeParameterAccessors: Position, default_type_parameter, nparameters, set_type_parameter, type_parameter using Test: @test, @testset diff --git a/Project.toml b/Project.toml index 1cce17d02b..1eecd3e40f 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "ITensors" uuid = "9136182c-28ba-11e9-034c-db9fb085ebd5" authors = ["Matthew Fishman ", "Miles Stoudenmire "] -version = "0.7.3" +version = "0.7.4" [deps] Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e" @@ -43,7 +43,7 @@ ChainRulesCore = "1.10" Compat = "2.1, 3, 4" Dictionaries = "0.4" DocStringExtensions = "0.9.3" -Functors = "0.2, 0.3, 0.4" +Functors = "0.2, 0.3, 0.4, 0.5" HDF5 = "0.14, 0.15, 0.16, 0.17" IsApprox = "0.1, 1, 2" LinearAlgebra = "1.6" diff --git a/jenkins/Jenkinsfile b/jenkins/Jenkinsfile index 4fd308d59a..64ee5d5d3e 100644 --- a/jenkins/Jenkinsfile +++ b/jenkins/Jenkinsfile @@ -27,7 +27,7 @@ pipeline { } steps { sh ''' - julia -e 'using Pkg; Pkg.activate(temp=true); Pkg.Registry.update(); Pkg.update(); Pkg.develop(path="./NDTensors"); Pkg.develop(path="."); Pkg.test("NDTensors"; test_args=["cuda"])' + julia -e 'using Pkg: Pkg; Pkg.activate(temp=true); Pkg.Registry.update(); Pkg.update(); Pkg.develop(path="./NDTensors"); Pkg.develop(path="."); Pkg.test("NDTensors"; test_args=["cuda"])' ''' } } @@ -51,7 +51,7 @@ pipeline { } steps { sh ''' - julia -e 'using Pkg; Pkg.activate(temp=true); Pkg.Registry.update(); Pkg.update(); Pkg.develop(path="./NDTensors"); Pkg.develop(path="."); Pkg.test("NDTensors"; test_args=["cuda"])' + julia -e 'using Pkg: Pkg; Pkg.activate(temp=true); Pkg.Registry.update(); Pkg.update(); Pkg.develop(path="./NDTensors"); Pkg.develop(path="."); Pkg.test("NDTensors"; test_args=["cuda"])' ''' } } @@ -75,7 +75,7 @@ pipeline { } steps { sh ''' - julia -e 'using Pkg; Pkg.activate(temp=true); Pkg.Registry.update(); Pkg.update(); Pkg.develop(path="./NDTensors"); Pkg.develop(path="."); Pkg.test("NDTensors"; test_args=["cutensor"])' + julia -e 'using Pkg: Pkg; Pkg.activate(temp=true); Pkg.Registry.update(); Pkg.update(); Pkg.develop(path="./NDTensors"); Pkg.develop(path="."); Pkg.test("NDTensors"; test_args=["cutensor"])' ''' } } @@ -99,7 +99,7 @@ pipeline { } steps { sh ''' - julia -e 'using Pkg; Pkg.activate(temp=true); Pkg.Registry.update(); Pkg.update(); Pkg.develop(path="./NDTensors"); Pkg.develop(path="."); Pkg.test("NDTensors"; test_args=["cutensor"])' + julia -e 'using Pkg: Pkg; Pkg.activate(temp=true); Pkg.Registry.update(); Pkg.update(); Pkg.develop(path="./NDTensors"); Pkg.develop(path="."); Pkg.test("NDTensors"; test_args=["cutensor"])' ''' } } @@ -120,7 +120,7 @@ pipeline { juliaup default lts ''' sh ''' - julia -e 'using Pkg; Pkg.activate(temp=true); Pkg.develop(path="./NDTensors"); Pkg.develop(path="."); Pkg.test("NDTensors"; test_args=["metal"])' + julia -e 'using Pkg: Pkg; Pkg.activate(temp=true); Pkg.Registry.update(); Pkg.update(); Pkg.develop(path="./NDTensors"); Pkg.develop(path="."); Pkg.test("NDTensors"; test_args=["metal"])' ''' } } @@ -141,11 +141,11 @@ pipeline { juliaup default release ''' sh ''' - julia -e 'using Pkg; Pkg.activate(temp=true); Pkg.develop(path="./NDTensors"); Pkg.develop(path="."); Pkg.test("NDTensors"; test_args=["metal"])' + julia -e 'using Pkg: Pkg; Pkg.activate(temp=true); Pkg.Registry.update(); Pkg.update(); Pkg.develop(path="./NDTensors"); Pkg.develop(path="."); Pkg.test("NDTensors"; test_args=["metal"])' ''' } } } } } -} \ No newline at end of file +}