- MGR: Minor fix to the OpenCL output for Intel GPUs.

This commit is contained in:
Rom Walton 2012-12-07 22:08:13 -05:00 committed by Oliver Bock
parent c0ff7e3642
commit 6d0e60a7d9
2 changed files with 8 additions and 3 deletions

View File

@ -7380,3 +7380,8 @@ Charlie 7 Dec 2012
mac/
config.h
Rom 7 Dec 2012
- MGR: Minor fix to the OpenCL output for Intel GPUs.
client/
gpu_detect.cpp

View File

@ -64,8 +64,8 @@ void segv_handler(int) {
vector<COPROC_ATI> ati_gpus;
vector<COPROC_NVIDIA> nvidia_gpus;
vector<OPENCL_DEVICE_PROP> nvidia_opencls;
vector<OPENCL_DEVICE_PROP> ati_opencls;
vector<OPENCL_DEVICE_PROP> nvidia_opencls;
vector<OPENCL_DEVICE_PROP> intel_gpu_opencls;
void COPROCS::get(
@ -169,13 +169,13 @@ void COPROCS::get(
// Create descriptions for OpenCL Intel GPUs
//
for (i=0; i<intel_gpu_opencls.size(); i++) {
intel_gpu_opencls[i].description(buf, GPU_TYPE_ATI);
intel_gpu_opencls[i].description(buf, GPU_TYPE_INTEL);
descs.push_back(string(buf));
}
ati_gpus.clear();
nvidia_gpus.clear();
nvidia_opencls.clear();
ati_opencls.clear();
nvidia_opencls.clear();
intel_gpu_opencls.clear();
}