11<!DOCTYPE HTML>
2- < html lang ="en " class ="sidebar-visible no-js light ">
2+ < html lang ="en " class ="light sidebar-visible" dir =" ltr ">
33 < head >
44 <!-- Book generated using mdBook -->
55 < meta charset ="UTF-8 ">
66 < title > Page not found - GPU Computing with Rust using CUDA</ title >
77 < base href ="/ ">
8+
9+
810 <!-- Custom HTML head -->
9- < meta content =" text/html; charset=utf-8 " http-equiv =" Content-Type " >
11+
1012 < meta name ="description " content ="Writing extremely fast GPU Computing code with rust using rustc_codegen_nvvm and CUDA ">
1113 < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
12- < meta name ="theme-color " content ="#ffffff " / >
14+ < meta name ="theme-color " content ="#ffffff ">
1315
1416 < link rel ="icon " href ="favicon.svg ">
1517 < link rel ="shortcut icon " href ="favicon.png ">
1618 < link rel ="stylesheet " href ="css/variables.css ">
1719 < link rel ="stylesheet " href ="css/general.css ">
1820 < link rel ="stylesheet " href ="css/chrome.css ">
1921 < link rel ="stylesheet " href ="css/print.css " media ="print ">
22+
2023 <!-- Fonts -->
2124 < link rel ="stylesheet " href ="FontAwesome/css/font-awesome.css ">
2225 < link rel ="stylesheet " href ="fonts/fonts.css ">
26+
2327 <!-- Highlight.js Stylesheets -->
2428 < link rel ="stylesheet " href ="highlight.css ">
2529 < link rel ="stylesheet " href ="tomorrow-night.css ">
2630 < link rel ="stylesheet " href ="ayu-highlight.css ">
2731
2832 <!-- Custom theme stylesheets -->
29- </ head >
30- < body >
33+
34+
3135 <!-- Provide site root to javascript -->
32- < script type =" text/javascript " >
36+ < script >
3337 var path_to_root = "" ;
3438 var default_theme = window . matchMedia ( "(prefers-color-scheme: dark)" ) . matches ? "navy" : "light" ;
3539 </ script >
36-
40+ <!-- Start loading toc.js asap -->
41+ < script src ="toc.js "> </ script >
42+ </ head >
43+ < body >
44+ < div id ="body-container ">
3745 <!-- Work around some values being stored in localStorage wrapped in quotes -->
38- < script type =" text/javascript " >
46+ < script >
3947 try {
4048 var theme = localStorage . getItem ( 'mdbook-theme' ) ;
4149 var sidebar = localStorage . getItem ( 'mdbook-sidebar' ) ;
5159 </ script >
5260
5361 <!-- Set the theme before any content is loaded, prevents flash -->
54- < script type =" text/javascript " >
62+ < script >
5563 var theme ;
5664 try { theme = localStorage . getItem ( 'mdbook-theme' ) ; } catch ( e ) { }
5765 if ( theme === null || theme === undefined ) { theme = default_theme ; }
58- var html = document . querySelector ( 'html' ) ;
59- html . classList . remove ( 'no-js' )
66+ const html = document . documentElement ;
6067 html . classList . remove ( 'light' )
6168 html . classList . add ( theme ) ;
62- html . classList . add ( 'js' ) ;
69+ html . classList . add ( "js" ) ;
6370 </ script >
6471
72+ < input type ="checkbox " id ="sidebar-toggle-anchor " class ="hidden ">
73+
6574 <!-- Hide / unhide sidebar before it is displayed -->
66- < script type =" text/javascript " >
67- var html = document . querySelector ( 'html' ) ;
68- var sidebar = 'hidden' ;
75+ < script >
76+ var sidebar = null ;
77+ var sidebar_toggle = document . getElementById ( "sidebar-toggle-anchor" ) ;
6978 if ( document . body . clientWidth >= 1080 ) {
7079 try { sidebar = localStorage . getItem ( 'mdbook-sidebar' ) ; } catch ( e ) { }
7180 sidebar = sidebar || 'visible' ;
81+ } else {
82+ sidebar = 'hidden' ;
7283 }
84+ sidebar_toggle . checked = sidebar === 'visible' ;
7385 html . classList . remove ( 'sidebar-visible' ) ;
7486 html . classList . add ( "sidebar-" + sidebar ) ;
7587 </ script >
7688
7789 < nav id ="sidebar " class ="sidebar " aria-label ="Table of contents ">
78- < div class ="sidebar-scrollbox ">
79- < ol class ="chapter "> < li class ="chapter-item expanded "> < a href ="index.html "> < strong aria-hidden ="true "> 1.</ strong > Introduction</ a > </ li > < li class ="chapter-item expanded "> < a href ="features.html "> < strong aria-hidden ="true "> 2.</ strong > Supported Features</ a > </ li > < li class ="chapter-item expanded "> < a href ="faq.html "> < strong aria-hidden ="true "> 3.</ strong > Frequently Asked Questions</ a > </ li > < li class ="chapter-item expanded "> < a href ="guide/index.html "> < strong aria-hidden ="true "> 4.</ strong > Guide</ a > </ li > < li > < ol class ="section "> < li class ="chapter-item expanded "> < a href ="guide/getting_started.html "> < strong aria-hidden ="true "> 4.1.</ strong > Getting Started</ a > </ li > < li class ="chapter-item expanded "> < a href ="guide/tips.html "> < strong aria-hidden ="true "> 4.2.</ strong > Tips</ a > </ li > < li class ="chapter-item expanded "> < a href ="guide/kernel_abi.html "> < strong aria-hidden ="true "> 4.3.</ strong > Kernel ABI</ a > </ li > < li class ="chapter-item expanded "> < a href ="guide/safety.html "> < strong aria-hidden ="true "> 4.4.</ strong > Safety</ a > </ li > </ ol > </ li > < li class ="chapter-item expanded "> < a href ="cuda/index.html "> < strong aria-hidden ="true "> 5.</ strong > The CUDA Toolkit</ a > </ li > < li > < ol class ="section "> < li class ="chapter-item expanded "> < a href ="cuda/gpu_computing.html "> < strong aria-hidden ="true "> 5.1.</ strong > GPU Computing</ a > </ li > < li class ="chapter-item expanded "> < a href ="cuda/pipeline.html "> < strong aria-hidden ="true "> 5.2.</ strong > The CUDA Pipeline</ a > </ li > </ ol > </ li > < li class ="chapter-item expanded "> < a href ="nvvm/index.html "> < strong aria-hidden ="true "> 6.</ strong > rustc_codegen_nvvm</ a > </ li > < li > < ol class ="section "> < li class ="chapter-item expanded "> < a href ="nvvm/technical/index.html "> < strong aria-hidden ="true "> 6.1.</ strong > Technical</ a > </ li > < li > < ol class ="section "> < li class ="chapter-item expanded "> < a href ="nvvm/technical/backends.html "> < strong aria-hidden ="true "> 6.1.1.</ strong > Custom Rustc Backends</ a > </ li > < li class ="chapter-item expanded "> < a href ="nvvm/technical/nvvm.html "> < strong aria-hidden ="true "> 6.1.2.</ strong > rustc_codegen_nvvm</ a > </ li > < li class ="chapter-item expanded "> < a href ="nvvm/technical/types.html "> < strong aria-hidden ="true "> 6.1.3.</ strong > Types</ a > </ li > </ ol > </ li > </ ol > </ li > </ ol >
90+ <!-- populated by js -->
91+ < mdbook-sidebar-scrollbox class ="sidebar-scrollbox "> </ mdbook-sidebar-scrollbox >
92+ < noscript >
93+ < iframe class ="sidebar-iframe-outer " src ="toc.html "> </ iframe >
94+ </ noscript >
95+ < div id ="sidebar-resize-handle " class ="sidebar-resize-handle ">
96+ < div class ="sidebar-resize-indicator "> </ div >
8097 </ div >
81- < div id ="sidebar-resize-handle " class ="sidebar-resize-handle "> </ div >
8298 </ nav >
8399
84100 < div id ="page-wrapper " class ="page-wrapper ">
85101
86102 < div class ="page ">
87103 < div id ="menu-bar-hover-placeholder "> </ div >
88- < div id ="menu-bar " class ="menu-bar sticky bordered ">
104+ < div id ="menu-bar " class ="menu-bar sticky ">
89105 < div class ="left-buttons ">
90- < button id ="sidebar-toggle " class ="icon-button " type =" button " title ="Toggle Table of Contents " aria-label ="Toggle Table of Contents " aria-controls ="sidebar ">
106+ < label id ="sidebar-toggle " class ="icon-button " for =" sidebar-toggle-anchor " title ="Toggle Table of Contents " aria-label ="Toggle Table of Contents " aria-controls ="sidebar ">
91107 < i class ="fa fa-bars "> </ i >
92- </ button >
108+ </ label >
93109 < button id ="theme-toggle " class ="icon-button " type ="button " title ="Change theme " aria-label ="Change theme " aria-haspopup ="true " aria-expanded ="false " aria-controls ="theme-list ">
94110 < i class ="fa fa-paint-brush "> </ i >
95111 </ button >
96112 < ul id ="theme-list " class ="theme-popup " aria-label ="Themes " role ="menu ">
97- < li role ="none "> < button role ="menuitem " class ="theme " id ="light "> Light (default) </ button > </ li >
113+ < li role ="none "> < button role ="menuitem " class ="theme " id ="light "> Light</ button > </ li >
98114 < li role ="none "> < button role ="menuitem " class ="theme " id ="rust "> Rust</ button > </ li >
99115 < li role ="none "> < button role ="menuitem " class ="theme " id ="coal "> Coal</ button > </ li >
100116 < li role ="none "> < button role ="menuitem " class ="theme " id ="navy "> Navy</ button > </ li >
@@ -111,6 +127,7 @@ <h1 class="menu-title">GPU Computing with Rust using CUDA</h1>
111127 < a href ="print.html " title ="Print this book " aria-label ="Print this book ">
112128 < i id ="print-button " class ="fa fa-print "> </ i >
113129 </ a >
130+
114131 </ div >
115132 </ div >
116133
@@ -124,8 +141,9 @@ <h1 class="menu-title">GPU Computing with Rust using CUDA</h1>
124141 </ ul >
125142 </ div >
126143 </ div >
144+
127145 <!-- Apply ARIA attributes after the sidebar and the sidebar toggle button are added to the DOM -->
128- < script type =" text/javascript " >
146+ < script >
129147 document . getElementById ( 'sidebar-toggle' ) . setAttribute ( 'aria-expanded' , sidebar === 'visible' ) ;
130148 document . getElementById ( 'sidebar' ) . setAttribute ( 'aria-hidden' , sidebar !== 'visible' ) ;
131149 Array . from ( document . querySelectorAll ( '#sidebar a' ) ) . forEach ( function ( link ) {
@@ -142,26 +160,38 @@ <h1 id="document-not-found-404"><a class="header" href="#document-not-found-404"
142160
143161 < nav class ="nav-wrapper " aria-label ="Page navigation ">
144162 <!-- Mobile navigation buttons -->
163+
164+
145165 < div style ="clear: both "> </ div >
146166 </ nav >
147167 </ div >
148168 </ div >
149169
150170 < nav class ="nav-wide-wrapper " aria-label ="Page navigation ">
171+
151172 </ nav >
152173
153174 </ div >
154175
155- < script type ="text/javascript ">
176+
177+
178+
179+ < script >
156180 window . playground_copyable = true ;
157181 </ script >
158- < script src ="elasticlunr.min.js " type ="text/javascript " charset ="utf-8 "> </ script >
159- < script src ="mark.min.js " type ="text/javascript " charset ="utf-8 "> </ script >
160- < script src ="searcher.js " type ="text/javascript " charset ="utf-8 "> </ script >
161- < script src ="clipboard.min.js " type ="text/javascript " charset ="utf-8 "> </ script >
162- < script src ="highlight.js " type ="text/javascript " charset ="utf-8 "> </ script >
163- < script src ="book.js " type ="text/javascript " charset ="utf-8 "> </ script >
182+
183+
184+ < script src ="elasticlunr.min.js "> </ script >
185+ < script src ="mark.min.js "> </ script >
186+ < script src ="searcher.js "> </ script >
187+
188+ < script src ="clipboard.min.js "> </ script >
189+ < script src ="highlight.js "> </ script >
190+ < script src ="book.js "> </ script >
164191
165192 <!-- Custom JS scripts -->
193+
194+
195+ </ div >
166196 </ body >
167197</ html >
0 commit comments