Skip to main content

struct instruction_graph_generator::policy_set

Declaration

struct instruction_graph_generator::policy_set { /* full declaration omitted */ };

Member Variables

error_policy unsafe_oversubscription_error = error_policy::panic
Reported when the user requests a `hint::oversubscribe`, but oversubscription is unsafe because the task has side effects, participates in a collective-group operation, performs a reduction (current limitation of our implementation) or its iteration space simply cannot be split.
error_policy uninitialized_read_error = error_policy::panic
Reported when a task attempts to read data that has neither been await-pushed nor generated on the local node. This error is usually caught on a higher level by the task and command graph generator.
error_policy overlapping_write_error = error_policy::panic
Reported when two or more chunks of a device kernel or host task attempt to write the same buffer elements. instruction_graph_generator will produce an executable graph even when this error is being ignored, but will cause race conditions between instructions on the executor level.