legate.core.AutoTask.set_side_effect#

AutoTask.set_side_effect(self, bool has_side_effect) void#

Set whether a task has side effects.

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

Parameters:

has_side_effect (bool) – True if the task has side effects, False otherwise.