The issue was that the obsolete architecture cm10 implicitely demoted doubles to float. The compilers flabs was changed to -arch sm_13. Moreover kernel_lin function was implemented.