diff --git a/src/drivers/cuda/driver_cuda.c b/src/drivers/cuda/driver_cuda.c index d0c7d7ecf..56aaedbb8 100644 --- a/src/drivers/cuda/driver_cuda.c +++ b/src/drivers/cuda/driver_cuda.c @@ -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;