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.
 
 
 
 
 
 

17 lines
1.9 KiB

<?xml version="1.0" encoding="UTF-8"?>
<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" author="user" created="2024-02-04" changedby="user" changed="2024-02-04" origin="Structorizer 3.32-15" text="&#34;Benchmark()&#34;" comment="" color="ffffff" type="program" style="nice">
<children>
<instruction text="&#34;src &#60;- allocate source memory&#34;,&#34;dst &#60;- allocate destination memory&#34;" comment="" color="ffffff" rotated="0" disabled="0"></instruction>
<instruction text="&#34;memset(src, 0xAB, size)&#34;,&#34;memset(dst, 0xAB, size)&#34;" comment="" color="ffffff" rotated="0" disabled="0"></instruction>
<for text="&#34;for amount of repetitions&#34;" comment="" counterVar="dummy_counter" startValue="amount of repetitions" stepConst="1" style="FREETEXT" color="ffffff" disabled="0">
<qFor>
<instruction text="&#34;dml::flush_cache(src, size)&#34;,&#34;dml::flush_cache(dst, size)&#34;" comment="" color="ffffff" rotated="0" disabled="0"></instruction>
<instruction text="&#34;threads &#60;- thread pool&#34;,&#34;with BenchmarkInner()&#34;" comment="&#34;&#34;" color="ffffff" rotated="0" disabled="0"></instruction>
<instruction text="&#34;begin time measurement&#34;" comment="" color="ffff80" rotated="0" disabled="0"></instruction>
<instruction text="&#34;LAUNCH_BARRIER.set()&#34;" comment="" color="ffffff" rotated="0" disabled="0"></instruction>
<instruction text="&#34;for all t in threads: t.join()&#34;" comment="" color="ffffff" rotated="0" disabled="0"></instruction>
<instruction text="&#34;end time measurement&#34;" comment="" color="ffff80" rotated="0" disabled="0"></instruction>
</qFor>
</for>
</children>
</root>