Search found 918 matches

by mgates3
Wed May 30, 2012 3:57 pm
Forum: User discussion
Topic: Using MAGMA with CUDA/PGI
Replies: 7
Views: 7106

Re: Using MAGMA with CUDA/PGI

Ah, you may be right, I missed that you were using PGI and that it has builtin support for GPUs. I'm not familiar with their compiler extensions.
-mark
by mgates3
Wed May 30, 2012 3:24 pm
Forum: User discussion
Topic: zheevd performance: GPU == CPU??
Replies: 3
Views: 2474

Re: zheevd performance: GPU == CPU??

The MAGMA algorithm is hybrid, it uses both the CPU and GPU. For eigenvalues, the initial reduction to tridiagonal or Hessenberg form uses the CPU for panels and the GPU for trailing matrix multiplies and updates. The computation of eigenvalues from a tridiagonal matrix is done with LAPACK on the CP...
by mgates3
Wed May 30, 2012 3:14 pm
Forum: User discussion
Topic: DGESV doesn't use magma_dgetrs?
Replies: 1
Views: 1385

Re: DGESV doesn't use magma_dgetrs?

There is a GPU interface, magma_dgetrs_gpu, which is used in magma_dgesv_gpu. For the CPU interface, magma_dgesv, if the matrix is not already on the GPU, it can be slower to transfer it, perform getrs, and transfer the results back, since getrs does not parallelize well. We may change magma_dgesv i...
by mgates3
Wed May 30, 2012 10:26 am
Forum: User discussion
Topic: Incorrect LAPACK/BLAS uppercase symbols
Replies: 4
Views: 2611

Re: Incorrect LAPACK/BLAS uppercase symbols

This has been fixed and will be in the next release. Thanks for pointing it out.
-mark
by mgates3
Wed May 30, 2012 10:18 am
Forum: User discussion
Topic: Compiling with Intel MKL and NVIDIA SLI on Linux
Replies: 2
Views: 3462

Re: Compiling with Intel MKL and NVIDIA SLI on Linux

Glad you got it working.

NB, LIBMAGMA and LIBMAGMABLAS don't need to be set in make.inc, since Makefile.internal sets those as the default values. I did, however, fix some places where "lib" was missing. Thanks for pointing that out.

-mark
by mgates3
Wed May 30, 2012 10:12 am
Forum: User discussion
Topic: MAGMA 1.0.0 zlatrd needs zdotc
Replies: 11
Views: 12400

Re: MAGMA 1.0.0 zlatrd needs zdotc

This has now been fixed in the MAGMA svn and will be in the next release.
-mark
by mgates3
Wed May 30, 2012 10:11 am
Forum: User discussion
Topic: OpenCL GEMM routines
Replies: 1
Views: 1948

Re: OpenCL GEMM routines

We've worked on auto-tuned CUDA GEMM routines, which are available in the CUDA MAGMA 1.2 distribution. For OpenCL, we use AMD's BLAS.

-mark
by mgates3
Wed May 30, 2012 10:04 am
Forum: User discussion
Topic: Using MAGMA with CUDA/PGI
Replies: 7
Views: 7106

Re: Using MAGMA with CUDA/PGI

How are you allocating memory on the GPU? To use the GPU interface, magma_dgesv_gpu, at some point you need to call cudaMalloc to allocate GPU memory, which I don't see in your code snippets. If you use the CPU interface, magma_dgesv, then it expects matrices in host memory (and internally copies th...
by mgates3
Wed May 30, 2012 9:49 am
Forum: User discussion
Topic: how to make it work with python
Replies: 1
Views: 3031

Re: how to make it work with python

Unfortunately, we don't have Python bindings for MAGMA. However, the CPU interface is straight-forward C code, so you should be able to build wrappers without too much difficulty, e.g., using SWIG (http://www.swig.org/). Just be aware that matrices are stored in column-wise order. If you use numpy t...
by mgates3
Wed May 30, 2012 9:45 am
Forum: User discussion
Topic: zheevd performance: GPU == CPU??
Replies: 3
Views: 2474

Re: zheevd performance: GPU == CPU??

The GT-430 is a consumer level card primarily intended for graphics applications like games. It's performance is fairly low. Consider that a Tesla 2050 achieves 340 Gflop/s on a zgemm, compared to the 20 Gflop/s you are reporting. In a quick test, I get 14 Gflop/s with a zgemm on 2 CPU cores (depend...