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: src/xla/Client.jl
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,8 @@ function platform_name end
16
16
"""
17
17
DEFAULT_DEVICE :: Ref{Int}
18
18
19
-
0-based index of default device to use, by default 0 (first available device).
19
+
0-based index of default device to use.
20
+
By default, the value of the environment variable `REACTANT_DEFAULT_DEVICE` is used when set to a non-negative integer, otherwise it is set to 0 (first available device).
0 commit comments