Commit Graph

24 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 439299d7b3 sample apps: include <cmath> instead of <math.h> 2013-05-28 12:00:39 -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 96a91d9d5d svn path=/trunk/boinc/; revision=21961 2010-07-15 20:47:09 +00:00
Tuan Le 16d53cb05e remove some unused variables
svn path=/trunk/boinc/; revision=21960
2010-07-15 20:42:13 +00:00
Tuan Le 4648f17bad svn path=/trunk/boinc/; revision=21954 2010-07-15 18:58:35 +00:00
Tuan Le b9a5cbe377 svn path=/trunk/boinc/; revision=21953 2010-07-15 18:58:13 +00:00
Tuan Le 07d67c39cb svn path=/trunk/boinc/; revision=21922 2010-07-13 21:51:54 +00:00
Tuan Le 3b28b05ee8 svn path=/trunk/boinc/; revision=21920 2010-07-13 21:36:29 +00:00
Tuan Le e3b71debc5 contents from these files could be found on trac wiki page.
svn path=/trunk/boinc/; revision=21907
2010-07-13 20:02:52 +00:00
Tuan Le 95b33a9501 svn path=/trunk/boinc/; revision=21902 2010-07-13 18:33:00 +00:00
Tuan Le 26cf66144f separate mac files are unnecessary.
svn path=/trunk/boinc/; revision=21900
2010-07-13 18:12:14 +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
Tuan Le ea83d4f5e1 svn path=/trunk/boinc/; revision=21866 2010-07-01 23:33:15 +00:00
Tuan Le 6517c91477 svn path=/trunk/boinc/; revision=21865 2010-07-01 23:31:30 +00:00
Tuan Le fc87ee85d4 Makefile_mac completed
cuda_mac.c and cuda_kernel_mac.cu are targeted on Mac

svn path=/trunk/boinc/; revision=21862
2010-07-01 17:53:11 +00:00
Tuan Le dc0c7ce657 svn path=/trunk/boinc/; revision=21819 2010-06-25 21:09:33 +00:00
Tuan Le ea59d1b326 cuda.cu -> fix boinc_msg_prefix()
common.mk, Makefile for Linux
readme.txt for troubleshooting 

svn path=/trunk/boinc/; revision=21798
2010-06-23 23:20:25 +00:00
David Anderson 637793aeea svn path=/trunk/boinc/; revision=21726 2010-06-10 17:44:32 +00:00
Rom Walton 7457597319 - win_build: Commit project files to build sample applications for cuda
and OpenCL (ATI & Nvidia)
        
    samples/
        <Various Files>
    win_build/
        <various Files>

svn path=/trunk/boinc/; revision=21716
2010-06-09 22:18:37 +00:00