mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Test d3d11 - remove spaces from extension string (#742)
This commit is contained in:
committed by
GitHub
parent
b051f07a57
commit
efc9f38fdf
@@ -74,7 +74,7 @@ HarnessD3D11_ExtensionCheck()
|
||||
cl_uint num_devices_d3d11 = 0; // Number of devices supporting cl_khr_d3d11_sharing.
|
||||
for ( cl_uint i = 0; i < devices.size(); ++ i )
|
||||
{
|
||||
if (is_extension_available( devices[i], " cl_khr_d3d11_sharing " ))
|
||||
if (is_extension_available(devices[i], "cl_khr_d3d11_sharing"))
|
||||
{
|
||||
++ num_devices_d3d11;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user