Skip to content

Commit

Permalink
svn path=/trunk/boinc/; revision=21902
Browse files Browse the repository at this point in the history
  • Loading branch information
Tuan Le committed Jul 13, 2010
1 parent eb89bc3 commit 95b33a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion samples/nvcuda/cuda.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ int main(int argc, char** argv)
// burn up some CPU time if needed
//
if (cpu_time) {
printf("\nBurning up some CPU time ... \n");
double start = dtime();
for (int i=0; ; i++) {
double e = dtime()-start;
Expand All @@ -227,7 +228,7 @@ int main(int argc, char** argv)
update_shmem();
#endif

printf("Done!");
printf("\nDone! Please press ENTER to exit. ");
getchar();
boinc_finish(0);
}
Expand Down

0 comments on commit 95b33a9

Please sign in to comment.