GPU Computing

2 views (last 30 days)
Jeremy
Jeremy on 2 Feb 2011
I just tried running the following code:
N = 6;
M = magic(N);
G = gpuArray(M);
??? Error using ==> gpuArray at 28
An error occurred during: setting up the CUDA device. The CUDA error was: (Unknown code: 10100).
And I got the above error and am not sure why.
I'm running Mac OSX 10.6.6 on a Macbook Pro, Matlab 2010_b, an NVIDIA gpu ( Chipset Model: NVIDIA GeForce GT 330M Type: GPU Bus: PCIe PCIe Lane Width: x16 VRAM (Total): 512 MB )
and I just downloaded CUDA Driver Version: 3.2.17 and installed it.
Any suggestions?

Accepted Answer

Edric Ellis
Edric Ellis on 3 Feb 2011
Unfortunately, that GPU is compute capability 1.2, and Parallel Computing Toolbox requires GPUs with compute capability 1.3 and above. (I'm not sure quite why you're getting such a cryptic error message though). There's a post over on the newsgroup explaining why 1.3 is required:

More Answers (4)

Jeremy
Jeremy on 4 Feb 2011
How do I find the compute power of my (and other) GPU(s)? I tried searching online to no avail and I wasn't sure where to look in my hardware specs.
  5 Comments
Walter Roberson
Walter Roberson on 20 Feb 2011
Thanks, Mark. I see that the Quadro 4800 is also available in the Apple store. Neither are configurable in the configure-your-own system (at least not for Canada), so it appears you have to buy the ATI and then add the NVIDIA as a separate purchase.
The ads and press releases from other years show the Quadro 4500 and 5400 as previously having been available for the G5 and Mac Pro as build-to-order options.
Mark Shore
Mark Shore on 21 Feb 2011
I just noticed Jeremy had a question there. You can find the compute capabilities of different GPUs here:
http://www.nvidia.com/object/cuda_gpus.html

Sign in to comment.


Denis Zhegalin
Denis Zhegalin on 17 Feb 2011
Hello, I've got the same error.
??? Error using ==> feval An error occurred during: setting up the CUDA device. The CUDA error was: (Unknown code: 10100)
I have two teslas c2050 + quadro for OS purposes. What to test ?
One remark, I use remote desktop access.
  1 Comment
Petter
Petter on 20 Feb 2011
You cannot use the GPU via remote desktop access.

Sign in to comment.


Najeeb Ahmad
Najeeb Ahmad on 3 Mar 2011
I have TESLA C1060 (as compute only non-graphic device) and getting same error in MATLAB. What should I do???
Note: Using TELSA 263.06 WHQL driver (has TCC capability but I didn't find nvidia-smi.exe to exclusively switch it into TCC mode).
  1 Comment
Jason Ross
Jason Ross on 3 Mar 2011
Try the 263 developer drivers from
http://developer.nvidia.com/object/cuda_3_2_downloads.html
This is what we downloaded and it's definitely there.

Sign in to comment.


Najeeb Ahmad
Najeeb Ahmad on 8 Mar 2011
Thanks for your reply!
I finally found that Tesla TCC driver doesn't work with Windows 7 32-bit. Now I have installed Windows 7 64-bit and Tesla C1060 TCC driver. It is working without a problem.

Categories

Find more on Get Started with GPU Coder in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!