Error in ececution of sample SDK programs Problem with CUDA SDK sample program execution on ubutu 8.

Hello

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]

I am not sure what exactly is the problem.

Thanks in advance.

can you put the line 117? what video card have you got?

Line 117:

testKernel<<< grid, threads, mem_size >>>( d_idata, d_odata);

Right now i am trying it in device emulation mode.

The graphic card is GTX 260.

I don’t know what is wrong. you can execute only this program?? and on normal mode?

can you give me the program you’ve created?