Search found 915 matches

by mgates3
Tue Apr 23, 2019 4:47 pm
Forum: User discussion
Topic: Fault Injections
Replies: 1
Views: 678

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: 774

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: 741

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: 2125

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: 657

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: 1197

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: 1067

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...
by mgates3
Tue Apr 23, 2019 4:09 pm
Forum: User discussion
Topic: Unable to run Magma_dgeqrf_batched
Replies: 1
Views: 583

Re: Unable to run Magma_dgeqrf_batched

See magma/testing/testing_dgeqrf_batched.cpp for sample code. I can't debug your code for you, but from a quick scan, I'm wondering why h_d_A is allocated with cudaMalloc on the GPU device, while h_d_tau is allocated with malloc on the CPU host. -mark [Sorry for the delay in posting. A misconfigurat...
by mgates3
Tue Apr 23, 2019 4:01 pm
Forum: User discussion
Topic: Would like some tips before going into Linear Algebra?
Replies: 1
Views: 562

Re: Would like some tips before going into Linear Algebra?

If you understand calculus, then I think understanding linear algebra should be fine. Important concepts include numerical stability (e.g., why do we need pivoting in LU / Gaussian elimination?), symmetric / Hermitian matrices, positive definite, orthogonal vectors & matrices, eigenvalues, and singu...
by mgates3
Tue Apr 23, 2019 3:56 pm
Forum: User discussion
Topic: magma compilation, microsoft visual studio and cmake runtime_library conflict
Replies: 1
Views: 745

Re: magma compilation, microsoft visual studio and cmake runtime_library conflict

Thanks for the report. We can look into it. We're revising the CMake file now to address some other issues, so that may resolve this issue as well.

-mark

[Sorry for the delay in posting. A misconfiguration left messages in the moderation queue.]