Commits

Christos Kannas committed 1097a59

Fix: Copy contents of CUDA header file.

  • Participants
  • Parent commits b5d1c40
  • Branches CUDA

Comments (0)

Files changed (1)

 void GenerateCUDAHeader()
 {
     char buf[100];
+    char headerfile[] = "";
 
     if ( useLang != CUDA_C_LANG ) return;
 
 
     UseFile( CUDA_headerFile );
   
-    IncludeFile( "%s/util/cuda_utils.h", Home );  
+    sprintf( headerfile, "%s/util/cuda_utils.h", Home);
+    IncludeFile( headerfile );  
 }