mirror of https://github.com/BOINC/boinc.git
parent
8d9ed07c5e
commit
8761ed75f7
|
@ -5019,3 +5019,9 @@ Rom 18 July 2012
|
||||||
|
|
||||||
client/
|
client/
|
||||||
sysmon_win.cpp
|
sysmon_win.cpp
|
||||||
|
|
||||||
|
David 21 July 2012
|
||||||
|
- lib: fix typo
|
||||||
|
|
||||||
|
lib/
|
||||||
|
coproc.cpp
|
||||||
|
|
|
@ -638,6 +638,7 @@ void COPROC_NVIDIA::fake(
|
||||||
available_ram = avail_ram;
|
available_ram = avail_ram;
|
||||||
display_driver_version = driver_version;
|
display_driver_version = driver_version;
|
||||||
cuda_version = 2020;
|
cuda_version = 2020;
|
||||||
|
have_cuda = true;
|
||||||
strcpy(prop.name, "Fake NVIDIA GPU");
|
strcpy(prop.name, "Fake NVIDIA GPU");
|
||||||
memset(&prop, 0, sizeof(prop));
|
memset(&prop, 0, sizeof(prop));
|
||||||
prop.totalGlobalMem = ram;
|
prop.totalGlobalMem = ram;
|
||||||
|
@ -876,6 +877,7 @@ void COPROC_ATI::fake(double ram, double avail_ram, int n) {
|
||||||
strcpy(name, "foobar");
|
strcpy(name, "foobar");
|
||||||
count = n;
|
count = n;
|
||||||
available_ram = avail_ram;
|
available_ram = avail_ram;
|
||||||
|
have_cal = true;
|
||||||
memset(&attribs, 0, sizeof(attribs));
|
memset(&attribs, 0, sizeof(attribs));
|
||||||
memset(&info, 0, sizeof(info));
|
memset(&info, 0, sizeof(info));
|
||||||
attribs.localRAM = (int)(ram/MEGA);
|
attribs.localRAM = (int)(ram/MEGA);
|
||||||
|
|
|
@ -50,8 +50,8 @@
|
||||||
#define REPLICATION_FACTOR 1
|
#define REPLICATION_FACTOR 1
|
||||||
|
|
||||||
const char* app_name = "example_app";
|
const char* app_name = "example_app";
|
||||||
const char* in_template_file = "example_app_in.xml";
|
const char* in_template_file = "example_app_in";
|
||||||
const char* out_template_file = "example_app_out.xml";
|
const char* out_template_file = "example_app_out";
|
||||||
|
|
||||||
char* in_template;
|
char* in_template;
|
||||||
DB_APP app;
|
DB_APP app;
|
||||||
|
|
|
@ -9,4 +9,4 @@ cp download/input `bin/dir_hier_path input`
|
||||||
# This causes the file deleter to not delete its input files,
|
# This causes the file deleter to not delete its input files,
|
||||||
# so that we can use make_work.
|
# so that we can use make_work.
|
||||||
#
|
#
|
||||||
bin/create_work --appname example_app --wu_name wu_nodelete --wu_template templates/example_app_in.xml --result_template templates/example_app_out.xml input
|
bin/create_work --appname example_app --wu_name wu_nodelete --wu_template templates/example_app_in --result_template templates/example_app_out input
|
||||||
|
|
Loading…
Reference in New Issue