Skip to content

Accera v1.2 Reference

Module functions

Top level enumerations

Classes

class accera.Array

A multidimensional array of scalar elements.

Constructors

  • Array (role[, data, element_type, layout, offset, shape])

Enumerations

Methods


class accera.Cache

A local copy of an Array block.


class accera.Index

An index representing one of the loops in a Nest or one of the iteration-space dimensions of a Schedule or a Plan.


class accera.Nest

The logic of a loop nest.

Constructors

Methods


class accera.Package

Represents a collection of functions that can be built and emitted for use in client code.

Constructors

Enumerations

Methods

  • add_description ([author, license, other, version])
  • add (args, source[, base_name, parameters])
  • build (name[, error_path, format, mode, os, tolerance])

class accera.Parameter

A placeholder that can be used instead of concrete values when constructing or calling the methods of a Nest, Schedule, or Plan.


class accera.Plan

A scheduled (ordered) loop nest with target-specific implementation details.

Methods

  • cache (source[, index, trigger_index, layout, level, trigger_level, max_elements, thrifty, location, double_buffer, double_buffer_location, vectorize])
  • bind (indices, grid)
  • kernelize (unroll_indices[, vectorize_indices])
  • parallelize (indices[, pin, policy, max_threads])
  • tensorize (indices, mma_shape[, use_static_offsets, num_total_passes, num_fused_passes, scheduling_policy])
  • unroll (index)
  • vectorize (index)

class accera.Scalar

A scalar element.

Constructors


class accera.Dimension

A specialization of Scalar with element_type as ScalarType.index.

Constructors


class accera.Schedule

A scheduled (ordered) loop nest with no target-specific implementation details.

Methods


class accera.FusedSchedule

Child class of class accera.Schedule created as a result of fusing multiple schedules.

Methods (in addition to the inherited functions from class accera.Schedule)


class accera.Target

A target platform for the cross-compiler.

Constructors

  • Target ([architecture, cache_lines, cache_sizes, category, extensions, family, frequency_GHz, model, name, num_cores, num_threads, turbo_frequency_GHz])

Enumerations


Last update: 2023-04-17