I am executing the SDK sample program on ubuntu 8.04 in device emulation mode.
The system and configurations are:
Ubuntu 8.04
CUDA 2.1
NVIDIA-Linux-x86-180.22 driver
I did made emu=1 and that was successful.
I executed the “bandwidthTest” program and it was successful and gave the following result:
[codebox] device 0:��ŷ�{ݷ
Quick Mode
Host to Device Bandwidth for Pageable memory
.
Transfer Size (Bytes) Bandwidth(MB/s)
33554432 653.4
Quick Mode
Device to Host Bandwidth for Pageable memory
.
Transfer Size (Bytes) Bandwidth(MB/s)
33554432 730.7
Quick Mode
Device to Device Bandwidth
.
Transfer Size (Bytes) Bandwidth(MB/s)
33554432 1422.0
&&&& Test PASSED
Press ENTER to exit…
[/codebox]
But when i execute any other program it gives me the following error:
[codebox]smehta13@visionlab03-pc:~/NVIDIA_CUDA_SDK/bin/linux/emurelease$ ./myprojectNVIDIA: could not open the device file /dev/nvidiactl (No such device or address).
cutilCheckMsg() CUTIL CUDA error: Kernel execution failed in file <myproject.cu>, line 117 : initialization error.[/codebox]