diff --git a/python/dune/perftool/options.py b/python/dune/perftool/options.py index adf7e8ce483fd36bdaa44a90fa8b5f54bb25e442..4fe223005d6a5053a3061f06ac85a3b2d8e36225 100644 --- a/python/dune/perftool/options.py +++ b/python/dune/perftool/options.py @@ -64,7 +64,7 @@ class PerftoolOptionsArray(ImmutableRecord): vectorization_allow_quadrature_changes = PerftoolOption(default=False, helpstr="whether the vectorization strategy is allowed to alter quadrature point numbers") vectorization_list_index = PerftoolOption(default=None, helpstr="Which vectorization to pick from a list (only valid with vectorization_strategy=fromlist).") 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") @@ -143,6 +143,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))