Community Profile

# Sandra Martinez

Last seen: circa un mese fa Attivo dal 2021

#### Content Feed

Visto da

Domanda

pointwise multiplication with ndSparse arrays slower than using full arrays
Hi Matt. I measure the times making pontiwise multiplication with full arrays vs ndSparse arrays and the first one tooks less t...

4 mesi fa | 0 risposte | 0

### 0

risposte

Risposto
pointwise multiplication of sparse matrix with full array
Yes, this works now M=rand(2,2,2,2); N=[1 0;0 0]; A=ndSparse(M);%You need to download this function B=sparse(N); C=A.*B; B...

4 mesi fa | 0

Domanda

pointwise multiplication of sparse matrix with full array
How can I do this operation? A=sparse([1 0;0 0]); B=rand(2,2,2,2); C=A.*B; the only way is converting B into a sparse array ...

4 mesi fa | 2 risposte | 0

### 2

risposte

Domanda

How can I define an array of sparse matrix? (both for GPU and CPU)
A=sparse(3,3) MT=gpuArray(A); M2(1,1)=1 %Error using gpuArray/subsasgn %Sparse gpuArrays are not supported for this function...

11 mesi fa | 2 risposte | 0

### 2

risposte

Domanda

How can I do faster a loop using the GPU? (GPU: RTX 3070)
n=700; A=rand(n,n); %% Ms=gpuArray(M); As=gpuArray(A); % First questions: this loop takes to much time. How can I do thi...

11 mesi fa | 0 risposte | 0

### 0

risposte

Domanda

Qustions about number of workers in parpool
I'm trying to extend the number of workers when using parpool (my computer has a total of 16 cores and 32 threads) If I do: pa...

circa 2 anni fa | 1 risposta | 0

### 1

risposta

Domanda

Problemes with Matlab compiler
I have a srcipt that uses parfor. I have no problems using Matlaba compiler 2021a. BUt, when I change thse lines (CASE 1): lo...

circa 2 anni fa | 0 risposte | 0

risposte