pystencils.codegen.config.VectorizationOptions.assume_inner_stride_one

pystencils.codegen.config.VectorizationOptions.assume_inner_stride_one#

VectorizationOptions.assume_inner_stride_one: BasicOption[bool] = None#

Assume stride associated with the innermost spatial coordinate of all fields is one.

If set to True, the vectorizer will replace the stride of the innermost spatial coordinate with unity, thus enabling vectorization. If any fields already have a fixed innermost stride that is not equal to one, an error will be raised.