Skip to content

Commit

Permalink
cuda: 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 2848992 commit de95a9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drivers/cuda/driver_cuda.c
Original file line number Diff line number Diff line change
Expand Up @@ -2089,8 +2089,8 @@ int _starpu_cuda_peer_access(int devid, int peer_devid)
{
cures = cudaDeviceEnablePeerAccess(peer_devid, 0);
(void) cudaGetLastError();
return 1;
}
return 1;
}
#endif
return 0;
Expand Down

0 comments on commit de95a9e

Please sign in to comment.