You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/linear_systems/cg.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ x = cg(A, b)
24
24
```
25
25
26
26
!!! note
27
-
Make sure that all state vectors are stored on the GPU. CG will *not* copy the right-hand side to the GPU if the provided initial guess `x` is stored on the GPU.
27
+
Make sure that all state vectors are stored on the GPU. For instance when calling `cg!(x, A, b)`, one might have an issue when `x` is stored on the GPU, while `b` is stored on the CPU -- IterativeSolvers.jl does not copy the vectors to the same device.
0 commit comments