## Search found 10 matches

- Tue Aug 14, 2018 1:52 am
- Forum: User discussion
- Topic: 3 Dimensional Matrix Multiplication
- Replies:
**5** - Views:
**4428**

### Re: 3 Dimensional Matrix Multiplication

sorry, i do not see "obvious" way to write a kernel :(

- Tue Aug 14, 2018 12:16 am
- Forum: User discussion
- Topic: 3 Dimensional Matrix Multiplication
- Replies:
**5** - Views:
**4428**

### Re: 3 Dimensional Matrix Multiplication

thanks a lot! Couple of questions: for the first part, gemm side, tmp = S2*K; % gemm aren't we doing here a bunch of un-necessary processing? for the batch dot product - forgive my ignorance please, but i do not see how to plug in batch processing instead of the loop for i = 1:a*r Q2(i) = tmp(i,:) *...

- Mon Aug 06, 2018 6:52 pm
- Forum: User discussion
- Topic: 3 Dimensional Matrix Multiplication
- Replies:
**5** - Views:
**4428**

### 3 Dimensional Matrix Multiplication

I have 3 dimensional matrix S with dimensions [A, R, M] , and i have 2 dimensional kernel K with dimensions [M, M] . I need to generate the output array Q with dimensions [A, R] , and Qij element of this array is calculated as Sij: * K * Sij: ** H (Hermitian conjugated) I can do this brute force by ...

- Sun Jul 15, 2018 10:37 pm
- Forum: User discussion
- Topic: vector exponential
- Replies:
**2** - Views:
**914**

### Re: vector exponential

thanks, will try to use.

Just for clarification -

/v

Just for clarification -

**j**- is "imaginary"**1**./v

- Sun Jul 15, 2018 6:06 pm
- Forum: User discussion
- Topic: vector exponential
- Replies:
**2** - Views:
**914**

### vector exponential

Hello,

let say I have a vector.

I want to convert it to the vector.

Is there anything in MAGMA to address this operation?

Thanks much in advance,

/v

let say I have a vector

Code: Select all

`V[v0,v1,v2,...,vN]`

I want to convert it to the vector

Code: Select all

`e(2*j*PI*V)`

Is there anything in MAGMA to address this operation?

Thanks much in advance,

/v

- Fri Jul 06, 2018 1:13 am
- Forum: User discussion
- Topic: magma_<t>gemm API
- Replies:
**4** - Views:
**1309**

### Re: magma_<t>gemm API

hello I have python code that i am trying to convert into c++ (and accelerate using MAGMA). So, in python domain the operation in question looks like : R2 = Rx.dot(np.matrix.getH(Rx)); so i was trying with MAGMA various permutations of // allocate matrices and on the device err = magma_cmalloc(&d_a,...

- Tue Jul 03, 2018 12:22 am
- Forum: User discussion
- Topic: magma_<t>gemm API
- Replies:
**4** - Views:
**1309**

### magma_<t>gemm API

Hello, in the description of the matrix-matrix operations, the value for trans is provided as one of the following: = MagmaNoTrans[: op( A ) = A. = MagmaTrans: op( A ) = A**T. = MagmaConjTrans: op( A ) = A**H. When I specify any option but MagmaNoTrans , then the d_c is not updated, when using magma...

- Tue Jul 03, 2018 12:09 am
- Forum: User discussion
- Topic: magma_setmatrix API
- Replies:
**1** - Views:
**753**

### magma_setmatrix API

Hello, Documentation provides following description for macro: magma_setmatrix ( m, n, elemSize, hA_src, lda, dB_dst, lddb, queue ) When i try to use it (well, c-version of it), i am getting following error: macro "magma_csetmatrix_v1" passed 7 arguments, but takes just 6 magma_csetmatrix( m, k, Rx,...

- Fri Jun 29, 2018 3:53 pm
- Forum: User discussion
- Topic: Matrix Vector multiplication
- Replies:
**3** - Views:
**933**

### Re: Matrix Vector multiplication

Mark, thanks for your feedback. I am having difficulties in calling cublas functions while using MAGMA, as I am using complex arrays, and there is no straightforward conversion between MAGMA complex types magmaFloatComplex (or magmaDoubleComplex) and cuComplex (or cuDoubleComplex) in CUDA. Or did I ...

- Fri Jun 29, 2018 3:05 pm
- Forum: User discussion
- Topic: Matrix Vector multiplication
- Replies:
**3** - Views:
**933**

### Matrix Vector multiplication

Hello, I am new to MAGMA, have a couple of questions regarding availability of functions: 1. in CUDA there is a cublas<t>dgmm() function allowing to perform element-wise matrix-matrix multiplication 2. Likewise, there is a function cublasGetMatrix allowing to extract subarray from array. Question - ...