Search found 27 matches

by Noran
Thu Mar 12, 2015 2:34 am
Forum: User discussion
Topic: Multithreading Magma
Replies: 9
Views: 9808

Re: Multithreading Magma

Since the last answer of this topic some time has gone. So i would like to ask, if the function magmablasSetKernelStream is thread safe now? And what is about thread safety in the LU-Solver called magma_dgesv_gpu?

Greetz and thanks in advance
Noran
by Noran
Wed Jan 14, 2015 3:29 am
Forum: User discussion
Topic: floating point exception using magma_dpgmres
Replies: 5
Views: 1381

Re: floating point exception using magma_dpgmres

Thank you Hartwig for you're reply.
We have to solve something between 10 and 50 Systems (depends on the optimizationproblem). Even if we can't solve the problem for now, we know what's the reason. :)

Greetz Noran
by Noran
Tue Jan 13, 2015 6:12 am
Forum: User discussion
Topic: floating point exception using magma_dpgmres
Replies: 5
Views: 1381

Re: floating point exception using magma_dpgmres

Hi Hartwig, a Happy new year i wish you :) Yes i have to do the GMRES Algorithm for several Columns of the right hand side. I changed the Code in my first Reply and support the full Code below. Thank you for your help. I'm nearly ready with my Masterthesis :) Greetz Noran #include "pyMAGMA_functions...
by Noran
Tue Jan 06, 2015 1:41 am
Forum: User discussion
Topic: floating point exception using magma_dpgmres
Replies: 5
Views: 1381

Re: floating point exception using magma_dpgmres

Has anybody an idea of a solution?
by Noran
Fri Dec 19, 2014 3:37 pm
Forum: User discussion
Topic: floating point exception using magma_dpgmres
Replies: 5
Views: 1381

floating point exception using magma_dpgmres

Hi @ all, I tried to use the function magma_dpgmres. But it looks like im initializing the precond_par wrong, because I always get an floating point exception when I call dpgmres, while the normal GMRES algorithm works fine with my matrices. The initializiation of the solver options are below. Can s...
by Noran
Tue Dec 09, 2014 9:17 am
Forum: User discussion
Topic: Compiling/linking Magma Sparse on Windows 7 using MSVS 2012
Replies: 2
Views: 955

Re: Compiling/linking Magma Sparse on Windows 7 using MSVS 2

When I'am right you need at least the nvcc Compiler from NVidia because the sparse-iter folder contains .cu-files. If you want to use the MSVS compiler instead of the g++ and gcc, you will have to change the Variables CC and CXX in the make.inc file from gcc and g++ to the MSVS-compiler. After that ...
by Noran
Wed Nov 26, 2014 4:53 am
Forum: User discussion
Topic: Problem using magma_queue's
Replies: 4
Views: 2541

Re: Problem using magma_queue's

Hi Hartwig, all worked well, with some small changes: 1. I put the transferring, calculation and backtransferring in a for loop, to get the full Matrix. 2. for the matrices i changed from magma_s_vector to magma_s_vector[colsMatrixB] 3. I need the result in the CPU memory at the address float* valAB...
by Noran
Tue Nov 25, 2014 3:30 pm
Forum: User discussion
Topic: Problem using magma_queue's
Replies: 4
Views: 2541

Re: Problem using magma_queue's

Hi Hartwig, thank you for you're fast answer. I see the changes and will try it tomorow. Our goal ist, to parallelize the calculation of 10 times matrix vector A * ab_i = b_i. Where A ist every time the same Matrix 400x400 And b_i are columns from the matrix B and ab_i are columns from the matrix b....
by Noran
Tue Nov 25, 2014 7:36 am
Forum: User discussion
Topic: Problem using magma_queue's
Replies: 4
Views: 2541

Problem using magma_queue's

Hi @all, i were very happy when I saw, that the cudaStreams have been implemented. But I've got the following problem: We have a linear system A * AB = B, where A has 400 x 400 Elements and B 400 x 10. Both are sparse matrices and we want to calculate AB. I decided to test your gmres algorithm with ...
by Noran
Tue Nov 25, 2014 6:16 am
Forum: User discussion
Topic: Compiling MAGMA sparse
Replies: 5
Views: 2247

Re: Compiling MAGMA sparse

Thank you Hartwig, it worked.
I've done the same with magma_xvget_gpu (...) in magma_xvpass_gpu.cpp

Greetz Noran