CUDA-C into Gentoo Linux Problems running CUDA-C sources inside Linux with Optimus Tech

Hi there, i’m trying to run some sort of examples of the book “Cuda By Examples” but i can’t:

I’m using Gentoo Linux with these aspects of configuration:

01:00.0 VGA compatible controller: nVidia Corporation GT218 [GeForce 310M] (rev a2)

cat /proc/driver/nvidia/version 16:37
NVRM version: NVIDIA UNIX x86_64 Kernel Module 270.18 Tue Jan 18 21:46:26 PST 2011
GCC version: gcc version 4.4.5 (Gentoo 4.4.5 p1.2, pie-0.4.5)

Don’t have /dev/nvidia device.

When i try to run the third sample program…

[rodolfo@asgard ~/NVIDIA/chapter03] nvcc simple_kernel_params.cu -o simple_kernel_params 16:52 [rodolfo@asgard ~/NVIDIA/chapter03] ./simple_kernel_params 16:53
no CUDA-capable device is detected in simple_kernel_params.cu at line 26

The device nvidia aren’t accessible to GPU programming too???

I can only use CUDA device in windows? Optimus Technology aren’t only a display “des”-integration?

Thanks for this NVIDIA. I don’t think that ignoring linux programmers are a good idea.

I’m wrong?

Sad, but true.

Hi, no one can help me here?