From 8761ed75f7ee8a46bebe25b846a9650878ab663f Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 22 Jul 2012 03:45:47 +0000 Subject: [PATCH] - lib: fix typo svn path=/trunk/boinc/; revision=25884 --- checkin_notes | 6 ++++++ lib/coproc.cpp | 2 ++ sched/sample_work_generator.cpp | 4 ++-- tools/create_work_example | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/checkin_notes b/checkin_notes index af341b42cd..82bb1f01af 100644 --- a/checkin_notes +++ b/checkin_notes @@ -5019,3 +5019,9 @@ Rom 18 July 2012 client/ sysmon_win.cpp + +David 21 July 2012 + - lib: fix typo + + lib/ + coproc.cpp diff --git a/lib/coproc.cpp b/lib/coproc.cpp index dce9bbaf5a..50acff8b1e 100644 --- a/lib/coproc.cpp +++ b/lib/coproc.cpp @@ -638,6 +638,7 @@ void COPROC_NVIDIA::fake( available_ram = avail_ram; display_driver_version = driver_version; cuda_version = 2020; + have_cuda = true; strcpy(prop.name, "Fake NVIDIA GPU"); memset(&prop, 0, sizeof(prop)); prop.totalGlobalMem = ram; @@ -876,6 +877,7 @@ void COPROC_ATI::fake(double ram, double avail_ram, int n) { strcpy(name, "foobar"); count = n; available_ram = avail_ram; + have_cal = true; memset(&attribs, 0, sizeof(attribs)); memset(&info, 0, sizeof(info)); attribs.localRAM = (int)(ram/MEGA); diff --git a/sched/sample_work_generator.cpp b/sched/sample_work_generator.cpp index 58767a20d2..83612326df 100644 --- a/sched/sample_work_generator.cpp +++ b/sched/sample_work_generator.cpp @@ -50,8 +50,8 @@ #define REPLICATION_FACTOR 1 const char* app_name = "example_app"; -const char* in_template_file = "example_app_in.xml"; -const char* out_template_file = "example_app_out.xml"; +const char* in_template_file = "example_app_in"; +const char* out_template_file = "example_app_out"; char* in_template; DB_APP app; diff --git a/tools/create_work_example b/tools/create_work_example index e3ab067b53..26bcdc885d 100644 --- a/tools/create_work_example +++ b/tools/create_work_example @@ -9,4 +9,4 @@ cp download/input `bin/dir_hier_path input` # This causes the file deleter to not delete its input files, # 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