Commit Graph

19719 Commits

Author SHA1 Message Date
Oliver Bock 1feae69d5b client: clean up redundant and confusing GPU descriptions 2013-03-04 16:50:21 +01:00
David Anderson 7f36658d4b - minor code cleanup from RustyBSD 2013-03-04 16:45:04 +01:00
David Anderson 5ad78a8b9d - client: replace ignore_nvidia_dev etc. with an array.
PRINCIPLE: AVOID PER-GPU-TYPE VARIABLES
- get rid of alloca() stuff in gutil.cpp; almost certainly not needed
- don't include malloc.h; it doesn't exist on BSD systems
2013-03-04 16:44:52 +01:00
Charlie Fenton 6d6403545a client: clean up redundant and confusing GPU descriptions 2013-03-04 16:42:16 +01:00
Charlie Fenton 0a8253cdd0 client: add new file gpu_intel.cpp to Xcode project 2013-03-04 16:42:16 +01:00
David Anderson 6224f6f292 - client: win compile fix 2013-03-04 16:42:16 +01:00
Oliver Bock 508b9b572b Merge branch 'master' of ssh://boinc.berkeley.edu/boinc
Conflicts:
	checkin_notes
	client/acct_mgr.cpp
	client/cs_statefile.cpp
	client/gpu_opencl.cpp
	lib/coproc.cpp

Additional changes:
	client/Makefile.am

Dropped changes:
	client/cs_scheduler.cpp (516eff6)
	sched/sched_send.cpp (2dd8288)
2013-03-04 16:35:08 +01:00
Rom Walton c8ff613c44 - client/server: Make sure the GPU Type field is really classified as an Intel
GPU.
2013-03-04 15:30:04 +01:00
Rom Walton 2dd82881de - client/server: fix build breaks I introduced last night with a variable
rename.
2013-03-04 15:30:03 +01:00
Rom Walton 516eff60b0 - client: Hook up the XML portion of the Intel GPU detection code so
the server scheduler knows about it.
    - client: Print out the peak flops for the Intel GPU, the regular
        OpenCL descriptions do not show peak flops.
2013-03-04 15:30:03 +01:00
David Anderson 1174b00aba - client/manager: tweaks to Intel GPU code 2013-03-04 15:27:25 +01:00
Rom Walton 6d0e60a7d9 - MGR: Minor fix to the OpenCL output for Intel GPUs. 2013-03-04 15:27:15 +01:00
Oliver Bock c0ff7e3642 Merge branch 'master' of ssh://boinc.berkeley.edu/boinc 2013-03-04 15:26:45 +01:00
Charlie Fenton 7e386f33eb Manager: Fix Mac bug introduced by recent OpenBSD compile fixes 2013-03-04 15:26:37 +01:00
Rom Walton 1f8f7ceb71 Fix build environment help scripts for Windows 2013-03-04 15:23:39 +01:00
David Anderson c1f63276ee - client (unix): rename() doesn't work between filesystems.
If the user has set things up so that slots/ is a symlink
    to a different filesystem, things won't work when the client
    moves output files from the slot to project dir.
    Solution: if rename() fails, try system("mv ...")
    since mv works across filesystems
2013-03-04 15:23:39 +01:00
David Anderson ca8afde85b - Manager: compile fixes for OpenBSD. From RustyBSD. 2013-03-04 15:23:39 +01:00
David Anderson 165e3bb1d5 - adjust_user_priority: scale FLOP count by app's min_avg_pfc
to account for systematic errors in FLOP count
- adjust_user_priority: get total project RAC by summing RAC
    of app versions where RAC has been updated in past week
- feeder: add --priority_asc option
    (for when wu.priority is a logical time)
2013-03-04 15:23:39 +01:00
Charlie Fenton 9f782f90b4 OpenCL: Add peak FLOPS computation for Intel Ivy Bridge GPUs 2013-03-04 15:23:39 +01:00
David Anderson 2ded3ff67d - fix typo in GUI RPC
- check in some code for multi-user job prioritization
2013-03-04 15:23:39 +01:00
Charlie Fenton f3c11f5831 client: strcasestr does exist on Windows in lib/str_replace.cpp, but I just needed to #include "str_replace.h". This is preferable because it handles INTEL as well as Intel and intel 2013-03-04 15:23:39 +01:00
Rom Walton 2f67ee08ce - client: strcasestr doesn't exist on Windows. 2013-03-04 15:23:39 +01:00
Rom Walton 474b9a4f37 - VBOX: Fix build break introduced by the previous vbox commit. 2013-03-04 15:23:39 +01:00
Rom Walton a4972e0400 - MGR: Fix two potential security issues with browser.cpp where the
query to the cookie database could have been abused.  At present
        neither of the two parameters originate as user input so using it
        as an attack vector isn't very high.  Prevent the functions from
        being exploited in the future in case the routines were ever used
        in a different way.
