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
Augment docs about setting runtime version (#2822)
Describe the actions of `set_runtime_version!` more completely. Specifically,
mention adding `CUDA_Runtime_jll` to `[extras]' in `Project.toml`.
[only docs]
[ Info: Set CUDA.jl toolkit preference to use CUDA 11.8.0 from artifact sources, please re-start Julia for this to take effect.
122
122
```
123
123
124
-
This generates the following `LocalPreferences.toml` file in your active environment:
124
+
This preference is compatible with other CUDA JLLs, e.g., if you load `CUDNN_jll` it will
125
+
only select artifacts that are compatible with the configured CUDA runtime.
126
+
127
+
`CUDA.set_runtime_version!` performs the following two actions:
128
+
129
+
1. Generates the following `LocalPreferences.toml` file in your active environment:
125
130
126
131
```
127
132
[CUDA_Runtime_jll]
128
133
version = "11.8"
129
134
```
130
135
131
-
This preference is compatible with other CUDA JLLs, e.g., if you load `CUDNN_jll` it will
132
-
only select artifacts that are compatible with the configured CUDA runtime.
136
+
2. Ensures the following line is in the `[extras]` section of your active `Project.toml` file to allow `Preferences.jl` to find the `version` preference for `CUDA_Runtime_jll`:
0 commit comments