Compiler error Vista VS2008

Runing on VS2008 Vista
My code is building for ever and generating the following warning:

Warning: Olimit was exceeded on function _Z6kernelPiS_ii; will not perform function-scope optimization.
1> To still perform function-scope optimization, use -OPT:Olimit=0 (no limit) or -OPT:Olimit=114445
1>C:\Users\JIAWAN~1\AppData\Local\Temp/tmpxft_000021f8_00000000-9_sample.cpp3.i(0): Warning: To override Olimit for all functions in file, use -OPT:Olimit=114445
1> (Compiler may run out of memory or run very slowly for large Olimit values)
1>ptxas C:\Users\JIAWAN~1\AppData\Local\Temp/tmpxft_000021f8_00000000-4_sample.ptx, line 796; warning : Double is not supported. Demoting to float

Who knows what is this kind of error?