Update script for plotting gather data and AOS results for casclakesp2

Signed-off-by: Rafael Ravedutti <rafaelravedutti@gmail.com>
This commit is contained in:
Rafael Ravedutti 2021-07-01 20:02:59 +02:00
parent 5534f1b195
commit 4bde1944cf
2 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ DATA_TYPE ?= DP
# AOS or SOA
DATA_LAYOUT ?= AOS
# Number of times to run the neighbors loop
# Number of times to run the neighbors loop on stubbed variant
NEIGHBORS_LOOP_RUNS ?= 1
# Explicitly store and load atom types
EXPLICIT_TYPES ?= false

View File

@ -24,7 +24,7 @@ with open(filename, 'r') as fp:
if len(line) <= 0 or "likwid-pin" in line:
continue
if line.startswith("Stride,"):
if line.startswith("ISA,"):
status = 1
md_case = True if "Dims" in line else False
continue
@ -37,9 +37,9 @@ with open(filename, 'r') as fp:
if status == 1:
if md_case:
stride, dims, freq, cl_size, vector_width, cache_lines_per_gather = line.split(',')
isa, layout, stride, dims, freq, cl_size, vector_width, cache_lines_per_gather = line.split(',')
else:
stride, freq, cl_size, vector_width, cache_lines_per_gather = line.split(',')
isa, stride, freq, cl_size, vector_width, cache_lines_per_gather = line.split(',')
stride = int(stride)
continue