#define OPENCL_ICD_LOADER_VERSION_MAJOR 2
#define OPENCL_ICD_LOADER_VERSION_MINOR 2
-#define OPENCL_ICD_LOADER_VERSION_REV 5
+#define OPENCL_ICD_LOADER_VERSION_REV 6
#ifdef RC_INVOKED
// Try a different value type. Some vendors write the key as a multi-string type.
queryArgs.ValueType = REG_MULTI_SZ;
Status = D3DKMTQueryAdapterInfo(&queryAdapterInfo);
- if (!NT_SUCCESS(Status))
+ if (NT_SUCCESS(Status))
+ {
+ KHR_ICD_TRACE("Accepting multi-string registry key type\n");
+ }
+ else
{
// Continue trying to get as much info on each adapter as possible.
// It's too late to return FALSE and claim WDDM2_4 enumeration is not available here.
if (REG_SZ != dwLibraryNameType)
{
- KHR_ICD_TRACE("Unexpected registry entry 0x%x! continuing\n", dwLibraryNameType);
- goto out;
+ if (REG_MULTI_SZ == dwLibraryNameType)
+ {
+ KHR_ICD_TRACE("Accepting multi-string registry key type\n");
+ }
+ else
+ {
+ KHR_ICD_TRACE("Unexpected registry entry 0x%x! continuing\n", dwLibraryNameType);
+ goto out;
+ }
}
KHR_ICD_TRACE(" Path: %s\n", cszOclPath);