Peano 4
Loading...
Searching...
No Matches
plot Namespace Reference

-lift-drop-statistics More...

Functions

 main ()
 
 parse_file (args)
 
 search_for_entries (data_lines, device, call_semantics, data_flow)
 Search for entries for particular argument combination We return two lists: The first one gives the throughput for one compute kernel while the second one gives the total throughput per measurement including kernel launch overhead.
 

Variables

str preamble = r"\usepackage{amsmath,amssymb}"
 
list Devices = ["host", "device(s)"]
 
list CallSemantics = ["functors", "stateless"]
 
list DataFlow = ["batched", "patch-wise", "volume-wise"]
 
list Markers = ["o", "s", "<", ">", "^", "v", "D"]
 
list Colours
 
list OutputFormats
 
str output_format = "png"
 

Detailed Description

-lift-drop-statistics

A simple Python script to visualise the number of lifts, drops, ... over the simulation runtime.

Function Documentation

◆ main()

plot.main ( )

Definition at line 52 of file plot.py.

References parse_file(), and search_for_entries().

Referenced by search_for_entries().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ parse_file()

plot.parse_file ( args)

Definition at line 176 of file plot.py.

Referenced by main().

Here is the caller graph for this function:

◆ search_for_entries()

plot.search_for_entries ( data_lines,
device,
call_semantics,
data_flow )

Search for entries for particular argument combination We return two lists: The first one gives the throughput for one compute kernel while the second one gives the total throughput per measurement including kernel launch overhead.

Definition at line 199 of file plot.py.

References main().

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ CallSemantics

list plot.CallSemantics = ["functors", "stateless"]

Definition at line 25 of file plot.py.

◆ Colours

list plot.Colours
Initial value:
1= [
2 "#ff0000",
3 "#00ff00",
4 "#0000ff",
5 "#abab00",
6 "#ab00ab",
7 "#00abab",
8 "#787878",
9 "#ffab50",
10 "#ff50ab",
11 "#abff50",
12 "#50ffab",
13 "#50abff",
14 "#ab50ff",
15]

Definition at line 29 of file plot.py.

◆ DataFlow

list plot.DataFlow = ["batched", "patch-wise", "volume-wise"]

Definition at line 26 of file plot.py.

◆ Devices

list plot.Devices = ["host", "device(s)"]

Definition at line 24 of file plot.py.

◆ Markers

list plot.Markers = ["o", "s", "<", ">", "^", "v", "D"]

Definition at line 28 of file plot.py.

◆ output_format

str plot.output_format = "png"

Definition at line 49 of file plot.py.

◆ OutputFormats

list plot.OutputFormats
Initial value:
1= [
2 "png",
3 "pdf",
4 "pgf",
5]

Definition at line 44 of file plot.py.

◆ preamble

str plot.preamble = r"\usepackage{amsmath,amssymb}"

Definition at line 12 of file plot.py.