Formatting
This commit is contained in:
@ -108,16 +108,13 @@ class UCL_Program {
|
|||||||
std::cerr << log << std::endl
|
std::cerr << log << std::endl
|
||||||
<< "----------------------------------------------------------\n\n";
|
<< "----------------------------------------------------------\n\n";
|
||||||
#endif
|
#endif
|
||||||
if (foutput != NULL) {
|
if (foutput != nullptr) {
|
||||||
fprintf(foutput,"\n\n");
|
fprintf(foutput,"\n\n");
|
||||||
fprintf(foutput,
|
fprintf(foutput, "----------------------------------------------------------\n");
|
||||||
"----------------------------------------------------------\n");
|
|
||||||
fprintf(foutput, " UCL Error: Error compiling PTX Program...\n");
|
fprintf(foutput, " UCL Error: Error compiling PTX Program...\n");
|
||||||
fprintf(foutput,
|
fprintf(foutput, "----------------------------------------------------------\n");
|
||||||
"----------------------------------------------------------\n");
|
|
||||||
fprintf(foutput, "%s\n",log->c_str());
|
fprintf(foutput, "%s\n",log->c_str());
|
||||||
fprintf(foutput,
|
fprintf(foutput, "----------------------------------------------------------\n");
|
||||||
"----------------------------------------------------------\n");
|
|
||||||
fprintf(foutput,"\n\n");
|
fprintf(foutput,"\n\n");
|
||||||
}
|
}
|
||||||
return UCL_COMPILE_ERROR;
|
return UCL_COMPILE_ERROR;
|
||||||
|
|||||||
Reference in New Issue
Block a user