Skip to content

Commit

Permalink
hip: fix spuriously recording that peer access was enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
sthibaul committed Aug 30, 2024
1 parent de95a9e commit 2f759ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drivers/hip/driver_hip.c
Original file line number Diff line number Diff line change
Expand Up @@ -1315,8 +1315,8 @@ int _starpu_hip_peer_access(int devid, int peer_devid)
{
hipres = hipDeviceEnablePeerAccess(peer_devid, 0);
(void) hipGetLastError();
return 1;
}
return 1;
}
return 0;
}
Expand Down

0 comments on commit 2f759ed

Please sign in to comment.