From dbb8508e5732ead3ed83f99d0e59d502435e3c3b Mon Sep 17 00:00:00 2001
From: maleadt If P2P access between devices is not possible, CUDA.jl will now raise an error instead of throwing an illegal memory access error as it did before:
julia> # Use on incompatible device 2
device!(2)
-CuDevice(5): NVIDIA GeForce GTX 1080 Ti
+CuDevice(2): NVIDIA GeForce GTX 1080 Ti
julia> a .+ 1
ERROR: cannot take the GPU address of inaccessible device memory.
diff --git a/previews/PR44/post/index.xml b/previews/PR44/post/index.xml
index cb7908f..4ebecc7 100644
--- a/previews/PR44/post/index.xml
+++ b/previews/PR44/post/index.xml
@@ -131,7 +131,7 @@ julia> a .+ 1;
If P2P access between devices is not possible, CUDA.jl will now raise an error instead of throwing an illegal memory access error as it did before:
julia> # Use on incompatible device 2
device!(2)
-CuDevice(5): NVIDIA GeForce GTX 1080 Ti
+CuDevice(2): NVIDIA GeForce GTX 1080 Ti
julia> a .+ 1
ERROR: cannot take the GPU address of inaccessible device memory.You are trying to use memory from GPU 0 on GPU 2.
P2P access between these devices is not possible;