-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Contributing | ||
|
||
## Adding new CUDA versions | ||
|
||
All CUDA versions are visible on the [NVIDIA CUDA toolkit archive](https://developer.nvidia.com/cuda-toolkit-archive) | ||
|
||
When adding new versions, the following files should be updated: | ||
- `src/links/linux-links.ts` | ||
|
||
To get the linux link you should get the link for the `runfile (local)` option, the distribution doesn't matter as long as the architecture is `x86_64`, see the image below: | ||
![Linux link copy](images/linux-link.png) | ||
Copy the link and paste it in a new entry of the `cudaVersionToURL` map: | ||
![Linux link paste](images/linux-link-code.png) | ||
- `src/links/windows-links.ts` | ||
|
||
There are two windows links, one for the network installer (online) and one for the local installer (offline): | ||
|
||
The installer links can be copied by selecting the Windows platform, OS version doesn't matter (at the time of writing), and then select either `exe (local)` for the local installer, and `exe (network)` for the online installer. The link can be copied by right clicking the green `Download` button and selecting `Copy Link address`. | ||
|
||
#### Windows - Local installer: | ||
![Windows link local copy](images/windows-link-local.png) | ||
|
||
Then add a new entry in the `cudaVersionToURL` map with the link copied above: | ||
![Windows link local paste](images/windows-link-local-code.png) | ||
|
||
#### Windows - Network installer: | ||
![Windows link network copy](images/windows-link-network.png) | ||
|
||
Add a new entry in the `cudaVersionToNetworkUrl` map with the link copied in the above: | ||
![Windows link network paste](images/windows-link-network-code.png) | ||
|
||
|
||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters