|
22 | 22 | <script src="javascripts/FileSaver.min.js"></script>
|
23 | 23 | <script src="javascripts/parser.js"></script>
|
24 | 24 | <script src="javascripts/demo.js"></script>
|
| 25 | + <script type="text/x-mathjax-config"> |
| 26 | + MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}}); |
| 27 | + </script> |
| 28 | + <script type="text/javascript" |
| 29 | + src="http://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"> |
| 30 | + </script> |
25 | 31 | </head>
|
26 | 32 | <body>
|
27 | 33 | <!-- Always shows a header, even in smaller screens. -->
|
@@ -79,14 +85,38 @@ <h6 style="margin-bottom: 0px; margin-top: 18px">Input a tensor algebra expressi
|
79 | 85 | <table class="mdl-data-table mdl-js-data-table" style="width: 100%; margin-bottom: 8px">
|
80 | 86 | <thead>
|
81 | 87 | <tr>
|
82 |
| - <th class="mdl-data-table__cell--non-numeric" width="100"><div align="center" style="position:relative"><big>Tensor</big></div></th> |
| 88 | + <th class="mdl-data-table__cell--non-numeric" width="100"> |
| 89 | + <div align="center" style="position:relative"><big>Tensor</big></div></th> |
83 | 90 | <th class="mdl-data-table__cell--non-numeric" width="120px"
|
84 | 91 | style="padding-left: 0px">
|
85 | 92 | <div style="display:inline"><big>Format </big></div>
|
86 | 93 | </th>
|
87 | 94 | <th class="mdl-data-table__cell--non-numeric" style="padding-left: 7px">
|
88 | 95 | <div style="display:inline"><big>Level Formats </big></div>
|
89 |
| - <div style="display:inline">(reorder dimensions by dragging the drop-down menus)</div> |
| 96 | + <div style="display:inline; margin-right:10px">(reorder dimensions by dragging the drop-down menus)</div> |
| 97 | + <div style="display:inline; vertical-align: middle"> |
| 98 | + <button id="btnHelp" class="help-btn mdl-button mdl-js-button mdl-button--icon"> |
| 99 | + <i class="material-icons" style="font-size:20px">help_outline</i> |
| 100 | + </button> |
| 101 | + <div id="helpMenu" class="help-menu mdl-menu mdl-js-menu mdl-js-ripple-effect" for="btnHelp"> |
| 102 | + <p> |
| 103 | + <strong>Dense</strong> levels store the size of the dimension $(N)$ and encode the coordinates in the interval $[0, N)$. |
| 104 | + <img src="images/dense.png" class="centered-img" style="height: 35px"> |
| 105 | + </p> |
| 106 | + <p> |
| 107 | + <strong>Sparse</strong> levels store coordinates in a segment of the $\texttt{crd}$ array, with segment bounds stored in the $\texttt{pos}$ array. |
| 108 | + <img src="images/sparse.png" class="centered-img" style="height: 60px"> |
| 109 | + </p> |
| 110 | + <p> |
| 111 | + <strong>Singleton</strong> levels store individual coordinates (with no siblings) in the $\texttt{crd}$ array. |
| 112 | + <img src="images/singleton.png" class="centered-img" style="height: 40px"> |
| 113 | + </p> |
| 114 | + <p> |
| 115 | + A level is <strong>unique (U)</strong> if no collection of coordinates that share the same ancestors contains duplicates, and it is <strong>not unique (¬U)</strong> otherwise. |
| 116 | + </p> |
| 117 | + <p style="margin-bottom: 0"> More info on taco's tensor formats can be found <a href="http://tensor-compiler.org/chou-oopsla18-taco-formats.pdf">here</a>.</p> |
| 118 | + </div> |
| 119 | + </div> |
90 | 120 | </th>
|
91 | 121 | </tr>
|
92 | 122 | </thead>
|
|
0 commit comments