accelforge.plotting package#

Submodules#

accelforge.plotting.mappings module#

accelforge.plotting.roofline module#

accelforge.plotting.roofline.plot_roofline(bandwidth, computational_throughput, min_computational_intensity=0, max_computational_intensity=None)[source]#

Plot a roofline model.

Parameters:
  • bandwidth (Number) – The memory bandwidth to use when generating the roofline.

  • computational_throughput (Number) – The peak computational throughput to use when generating the roofline.

  • min_computational_intensity (Number) – The minimum computational intensity to include in the x-axis.

  • max_computational_intensity (Number) – The maximum computational intensity to include in the x-axis.

accelforge.plotting.specs module#

accelforge.plotting.specs.plot_area(specs, labels=None, ax=None)[source]#

Plot area of one or more specs.

Parameters:
  • specs (Iterable[Spec]) – An iterable of specifications.

  • labels (Iterable[str]) – An iterable of the same length as specs to use as labels in the plot.

  • ax (Axes) – An matplotlib Axes to use. A new one is created by default.

Module contents#