CUDA没有CUDA启用gpu [英] CUDA without CUDA enabled gpu
问题描述
我想在我的ubunbu 10.04上设置一个CUDA模拟器,因为我没有硬件。有人可以提供一些有价值的指示。我认为Nvidia提供一个模拟器,我该如何设置它。到目前为止我不在乎性能,如果它很慢。感谢。
I want to setup a CUDA emulator on my ubunbu 10.04, since I don't have the hardware. Can someone provides some valuable instructions. I think Nvidia does provide an emulator, how can i set it up. so far I don't care about performance, if it's slow. Thanks.
推荐答案
直接回答: @Andrey是正确的,新的工具包/ 没有有一个模拟器。 但,您可以考虑使用 mCUDA 编译内核一个CPU目标 - 请注意,如果您的最终目标是gpu,并且目前仅适用于Linux,这可能无法帮助您调整代码。我建议您检查 gpuocelot ,这是一个更通用的模拟器。 (不知道是否已在Windows上测试)
Direct Answer: @Andrey is correct, the new toolkit / API (v3) does not have an emulator. However, you could consider using mCUDA which compiles the kernel for a CPU target -- note that this may not help you tune your code if your ultimate target is a gpu and also, it is only currently available for Linux. I would recommend checking out gpuocelot which is a more general emulator. (Not sure if it's been tested on Windows)
Aside:这是我对ATI的抱怨,您已安装ATI卡。 nVidia没有这样的要求。您可以绝对下载并安装工具包和SDK。然而,如@Andrey所说,他们已经删除了模拟器。因此,如果你真的想运行一个CUDA内核,你需要一个nVidia GPU ,除非