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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

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

más de 14 años hace | 1

| aceptada

Resuelto


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

más de 14 años hace

Resuelto


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

más de 14 años hace

Resuelto


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

más de 14 años hace

Resuelto


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

más de 14 años hace

Resuelto


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

más de 14 años hace

Resuelto


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

más de 14 años hace

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

más de 14 años hace | 3

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

más de 14 años hace | 2

| aceptada

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 2

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

más de 14 años hace | 3

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 3

| aceptada

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

más de 14 años hace | 0

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

más de 14 años hace | 1

| aceptada

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

más de 14 años hace | 0

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 1

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 1

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

más de 14 años hace | 1

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

más de 14 años hace | 1

| aceptada

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

más de 14 años hace | 1

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 2

| aceptada

Cargar más