pystencils.codegen.config.CreateKernelConfig.skip_independence_check

pystencils.codegen.config.CreateKernelConfig.skip_independence_check#

CreateKernelConfig.skip_independence_check: BasicOption[bool] = None#

By default the assignment list is checked for read/write independence. This means fields are only written at locations where they are read. Doing so guarantees thread safety. In some cases e.g. for periodicity kernel, this can not be assured and does the check needs to be deactivated. Use with care!