Peano
Loading...
Searching...
No Matches
print-kernel-throughput-2 Namespace Reference

Functions

 read_data (folder_name, kernel_name)
 returns { 'cell size' : [ (xdata, ydata) for aos, (xdata, ydata) for soa ], }
 
 read_data_gpu (folder_name, kernel_name)
 returns { 'cell size' : [ (xdata, ydata) for aos - always empty, (xdata, ydata) for soa ], }
 
 read_data_gpu_shmem (folder_name, kernel_name)
 returns { 'cell size' : [ (xdata, ydata) for aos - always empty, (xdata, ydata) for soa ], }
 
 process_folder (folder_name)
 
 process_folder_gpu (folder_name)
 
 process_folder_gpu_shmem (folder_name)
 
 process_folder_speedup (folder_name)
 
 process_folder_fixed_ppc (folder_name)
 
 process_folder_fixed_ppc_relative (folder_name)
 

Variables

dict params
 
list CELL_SIZES = ['0064', '0128', '0256', '0512', '1024']
 
list Kernels = [ "density", "force", "kick1", "kick2", "drift" ]
 
dict KernelName
 
dict ImplementationVariant
 
dict ImplementationVariant_FixedPPC
 
dict ImplementationVariant_GPU
 
dict ImplementationVariantName
 
list Colors = [ "#20a040", "#a04020", "#4020a0", "#f0a0f0", "#f06030", "#6030f0", "#2080a0", "#a0a020", "#a020a0", "#20a080", "#a08020" ]
 
list Symbols = [ "s", "o", "^", "v", "<", ">", "1", "2", "3", "4", "p" ]
 
dict LineStyles = { 'aos': '--', 'soa': ':'}
 
int ParticleSize = 272
 
dict L2CacheSizeMap
 

Function Documentation

◆ process_folder()

print-kernel-throughput-2.process_folder (   folder_name)

Definition at line 292 of file print-kernel-throughput-2.py.

References read_data().

Referenced by process_folder_fixed_ppc_relative().

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

◆ process_folder_fixed_ppc()

print-kernel-throughput-2.process_folder_fixed_ppc (   folder_name)

Definition at line 616 of file print-kernel-throughput-2.py.

References read_data().

Referenced by process_folder_fixed_ppc_relative().

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

◆ process_folder_fixed_ppc_relative()

print-kernel-throughput-2.process_folder_fixed_ppc_relative (   folder_name)

Definition at line 746 of file print-kernel-throughput-2.py.

References process_folder(), process_folder_fixed_ppc(), process_folder_fixed_ppc_relative(), process_folder_gpu(), process_folder_gpu_shmem(), process_folder_speedup(), and read_data().

Referenced by process_folder_fixed_ppc_relative().

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

◆ process_folder_gpu()

print-kernel-throughput-2.process_folder_gpu (   folder_name)

Definition at line 376 of file print-kernel-throughput-2.py.

References read_data_gpu().

Referenced by process_folder_fixed_ppc_relative().

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

◆ process_folder_gpu_shmem()

print-kernel-throughput-2.process_folder_gpu_shmem (   folder_name)

Definition at line 463 of file print-kernel-throughput-2.py.

References read_data_gpu_shmem().

Referenced by process_folder_fixed_ppc_relative().

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

◆ process_folder_speedup()

print-kernel-throughput-2.process_folder_speedup (   folder_name)

Definition at line 551 of file print-kernel-throughput-2.py.

References read_data().

Referenced by process_folder_fixed_ppc_relative().

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

◆ read_data()

print-kernel-throughput-2.read_data (   folder_name,
  kernel_name 
)

returns { 'cell size' : [ (xdata, ydata) for aos, (xdata, ydata) for soa ], }

Definition at line 38 of file print-kernel-throughput-2.py.

Referenced by process_folder(), process_folder_fixed_ppc(), process_folder_fixed_ppc_relative(), and process_folder_speedup().

Here is the caller graph for this function:

◆ read_data_gpu()

print-kernel-throughput-2.read_data_gpu (   folder_name,
  kernel_name 
)

returns { 'cell size' : [ (xdata, ydata) for aos - always empty, (xdata, ydata) for soa ], }

Definition at line 73 of file print-kernel-throughput-2.py.

Referenced by process_folder_gpu().

