pystencils.codegen.config.VectorizationOptions.lanes

pystencils.codegen.config.VectorizationOptions.lanes#

VectorizationOptions.lanes: BasicOption[int] = None#

Number of SIMD lanes to be used in vectorization.

If set to None (the default), the vector register width will be automatically set to the broadest possible.

If the CPU architecture specified in target does not support some operation contained in the kernel with the given number of lanes, an error will be raised.