如何使用软件实现在没有 GPU 的情况下运行 CUDA? [英] How to run CUDA without a GPU using a software implementation?

查看:43
本文介绍了如何使用软件实现在没有 GPU 的情况下运行 CUDA?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的笔记本电脑没有 nVidia 显卡,我想在 CUDA 上工作.该网站说 CUDA 也可以在非 cuda 硬件上以仿真模式使用.但是当我尝试安装从他们的网站下载的 CUDA 驱动程序时,它给出了一个错误nvidia 安装程序找不到与您当前硬件兼容的任何驱动程序.安装程序现在将退出".

My laptop doesn't have a nVidia graphic cards, and I want to work on CUDA. The website says that CUDA can be used in emulation mode on non-cuda hardware too. But when I tried installing CUDA drivers downloaded from their website, it gives an error "The nvidia setup couldn't locate any drivers that are compatible with your current hardware. Setup will now exit".

当我尝试在 Visual Studio 2008 中从 SDK 运行示例代码时,我收到一个错误,即找不到 .obj 文件.

Also when I tried to run sample codes from SDK in Visual studio 2008, I'm getting an error that .obj file is not found.

推荐答案

开始 GPU 开发最简单的方法是获得便宜的(例如 GTX285)GPU 和台式计算机(显然因为你无法更改GPU).

The easiest way to get started with GPU development is to get a cheap (for example GTX285) GPU and a desktop computer (obviously since u can't change the GPU in your laptop).

有一些关于让 CUDA 内核在 CPU 和 FPGA 上高效工作的研究项目(Google wen mei hwu 并查看他的研究项目)但是,如果您想学习 CUDA,这不适合您,如上所述,最简单的方法是获得一些便宜的硬件.

There are a few research projects on getting CUDA kernels to work efficiently on CPUs as well as on FPGAs (Google wen mei hwu and see his research projects) however if you want to learn CUDA this is not for you, as said above the easiest way is to get some cheap hardware.

这篇关于如何使用软件实现在没有 GPU 的情况下运行 CUDA?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