Answered
Error with parfor loop
You need to ensure that you're indexing 'data' in a consistent manner inside the PARFOR loop. It should work to make both refere...

14 years ago | 0

| accepted

Answered
image processing with parallel approach
The easiest form of parallelism to program is using PARFOR. For this, you need to be able to divide up your problem into multipl...

14 years ago | 0

Answered
flaky GPU memory issues
In your first observation about overwriting variables on the GPU, I presume you're using the output of "gpuDevice" to check the ...

14 years ago | 1

| accepted

Solved


Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

14 years ago

Solved


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

14 years ago

Solved


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

14 years ago

Solved


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

14 years ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

14 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

14 years ago

Answered
Is it possible to use cuRAND with feval (Parallel computing toolbox)?
For what it's worth, I have some example CUDA code and MATLAB driving code to show how one might use CURAND. First off, here's t...

14 years ago | 3

Answered
Is it possible to use cuRAND with feval (Parallel computing toolbox)?
Is there a particular reason why you wish to use CURAND rather than the builtin random number generators in R2011b? You can use ...

14 years ago | 2

| accepted

Answered
HPC cluster
The partitioning of distributed arrays is documented <http://www.mathworks.com/help/toolbox/distcomp/codistributor1d.defaultpart...

14 years ago | 0

| accepted

Answered
How can i send a job to the Matlab Cluster and go sleep?
Yes, you can do this. For example: sched = findResource(...); job = createJob( sched, ... ); task = createTask( job, ...

14 years ago | 2

Answered
How can I follow the progress of a parallel loop?
Theres <http://www.mathworks.com/matlabcentral/fileexchange/24594-parfor-progress-monitor this simple progress monitor> that I w...

14 years ago | 3

Answered
sliced variables
To slice the variable 'a', you need to use a subscript list that contains: # One instance of the loop variable # Other subsc...

14 years ago | 0

| accepted

Answered
How to programmatically determine if in headless mode..?
One option is to check: java.lang.System.getProperty( 'java.awt.headless' )

14 years ago | 3

| accepted

Answered
Transparency violation
You're not indexing 'LT' with the loop variable, so it can never be 'sliced'. Are you calculating the whole of 'LT' each time ar...

14 years ago | 0

Answered
parfor question
In the second loop, "a" is not _sliced_. <http://www.mathworks.com/help/toolbox/distcomp/brdqtjj-1.html#bq_tcng-1 This help text...

14 years ago | 1

| accepted

Answered
Parfor loop slicing question.
Looking at your complete code, I would strongly recommend that you try to apply PARFOR to the outermost loop that gives you suff...

14 years ago | 0

Answered
GPU equivalent of "whos" or "feature memstat" ?
You can use the gpuDevice command to show you how much memory your GPU has, and how much is being used. For example, on my machi...

14 years ago | 0

| accepted

Answered
PCT - Change Cluster Size for local configuration from command line
There's currently no programmatic way to modify parallel computing configurations. The default value (2 in your case) is base...

14 years ago | 1

Answered
Parfor error?
Any segmentation violation like this indicates something that definitely should not be happening. Please send the full stack tra...

14 years ago | 0

Answered
Parallel Simulink simulations: "failed to load library" only after starting a matlabpool (local)
You need to give the workers access to the libraries referenced by the Simulink model. If you do not have a shared filesystem be...

14 years ago | 0

Answered
parallel.gpu.CUDAKernel() not working
CUDAKernel is very restrictive about precisely which types of argument it accepts; in particular, it only accepts basic "C" type...

14 years ago | 0

Answered
CUDA_ERROR_LAUNCH_TIMEOUT
CUDA_ERROR_LAUNCH_TIMEOUT generally indicates that your kernel took too long to execute, and the operating system aborted the ex...

14 years ago | 1

Answered
Parallel Computing Toolbox: createParallelJob, createTask, submit --- nothing happens
Firstly, I think it's probable that you have TORQUE rather than PBSPro installed on your system. You should use the TORQUE sched...

14 years ago | 1

Answered
Slow Execution of Parfor Loops due to Communication Overhead: Load static data into worker workspace memory?
You might be able to take advantage of my <http://www.mathworks.com/matlabcentral/fileexchange/31972-worker-object-wrapper Worke...

14 years ago | 1

| accepted

Answered
GPU max function
That syntax is now available in R2011b.

14 years ago | 1

Answered
Accessing complex workspace data from a CUDA kernel
You should use 'double2' to match complex double MATLAB data, and 'float2' for complex single MATLAB data.

14 years ago | 0

| accepted

Answered
Parfor problems
The memory problem may well be to do with the PARFOR communication mechanism which is more restrictive than MATLAB in general. D...

14 years ago | 2

| accepted

Load more