## Search found 26 matches

- Thu Sep 27, 2012 6:58 am
- Forum: User discussion
- Topic: cublasStatus error compiling Magma
- Replies:
**1** - Views:
**2458**

### cublasStatus error compiling Magma

I am compiling Magma with cuda 4.2. I have done it already on different machines and I did not face this problem. Any ideas? g++ -O3 -DADD_ -fopenmp -DUNIX -w -DHAVE_CUBLAS -DGPUSHMEM=200 -I/usr/local/cuda/include -I../include -I../control -I~/cula/include/cula -c zgessm_gpu.cpp -o zgessm_gpu.o zges...

- Tue Sep 04, 2012 9:45 am
- Forum: User discussion
- Topic: build problems
- Replies:
**8** - Views:
**4507**

### Re: build problems

Hi all,

If I am not mistaken, it should be:

And I had to add it with version 4.0, but not with 4.2

If I am not mistaken, it should be:

Code: Select all

`#define cublasStatus_t cublasStatus`

- Fri Jul 20, 2012 6:09 am
- Forum: User discussion
- Topic: magma_sporti_gpu row major or column major?
- Replies:
**1** - Views:
**2158**

### magma_sporti_gpu row major or column major?

I am trying to generate the inverse of a square matrix using magma_sportf_gpu + magma_sporti_gpu. However, I am not getting the right results and I suspect the reason is the way I populate the matrix. Can anyone help me out here? magma_int_t N = 4; int n2 = N*N; const char *uplo = MagmaLowerStr; mag...

- Wed Jul 11, 2012 5:10 am
- Forum: User discussion
- Topic: FADDS_GEMM and FMULS_GEMM in flops.h do same operation
- Replies:
**2** - Views:
**2278**

### FADDS_GEMM and FMULS_GEMM in flops.h do same operation

Hi, I am trying to understand how magma is measuring the number of flops in a matrix multiplication. it defines a FLOPS(m,n,k) (FMULS_GEMM(m,n,k) + FADDS_GEMM(m,n,k)) FMULS_GEMM and FADDS_GEMM do the same operation -> m*n*k. I think the number of operations is right for single precision, but why 2 m...

- Tue Jul 10, 2012 9:48 am
- Forum: User discussion
- Topic: Matrix multiplication
- Replies:
**1** - Views:
**2110**

### Matrix multiplication

Say that you want to do a simple matrix multiplication in C: #define rows 3 #define cols 2 transA = MagmaTrans; transB = MagmaNoTrans; for (i = 0; i < rows*cols; i++) { h_A[i] = i; printf("A[%d] = %f\n",i, h_A[i]); } magma_ssetmatrix( rows, cols, h_A, rows, d_A, rows ); magma_ssetmatrix( rows, rows,...

- Tue Jul 10, 2012 4:50 am
- Forum: User discussion
- Topic: (SOLVED)Compilation problem fortran.c
- Replies:
**1** - Views:
**2336**

### (SOLVED)Compilation problem fortran.c

Hi everyone, After compilin magma I tried to compile in testing as the documentation suggests but I am getting an error: make: *** No rule to make target `/usr/local/cuda/src/fortran.c', needed by `fortran.o'. Stop. Any ideas why and how to solve it? Thanks everyone! SOLVED-> The problem was that $(...