GithubHelp home page GithubHelp logo

spcl / fblas Goto Github PK

View Code? Open in Web Editor NEW
75.0 15.0 24.0 678 KB

BLAS implementation for Intel FPGA

License: BSD 3-Clause "New" or "Revised" License

Makefile 2.04% C 30.28% C++ 50.82% Python 16.86%

fblas's Introduction

FBLAS

FBLAS is a porting of the BLAS numerical library (http://www.netlib.org/blas/) for Intel FPGA platform. For more details, see our paper.

ย 

Code

Requirements

The library depends on:

Installation

After cloning this repository, make sure you clone the rapidjson submodule dependency, by executing the following command:

git submodule update --init
pip install -r codegen/requirements.txt

The FBLAS library

FBLAS provides two layers of abstraction:

  • HLS modules, which can be integrated into existing hardware designs. They implement BLAS routines (DOT, GEMV, GEMM, etc.). Modules have been designed with compute performance in mind, exploiting the spatial parallelism and fast on-chip memory on FPGAs and have a streaming interface: data is received and produced using channels. In this way, they can be composed and communicate using on-chip resources rather than off-chip device RAM;

  • a high-level Host API conforming to the classical BLAS interface that allows the user to invoke routines directly from a host program. No prior knowledge on FPGA architecture and/or tools is needed. The user writes a standard OpenCL program: she is responsible to transferring data to and from the device, she can invoke the desired FBLAS routines working on the FPGA memory, and then she copies back the result from the device.

For further information on how to use the library, please refer to the wiki.

Publication

If you use FBLAS, please cite us:


@inproceedings{fblas,
    author = {De Matteis, Tiziano and de Fine Licht, Johannes and Hoefler, Torsten},
    title = {FBLAS: Streaming Linear Algebra on FPGA},
    year = {2020},
    isbn = {9781728199986},
    publisher = {IEEE Press},
    booktitle = {Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis},
    articleno = {59},
    numpages = {13},
    keywords = {high level synthesis, spatial architectures, hardware library},
    location = {Atlanta, Georgia},
    series = {SC '20}
}

Concerning the Artifact Evaluation of the paper, you will find detailed information in subfolder evaluation.

Contact

FBLAS can be used to build numerical applications, and be modified to include new features. Contributions, comments, and issues are welcome!

License

FBLAS is published under the New BSD license, see LICENSE.

fblas's People

Contributors

mattforshaw avatar michaellass avatar tizianodematteis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.