GPU Computing
显示 更早的评论
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?
采纳的回答
更多回答(4 个)
Jeremy
2011-2-4
1 个投票
5 个评论
Jason Ross
2011-2-11
The Wikipedia articles for some of the various nVidia product lines has the compute capability listed, but it looks like it's not there for the 330M. The GeForce and Tesla lines have the information.
You can also look at Appendix A of the CUDA Developer's Guide, although all cards are not listed there, either.
http://developer.download.nvidia.com/compute/cuda/3_2/toolkit/docs/CUDA_C_Programming_Guide.pdf
Finally, if you compile the examples provided by nVidia, the "Device Query" example script will tell you the compute capability of your machine.
http://developer.download.nvidia.com/compute/cuda/sdk/website/samples.html#deviceQuery
Walter Roberson
2011-2-14
The 330M is the GT216 compute engine, which is CUDA 1.2 . The 320M is the same.
Unfortunately this means that none of the graphics boards currently sold by Apple for any of their systems are able to be used for this purpose. Apple sells Radeon boards for their higher end systems, Nvidea GeForce 330M for their iMac and MacMini, and Nvidea GeForce 320M for their MacBook Air.
Mark Shore
2011-2-20
The Quadro 4000 is available in a Mac configuration ($1200 through Apple) and is CUDA Compute 2.0 capable. As far as I know it's the only one.
Walter Roberson
2011-2-20
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
2011-2-21
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
Denis Zhegalin
2011-2-17
1 个投票
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 个评论
Petter
2011-2-20
You cannot use the GPU via remote desktop access.
Najeeb Ahmad
2011-3-3
1 个投票
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 个评论
Jason Ross
2011-3-3
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.
Najeeb Ahmad
2011-3-8
1 个投票
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Get Started with GPU Coder 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!