Skip to content
INF8601 scrachpad
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
01-pthread-base
02-pthread-stack
03-pthread-recursive
04-pthread-max
05-pthread-pool
06-pthread-image
07-pthread-rwlock
08-pthread-mutex
09-pthread-cond-lost
09-pthread-cond-wait
10-cpp-lambda
11-tbb-parallel-for
12-tbb-parallel-reduce
13-tbb-parallel-sort
14-speedup
15-parallel_sort_perf
16-cache-align
17-cache-pmu
18-cache-patterns
19-omp-base
20-omp-speedup
21-omp-scope
22-omp-seq
23-omp-task
24-omp-atomic
25-simd-base
26-simd-autovec
27-race
28-memcheck
29-deadlock
30-bitfields
31-static-check
33-bandwith-flops
34-stream
35-roofline
36-cache-size
37-tbb-simd
37-tbb-simd2
mpi
opencl
res
uppaal
.gitignore
README.md
inf8601-scratchpad.pro

README.md

INF8601 Scratchpad

Demo and examples for the INF8601 course at Polytechnique Montréal.

Compile the sources

First, install the dependencies. On Ubuntu Linux:

apt-get install build-essential qtcreator qtbase5-dev libtbb-dev libopenmpi-dev clang

Open the project file inf8601-scratchpad.pro with qtcreator. The build is a shadow build by default, meaning that the binaries are located outside the source directory.

Add example

Examples are defined as a subproject. They are numbered to keep them sorted.

Tracing and performance measurement

  • Instructions to install and configure LTTng, refer to http://lttng.org/download/
  • Linux Perf (performance counters, either software or hardware)
sudo apt-get install linux-tools-$(uname -r)
  • Valgrind and KCacheGrind
sudo apt-get install valgrind kcachegrind
You can’t perform that action at this time.