I’m a phd student and i’m developing a global illumination application with CUDA.
I develop under Ubuntu Hardy Heron x86_64 with :
- gcc 4.1.3;
- CUDA 1.1 toolkit ;
- 169.12 NVidia driver.
When i try to use CUDA in a dynamically loaded shared library, it doesn’t work.
The program and his library are successfully compiled and linked, but when i run it, CUDA doesn’t seem to work…
So i reproduce the bug on simpleGL (see attachment). If i use the “same” source code in a single executable, it works, else it does nothing.
I can’t do that with my real project. <img src=‘http://hqnveipbwb20/public/style_emoticons/<#EMO_DIR#>/crying.gif’ class=‘bbc_emoticon’ alt=’:’(’ />
Do you have any ideas ? Is it a CUDA bug ?
simpleGL.tar.gz (2.9 KB)