GPU Computing

3 Ansichten (letzte 30 Tage)
Jeremy
Jeremy am 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?

Akzeptierte Antwort

Edric Ellis
Edric Ellis am 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:

Weitere Antworten (4)

Jeremy
Jeremy am 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 Kommentare
Walter Roberson
Walter Roberson am 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 am 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

Melden Sie sich an, um zu kommentieren.


Denis Zhegalin
Denis Zhegalin am 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 Kommentar
Petter
Petter am 20 Feb. 2011
You cannot use the GPU via remote desktop access.

Melden Sie sich an, um zu kommentieren.


Najeeb Ahmad
Najeeb Ahmad am 3 Mär. 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 Kommentar
Jason Ross
Jason Ross am 3 Mär. 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.

Melden Sie sich an, um zu kommentieren.


Najeeb Ahmad
Najeeb Ahmad am 8 Mär. 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.

Kategorien

Mehr zu Get Started with GPU Coder finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by