如何以软件模式在ATI或Intel卡上运行CUDA应用程序? [英] How to run my CUDA application on ATI or Intel card in software mode?

查看:79
本文介绍了如何以软件模式在ATI或Intel卡上运行CUDA应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望能够在NVidia上的GPU模式下以及ATI或Intel的CPU(软件)模式下运行我的软件。我该如何实现?

I want to be able to run my software in GPU mode on NVidia and in CPU (sofware) mode on ATI or Intel. How can I achieve this?

这与PhysX的工作原理相同。

It's the same like PhysX works.

当前,我在ATI卡机上看到一个错误,指出该nvcuda。找不到dll。

Currently I get an error on ATI card machine stating that nvcuda.dll is not found.

请不要告知OpenCL。
这个问题类似于我的。但是OpenCL的答案对我来说是不可接受的。

Please don't advise OpenCL. This question is similar to mine. But the OpenCL answer is not acceptable for me.

我在Windows 7 + Visual Studio 2008上

I'm on Windows 7 + Visual Studio 2008

推荐答案

将其转换为答案:

有一个名为GPU Ocelot的软件,它将找出在运行时用于运行gpu代码的硬件:http://code.google.com/p/gpuocelot/

there's a software called GPU Ocelot that will figure out what hardware to run the gpu code on at runtime: http://code.google.com/p/gpuocelot/

运行所有通话通过Ocelot,您 应该很好。

run all your calls through Ocelot and you should be good to go.

从首页:


Ocelot是用于异构
系统的模块化动态编译框架,为CUDA程序提供了各种后端目标,为PTX虚拟指令集提供了
分析模块。 Ocelot当前
允许CUDA程序在全速下在NVIDIA GPU,AMD GPU和
x86-CPU上执行。

这篇关于如何以软件模式在ATI或Intel卡上运行CUDA应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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