mirror of https://github.com/BOINC/boinc.git
client: clean up redundant and confusing GPU description
This commit is contained in:
parent
298988918c
commit
407d16a7d9
|
@ -7523,5 +7523,6 @@ Charlie 10 Dec 2012
|
|||
|
||||
client/
|
||||
gpu_detect.cpp
|
||||
gpu_opencl.cpp
|
||||
lib/
|
||||
coproc.cpp,.h
|
||||
|
|
|
@ -250,7 +250,9 @@ void COPROCS::get_opencl(
|
|||
}
|
||||
prop.opencl_device_index = device_index;
|
||||
|
||||
if (!nvidia.have_cuda) {
|
||||
if (nvidia.have_cuda) {
|
||||
prop.peak_flops = nvidia_gpus[prop.device_num].peak_flops;
|
||||
} else {
|
||||
COPROC_NVIDIA c;
|
||||
c.opencl_prop = prop;
|
||||
c.set_peak_flops();
|
||||
|
@ -292,6 +294,7 @@ void COPROCS::get_opencl(
|
|||
// See also further workaround code for Macs.
|
||||
//
|
||||
prop.global_mem_size = ati_gpus[prop.device_num].attribs.localRAM * MEGA;
|
||||
prop.peak_flops = ati_gpus[prop.device_num].peak_flops;
|
||||
} else {
|
||||
if (log_flags.coproc_debug) {
|
||||
msg_printf(0, MSG_INFO,
|
||||
|
|
Loading…
Reference in New Issue