Skip to content
Snippets Groups Projects
Commit 8aa51d5f authored by Dominic Kempf's avatar Dominic Kempf
Browse files

Merge branch 'feature/skylake-architecture-option' into 'master'

Implement a skylake option

See merge request dominic/dune-perftool!215
parents e8c81041 e71e5585
No related branches found
No related tags found
No related merge requests found
......@@ -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))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment