jebej / Schrodinger.jl

Fast and easy simulation of quantum mechanical systems.
https://jebej.github.io/Schrodinger.jl/latest
Other
24 stars 6 forks source link

GPU dynamics [WIP] #16

Closed jebej closed 4 years ago

jebej commented 4 years ago

Still requires a few definition with CUDA.jl, in particular:

LinearAlgebra.mul!(y::CuVector{T},A::CuSparseMatrix{T},x::CuVector{T},α::Number,β::Number) where {T} = (CUSPARSE.mv!('N',T(α),A,x,T(β),y,'O'); y)
# and
Base.:*(x::Number,A::CuSparseMatrixCSR) = CuSparseMatrixCSR(A.rowPtr,A.colVal,x*A.nzVal,A.nnz,A.dims)
codecov[bot] commented 4 years ago

Codecov Report

Merging #16 into master will increase coverage by 1.61%. The diff coverage is 67.74%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #16      +/-   ##
==========================================
+ Coverage   47.41%   49.02%   +1.61%     
==========================================
  Files          36       37       +1     
  Lines        1546     1434     -112     
==========================================
- Hits          733      703      -30     
+ Misses        813      731      -82     
Impacted Files Coverage Δ
src/Schrodinger.jl 100.00% <ø> (ø)
src/library/operators.jl 62.50% <ø> (+3.67%) :arrow_up:
src/library/states.jl 96.55% <ø> (ø)
src/quobj/basicmethods.jl 52.80% <0.00%> (-0.61%) :arrow_down:
src/quobj/gpu.jl 0.00% <0.00%> (ø)
src/math/superops.jl 76.47% <25.00%> (ø)
src/dynamics/interface.jl 48.64% <44.82%> (+9.58%) :arrow_up:
src/dynamics/liouvillian.jl 60.00% <58.62%> (ø)
src/dynamics/propagator.jl 70.00% <75.00%> (+6.00%) :arrow_up:
src/math/special.jl 65.75% <90.00%> (+4.32%) :arrow_up:
... and 28 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 8b6f63a...fa6c438. Read the comment docs.

coveralls commented 4 years ago

Coverage Status

Coverage decreased (-0.2%) to 43.516% when pulling fa6c438ecc98e3af47db4053a57b48dedf1fa3c5 on gpu-dynamics into 8b6f63a5d8ba4f76f8229b2eed6262aee3e0985b on master.