Peano
Loading...
Searching...
No Matches
print-kernel-speedup Namespace Reference

Functions

 log10_tick_formatter (val, pos=None)
 
 log2_tick_formatter (val, pos=None)
 
 read_kernel_speedup (data_aos, data_soa, kernel, kernel_variant)
 
 read_kernel_speedup_classic (folder, arch, kernel, kernel_variant, pred, sym='false', cell=cells[-1])
 
 read_kernel_speedup_offload (folder, arch, kernel, kernel_variant, cell=cells[-1])
 
 read_kernel_speedup_offload_shmem (folder, arch, kernel, kernel_variant, cell=cells[-1])
 
 print_graph_1 (folder, arch, kernel)
 
 print_graph_2 (folder, arch, kernel)
 
 print_graph_3 (folder, arch, kernel)
 
 print_graph_4 (folder, arch, kernel)
 
 print_graphs (folder)
 

Variables

dict params
 
list cells = ['0064', '0128', '0256', '0512', '1024']
 
list arches = ['x64', 'aarch64']
 
list predicates = ['true', 'false']
 
list symmetry = ['true', 'false']
 
dict kernels
 
dict kernel_names
 
list Colors = [ "#20a040", "#a04020", "#4020a0", "#f0a0f0", "#f06030", "#6030f0" ]
 
list Symbols = [ "-s", "-o", "-^", "-v", "-<", "->" ]
 

Function Documentation

◆ log10_tick_formatter()

print-kernel-speedup.log10_tick_formatter (   val,
  pos = None 
)

Definition at line 13 of file print-kernel-speedup.py.

◆ log2_tick_formatter()

print-kernel-speedup.log2_tick_formatter (   val,
  pos = None 
)

Definition at line 16 of file print-kernel-speedup.py.

◆ print_graph_1()

print-kernel-speedup.print_graph_1 (   folder,
  arch,
  kernel 
)

Definition at line 104 of file print-kernel-speedup.py.

References read_kernel_speedup_classic().

Referenced by print_graphs().

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

◆ print_graph_2()

print-kernel-speedup.print_graph_2 (   folder,
  arch,
  kernel 
)

Definition at line 142 of file print-kernel-speedup.py.

References read_kernel_speedup_classic().

Referenced by print_graphs().

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

◆ print_graph_3()

print-kernel-speedup.print_graph_3 (   folder,
  arch,
  kernel 
)

Definition at line 180 of file print-kernel-speedup.py.

References read_kernel_speedup_offload().

Referenced by print_graphs().

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

◆ print_graph_4()

print-kernel-speedup.print_graph_4 (   folder,
  arch,
  kernel 
)

Definition at line 219 of file print-kernel-speedup.py.

References read_kernel_speedup_offload_shmem().

Referenced by print_graphs().

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

◆ print_graphs()

print-kernel-speedup.print_graphs (   folder)

Definition at line 255 of file print-kernel-speedup.py.

References print_graph_1(), print_graph_2(), print_graph_3(), print_graph_4(), and print_graphs().

Referenced by print_graphs().

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

◆ read_kernel_speedup()

print-kernel-speedup.read_kernel_speedup (   data_aos,
  data_soa,
  kernel,
  kernel_variant 
)

Definition at line 75 of file print-kernel-speedup.py.

Referenced by read_kernel_speedup_classic(), read_kernel_speedup_offload(), and read_kernel_speedup_offload_shmem().

Here is the caller graph for this function:

◆ read_kernel_speedup_classic()

print-kernel-speedup.read_kernel_speedup_classic (   folder,
  arch,
  kernel,
  kernel_variant,
  pred,
  sym = 'false',
  cell = cells[-1] 
)

Definition at line 84 of file print-kernel-speedup.py.

References read_kernel_speedup().

Referenced by print_graph_1(), and print_graph_2().

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

◆ read_kernel_speedup_offload()

print-kernel-speedup.read_kernel_speedup_offload (   folder,
  arch,
  kernel,
  kernel_variant,
  cell = cells[-1] 
)

Definition at line 89 of file print-kernel-speedup.py.

References read_kernel_speedup().

Referenced by print_graph_3().

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

◆ read_kernel_speedup_offload_shmem()

print-kernel-speedup.read_kernel_speedup_offload_shmem (   folder,
  arch,
  kernel,
  kernel_variant,
  cell = cells[-1] 
)

Definition at line 94 of file print-kernel-speedup.py.

References read_kernel_speedup().

Referenced by print_graph_4().

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

Variable Documentation

◆ arches

list print-kernel-speedup.arches = ['x64', 'aarch64']

Definition at line 43 of file print-kernel-speedup.py.

◆ cells

list print-kernel-speedup.cells = ['0064', '0128', '0256', '0512', '1024']

Definition at line 42 of file print-kernel-speedup.py.

◆ Colors

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

Definition at line 99 of file print-kernel-speedup.py.

◆ kernel_names

dict print-kernel-speedup.kernel_names
Initial value:
1= {
2 'scattered,generic': 'generic scat.',
3 'continuous,generic': 'generic cont.',
4 'continuous,coalesced': 'coalesced cont.',
5 'continuous,local-active-coalesced': 'coalesced local-active cont.',
6 'continuous,active-local-coalesced': 'coalesced active-local cont.',
7}

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

◆ kernels

dict print-kernel-speedup.kernels
Initial value:
1= {
2 'force': ['scattered,generic',
3 'continuous,generic',
4 'continuous,local-active-coalesced',
5 'continuous,active-local-coalesced'],
6 'density': ['scattered,generic',
7 'continuous,generic',
8 'continuous,local-active-coalesced',
9 'continuous,active-local-coalesced'],
10 'kick1': ['scattered,generic',
11 'continuous,generic',
12 'continuous,coalesced'],
13 'kick2': ['scattered,generic',
14 'continuous,generic',
15 'continuous,coalesced'],
16 'drift': ['scattered,generic',
17 'continuous,generic',
18 'continuous,coalesced'],
19}

Definition at line 47 of file print-kernel-speedup.py.

◆ params

dict print-kernel-speedup.params
Initial value:
1= {
2 "axes.labelsize": 20,
3 "axes.titlesize": 20,
4 "font.size": 20,
5 "font.family": "serif",
6 "legend.fontsize": 20,
7 "xtick.labelsize": 16,
8 "ytick.labelsize": 16,
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": 20,
17 "text.usetex": True,
18 "figure.dpi": 300,
19 "figure.autolayout": True,
20 # 'figure.figsize': (10,10),
21}

Definition at line 19 of file print-kernel-speedup.py.

◆ predicates

list print-kernel-speedup.predicates = ['true', 'false']

Definition at line 44 of file print-kernel-speedup.py.

◆ Symbols

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

Definition at line 100 of file print-kernel-speedup.py.

◆ symmetry

list print-kernel-speedup.symmetry = ['true', 'false']

Definition at line 45 of file print-kernel-speedup.py.