← Back to team overview

yade-users team mailing list archive

[Question #685647]: Problem in CHOLMOD test with GPU acceleration

 

New question #685647 on Yade:
https://answers.launchpad.net/yade/+question/685647

Hello,

I compiled SuiteSparse according to Accelerating Yade’s FlowEngine with GPU[1]. When I run the sh gpu.sh to test CHOLMOD’s GPU functionality, I got the result below. It seems the GPU was not used. Is it correct?

I use Ubuntu 18.04.2 LTS, CUDA version: 10.1, NVIDIA driver version: 418.87

Thanks for your any suggestion.

---------------------------------- cholmod_l_demo:
cholmod version 3.0.13
SuiteSparse version 5.6.0
norm (A,inf) = 203.333
norm (A,1)   = 203.333
CHOLMOD sparse:  A:  18000-by-18000, nz 3457658, upper.  OK
CHOLMOD dense:   B:  18000-by-1,   OK
bnorm 1.99994
Analyze: flop 1.15165e+11 lnz 4.07336e+07
Factorizing A
CHOLMOD factor:  L:  18000-by-18000  supernodal, LL'.  nz 41793167  OK
nmethods: 1
Ordering: AMD     fl/lnz     3911.5  lnz/anz       14.8
Ordering: METIS   fl/lnz     2827.3  lnz/anz       11.8
ints in L:          212740, doubles in L:        55587325
factor flops 1.15165e+11 nnz(L)        40733584 (w/no amalgamation)
nnz(A*A'):         3457658
flops / nnz(L):    2827.3
nnz(L) / nnz(A):     11.8
analyze cputime:        0.8912
factor  cputime:        15.1465 mflop:   7603.4
solve   cputime:         0.0522 mflop:   3120.7
overall cputime:        16.0900 mflop:   7167.7
solve   cputime:         0.0470 mflop:   3469.9 (100 trials)
solve2  cputime:         0.0000 mflop:      0.0 (100 trials)
peak memory usage:          631 (MB)
residual (|Ax-b|/(|A||x|+|b|)): 6.90e-16 8.89e-16 
residual  1.2e-16 (|Ax-b|/(|A||x|+|b|)) after iterative refinement
rcond     4.9e-04


CHOLMOD GPU/CPU statistics:
SYRK  CPU calls          799 time   2.3648e+00
      GPU calls            0 time   0.0000e+00
GEMM  CPU calls          628 time   1.2655e+00
      GPU calls            0 time   0.0000e+00
POTRF CPU calls          172 time   6.5076e-01
      GPU calls            0 time   0.0000e+00
TRSM  CPU calls          171 time   4.8524e-01
      GPU calls            0 time   0.0000e+00
time in the BLAS: CPU   4.7663e+00 GPU   0.0000e+00 total:   4.7663e+00
assembly time   0.0000e+00    0.0000e+00


[1]https://yade-dev.gitlab.io/trunk/GPUacceleration.html#gpuacceleration

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.