Problem generating cubin files

Hi all,

I am having problems to compile my .cu files with the cubin option. Without that option, it compiles without errors, but once i add the cubin option to the command line, i got “strange” errors like :

  • the modifier “global” is not allowed on this declaration __declspec(global) void Disp(

  • incomplete type is not allowed __declspec(global) void Disp(

  • identifier “Tcolor” is undefined…

I am using VS2003.

Any help will be much appreciated.
Bouffa

Does it work if you add “-keep” option instead of “-cubin”?

Paulius

Yeh ! It works!

Thank you very much