forked from lijiext/lammps
Formatting
This commit is contained in:
parent
8ba1b59d8d
commit
24314b2316
|
@ -108,17 +108,14 @@ class UCL_Program {
|
|||
std::cerr << log << std::endl
|
||||
<< "----------------------------------------------------------\n\n";
|
||||
#endif
|
||||
if (foutput != NULL) {
|
||||
fprintf(foutput,"\n\n");
|
||||
fprintf(foutput,
|
||||
"----------------------------------------------------------\n");
|
||||
fprintf(foutput," UCL Error: Error compiling PTX Program...\n");
|
||||
fprintf(foutput,
|
||||
"----------------------------------------------------------\n");
|
||||
fprintf(foutput,"%s\n",log->c_str());
|
||||
fprintf(foutput,
|
||||
"----------------------------------------------------------\n");
|
||||
fprintf(foutput,"\n\n");
|
||||
if (foutput != nullptr) {
|
||||
fprintf(foutput,"\n\n");
|
||||
fprintf(foutput, "----------------------------------------------------------\n");
|
||||
fprintf(foutput, " UCL Error: Error compiling PTX Program...\n");
|
||||
fprintf(foutput, "----------------------------------------------------------\n");
|
||||
fprintf(foutput, "%s\n",log->c_str());
|
||||
fprintf(foutput, "----------------------------------------------------------\n");
|
||||
fprintf(foutput,"\n\n");
|
||||
}
|
||||
return UCL_COMPILE_ERROR;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue