File tree Expand file tree Collapse file tree 3 files changed +11
-20
lines changed Expand file tree Collapse file tree 3 files changed +11
-20
lines changed Original file line number Diff line number Diff line change @@ -98,14 +98,11 @@ jobs:
98
98
99
99
steps :
100
100
- name : Install CUDA
101
- run : |
102
- wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-ubuntu1804.pin
103
- sudo mv cuda-ubuntu1804.pin /etc/apt/preferences.d/cuda-repository-pin-600
104
- curl -L -O https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-keyring_1.0-1_all.deb
105
- sudo dpkg -i cuda-keyring_1.0-1_all.deb
106
- sudo add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/ /"
107
- sudo apt-get update -q
108
- sudo apt-get install cuda -y --no-install-recommends
101
+ uses : Jimver/cuda-toolkit@v0.2.14
102
+ with :
103
+ method : network
104
+ use-github-cache : false
105
+ use-local-cache : false
109
106
110
107
- name : Checkout the Repository
111
108
uses : actions/checkout@v2
Original file line number Diff line number Diff line change @@ -11,14 +11,11 @@ jobs:
11
11
runs-on : ubuntu-latest
12
12
steps :
13
13
- name : Install CUDA
14
- run : |
15
- wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-ubuntu1804.pin
16
- sudo mv cuda-ubuntu1804.pin /etc/apt/preferences.d/cuda-repository-pin-600
17
- curl -L -O https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-keyring_1.0-1_all.deb
18
- sudo dpkg -i cuda-keyring_1.0-1_all.deb
19
- sudo add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/ /"
20
- sudo apt-get update -q
21
- sudo apt-get install cuda -y --no-install-recommends
14
+ uses : Jimver/cuda-toolkit@v0.2.14
15
+ with :
16
+ method : network
17
+ use-github-cache : false
18
+ use-local-cache : false
22
19
23
20
- name : Checkout the Repository
24
21
uses : actions/checkout@v2
Original file line number Diff line number Diff line change 3
3
#![ cfg_attr( not( feature = "host" ) , no_std) ]
4
4
#![ feature( auto_traits) ]
5
5
#![ feature( negative_impls) ]
6
- #![ cfg_attr(
7
- any( all( not( feature = "host" ) , target_os = "cuda" ) , doc) ,
8
- feature( stdarch_nvptx)
9
- ) ]
6
+ #![ cfg_attr( all( not( feature = "host" ) , target_os = "cuda" ) , feature( stdarch_nvptx) ) ]
10
7
#![ cfg_attr( any( feature = "alloc" , doc) , feature( allocator_api) ) ]
11
8
#![ feature( doc_cfg) ]
12
9
#![ feature( marker_trait_attr) ]
You can’t perform that action at this time.
0 commit comments