diff --git a/checkin_notes b/checkin_notes index 9105f04c3c..3009f0496f 100644 --- a/checkin_notes +++ b/checkin_notes @@ -5042,3 +5042,9 @@ Charlie 3 June 2009 lib/ coproc.cpp,h + +David 3 June 2009 + - fix to the above + + lib/ + coproc.cpp,h diff --git a/lib/coproc.cpp b/lib/coproc.cpp index f4144ee5b3..0e333adb6d 100644 --- a/lib/coproc.cpp +++ b/lib/coproc.cpp @@ -292,9 +292,9 @@ void COPROC_CUDA::get( if (use_all || !cuda_compare(gpus[i], best, true)) { best.device_nums[best.count] = gpus[i].device_num; best.count++; - sprintf(buf2, "NVIDIA GPU %d: %s", best.count, buf); + sprintf(buf2, "NVIDIA GPU %d: %s", i, buf); } else { - sprintf(buf2, "NVIDIA GPU %d (not used): %s", best.count, buf); + sprintf(buf2, "NVIDIA GPU %d (not used): %s", i, buf); } strings.push_back(string(buf2)); }