Search found 283 matches

by Stan Tomov
Fri Jan 08, 2010 3:58 pm
Forum: User discussion
Topic: Magma and GPU Memory Limitation
Replies: 1
Views: 5806

Re: Magma and GPU Memory Limitation

The answer to all three questions is "yes". There are different ways to do it, but we haven't included in MAGMA any implementations yet (targeting these cases). Our first goal/priority in MAGMA is to provide a version with basic functionality (as currently available) and later use it as a building b...
by Stan Tomov
Fri Jan 08, 2010 3:06 pm
Forum: User discussion
Topic: sgetrf matlab mex file - crashing...
Replies: 13
Views: 30352

Re: sgetrf matlab mex file - crashing...

Jpeinado, We leave it up to the user to allocate memory, e.g., working spaces, etc.; the magma and magmablas libraries do not need and do not allocate additional memory space. The examples in the testing directory use pinned memory for performance, but non-pinned would work as well. We are still wor...
by Stan Tomov
Mon Dec 14, 2009 1:01 pm
Forum: User discussion
Topic: segmentation faults and non-MKL build
Replies: 2
Views: 7695

Re: segmentation faults and non-MKL build

Hello, The testing drivers assume memory on the card of size ~1GB and try to allocate memory for matrix of size 10,000 x 10,000. I see you have 511MB. We will change this in the future - to read the card specification and run tests that are according to the card,s memory size. For now you can try sm...
by Stan Tomov
Fri Dec 11, 2009 2:03 am
Forum: User discussion
Topic: sgetrf matlab mex file - crashing...
Replies: 13
Views: 30352

Re: sgetrf matlab mex file - crashing...

Jpeinado,
I only commented out getting the matrix A using mxGetData. I directly allocated A and used the rest of the Boxed Cyclon code as a simple cpp code (not as a mex file), linking it with the shared libraries posted in the other thread ("Matlab/nvmex - failure to compile").
Stan
by Stan Tomov
Tue Dec 08, 2009 5:08 pm
Forum: User discussion
Topic: Question about linear solver sgetrf_gpu in Magma 0.2
Replies: 2
Views: 7549

Re: Question about linear solver sgetrf_gpu in Magma 0.2

The solver first transposes the matrix in the GPU memory. The CUDA kernel that is doing it is of block size 32 and we request larger matrix so that we do not code the transpose operation for general matrix size. This will be most probably changed in future releases. When the next panel has to be pro...
by Stan Tomov
Fri Dec 04, 2009 11:45 am
Forum: User discussion
Topic: Several questions about linear LU solvers in Magma 0.2
Replies: 2
Views: 7931

Re: Several questions about linear LU solvers in Magma 0.2

Hello Jpeinado, We are happy to hear you use and like the MAGMA package. 1) ...in testing_sgesv_gpu.cpp file: magma_sgetrf_gpu(&N, &N, d_A, &dlda, IPIV, h_work_M_S, INFO); magma_sgetrs_gpu("N", N, NRHS, d_A, dlda, IPIV, d_B, LDB, INFO, h_work_M_S); I think this is the equivalent way to magma_sgesv_g...
by Stan Tomov
Sun Nov 29, 2009 12:32 am
Forum: User discussion
Topic: MAGMA Shared libraries
Replies: 4
Views: 18467

Re: MAGMA Shared libraries

Evan, Function slamch is auxiliary LAPACK functions, and indeed is not defined in the magma or magmablas libraries. How did you manage to make the compiler link when you have something undefined? I make shared objects the way you do and it works. When you link with the shared libraries, and then try...
by Stan Tomov
Sat Nov 28, 2009 3:29 pm
Forum: User discussion
Topic: MAGMA for Windows?
Replies: 1
Views: 6802

Re: MAGMA for Windows?

Hi Li,

Please let us know how did the MAGMA 0.2 port to Windows go. When ready, maybe even post the binary libraries for Windows. Thank you.

Best regards,
Stan Tomov
by Stan Tomov
Thu Nov 26, 2009 2:53 am
Forum: User discussion
Topic: MAGMA version 0.2
Replies: 9
Views: 35257

Re: MAGMA version 0.2

Hung,
Thanks for pointing this out and sorry about it. After some maintenance one of the scripts that posts the tar-ball on the MAGMA site wasn't checking that we had made 'make clear' and the 64-bit library was actually removed.
Now everything should be fine.
Regards,
Stan
by Stan Tomov
Sun Nov 22, 2009 7:22 pm
Forum: User discussion
Topic: sgetrf matlab mex file - crashing...
Replies: 13
Views: 30352

Re: sgetrf matlab mex file - crashing...

I commented out the matlab related functionality in your code and ran it without problem for various Ls, including 131. Is it possible that the matrix A does not get a "good pointer", e.g. you have A = (float*) mxGetData(prhs[0]); This should point to L*L floats at least (if lda is L). I only replac...