@@ -38,50 +38,50 @@ function checkAnswer(questionName, rightAnswer, resultId) {
3838
3939<div id="question3">
4040 <p>3. What is the default Execution Space called in Kokkos?</p>
41- <input type="radio" name="q3" value="a"> Kokkos::DefaultExecutionSpace<br>
42- <input type="radio" name="q3" value="b"> Kokkos::MainExecutionSpace<br>
43- <input type="radio" name="q3" value="c"> Kokkos::PrimaryExecutionSpace<br>
44- <input type="radio" name="q3" value="d"> Kokkos::BaseExecutionSpace<br>
41+ <input type="radio" name="q3" value="a"> <code> Kokkos::DefaultExecutionSpace</code> <br>
42+ <input type="radio" name="q3" value="b"> <code> Kokkos::MainExecutionSpace</code> <br>
43+ <input type="radio" name="q3" value="c"> <code> Kokkos::PrimaryExecutionSpace</code> <br>
44+ <input type="radio" name="q3" value="d"> <code> Kokkos::BaseExecutionSpace</code> <br>
4545 <button onclick="checkAnswer('q3', 'a', 'result3')">Submit</button>
4646 <p id="result3"></p>
4747</div>
4848
4949<div id="question4">
5050 <p>4. What method is used to synchronize an Execution Space?</p>
51- <input type="radio" name="q4" value="a"> sync()<br>
52- <input type="radio" name="q4" value="b"> wait()<br>
53- <input type="radio" name="q4" value="c"> fence()<br>
54- <input type="radio" name="q4" value="d"> barrier()<br>
51+ <input type="radio" name="q4" value="a"> <code> sync()</code> <br>
52+ <input type="radio" name="q4" value="b"> <code> wait()</code> <br>
53+ <input type="radio" name="q4" value="c"> <code> fence()</code> <br>
54+ <input type="radio" name="q4" value="d"> <code> barrier()</code> <br>
5555 <button onclick="checkAnswer('q4', 'c', 'result4')">Submit</button>
5656 <p id="result4"></p>
5757</div>
5858
5959<div id="question5">
6060 <p>5. What macro is used to make a function compatible with different Execution Spaces?</p>
61- <input type="radio" name="q5" value="a"> KOKKOS_FUNCTION<br>
62- <input type="radio" name="q5" value="b"> KOKKOS_INLINE_FUNCTION<br>
63- <input type="radio" name="q5" value="c"> KOKKOS_EXEC_FUNCTION<br>
64- <input type="radio" name="q5" value="d"> KOKKOS_PORTABLE_FUNCTION<br>
61+ <input type="radio" name="q5" value="a"> <code> KOKKOS_FUNCTION</code> <br>
62+ <input type="radio" name="q5" value="b"> <code> KOKKOS_INLINE_FUNCTION</code> <br>
63+ <input type="radio" name="q5" value="c"> <code> KOKKOS_EXEC_FUNCTION</code> <br>
64+ <input type="radio" name="q5" value="d"> <code> KOKKOS_PORTABLE_FUNCTION</code> <br>
6565 <button onclick="checkAnswer('q5', 'b', 'result5')">Submit</button>
6666 <p id="result5"></p>
6767</div>
6868
6969<div id="question6">
7070 <p>6. Which Execution Space is always set, regardless of the backend used?</p>
71- <input type="radio" name="q6" value="a"> Kokkos::Cuda<br>
72- <input type="radio" name="q6" value="b"> Kokkos::OpenMP<br>
73- <input type="radio" name="q6" value="c"> Kokkos::Serial<br>
74- <input type="radio" name="q6" value="d"> Kokkos::Threads<br>
71+ <input type="radio" name="q6" value="a"> <code> Kokkos::Cuda</code> <br>
72+ <input type="radio" name="q6" value="b"> <code> Kokkos::OpenMP</code> <br>
73+ <input type="radio" name="q6" value="c"> <code> Kokkos::Serial</code> <br>
74+ <input type="radio" name="q6" value="d"> <code> Kokkos::Threads</code> <br>
7575 <button onclick="checkAnswer('q6', 'c', 'result6')">Submit</button>
7676 <p id="result6"></p>
7777</div>
7878
7979<div id="question7">
8080 <p>7. How do you specify the Execution Space in an execution policy?</p>
81- <input type="radio" name="q7" value="a"> Kokkos::RangePolicy<ExecutionSpace>(...)<br>
82- <input type="radio" name="q7" value="b"> Kokkos::Policy<ExecutionSpace>(...)<br>
83- <input type="radio" name="q7" value="c"> Kokkos::ExecPolicy<ExecutionSpace>(...)<br>
84- <input type="radio" name="q7" value="d"> Kokkos::ParallelPolicy<ExecutionSpace>(...)<br>
81+ <input type="radio" name="q7" value="a"> <code> Kokkos::RangePolicy<ExecutionSpace>(...)</code> <br>
82+ <input type="radio" name="q7" value="b"> <code> Kokkos::Policy<ExecutionSpace>(...)</code> <br>
83+ <input type="radio" name="q7" value="c"> <code> Kokkos::ExecPolicy<ExecutionSpace>(...)</code> <br>
84+ <input type="radio" name="q7" value="d"> <code> Kokkos::ParallelPolicy<ExecutionSpace>(...)</code> <br>
8585 <button onclick="checkAnswer('q7', 'a', 'result7')">Submit</button>
8686 <p id="result7"></p>
8787</div>
0 commit comments