Beantwortet
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...

mehr als 14 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 14 Jahre vor | 0

Beantwortet
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 ...

mehr als 14 Jahre vor | 1

| akzeptiert

Gelöst


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...

mehr als 14 Jahre vor

Gelöst


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...

mehr als 14 Jahre vor

Gelöst


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...

mehr als 14 Jahre vor

Gelöst


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 ...

mehr als 14 Jahre vor

Gelöst


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...

mehr als 14 Jahre vor

Gelöst


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:...

mehr als 14 Jahre vor

Beantwortet
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...

mehr als 14 Jahre vor | 3

Beantwortet
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 ...

mehr als 14 Jahre vor | 2

| akzeptiert

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

mehr als 14 Jahre vor | 0

| akzeptiert

Beantwortet
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, ...

mehr als 14 Jahre vor | 2

Beantwortet
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...

mehr als 14 Jahre vor | 3

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

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 3

| akzeptiert

Beantwortet
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...

mehr als 14 Jahre vor | 0

Beantwortet
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...

mehr als 14 Jahre vor | 1

| akzeptiert

Beantwortet
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...

mehr als 14 Jahre vor | 0

Beantwortet
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...

mehr als 14 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 14 Jahre vor | 1

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

mehr als 14 Jahre vor | 0

Beantwortet
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...

mehr als 14 Jahre vor | 0

Beantwortet
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...

mehr als 14 Jahre vor | 0

Beantwortet
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...

mehr als 14 Jahre vor | 1

Beantwortet
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...

mehr als 14 Jahre vor | 1

Beantwortet
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...

mehr als 14 Jahre vor | 1

| akzeptiert

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

mehr als 14 Jahre vor | 1

Beantwortet
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.

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 2

| akzeptiert

Mehr laden