1

ソフトウェアを NVidia では GPU モードで、ATI または Intel では CPU (ソフトウェア) モードで実行できるようにしたいと考えています。どうすればこれを達成できますか?

PhysX の動作と同じです。

現在、ATI カード マシンで nvcuda.dll が見つからないというエラーが表示されます。

OpenCL にアドバイスしないでください。 この質問は私のものと似ています。しかし、OpenCL の回答は受け入れられません。

私は Windows 7 + Visual Studio 2008 を使用しています

4

2 に答える 2

8

これを答えに変換する:

実行時に GPU コードを実行するハードウェアを特定する GPU Ocelot というソフトウェアがあります: http://code.google.com/p/gpuocelot/

すべての通話を Ocelot で実行すれば、準備完了です。

ホームページから:

Ocelot は、異種システム用のモジュラー動的コンパイル フレームワークであり、CUDA プログラム用のさまざまなバックエンド ターゲットと、PTX 仮想命令セット用の分析モジュールを提供します。Ocelot では現在、NVIDIA GPU、AMD GPU、および x86-CPU で CUDA プログラムを再コンパイルせずにフル スピードで実行できます。

于 2012-04-06T13:24:45.530 に答える
1

There are now initiatives to run CUDA on non-NVidia hardware such as by Otoy : http://venturebeat.com/2016/03/09/otoy-breakthrough-lets-game-developers-run-the-best-graphics-software-across-platforms/

Essentially it translates CUDA calls to other backends (Metal, Vilkan, DirectX, OpenGL) to allow applications written for CUDA to run on a range of platforms. It's not known whether it will be possible to simply put their nvcuda.dll in the right location and thereby instantly get your app working, or if the developer would have to change something before deploying the software.

So far there is no public release afaik.

于 2016-09-09T10:56:46.783 に答える