Skip to content
Snippets Groups Projects
Commit 7c437d92 authored by Markus Holzer's avatar Markus Holzer
Browse files

New try

parent 88c1b63a
Branches
No related tags found
No related merge requests found
Pipeline #30568 failed
......@@ -48,7 +48,7 @@ def generate_benchmark(ast, likwid=False, openmp=False, timing=False):
size_data_type = np_dtype.itemsize
elements = prod(field.shape)
align = ast.instruction_set['width'] * size_data_type
padding_elements = dim0_size % ast.instruction_set['width']
padding_elements = modulo_ceil(dim0_size, ast.instruction_set['width']) - dim0_size
padding_bytes = padding_elements * size_data_type
ghost_layers = max(max(ast.ghost_layers))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment