Reference: Scheduling¶

Schedule¶

class islpy.schedule_node_type¶
band = <schedule_node_type.band: 0>¶
context = <schedule_node_type.context: 1>¶
domain = <schedule_node_type.domain: 2>¶
error = <schedule_node_type.error: -1>¶
expansion = <schedule_node_type.expansion: 3>¶
extension = <schedule_node_type.extension: 4>¶
filter = <schedule_node_type.filter: 5>¶
guard = <schedule_node_type.guard: 7>¶
leaf = <schedule_node_type.leaf: 6>¶
mark = <schedule_node_type.mark: 8>¶
property name¶
sequence = <schedule_node_type.sequence: 9>¶
set = <schedule_node_type.set: 10>¶
property value¶
class islpy.Schedule(s=None, context=None)¶
__eq__(value, /)¶

Return self==value.

__hash__()¶

Return hash(self).

__ne__(value, /)¶

Return self!=value.

align_params(self, space)¶
Parameters
Returns

Schedule

copy(self)¶
Parameters

self – Schedule

Returns

Schedule

dump(self)¶
Parameters

self – Schedule

Returns

None

static empty(space)¶
Parameters

space – Space

Returns

Schedule

expand(self, contraction, expansion)¶
Parameters
Returns

Schedule

foreach_schedule_node_top_down(self, fn)¶
Parameters
  • self – Schedule

  • fn – callback(node)

Returns

isl_stat

static from_domain(domain)¶
Parameters

domain – UnionSet

Returns

Schedule

get_ctx(self)¶
Parameters

self – Schedule

Returns

Context

get_domain(self)¶
Parameters

self – Schedule

Returns

UnionSet

get_map(self)¶
Parameters

self – Schedule

Returns

UnionMap

get_root(self)¶
Parameters

self – Schedule

Returns

ScheduleNode

gist_domain_params(self, context)¶
Parameters
Returns

Schedule

insert_context(self, context)¶
Parameters
Returns

Schedule

insert_guard(self, guard)¶
Parameters
Returns

Schedule

insert_partial_schedule(self, partial)¶
Parameters
Returns

Schedule

intersect_domain(self, domain)¶
Parameters
Returns

Schedule

map_schedule_node_bottom_up(self, fn)¶
Parameters
  • self – Schedule

  • fn – callback(node)

Returns

Schedule

plain_is_equal(self, schedule2)¶
Parameters
Returns

bool

pullback_union_pw_multi_aff(self, upma)¶
Parameters
Returns

Schedule

static read_from_str(ctx, str)¶
Parameters
  • ctx – Context

  • str – string

Returns

Schedule

reset_user(self)¶
Parameters

self – Schedule

Returns

Schedule

sequence(self, schedule2)¶
Parameters
Returns

Schedule

set(self, schedule2)¶
Parameters
Returns

Schedule

to_str(self)¶
Parameters

self – Schedule

Returns

string

Schedule Node¶

class islpy.ScheduleNode¶
__eq__(other)¶

Return self==value.

__hash__()¶

Return hash(self).

__ne__(other)¶

Return self!=value.

align_params(self, space)¶
Parameters
Returns

ScheduleNode

ancestor(self, generation)¶
Parameters
Returns

ScheduleNode

band_get_ast_build_options(self)¶
Parameters

self – ScheduleNode

Returns

UnionSet

band_get_ast_isolate_option(self)¶
Parameters

self – ScheduleNode

Returns

Set

band_get_partial_schedule(self)¶
Parameters

self – ScheduleNode

Returns

MultiUnionPwAff

band_get_partial_schedule_union_map(self)¶
Parameters

self – ScheduleNode

Returns

UnionMap

band_get_permutable(self)¶
Parameters

self – ScheduleNode

Returns

bool

band_get_space(self)¶
Parameters

self – ScheduleNode

Returns

Space

band_member_get_ast_loop_type(self, pos)¶
Parameters
Returns

isl_ast_loop_type

band_member_get_coincident(self, pos)¶
Parameters
Returns

bool

band_member_get_isolate_ast_loop_type(self, pos)¶
Parameters
Returns

isl_ast_loop_type

band_member_set_ast_loop_type(self, pos, type)¶
Parameters
Returns

ScheduleNode

band_member_set_coincident(self, pos, coincident)¶
Parameters
Returns

ScheduleNode

band_member_set_isolate_ast_loop_type(self, pos, type)¶
Parameters
Returns

ScheduleNode

band_mod(self, mv)¶
Parameters
Returns

ScheduleNode

band_n_member(self)¶
Parameters

self – ScheduleNode

Returns

isl_size

band_scale(self, mv)¶
Parameters
Returns

ScheduleNode

band_scale_down(self, mv)¶
Parameters
Returns

ScheduleNode

band_set_ast_build_options(self, options)¶
Parameters
Returns

ScheduleNode

band_set_permutable(self, permutable)¶
Parameters
Returns

ScheduleNode

band_shift(self, shift)¶
Parameters
Returns

ScheduleNode

band_sink(self)¶
Parameters

self – ScheduleNode

Returns

ScheduleNode

band_split(self, pos)¶
Parameters
Returns

ScheduleNode

band_tile(self, sizes)¶
Parameters
Returns

ScheduleNode

child(self, pos)¶
Parameters
Returns

ScheduleNode

context_get_context(self)¶
Parameters

self – ScheduleNode

Returns

Set

copy(self)¶
Parameters

self – ScheduleNode

Returns

ScheduleNode

cut(self)¶
Parameters

self – ScheduleNode

Returns

ScheduleNode

delete(self)¶
Parameters

self – ScheduleNode

Returns

ScheduleNode

domain_get_domain(self)¶
Parameters

self – ScheduleNode

Returns

UnionSet

dump(self)¶
Parameters

self – ScheduleNode

Returns

None

every_descendant(self, test)¶
Parameters
Returns

bool

expansion_get_contraction(self)¶
Parameters

self – ScheduleNode

Returns

UnionPwMultiAff

expansion_get_expansion(self)¶
Parameters

self – ScheduleNode

Returns

UnionMap

extension_get_extension(self)¶
Parameters

self – ScheduleNode

Returns

UnionMap

filter_get_filter(self)¶
Parameters

self – ScheduleNode

Returns

UnionSet

first_child(self)¶
Parameters

self – ScheduleNode

Returns

ScheduleNode

foreach_ancestor_top_down(self, fn)¶
Parameters
Returns

isl_stat

foreach_descendant_top_down(self, fn)¶
Parameters
Returns

isl_stat

static from_domain(domain)¶
Parameters

domain – UnionSet

Returns

ScheduleNode

static from_extension(extension)¶
Parameters

extension – UnionMap

Returns

ScheduleNode

get_ancestor_child_position(self, ancestor)¶
Parameters
Returns

isl_size

get_child(self, pos)¶
Parameters
Returns

ScheduleNode

get_child_position(self)¶
Parameters

self – ScheduleNode

Returns

isl_size

get_ctx(self)¶
Parameters

self – ScheduleNode

Returns

Context

get_domain(self)¶
Parameters

self – ScheduleNode

Returns

UnionSet

get_parent_type(self)¶
Parameters

self – ScheduleNode

Returns

isl_schedule_node_type

get_prefix_schedule_multi_union_pw_aff(self)¶
Parameters

self – ScheduleNode

Returns

MultiUnionPwAff

get_prefix_schedule_relation(self)¶
Parameters

self – ScheduleNode

Returns

UnionMap

get_prefix_schedule_union_map(self)¶
Parameters

self – ScheduleNode

Returns

UnionMap

get_prefix_schedule_union_pw_multi_aff(self)¶
Parameters

self – ScheduleNode

Returns

UnionPwMultiAff

get_schedule(self)¶
Parameters

self – ScheduleNode

Returns

Schedule

get_schedule_depth(self)¶
Parameters

self – ScheduleNode

Returns

isl_size

get_shared_ancestor(self, node2)¶
Parameters
Returns

ScheduleNode

get_subtree_contraction(self)¶
Parameters

self – ScheduleNode

Returns

UnionPwMultiAff

get_subtree_expansion(self)¶
Parameters

self – ScheduleNode

Returns

UnionMap

get_subtree_schedule_union_map(self)¶
Parameters

self – ScheduleNode

Returns

UnionMap

get_tree_depth(self)¶
Parameters

self – ScheduleNode

Returns

isl_size

get_type(self)¶
Parameters

self – ScheduleNode

Returns

isl_schedule_node_type

get_universe_domain(self)¶
Parameters

self – ScheduleNode

Returns

UnionSet

graft_after(self, graft)¶
Parameters
Returns

ScheduleNode

graft_before(self, graft)¶
Parameters
Returns

ScheduleNode

group(self, group_id)¶
Parameters
Returns

ScheduleNode

guard_get_guard(self)¶
Parameters

self – ScheduleNode

Returns

Set

