legate.core.operation.AutoTask.set_side_effect#

AutoTask.set_side_effect(side_effect: bool) None#

Sets whether the task has side effects or not. A task is assumed to be free of side effects by default if the task only has scalar arguments.

Parameters:

side_effect (bool) – A new boolean value indicating whether the task has side effects