Loading [MathJax]/extensions/tex2jax.js
Peano
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages Concepts
print-kernel-throughput Namespace Reference

Functions

 read_file (file_name, kernel_name)
 Read one output file.
 
 process_file (filename)
 

Variables

dict params
 
list Kernels = [ "density", "force", "kick1", "kick2", "drift" ]
 
list ImplementationVariant = [ "(baseline)", "(predicates)", "(coalesced,native)", "(prefix,native)", "(offloading,omp)" ]
 
list Colors = [ "#20a040", "#a04020", "#4020a0", "#f0a0f0", "#f06030", "#6030f0" ]
 
list Symbols = [ "-s", "-o", "-^", "-v", "-<", "->" ]
 
 file = sys.argv[1]
 

Function Documentation

◆ process_file()

print-kernel-throughput.process_file ( filename)

Definition at line 70 of file print-kernel-throughput.py.

References read_file().

Here is the call graph for this function:

◆ read_file()

print-kernel-throughput.read_file ( file_name,
kernel_name )

Read one output file.

Parses one input file identified through file_name and returns two lists: the first one is a list of the number of particles, the second gives the timings. We only parse data from one kernel type identified through kernel_name.

Definition at line 33 of file print-kernel-throughput.py.

Referenced by process_file().

Here is the caller graph for this function:

Variable Documentation

◆ Colors

list print-kernel-throughput.Colors = [ "#20a040", "#a04020", "#4020a0", "#f0a0f0", "#f06030", "#6030f0" ]

Definition at line 66 of file print-kernel-throughput.py.

◆ file

print-kernel-throughput.file = sys.argv[1]

Definition at line 121 of file print-kernel-throughput.py.

◆ ImplementationVariant

list print-kernel-throughput.ImplementationVariant = [ "(baseline)", "(predicates)", "(coalesced,native)", "(prefix,native)", "(offloading,omp)" ]

Definition at line 65 of file print-kernel-throughput.py.

◆ Kernels

list print-kernel-throughput.Kernels = [ "density", "force", "kick1", "kick2", "drift" ]

Definition at line 64 of file print-kernel-throughput.py.

◆ params

dict print-kernel-throughput.params
Initial value:
1= {
2 "axes.labelsize": 14,
3 "axes.titlesize": 14,
4 "font.size": 14,
5 "font.family": "serif",
6 "legend.fontsize": 14,
7 "xtick.labelsize": 14,
8 "ytick.labelsize": 14,
9 "xtick.direction": "in",
10 "ytick.direction": "in",
11 "xtick.top": True,
12 "ytick.right": True,
13 "xtick.major.width": 1.5,
14 "ytick.major.width": 1.5,
15 "axes.linewidth": 1.5,
16 "axes.labelsize": 16,
17 "text.usetex": True,
18 "figure.dpi": 300
19}

Definition at line 11 of file print-kernel-throughput.py.

◆ Symbols

list print-kernel-throughput.Symbols = [ "-s", "-o", "-^", "-v", "-<", "->" ]

Definition at line 67 of file print-kernel-throughput.py.