From e71e558599692c603f39996366149108f7160bc0 Mon Sep 17 00:00:00 2001 From: Dominic Kempf <dominic.kempf@iwr.uni-heidelberg.de> Date: Thu, 25 Jan 2018 13:25:20 +0100 Subject: [PATCH] Implement a skylake option --- python/dune/perftool/options.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python/dune/perftool/options.py b/python/dune/perftool/options.py index 5611bbed..93f840ed 100644 --- a/python/dune/perftool/options.py +++ b/python/dune/perftool/options.py @@ -63,7 +63,7 @@ class PerftoolOptionsArray(ImmutableRecord): vectorization_padding = PerftoolOption(default=None, helpstr="an explicit value for the allowed padding in vectorization") vectorization_allow_quadrature_changes = PerftoolOption(default=False, helpstr="whether the vectorization strategy is allowed to alter quadrature point numbers") turn_off_diagonal_jacobian = PerftoolOption(default=False, helpstr="Do not use diagonal_jacobian transformation on the ufl tree and cast result of jacobianInverseTransposed into a FieldMatrix.") - architecture = PerftoolOption(default="haswell", helpstr="The architecture to optimize for. Possible values: haswell|knl") + architecture = PerftoolOption(default="haswell", helpstr="The architecture to optimize for. Possible values: haswell|knl|skylake") grid_offset = PerftoolOption(default=False, helpstr="Set to true if you want a yasp grid where the lower left corner is not in the origin.") simplify = PerftoolOption(default=False, helpstr="Whether to simplify expressions using sympy") precision_bits = PerftoolOption(default=64, helpstr="The number of bits for the floating point type") @@ -138,6 +138,8 @@ def expand_architecture_options(opt): return opt.copy(max_vector_width=256) elif opt.architecture == "knl": return opt.copy(max_vector_width=512) + elif opt.architecture == "skylake": + return opt.copy(max_vector_width=512) else: raise NotImplementedError("Architecture {} not known!".format(opt.architecture)) -- GitLab