Search found 918 matches

by mgates3
Mon Apr 29, 2019 4:37 pm
Forum: User discussion
Topic: statistics on a matrix's column
Replies: 2
Views: 1360

Re: statistics on a matrix's column

MAGMA doesn't have functions to do this. It has the Level 1 BLAS functions to find vector norms:
  • magma_dasum = sum_i abs( x_ i )
  • magma_idamax = argmax_i abs( x_i )
  • magma_dnrm2 = norm( x )_2 = sqrt( sum_i abs( x_i )^2 )
But not the mean and standard deviation.
-mark
by mgates3
Tue Apr 23, 2019 5:01 pm
Forum: User discussion
Topic: Apologies for delayed posts
Replies: 0
Views: 2046

Apologies for delayed posts

We apologize for the delay in posts from the past several months. The forum software was reconfigured, causing messages to get stuck in the moderation queue, unbeknownst to us. There were quite a lot of spam messages to clean out, and we may have inadvertently skipped over a legitimate message in th...
by mgates3
Tue Apr 23, 2019 4:51 pm
Forum: User discussion
Topic: Using MAGMA GPU library
Replies: 0
Views: 1127

Re: Using MAGMA GPU library

lwork is the length of the work array that is passed to MAGMA's routine. Per the documentation, it should be: - If JOBZ = MagmaNoVec and N > 1, LWORK >= N + N*NB. - If JOBZ = MagmaVec and N > 1, LWORK >= max( N + N*NB, 2*N + N**2 ). NB can be obtained through magma_get_zhetrd_nb(N). I guess whoever ...
by mgates3
Tue Apr 23, 2019 4:47 pm
Forum: User discussion
Topic: Fault Injections
Replies: 1
Views: 856

Re: Fault Injections

MAGMA doesn't have anything built in it to inject faults. You can try doing a bit flip; the result will depend on which bit is flipped. If it is in the floating point mantissa, the accuracy will suffer. If it is in the floating point exponent, probably the result will be entirely wrong, since that i...
by mgates3
Tue Apr 23, 2019 4:43 pm
Forum: User discussion
Topic: magma-2.5.0 with cuda-9.0 - undefined double to half conversion
Replies: 1
Views: 1005

Re: magma-2.5.0 with cuda-9.0 - undefined double to half conversion

I think this issue has been resolved in MAGMA's bitbucket repository (https://bitbucket.org/icl/magma). We should be having a bug fix release soon to address it.

-mark

[Sorry for the delay in posting. A misconfiguration left messages in the moderation queue.]
by mgates3
Tue Apr 23, 2019 4:42 pm
Forum: User discussion
Topic: Is it possible to get MKL ERROR messages despite running on the GPU
Replies: 1
Views: 1106

Re: Is it possible to get MKL ERROR messages despite running on the GPU

MAGMA is a hybrid CPU-GPU library. It does some computation on the CPU, and some on the GPU, trying to overlap those two computations and leverage the strengths of each. Thus, it can run into MKL errors on the CPU. As for your error, gesdd cannot work if there are NaNs. The SVD is not defined in tha...
by mgates3
Tue Apr 23, 2019 4:40 pm
Forum: User discussion
Topic: Magma-2.5.0-rc1
Replies: 6
Views: 2658

Re: Magma-2.5.0-rc1

1) No need to change the Makefile. Instead of setting GPU_TARGET=Kepler, set GPU_TARGET=sm_35, in your make.inc file. 2) I think the issue with CUDA arch 3.0 has been resolved in the bitbucket repository (https://bitbucket.org/icl/magma). We should be having a bug fix release soon to address it. -ma...
by mgates3
Tue Apr 23, 2019 4:32 pm
Forum: User discussion
Topic: Possible to build without gpu support?
Replies: 1
Views: 865

Re: Possible to build without gpu support?

It is not currently possible to build MAGMA without GPU support. You would need to switch between LAPACK and MAGMA.
-mark

[Sorry for the delay in posting. A misconfiguration left messages in the moderation queue.]
by mgates3
Tue Apr 23, 2019 4:28 pm
Forum: User discussion
Topic: Sparse matrix eigenvalues
Replies: 0
Views: 1594

Re: Sparse matrix eigenvalues

Hi Lee, Unfortunately, we haven't built Fortran interfaces for the MAGMA sparse components. You would have to write wrappers in C that your Fortran functions can call. Most all the dense functionality in MAGMA should be accessible from Fortran now. Looks like the example code needs a little updating...
by mgates3
Tue Apr 23, 2019 4:17 pm
Forum: User discussion
Topic: Conjugate Gradient Solver (CG) using Python
Replies: 1
Views: 1500

Re: Conjugate Gradient Solver (CG) using Python

The paper you reference discusses the scikit-cuda package, a 3rd party package that wraps some CUDA and MAGMA functionality for use in Python. You would have to check their library to see if it supports the MAGMA sparse functions for CG. -mark [Sorry for the delay in posting. A misconfiguration left...