Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CuNFFT tests failing #96

Closed
marius311 opened this issue May 20, 2022 · 0 comments · Fixed by #97
Closed

CuNFFT tests failing #96

marius311 opened this issue May 20, 2022 · 0 comments · Fixed by #97

Comments

@marius311
Copy link
Contributor

I was trying to get CuNFFT working and getting an error, which seems to appear in this packages' CUDA tests as well. Stack trace attached below. This is Julia 1.7.2, CuNFFT v0.3.2, and NFFT v0.12.3.

Any suggestions for making it work? Thanks.

[ Info: Testing CuNFFT in 1 dimensions using kaiser_bessel window
CuNFFT in multiple dimensions: Error During Test at /global/homes/m/marius/.julia/packages/NFFT/HqVse/test/cuda.jl:9
  Got exception outside of a @test
  CuArray only supports element types that are stored inline
  Stacktrace:
    [1] error(s::String)
      @ Base ./error.jl:33
    [2] CuArray{Vector{Float64}, 1, CUDA.Mem.DeviceBuffer}(#unused#::UndefInitializer, dims::Tuple{Int64})
      @ CUDA ~/.julia/packages/CUDA/fAEDi/src/array.jl:34
    [3] CuArray
      @ ~/.julia/packages/CUDA/fAEDi/src/array.jl:291 [inlined]
    [4] CuArray
      @ ~/.julia/packages/CUDA/fAEDi/src/array.jl:296 [inlined]
    [5] CuArray(A::Vector{Vector{Float64}})
      @ CUDA ~/.julia/packages/CUDA/fAEDi/src/array.jl:305
    [6] CuNFFT.CuNFFTPlan(x::Matrix{Float64}, N::Tuple{Int64}; dims::UnitRange{Int64}, fftflags::Nothing, kwargs::Base.Pairs{Symbol, Any, NTuple{4, Symbol}, NamedTuple{(:m, :σ, :window, :precompute), Tuple{Int64, Float64, Symbol, PrecomputeFlags}}})
      @ CuNFFT ~/.julia/packages/CuNFFT/SMrVl/src/implementation.jl:54
    [7] macro expansion
      @ ~/.julia/packages/CuNFFT/SMrVl/src/implementation.jl:22 [inlined]
    [8] macro expansion
      @ ./timing.jl:299 [inlined]
    [9] plan_nfft(::Type{CuArray}, ::Matrix{Float64}, ::Tuple{Int64}; timing::Nothing, kargs::Base.Pairs{Symbol, Any, NTuple{4, Symbol}, NamedTuple{(:m, :σ, :window, :precompute), Tuple{Int64, Float64, Symbol, PrecomputeFlags}}})
      @ CuNFFT ~/.julia/packages/CuNFFT/SMrVl/src/implementation.jl:21
   [10] macro expansion
      @ ~/.julia/packages/NFFT/HqVse/test/cuda.jl:20 [inlined]
   [11] macro expansion
      @ /global/u1/m/marius/.julia/juliaup/julia-1.7.2+0~x64/share/julia/stdlib/v1.7/Test/src/Test.jl:1283 [inlined]
   [12] top-level scope
      @ ~/.julia/packages/NFFT/HqVse/test/cuda.jl:10
   [13] include(fname::String)
      @ Base.MainInclude ./client.jl:451
   [14] top-level scope
      @ ~/.julia/packages/NFFT/HqVse/test/runtests.jl:15
   [15] include(fname::String)
      @ Base.MainInclude ./client.jl:451
   [16] top-level scope
      @ none:6
   [17] eval
      @ ./boot.jl:373 [inlined]
   [18] exec_options(opts::Base.JLOptions)
      @ Base ./client.jl:268
   [19] _start()
      @ Base ./client.jl:495
Test Summary:                 | Error  Total
CuNFFT in multiple dimensions |     1      1
ERROR: LoadError: Some tests did not pass: 0 passed, 0 failed, 1 errored, 0 broken.
in expression starting at /global/homes/m/marius/.julia/packages/NFFT/HqVse/test/cuda.jl:8
in expression starting at /global/homes/m/marius/.julia/packages/NFFT/HqVse/test/runtests.jl:15
ERROR: Package NFFT errored during testing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant