MAGMA 1.2.1 Released

Open discussion for MAGMA library (Matrix Algebra on GPU and Multicore Architectures)

MAGMA 1.2.1 Released

Postby Stan Tomov » Sun Jul 08, 2012 2:53 pm

MAGMA 1.2.1 was released on June 29, 2012. This release provides the following new functionalities and improvements:

- Fix bug in [zcsd]getrf_gpu.cpp;
- Fix workspace requirement for SVD in [zcsd]gesvd.cpp;
- Fix a bug in freeing pinned memory (in interface_cuda/alloc.cpp);
- Fix a bug in [zcsd]geqrf_mgpu.cpp;
- Fix zdotc to use cblas for portability;
- Fix uppercase entries in blas/lapack headers;
- Use magma_int_t in blas/lapack headers, and fix sources accordingly;
- Fix magma_is_devptr error handling;
- Add magma_malloc_cpu to allocate CPU memory aligned to 32-byte boundary for performance and reproducibility;
- Fix memory leaks in latrd* and zcgeqrsv_gpu
- Remove dependency on CUDA device driver
- Add QR with pivoting in CPU interface (functions [zcsd]geqp3)
- Add hegst/sygst Fortran interface
- Improve performance of gesv CPU interface by 30%
- Improve performance of ungqr/orgqr CPU and GPU interfaces by 30%; more for small matrices.

Further detail can be found in the ReleaseNotes.

See the MAGMA software homepage for a download link.
Last edited by mgates3 on Thu May 07, 2015 2:51 pm, edited 1 time in total.
Reason: Make not sticky.
Stan Tomov
Posts: 258
Joined: Fri Aug 21, 2009 10:39 pm

Re: MAGMA 1.2.1 Released

Postby sameer_asal » Wed Aug 22, 2012 6:26 pm

Hello ,

Thank you for your efforts building such libraries.

I am trying to use MAGMA Blas in my codes. I noticed that you are using cublas instead of cublas_v2 ( the file magmablas.h inculdes cublas.h ) , Is there any reason for this , Is there an easy way to convert the code to use v2 ?

Kind Regards,
Posts: 1
Joined: Wed Aug 22, 2012 5:13 pm

Re: MAGMA 1.2.1 Released

Postby mgates3 » Wed Aug 22, 2012 8:52 pm

Yes, internally we use cublas (v1). This is just historical -- we plan to update the code to cublas v2. This is actually part of why we introduced wrappers, e.g., magma_zgemm around cublasZgemm. In the meantime, if you need to use cublas v2, you *might* be able to:
1) compile MAGMA as is.
2) copy the magma include headers, to include in your sources, and replace #include <cublas.h> with #include <cublas_v2.h>.
I have not tested this, but I think the MAGMA headers need to include cublas only for some data types like cublasStatus_t and cuDoubleComplex.

Posts: 782
Joined: Fri Jan 06, 2012 2:13 pm

Re: MAGMA 1.2.1 Released

Postby Greg C » Thu Jun 19, 2014 7:14 am


I'm trying to compile this new verison, but the make file throws an error when it tries to make interface_mic.o

( cd interface_mic && make )
make[1]: Entering directory `/home/greg/magmamic-1.2.0/interface_mic'
icc -mkl -O3 -DADD_ -Wall -DHAVE_MIC -I/opt/intel/mic/coi/include -I/usr/include/intel-coi -I../include -I../control -c interface.cpp -o interface.o
interface.cpp(24): catastrophic error: cannot open source file "source/COIProcess_source.h"
#include <source/COIProcess_source.h>

compilation aborted for interface.cpp (code 4)
make[1]: *** [interface.o] Error 4
make[1]: Leaving directory `/home/greg/magmamic-1.2.0/interface_mic'
make: *** [libmagma] Error 2

Is this a problem with my system or the make file? have I done something wrong / not done something?
Greg C
Posts: 4
Joined: Mon May 12, 2014 5:33 am

Return to User discussion

Who is online

Users browsing this forum: No registered users and 4 guests