Community Profile

photo

Edric Ellis


Last seen: 1日 前

MathWorks

845 2011 年以降の合計貢献数

Developer at MathWorks, working on Parallel Computing Toolbox. Professional Interests: parallel computing, distributed arrays, gpu

Edric Ellis's バッジ

  • 5-Star Galaxy Level 3
  • Personal Best Downloads Level 1
  • First Review
  • First Submission
  • 36 Month Streak
  • Thankful Level 1
  • Guiding Light
  • Revival Level 2
  • Knowledgeable Level 4
  • First Answer
  • Solver

詳細を表示...

貢献した分野
表示方法

回答済み
Can't use gpuArray with melSpectrogram
gpuArray support for melSpectrogram was added in R2020a. See the release notes.

1日 前 | 1

| 採用済み

回答済み
how to Parallize independent jobs
It's not clear why you think parfor is not suitable for this case without showing us what you tried and why it doesn't work for ...

4日 前 | 0

回答済み
Use Parfor on a greenscreen picture
The comment on your question by @Daniel Pollard is probably the most productive way forward. But to answer your parfor query spe...

8日 前 | 0

| 採用済み

回答済み
How to resolve indexing the sliced variable error in the case of for nested with parfor?
The problem here is that the inner loop bounds must be a constant - basically this means that you must compute it outside the pa...

8日 前 | 0

回答済み
Running into "not enough input arguments" error when using parfeval on a linux machine (works fine on Mac OSX).
Without reproduction steps that we can try, we can only speculate as to what's going wrong here. My guess is that you aren't pro...

10日 前 | 0

回答済み
Tall arrays are not allowed to contain data of type struct
Your code was so nearly working. I made two tiny changes, marked with %###: %% Setup nRowLimit = 100; % Number of records in ...

15日 前 | 0

| 採用済み

回答済み
Parfor in Parallel Computing
The run function does not work with scripts containing parfor loops. Simply invoke the script directly by name. If the script is...

17日 前 | 0

回答済み
How to set timeout to a function
You could use parfeval to do this, but I'm not sure how you might fit that in with the rest of your parpool usage. Here's the si...

19日 前 | 0

| 採用済み

回答済み
How can i use the output of function after parfor loop?
You need to output the result into some sort of "sliced variable". Basically this means outputting an array where one of the sub...

19日 前 | 0

回答済み
Parfor converting object to double?
In older versions that exhibit the problematic behaviour, your best bet is probably to use a cell, like so: N = 3; resultCell ...

22日 前 | 1

| 採用済み

回答済み
Add rows to a table in a parfor loop
This problem should have been fixed in R2019b (please let me know if you're using a later version and things are not working). I...

24日 前 | 1

回答済み
'Default' random seed when parallel pool is created?
Workers in a parallel pool have deterministic random number generation states set up each time they start up. This is described ...

約1ヶ月 前 | 2

回答済み
Pre-load data on multiple GPUs for parfor loop
You've got a number of options here depending on whether you can build the value of A directly on the workers. The simplest case...

約2ヶ月 前 | 0

| 採用済み

回答済み
Problem with parfor loop
That error basically means a worker crashed while trying to run the parfor loop. You mention that x is large. If you are using t...

2ヶ月 前 | 0

回答済み
How to speed up simulink parallel simulation using parsim command inside a for loop
To see the benefit of parsim, you need to set up multiple SimulationInput instances ahead of time, and then make a single call t...

2ヶ月 前 | 0

回答済み
Parfor Loop Error with Classification
I think you can adapt this to work with parfor, but it's going to be a little bit of a stretch. Your variable z_new can be consi...

2ヶ月 前 | 1

| 採用済み

回答済み
Critical code section inside parfor
Further to Walter's response, the closest analogy in parfor is a reduction variable. These may appear to be updated by multiple ...

3ヶ月 前 | 0

回答済み
Can I use parfor and CVX togther
I'm not familiar with the CVX toolbox. However, a lot of parfor problems can be remedied by pushing the body of the loop into a ...

3ヶ月 前 | 1

| 採用済み

回答済み
How to set all one gpuArray in mex?
You basically have two options: either create and uninitialized mxGPUArray and fill the values using CUDA code (either a kernel,...

3ヶ月 前 | 0

| 採用済み

回答済み
How to check the Bytes of gpuArray?
Unfortunately, whos does not currently report the number of bytes used by a gpuArray on the GPU - the 4 bytes you see reported i...

3ヶ月 前 | 0

| 採用済み

回答済み
Alternative ways to slice/manage data using PARFOR
parfor can work with struct and cell, but it's often a bit tricky because you need to satisfy the requirement that the slicing i...

3ヶ月 前 | 0

| 採用済み

回答済み
Restart random numbers with parallel loop
The error that you're seeing there I think is because you've got an old version of your "State.mat" file - the error is the one...

3ヶ月 前 | 0

| 採用済み

回答済み
Behaviour ofparfeval depends on debugging state (Bug?)
I suspect this is because when you don't stop in the debugger, the function can return as soon as F gets into state 'running', i...

3ヶ月 前 | 0

| 採用済み

回答済み
Possible to speed up this gpuArray calculation with arrayfun() (or otherwise)?
A few points here. Firstly, (and most importantly), to time code on the GPU, you need to use either gputimeit, or you need to in...

4ヶ月 前 | 1

| 採用済み

回答済み
User defined functions with dynamic parameterisation in a parfor loops
This documentation for parfor notes various limitations - and also notes explicitly that you can create anonymous functions insi...

4ヶ月 前 | 1

| 採用済み

回答済み
In parfor-loop, can I call a multi-threaded mex and get some speed-up?
You should be able to run a multi-threaded MEX file correctly inside a parfor loop. However, you will be oversubscribing your ma...

4ヶ月 前 | 0

| 採用済み

回答済み
Parallel computing, occasionally get Exception message "Message Catalog MATLAB:load was not loaded from the file"
The probable cause of this is the file handle limit. This page: https://www.mathworks.com/help/parallel-computing/recommended-sy...

5ヶ月 前 | 0

| 採用済み

回答済み
How can I run parallel job on a specific node?
Based on this stackexchange answer https://unix.stackexchange.com/questions/443438/how-to-submit-a-job-to-a-specific-node-using-...

5ヶ月 前 | 0

| 採用済み

回答済み
Are temporary variables eliminated at the end of each parfor loop on every single worker?
Yes, as mentioned in the documentation https://www.mathworks.com/help/parallel-computing/temporary-variable.html temporary varia...

5ヶ月 前 | 0

| 採用済み

回答済み
Help with parfor progress bar using data queue
The problem here is that the documentation example is using a nested function, which is able to acces variables in the containin...

5ヶ月 前 | 1

| 採用済み

Load more