has_children(self)¶
Parameters

self – ScheduleNode

Returns

bool

has_next_sibling(self)¶
Parameters

self – ScheduleNode

Returns

bool

has_parent(self)¶
Parameters

self – ScheduleNode

Returns

bool

has_previous_sibling(self)¶
Parameters

self – ScheduleNode

Returns

bool

insert_context(self, context)¶
Parameters
Returns

ScheduleNode

insert_filter(self, filter)¶
Parameters
Returns

ScheduleNode

insert_guard(self, context)¶
Parameters
Returns

ScheduleNode

insert_mark(self, mark)¶
Parameters
Returns

ScheduleNode

insert_partial_schedule(self, schedule)¶
Parameters
Returns

ScheduleNode

insert_sequence(self, filters)¶
Parameters
Returns

ScheduleNode

insert_set(self, filters)¶
Parameters
Returns

ScheduleNode

is_equal(self, node2)¶
Parameters
Returns

bool

is_subtree_anchored(self)¶
Parameters

self – ScheduleNode

Returns

bool

map_descendant_bottom_up(self, fn)¶
Parameters
Returns

ScheduleNode

mark_get_id(self)¶
Parameters

self – ScheduleNode

Returns

Id

n_children(self)¶
Parameters

self – ScheduleNode

Returns

isl_size

next_sibling(self)¶
Parameters

self – ScheduleNode

Returns

ScheduleNode

order_after(self, filter)¶
Parameters
Returns

ScheduleNode

order_before(self, filter)¶
Parameters
Returns

ScheduleNode

parent(self)¶
Parameters

self – ScheduleNode

Returns

ScheduleNode

previous_sibling(self)¶
Parameters

self – ScheduleNode

Returns

ScheduleNode

reset_user(self)¶
Parameters

self – ScheduleNode

Returns

ScheduleNode

root(self)¶
Parameters

self – ScheduleNode

Returns

ScheduleNode

sequence_splice_child(self, pos)¶
Parameters
Returns

ScheduleNode

to_str(self)¶
Parameters

self – ScheduleNode

Returns

string

ScheduleConstraints¶

class islpy.ScheduleConstraints(s=None, context=None)¶
__eq__(value, /)¶

Return self==value.

__hash__()¶

Return hash(self).

__ne__(value, /)¶

Return self!=value.

apply(self, umap)¶
Parameters
Returns

ScheduleConstraints

compute_schedule(self)¶
Parameters

self – ScheduleConstraints

Returns

Schedule

copy(self)¶
Parameters

self – ScheduleConstraints

Returns

ScheduleConstraints

dump(self)¶
Parameters

self – ScheduleConstraints

Returns

None

get_coincidence(self)¶
Parameters

self – ScheduleConstraints

Returns

UnionMap

get_conditional_validity(self)¶
Parameters

self – ScheduleConstraints

Returns

UnionMap

get_conditional_validity_condition(self)¶
Parameters

self – ScheduleConstraints

Returns

UnionMap

get_context(self)¶
Parameters

self – ScheduleConstraints

Returns

Set

get_ctx(self)¶
Parameters

self – ScheduleConstraints

Returns

Context

get_domain(self)¶
Parameters

self – ScheduleConstraints

Returns

UnionSet

get_proximity(self)¶
Parameters

self – ScheduleConstraints

Returns

UnionMap

get_validity(self)¶
Parameters

self – ScheduleConstraints

Returns

UnionMap

static on_domain(domain)¶
Parameters

domain – UnionSet

Returns

ScheduleConstraints

static read_from_str(ctx, str)¶
Parameters
  • ctx – Context

  • str – string

Returns

ScheduleConstraints

set_coincidence(self, coincidence)¶
Parameters
Returns

ScheduleConstraints

set_conditional_validity(self, condition, validity)¶
Parameters
Returns

ScheduleConstraints

set_context(self, context)¶
Parameters
Returns

ScheduleConstraints

set_proximity(self, proximity)¶
Parameters
Returns

ScheduleConstraints

set_validity(self, validity)¶
Parameters
Returns

ScheduleConstraints

to_str(self)¶
Parameters

self – ScheduleConstraints

Returns

string

Canonical Names for Internal Module¶

class islpy._isl.schedule_node_type¶

See islpy.schedule_node_type.

class islpy._isl.Schedule¶

See islpy.Schedule.

class islpy._isl.ScheduleNode¶

See islpy.ScheduleNode.

class islpy._isl.ScheduleConstraints¶

See islpy.ScheduleConstraints.