mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +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++) {
|
||||
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 supports required extension cl_khr_gl_sharing.\n", i+1, num_of_devices);
|
||||
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 supports required extension "
|
||||
"cl_khr_gl_sharing.\n",
|
||||
i + 1, num_of_devices);
|
||||
found_valid_device = 1;
|
||||
m_devices[m_device_count++] = devices[i];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user