|
1 |
| -# Unified Memory Heterogenous Computing Showcase |
| 1 | +# Unified Memory Heterogenous Computing Showcase |
| 2 | + |
| 3 | +This is the software project to demonstrate heterogenous computing. |
| 4 | +This project is accompanying the presentation "Introduction into Shared Memory Programming on Heterogeneous Systems" from the parallel 2018 conference. |
| 5 | + |
| 6 | +## Demo overview |
| 7 | + |
| 8 | +The demo contains two executables. |
| 9 | +The first is a basic data generator that mimicks a sensor that regularly emits measurements. |
| 10 | +The second executable is a data processing and visualization tool that displays multiple line charts. |
| 11 | + |
| 12 | +### sensor |
| 13 | + |
| 14 | +The sensor executable takes up to two positional command line arguments: |
| 15 | +1. number of sensors to mimick |
| 16 | +2. emittance timing in microseconds |
| 17 | + |
| 18 | +Example output for 4 sensors and approximately one measurement each 2000 microseconds (2 milliseconds): |
| 19 | +```bash |
| 20 | +$ ./sensor 4 2000 |
| 21 | +49;96.5644;101.006;99.7248;89.3221 |
| 22 | +2301;97.3029;100.952;99.6132;90.5318 |
| 23 | +4451;98.0413;100.899;99.5016;91.7415 |
| 24 | +6601;98.7798;100.846;99.39;92.9512 |
| 25 | +8703;99.5183;100.793;99.2784;94.1609 |
| 26 | +10796;100.257;100.74;99.1668;95.3706 |
| 27 | +12898;100.995;100.687;99.0552;96.5803 |
| 28 | +15038;101.734;100.634;98.9436;97.79 |
| 29 | +17180;102.472;100.581;98.832;98.9997 |
| 30 | +19328;103.211;100.527;98.7204;100.209 |
| 31 | +21487;103.949;100.474;98.6088;101.419 |
| 32 | +``` |
| 33 | + |
| 34 | +### unifiedmemory |
| 35 | + |
| 36 | +Example command line: |
| 37 | +```bash |
| 38 | +$ ./sensor 4 20 | ./unifiedmemory |
| 39 | +``` |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | +## Build from Source |
| 44 | + |
| 45 | +This project depends on the following libraries: |
| 46 | + |
| 47 | +* [CMake](https://cmake.org/) 3.0 or higher |
| 48 | +* [glm](https://github.com/g-truc/glm) 0.9.7 or higher |
| 49 | +* [glfw](http://www.glfw.org/) 3.0 or higher |
| 50 | +* [glbinding](https://github.com/cginternals/glbinding) 3.0 or higher |
| 51 | +* [cpplocate](https://github.com/cginternals/cpplocate) latest release |
0 commit comments