Search found 867 matches

by mgates3
Tue Jun 11, 2019 11:21 am
Forum: User discussion
Topic: About magma save
Replies: 1
Views: 167

Re: About magma save

Easiest to redirect the output:

Code: Select all

./testing_dgemm > dgemm.txt
by mgates3
Fri Jun 07, 2019 10:10 am
Forum: User discussion
Topic: My computer slowed down after MAGMA, Any general tips to make my computer fast?
Replies: 1
Views: 214

Re: My computer slowed down after MAGMA, Any general tips to make my computer fast?

MAGMA won't affect your computers performance while it is not running. While it is running, it will use the processor and GPU, so other programs would run slow. This is expected.
-mark
by mgates3
Tue Jun 04, 2019 9:53 am
Forum: User discussion
Topic: makefile question when adding a file to magmablas/ directory
Replies: 6
Views: 336

Re: makefile question when adding a file to magmablas/ directory

As for setting up a new source file for use in CMake, you need to run `make generate` or `make CMake.src`. I'm not sure why CMake wouldn't find `control/magma_sauxiliary.cpp`. What version of MAGMA are you using? Or did you get MAGMA directly from the bitbucket repo? Possibly the `make generate` wou...
by mgates3
Tue Jun 04, 2019 9:48 am
Forum: User discussion
Topic: makefile question when adding a file to magmablas/ directory
Replies: 6
Views: 336

Re: makefile question when adding a file to magmablas/ directory

Also, you can compile using `make magmablas/dstddev_mean.o` (from the top magma directory) to compile a single file to see if it is working, without recompiling the entire library. E.g., mint ~/Documents/magma> make magmablas/dznrm2.o nvcc -m64 -O3 -DNDEBUG -DADD_ -Xcompiler "-fPIC -Wall -Wno-unused...
by mgates3
Tue Jun 04, 2019 9:45 am
Forum: User discussion
Topic: makefile question when adding a file to magmablas/ directory
Replies: 6
Views: 336

Re: makefile question when adding a file to magmablas/ directory

Currently, CMake won't see new files. They have to be added with `make` first, which will generate magma/CMake.src. MAGMA uses a precision generator (magma/tools/codegen.py) to generate all 4 precisions (s, d, c, z for single, double, complex-single, complex-double) from, usually, the complex-double...
by mgates3
Sat May 18, 2019 4:47 pm
Forum: User discussion
Topic: What is the best Linux distro for MAGMA 2.5
Replies: 1
Views: 273

Re: What is the best Linux distro for MAGMA 2.5

Shouldn’t matter, as long as they support CUDA. See Nvidia’s site.

Mark
by mgates3
Sat May 18, 2019 4:45 pm
Forum: User discussion
Topic: vl and vu DSYGVDX_2STAGE
Replies: 1
Views: 210

Re: vl and vu DSYGVDX_2STAGE

If you want all the eigenvalues, use range = MagmaRangeAll, and you can ignore il, iu, vl, vu by passing in dummy values. If you want a subset of eigenvalues, use range = MagmaRangeV, and pass in vl, vu as the range of eigenvalues to find, e.g., to find all eigenvalues in half-open range (0.0, 1.0],...
by mgates3
Sat May 04, 2019 1:28 am
Forum: User discussion
Topic: LU factorization numerical techniques
Replies: 1
Views: 286

Re: LU factorization numerical techniques

LU is a direct method, not an iterative method (see Matlab code below). It forms matrices L, U such that PA = LU (exactly, in exact arithmetic). L has unit diagonal, U has non-zero diagonal (if it has a zero, then A is singular). There is no tolerance level epsilon in the algorithm. % LU factorizati...
by mgates3
Mon Apr 29, 2019 4:59 pm
Forum: User discussion
Topic: statistics on a matrix's column
Replies: 2
Views: 264

Re: statistics on a matrix's column

If you want to write GPU kernels to compute the mean and stddev, you can model them after magmablas/dnrm2.cu, which computes the 2-norm of each column of an m-by-n matrix dA on the GPU. (You can ignore the adjust functions for updating 2-norms.) It is easiest to do in 2 kernels, one for mean, one fo...
by mgates3
Mon Apr 29, 2019 4:37 pm
Forum: User discussion
Topic: statistics on a matrix's column
Replies: 2
Views: 264

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