mirror of https://github.com/BOINC/boinc.git
client: Clarify comment about max RAM size reported by OpenCL CPU detection
This commit is contained in:
parent
d5fdf4b391
commit
cb46429336
|
@ -166,9 +166,7 @@ void COPROCS::correlate_gpus(
|
|||
intel_gpu.correlate(use_all, ignore_gpu_instance[PROC_TYPE_AMD_GPU]);
|
||||
correlate_opencl(use_all, ignore_gpu_instance);
|
||||
|
||||
// NOTE: OpenCL has only 64 bits for global_mem_size,
|
||||
// so it can report a max of only 4GB.
|
||||
// Get the CPU RAM size from gstate.hostinfo.m_nbytes.
|
||||
// NOTE: OpenCL can report a max of only 4GB.
|
||||
for (i=0; i<cpu_opencls.size(); i++) {
|
||||
gstate.host_info.cpu_opencl_prop[gstate.host_info.num_cpu_opencl_platforms++] = cpu_opencls[i];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue