Commit Graph

29 Commits

Author SHA1 Message Date
Vitalii Koshura 4594160ffb
[Windows] Add MSVS 2019 with vcpkg support
Added new projects to build with Microsoft Visual Studio 2019.
Added vcpkg support for 3rd party libraries.
For simplification all executables use static linked libraries
(impact +0.5 MB or < 3%).
Enable build for all projects (including examples for opencl, cuda etc).
Configuration is not tested yet, so no CI added.
Also because of the reason above projects for VS 2013 are not removed yet too.

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2020-03-16 02:32:35 +01:00
Rom Walton ea07bf4ef8 example_app_nvcuda: reclassify the example_app_nvcuda as a console application on Windows.
This was a hold over from the Win9x days when a console application window could not be hidden by the processed that launched it.  Since we no longer need to support Win9x we can get rid of this hack.
2015-11-19 14:19:30 -05:00
Oliver Bock 88e840fc95 Normalized line breaks according to latest updates of .gitattributes
* As discussed with Rom
* See also: d81607b, e93af6a, 26ca219, 8dad345
2014-06-27 10:12:11 +02:00
Charlie Fenton 3637e0f6da lib, nvcuda: Fix warnings from cppcheck reported by Toralf Förster. 2014-03-20 05:20:04 -07:00
David Anderson d861862ca1 server: fix compile warnings and file descriptor leaks
Also, we were using memset() to zero WORK_REQ,
which contains several std::vector's.
This apparently works on Linux, but not in general.
2014-01-08 22:00:13 -08:00
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