2013-03-04 15:23:39 +01:00
David Anderson 937059b8ae - lib: add size info to messages when realloc() fails in MFILE 2013-03-04 15:23:39 +01:00
Charlie Fenton ce87ec9848 OpenCL: First pass at adding support for Intel Ivy Bridge GPUs 2013-03-04 15:23:39 +01:00
Charlie Fenton 6314d1c7ea OpenCL: Change type argument of new boinc_get_opencl_ids() API from char* to int; it now accepts PROC_TYPE_NVIDIA_GPU, PROC_TYPE_AMD_GPU or PROC_TYPE_INTEL_GPU 2013-03-04 15:23:38 +01:00
Charlie Fenton 58d41b142f OpenCL: Add definition of GPU_TYPE_INTEL to match definitions of GPU_TYPE_ATI and GPU_TYPE_NVIDIA 2013-03-04 15:23:38 +01:00
David Anderson 865d50623e - code formatting 2013-03-04 15:23:38 +01:00
Rom Walton e693e2df09 - VBOX: Add the ability to read a fraction done file from the shared
directory.  Use the same semantics as the regular wrapper.
2013-03-04 15:23:38 +01:00
Charlie Fenton ed35d78490 OpenCL: Add a second API for boinc_get_opencl_ids() which is compatible with older clients (before BOINC 7.0.12) 2013-03-04 15:23:38 +01:00
Charlie Fenton e8abd328d1 OpenCL: Add a second API for boinc_get_opencl_ids() which is compatible with older clients (before BOINC 7.0.12) 2013-03-04 15:23:38 +01:00
Charlie Fenton b98fee99b3 OpenCL: Add a second API for boinc_get_opencl_ids() which is compatible with older clients (before BOINC 7.0.12) 2013-03-04 15:23:38 +01:00
David Anderson 5df6bb88ff - web: workunit display tweak 2013-03-04 15:23:38 +01:00
David Anderson 3a85b2c0de - web: show project-specific workunit info inside table 2013-03-04 15:23:38 +01:00
David Anderson f05aeb7aea - web: project info tweak 2013-03-04 15:23:38 +01:00
David Anderson ddf4551108 - web: add hook for "science info" link in result lists (for CAS@home) 2013-03-04 15:23:38 +01:00
David Anderson 2a120631a4 - scheduler: build fixes for FreeBSD. From RustyBSD. 2013-03-04 15:23:38 +01:00
David Anderson e2ab21944d - scheduler: use HOST_USAGE::uses_gpu() function where appropriate 2013-03-04 15:23:37 +01:00
David Anderson c332021853 - Mac installer: add missing pclose() (from RustyBSD) 2013-03-04 15:23:37 +01:00
David Anderson ce47010dbb - client: if <dont_check_file_sizes> is set, don't check file existence at startup
- wrapper: open files in shared mode so you can look at them while wrapper is running
2013-03-04 15:23:37 +01:00
Charlie Fenton 2d78d37328 Fix corrupted line endings 2013-03-04 15:23:37 +01:00
Charlie Fenton fdaaddb76a Mgr: Fix some rare issues on Windows (including a possible memory leak) when switching to a client on a different computer after trying to display notices without an Internet connection 2013-03-04 15:23:37 +01:00
David Anderson f127526c68 - lib: Win compile fix for boinc_allocate_file() 2013-03-04 15:23:37 +01:00
David Anderson 3cf17049b5 - server: fix create_forums.php 2013-03-04 15:23:37 +01:00
David Anderson 300fa71763 - web: remove default forum 2013-03-04 15:23:37 +01:00
David Anderson fdc085264a - client (Win) preallocate large files to avoid file fragmentation
when you write to them incrementally
    (workaround for shoddy filesystem design)
- admin web: remove line that limited mass emails to 10
2013-03-04 15:23:37 +01:00
Charlie Fenton 2a2c4b0bdc Fix file permissions 2013-03-04 15:23:37 +01:00
Charlie Fenton a999f935b4 client: add new files app_config.cpp,h to Xcode project 2013-03-04 15:23:37 +01:00
David Anderson a46d93f566 - client: bug fixes for app config feature 2013-03-04 15:23:37 +01:00