Top 5% contributor
9 months ago
Thanks for providing the compile line. It seems that recent versions of NVCC switch from mapping bools as "s8" to "u8" according...
Answered 3 years ago
Hi Richard, This message appears either when no device is found or when the default device is locked out of use. In order to di...
3 years ago
A link to the online documentation for the MATLAB GUI Layout Toolbox
5 years ago
you might like to have a look at the following article:
Answered 2 years ago
Unfortunately, an expression like:
won't work, and (as Walter says) it looks like one of your "...
if you look at the magnitude of the difference compared to the magnitude of the values, it is pretty small:
Answered 4 years ago
See the answer(s) to this question:
Answered 1 year ago
Thanks for sending the code.
I’ve done some initial investigation and it looks like you have an illegal memory access somewhe...
First thing to do to track this down is to clearly specify your inputs and outputs. Inputs should be const. Based on your descri...
is supported by Visual C++, the NVIDIA CUDA programming guide specifies the use of
I don't have access to either of these cards to test, but here's some information that might help you:
* The "Com...
There are two problems with what you have attempted, one just a typo and the solution to the other will depend on what you are t...
you could try inserting a 'drawnow' just before the 'getframe'. This tells all MATLAB graphics and events to flush. ...
Hi Michael, could you read the following bug-report and try the workaround it contains (being careful about the backing-up step!...
You can sometimes get a speed-up by replacing the logical indexing with some element-wise maths. For example:
trian_x = M.*...
All syntaxes for MIN and MAX are supported in Parallel Computing Toolbox starting in release R2011b.
Hi, I will tackle the second question first as I am pretty certain of the problem. __constants__ must be defined at the global s...
I've just uploaded a benchmarking tool to the File Exchange which runs a whole load of these type of timings to put ...
Hi Sarah, if your MATLAB license is up to date you might like to have a look at the pre-release of R2011b which has just become ...
Hi Jesse, if your MATLAB license is up to date you might like to have a look at the pre-release of R2011a which is now available...
Hi Mike, this is pretty weird and not something I've seen before. I tried your example on a GTX 480 (the nearest thing I have to...
1 year ago
In MATLAB, you create a vector by enclosing the elements in square brackets like so:
x = [1 2 3 4]
Commas are optional, s...
2 years ago
Try out this test problem first.
Given the variable x as your input, multiply it by two and put the result in y.
4 years ago
Join the conversation