Skip to content

Commit e2b49a4

Browse files
committed
fix
1 parent dbe3b88 commit e2b49a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/provider/provider_level_zero.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1047,7 +1047,7 @@ umf_result_t umfLevelZeroMemoryProviderResidentDeviceChange(
10471047
utils_write_lock(&ze_provider->resident_device_rwlock);
10481048
for (; existing_peer_index < ze_provider->resident_device_count;
10491049
++existing_peer_index) {
1050-
if (ze_provider->resident_device_handles[existing_peer_index] !=
1050+
if (ze_provider->resident_device_handles[existing_peer_index] ==
10511051
device) {
10521052
break;
10531053
}

0 commit comments

Comments
 (0)