Skip to content

Support to Unified memory arrays #122

@albertomercurio

Description

@albertomercurio

I'm trying the example in the README on CSR matrices where the underlying pointers are in unified memory.

It works on standard size, but I get out of memory easily as I were running of device memory

ERROR: LoadError: Out of GPU memory
Effective GPU memory usage: 6.37% (1.498 GiB/23.508 GiB)
Memory pool usage: 182.493 MiB (192.000 MiB reserved)

Stacktrace:
  [1] throw_api_error(res::CUDSS.cudssStatus_t)
    @ CUDSS ~/.julia/packages/CUDSS/LDGbz/src/error.jl:35
  [2] check
    @ ~/.julia/packages/CUDSS/LDGbz/src/error.jl:48 [inlined]
  [3] cudssExecute
    @ ~/.julia/packages/GPUToolbox/JLBB1/src/ccalls.jl:33 [inlined]
  [4] cudss(phase::String, solver::CudssSolver{…}, X::CudssMatrix{…}, B::CudssMatrix{…}; asynchronous::Bool)
    @ CUDSS ~/.julia/packages/CUDSS/LDGbz/src/interfaces.jl:504
  [5] cudss
    @ ~/.julia/packages/CUDSS/LDGbz/src/interfaces.jl:501 [inlined]
  [6] lu!(solver::CudssSolver{ComplexF64, Int32}, A::CuSparseMatrixCSR{ComplexF64, Int32}; check::Bool)
    @ CUDSS ~/.julia/packages/CUDSS/LDGbz/src/generic.jl:37
  [7] lu!
    @ ~/.julia/packages/CUDSS/LDGbz/src/generic.jl:31 [inlined]

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions