Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CUDA without CUDA enabled gpu [duplicate]

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.

like image 727
small_potato Avatar asked Sep 21 '10 00:09

small_potato


1 Answers

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: This is my gripe with ATI, you can't develop with their system unless you have an ATI card installed. nVidia has no such requirement. You can absolutely download and install the toolkit and SDK. However, as @Andrey mentions, they have removed the emulator. So if you actually want to run a CUDA kernel, you do need an nVidia GPU unless you use mCUDA to compile the kernel to run on the CPU.

like image 147
M. Tibbits Avatar answered Sep 22 '22 03:09

M. Tibbits