This contains my bachelors thesis and associated tex files, code snippets and maybe more. Topic: Data Movement in Heterogeneous Memories with Intel Data Streaming Accelerator
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
2.1 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <root xmlns:nsd="https://structorizer.fisch.lu" version="3.32-15" preRepeat="until " postFor="to" preReturn="return" postForIn="in" preWhile="while " output="OUTPUT" input="INPUT" preFor="for" preExit="exit" preLeave="leave" ignoreCase="true" preThrow="throw" preForIn="foreach" stepFor="by" namespace="" author="user" created="2024-02-04" changedby="user" changed="2024-02-04" origin="Structorizer 3.32-15" text="&#34;BenchmarkInner()&#34;" comment="&#34;&#34;" color="ffffff" type="program" style="nice">
  3. <children>
  4. <for text="&#34;for amount of inner repetitions&#34;" comment="&#34;&#34;" counterVar="dummy_counter" startValue="amount of inner repetitions" stepConst="1" style="FREETEXT" color="ffffff" disabled="0">
  5. <qFor>
  6. <case text="&#34;mode&#34;,&#34;single submit&#34;,&#34;batch submit&#34;,&#34;%&#34;" comment="&#34;&#34;" color="ffffff" disabled="0">
  7. <qCase>
  8. <instruction text="&#34;handler &#60;- dml::submit(dml::memcopy, src, dst, size)&#34;" comment="&#34;&#34;" color="ffffff" rotated="0" disabled="0"></instruction>
  9. </qCase>
  10. <qCase>
  11. <instruction text="&#34;sequence &#60;- dml::sequence(batchsize)&#34;" comment="&#34;&#34;" color="ffffff" rotated="0" disabled="0"></instruction>
  12. <for text="&#34;for batchsize&#34;" comment="&#34;&#34;" counterVar="dummy_counter" startValue="batchsize" stepConst="1" style="FREETEXT" color="ffffff" disabled="0">
  13. <qFor>
  14. <instruction text="&#34;sequence.add(dml::memcopy, src, dst, size)&#34;" comment="&#34;&#34;" color="ffffff" rotated="0" disabled="0"></instruction>
  15. </qFor>
  16. </for>
  17. <instruction text="&#34;handler &#60;- dml::submit(dml::batch, sequence)&#34;" comment="&#34;&#34;" color="ffffff" rotated="0" disabled="0"></instruction>
  18. </qCase>
  19. <qCase color="ffffff">
  20. </qCase>
  21. </case>
  22. <instruction text="&#34;result &#60;- handler.get()&#34;" comment="&#34;&#34;" color="ffffff" rotated="0" disabled="0"></instruction>
  23. <instruction text="&#34;assert result.status == dml::ok&#34;" comment="&#34;&#34;" color="ffffff" rotated="0" disabled="0"></instruction>
  24. </qFor>
  25. </for>
  26. </children>
  27. </root>