diff --git a/Project.toml b/Project.toml index 2badef8d..e4a33af7 100644 --- a/Project.toml +++ b/Project.toml @@ -6,7 +6,7 @@ authors = ["Gregory L. Wagner ", "Navid C. Constantinou < description = "Tools for building fast, hackable, pseudospectral partial differential equation solvers on periodic domains." documentation = "https://fourierflows.github.io/FourierFlowsDocumentation/stable/" repository = "https://github.com/FourierFlows/FourierFlows.jl" -version = "0.10.4" +version = "0.10.5" [deps] CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba" @@ -20,7 +20,7 @@ Reexport = "189a3867-3050-52da-a836-e630ba90ab69" Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" [compat] -CUDA = "1, 2.4.2, 3.0.0 - 3.6.4, 3.7.1, 4" +CUDA = "1, 2.4.2, 3.0.0 - 3.6.4, 3.7.1, 4, 5" DocStringExtensions = "0.8, 0.9" FFTW = "1" Interpolations = "0.12, 0.13, 0.14, 0.15" diff --git a/README.md b/README.md index 8a646837..e959a7d2 100644 --- a/README.md +++ b/README.md @@ -47,8 +47,6 @@ julia> Pkg.instantiate() The most recent version of FourierFlows.jl requires Julia v1.6 (the current long-term-release) or later. -Last version that works with Julia v1.5 is FourierFlows.jl v0.7.2. - ## Usage @@ -104,7 +102,7 @@ Since then [various people have contributed](https://github.com/FourierFlows/Fou This software is citable via [zenodo](https://zenodo.org). Please cite as: -> Gregory L. Wagner, Navid C. Constantinou, and contributors. (2023). FourierFlows/FourierFlows.jl: FourierFlows v0.10.4 (Version v0.10.4). Zenodo. [http://doi.org/10.5281/zenodo.1161724](http://doi.org/10.5281/zenodo.1161724) +> Gregory L. Wagner, Navid C. Constantinou, and contributors. (2023). FourierFlows/FourierFlows.jl: FourierFlows v0.10.5 (Version v0.10.5). Zenodo. [http://doi.org/10.5281/zenodo.1161724](http://doi.org/10.5281/zenodo.1161724) ## Contributing diff --git a/appveyor.yml b/appveyor.yml index 284fee83..dc213352 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,7 +1,7 @@ environment: matrix: - julia_version: 1.6 - - julia_version: 1.8 + - julia_version: 1.9 - julia_version: nightly platform: diff --git a/test/test_grid.jl b/test/test_grid.jl index 39207d6f..c0aaa63d 100644 --- a/test/test_grid.jl +++ b/test/test_grid.jl @@ -188,14 +188,16 @@ end function test_plan_flows_fftrfft(::GPU; T=Float64) A = device_array(GPU()) + region_ans = VERSION >= v"1.9.0" ? (1, 2) : [1, 2] + return typeof(FourierFlows.plan_flows_fft(A(rand(Complex{T}, (4,))))) == CUDA.CUFFT.cCuFFTPlan{Complex{T},-1,false,1} && typeof(FourierFlows.plan_flows_fft(A(rand(Complex{T}, (4, 6))))) == CUDA.CUFFT.cCuFFTPlan{Complex{T},-1,false,2} && typeof(FourierFlows.plan_flows_fft(A(rand(Complex{T}, (4, 6, 8))))) == CUDA.CUFFT.cCuFFTPlan{Complex{T},-1,false,3} && - FourierFlows.plan_flows_fft(A(rand(Complex{T}, (4, 6, 8))), [1, 2]).region == [1, 2] && + FourierFlows.plan_flows_fft(A(rand(Complex{T}, (4, 6, 8))), [1, 2]).region == region_ans && typeof(FourierFlows.plan_flows_rfft(A(rand(T, (4,))))) == CUDA.CUFFT.rCuFFTPlan{T,-1,false,1} && typeof(FourierFlows.plan_flows_rfft(A(rand(T, (4, 6))))) == CUDA.CUFFT.rCuFFTPlan{T,-1,false,2} && typeof(FourierFlows.plan_flows_rfft(A(rand(T, (4, 6, 8))))) == CUDA.CUFFT.rCuFFTPlan{T,-1,false,3} && - FourierFlows.plan_flows_rfft(A(rand(T, (4, 6, 8))), [1, 2]).region == [1, 2] + FourierFlows.plan_flows_rfft(A(rand(T, (4, 6, 8))), [1, 2]).region == region_ans end function test_aliased_fraction(dev, aliased_fraction)