mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-24 15:59:03 +00:00
Remove space character from extension name (#1336)
This commit is contained in:
committed by
GitHub
parent
92844bead1
commit
7147d072c7
@@ -90,10 +90,17 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (int i=0; i<(int)num_of_devices; i++) {
|
for (int i=0; i<(int)num_of_devices; i++) {
|
||||||
if (!is_extension_available(devices[i], "cl_khr_gl_sharing ")) {
|
if (!is_extension_available(devices[i], "cl_khr_gl_sharing"))
|
||||||
log_info("Device %d of %d does not support required extension cl_khr_gl_sharing.\n", i+1, num_of_devices);
|
{
|
||||||
} else {
|
log_info("Device %d of %d does not support required extension "
|
||||||
log_info("Device %d of %d supports required extension cl_khr_gl_sharing.\n", i+1, num_of_devices);
|
"cl_khr_gl_sharing.\n",
|
||||||
|
i + 1, num_of_devices);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
log_info("Device %d of %d supports required extension "
|
||||||
|
"cl_khr_gl_sharing.\n",
|
||||||
|
i + 1, num_of_devices);
|
||||||
found_valid_device = 1;
|
found_valid_device = 1;
|
||||||
m_devices[m_device_count++] = devices[i];
|
m_devices[m_device_count++] = devices[i];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user