Here is the caller graph for this function:

◆ read_data_gpu_shmem()

print-kernel-throughput-2.read_data_gpu_shmem (   folder_name,
  kernel_name 
)

returns { 'cell size' : [ (xdata, ydata) for aos - always empty, (xdata, ydata) for soa ], }

Definition at line 107 of file print-kernel-throughput-2.py.

Referenced by process_folder_gpu_shmem().

Here is the caller graph for this function:

Variable Documentation

◆ CELL_SIZES

list print-kernel-throughput-2.CELL_SIZES = ['0064', '0128', '0256', '0512', '1024']

Definition at line 36 of file print-kernel-throughput-2.py.

◆ Colors

list print-kernel-throughput-2.Colors = [ "#20a040", "#a04020", "#4020a0", "#f0a0f0", "#f06030", "#6030f0", "#2080a0", "#a0a020", "#a020a0", "#20a080", "#a08020" ]

Definition at line 281 of file print-kernel-throughput-2.py.

◆ ImplementationVariant

dict print-kernel-throughput-2.ImplementationVariant

Definition at line 152 of file print-kernel-throughput-2.py.

◆ ImplementationVariant_FixedPPC

dict print-kernel-throughput-2.ImplementationVariant_FixedPPC

Definition at line 187 of file print-kernel-throughput-2.py.

◆ ImplementationVariant_GPU

dict print-kernel-throughput-2.ImplementationVariant_GPU

Definition at line 225 of file print-kernel-throughput-2.py.

◆ ImplementationVariantName

dict print-kernel-throughput-2.ImplementationVariantName
Initial value:
1= {
2 '(scattered,generic)': 'generic (scat.)',
3 '(continuous,generic)': 'generic (cont.)',
4 '(continuous,coalesced)': 'coalesced (cont.)',
5 '(continuous,preamble)': 'coalesced (prea.)',
6 '(scattered,generic,dist-check)': 'generic (scat. with branching)',
7 '(continuous,generic,dist-check)': 'generic (cont. with branching)',
8 '(continuous,local-active-coalesced,dist-check)': 'coalesced local-active (cont. with branching)',
9 '(continuous,active-local-coalesced,dist-check)': 'coalesced active-local (cont. with branching)',
10 '(continuous,active-local-preamble,dist-check)': 'coalesced active-local (cont. with branching and preamble)',
11 '(continuous,local-active-preamble,dist-check)': 'coalesced local-active (cont. with branching and preamble)',
12 '(scattered,generic,no-dist-check)': 'generic (scat. with masking)',
13 '(continuous,generic,no-dist-check)': 'generic (cont. with masking)',
14 '(continuous,local-active-coalesced,no-dist-check)': 'coalesced local-active (cont. with masking)',
15 '(continuous,active-local-coalesced,no-dist-check)': 'coalesced active-local (cont. with masking)',
16}

Definition at line 264 of file print-kernel-throughput-2.py.

◆ KernelName

dict print-kernel-throughput-2.KernelName
Initial value:
1= {
2 'density' : 'density',
3 'force' : 'force',
4 'kick1' : '1st kick',
5 'kick2' : '2nd kick',
6 'drift' : 'drift',
7}

Definition at line 144 of file print-kernel-throughput-2.py.

◆ Kernels

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

Definition at line 142 of file print-kernel-throughput-2.py.

◆ L2CacheSizeMap

dict print-kernel-throughput-2.L2CacheSizeMap
Initial value:
1= {
2 'gi001': 1024*1024*2*56,
3 'gn003': 1024*1024*72,
4}

Definition at line 287 of file print-kernel-throughput-2.py.

◆ LineStyles

dict print-kernel-throughput-2.LineStyles = { 'aos': '--', 'soa': ':'}

Definition at line 283 of file print-kernel-throughput-2.py.

◆ params

dict print-kernel-throughput-2.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 12 of file print-kernel-throughput-2.py.

◆ ParticleSize

int print-kernel-throughput-2.ParticleSize = 272

Definition at line 285 of file print-kernel-throughput-2.py.

◆ Symbols

list print-kernel-throughput-2.Symbols = [ "s", "o", "^", "v", "<", ">", "1", "2", "3", "4", "p" ]

Definition at line 282 of file print-kernel-throughput-2.py.