Commits

Christos Kannas committed a6b08a1

Fix: Add CUDA_C_LANG option to some if statments.

  • Participants
  • Parent commits c8cb058

Comments (0)

Files changed (1)

   }
   
   
-  if ( (useLang == C_LANG) || (useLang == F77_LANG) ) { 
+  if ( (useLang == C_LANG) || (useLang == F77_LANG) || (useLang == CUDA_C_LANG) ) { 
      CommonName = "INTGDATA";
      ExternDeclare( LOOKAT );
      ExternDeclare( MONITOR );
 
   GenerateGlobalHeader();
   
-  if ( (useLang == F77_LANG)||(useLang == C_LANG)||(useLang == MATLAB_LANG) ) {
+  if ( (useLang == F77_LANG)||(useLang == C_LANG)||(useLang == MATLAB_LANG)||(useLang == CUDA_C_LANG) ) {
     printf("\nKPP is generating the sparsity data:");
     if( useJacSparse ) {
         GenerateJacobianSparseHeader();
     GenerateReactantProd(); 
     GenerateJacReactantProd(); 
     GenerateStoicmSparseData(); 
-    if ( (useLang == F77_LANG)||(useLang == C_LANG)||(useLang == MATLAB_LANG) )
+    if ( (useLang == F77_LANG)||(useLang == C_LANG)||(useLang == MATLAB_LANG)||(useLang == CUDA_C_LANG) )
         GenerateStoicmSparseHeader(); 
     GenerateDFunDRcoeff();
     GenerateDJacDRcoeff();