File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -133,14 +133,13 @@ <h6 style="margin-bottom: 0px; margin-top: 18px">Input a tensor algebra expressi
133
133
< div class ="mdl-grid " style ="padding-top: 6px ">
134
134
< div class ="mdl-layout-spacer "> </ div >
135
135
< div class ="mdl-cell mdl-cell--9-col ">
136
- <!-- <div>
137
- <span style="font-size: 14px;margin-left: 50px">Documentation on the scheduling language can be found here [URL to come].</span>
138
- </div> -->
139
136
< div >
140
137
< button id ="btnSchedule " class ="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect demo-btn " style ="margin-bottom: 10px; width: 30% ">
141
138
Add Scheduling Command
142
139
</ button >
143
140
141
+ < span style ="font-size: 12px; margin-left: 30px "> Documentation on the scheduling language can be found < a href ="http://tensor-compiler.org/docs/scheduling/index.html "> here</ a > .</ span >
142
+
144
143
< div id ="btnDefaults " style ="float: right ">
145
144
< button id ="btnCPU " class ="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect demo-btn " style ="margin-right: 10px; width: inherit ">
146
145
SpMV CPU
Original file line number Diff line number Diff line change @@ -189,8 +189,9 @@ function demo() {
189
189
var command = model . schedule [ i ] [ "command" ] ;
190
190
var parameters = model . schedule [ i ] [ "parameters" ] ;
191
191
for ( var j = 0 ; j < parameters . length ; ++ j ) {
192
- if ( parameters [ j ] && model . isParameterType ( command , j , "default" ) ) {
193
- indices . push ( parameters [ j ] ) ;
192
+ var index = parameters [ j ] ;
193
+ if ( index && model . isParameterType ( command , j , "default" ) && ! indices . includes ( index ) ) {
194
+ indices . push ( index ) ;
194
195
}
195
196
}
196
197
}
You can’t perform that action at this time.
0 commit comments