We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41eb510 commit 794953bCopy full SHA for 794953b
llama/gpuInfo/vulkan-gpu-info.cpp
@@ -44,8 +44,10 @@ static std::vector<vk::PhysicalDevice> dedupedDevices() {
44
oldDevice.getProperties2(&oldProps);
45
46
bool equals = std::equal(std::begin(oldId.deviceUUID), std::end(oldId.deviceUUID), std::begin(newId.deviceUUID));
47
- equals |= oldId.deviceLUIDValid && newId.deviceLUIDValid &&
48
- std::equal(std::begin(oldId.deviceLUID), std::end(oldId.deviceLUID), std::begin(newId.deviceLUID));
+ equals = equals || (
+ oldId.deviceLUIDValid && newId.deviceLUIDValid &&
49
+ std::equal(std::begin(oldId.deviceLUID), std::end(oldId.deviceLUID), std::begin(newId.deviceLUID))
50
+ );
51
52
return equals;
53
}
0 commit comments