Commit Graph

9 Commits

Author SHA1 Message Date
Charlie Fenton aafa5e45c0 nvcuda sample: add comments about missing features in the BOINC CUDA sample code:
* Code to determine the correct device assigned by BOINC.
* Code to select which NVIDIA GPU to use if there are more than one.
2013-07-29 23:22:17 -07:00
David Anderson 519a0bcbef API: add test harness for the runtime system
- If you run the client with --run_test_app,
  runs "test_app" in the current directory and interacts with it
  (and does nothing else).
  It can suspend/resume it with arbitrary timing;
  this is controlled in run_test_app() (app_start.cpp).
- example app: add --critical_section option.
  This lets you test the runtime system for apps that do
  most of their work in a critical section (like GPU apps).
- Add some logging messages (conditioned by DEBUG_BOINC_API)
  to the runtime system.
- boinc_finish() waits for the timer thread to write final messages;
  make sure it doesn't do anything else
  (like suspend the worker thread) during this period
2013-07-04 16:00:10 -07:00
David Anderson afdc69a8a8 More Line Ending Changes 2013-03-04 17:19:38 +01:00
David Anderson 1637c19e08 - API and sample apps: pass buf length arg to boinc_msg_prefix()
and use snprintf() to avoid overrun.
    Can't see why this could ever happen.
    Attempt to fix crash in E@h apps.

svn path=/trunk/boinc/; revision=22363
2010-09-15 23:03:30 +00:00
Tuan Le 812ce585a8 fix memory leak
svn path=/trunk/boinc/; revision=22022
2010-07-21 18:28:58 +00:00
Tuan Le 3b28b05ee8 svn path=/trunk/boinc/; revision=21920 2010-07-13 21:36:29 +00:00
Tuan Le 95b33a9501 svn path=/trunk/boinc/; revision=21902 2010-07-13 18:33:00 +00:00
Tuan Le 9d25b0ca54 BOINC's LGPL license added
code formated
functions renamed
comments added

svn path=/trunk/boinc/; revision=21899
2010-07-13 18:03:00 +00:00
Tuan Le d866180ece svn path=/trunk/boinc/; revision=21885 2010-07-08 23:50:24 +00:00