Published March 9, 2023 | Version v0.1.0
Software Open

Flexible Accelerator Library: Approximate Computing Executer (AxC Executer)

  • 1. Università degli Studi di Trieste
  • 2. Instituto Tecnologico de Costa Rica

Description

AxC Executer

The AxC Executer is a C++-based software suite that performs inference of Convolutional Neural Networks. The execution backend is fully written in C++ and intensively uses C++ Templates for kernel description. The executer backend is based on inheritance, with fallback execution modules that perform exact SW computation. Nevertheless, each execution module can be overridden to use custom execution modules.

Execution modules available:

  • Convolution 2D
  • Dense
  • Reduction-based Activations: Softmax
  • Addition 1D and 2D
  • Activations: TanH

Since each module is replaceable, it is possible to implement custom modules to test optimisations and approximations and offload the computation to acceleration units. Likewise, it is possible to replace the arithmetic units (adders and multiplier) for a higher degree of approximation.

The models are represented through arrays of layers in C++. The models available are:

  • LeNet5

Moreover, the current examples involve:

  • Float32 computation
  • Quantisation computation with arbitrary precision `ap_fixed<W, I>`
  • Approximated arithmetic with Approximate Math Library.

Official Repository: GitLab

This project is part of the Flexible Accelerators Library (FAL), a work from:

  • Costa Rica Institute of Technology
  • University of Trieste
  • Karlsruhe Institute of Technology

Authors:

  • David Cordero Chavarría <dcorderoch@ieee.org>: student
  • Luis G. Leon Vega <luis.leon@ieee.org>: supervisor

This repository includes the following:

  • Running results
  • Source code

Files

axc-executer-v0.1.0.zip

Files (227.6 kB)

Name Size Download all
md5:6ffc021e11c79754bcbb2debf6b468d3
2.0 kB Download
md5:6c7e31c6b3b24a64f3c07d73b9ed984c
222.6 kB Preview Download
md5:207ff9d669783c6beba215397a5e072e
168 Bytes Download
md5:bfc34c0f36dde62214b957f702a239a6
165 Bytes Download
md5:150cc6e9d79cf8da82588fac8a58dde1
2.7 kB Preview Download

Additional details

Related works

Is supplement to
Software: 10.5281/zenodo.7708216 (DOI)