Coder Social home page Coder Social logo

eris-fpga's Introduction

Source Code for Computing and Compressing Electron Repulsion Integrals on FPGAs

This repository contains the FPGA kernels for computing and compressing electron repulsion integrals, citation:


Wu, Xin; Kenter, Tobias; Schade, Robert; Kühne, Thomas D.; Plessl, Christian (2023):
Computing and Compressing Electron Repulsion Integrals on FPGAs.
In Proc. IEEE International Symposium on Field-Programmable Custom Computing Machines (FCCM), 2023. To appear.


How to build the FPGA kernels?

dpcpp -DL_A=${am_a} -DL_B=${am_b} -DL_C=${am_c} -DL_D=${am_d}   \
      -DNQTBT=${nqtbt} -DNPRIC=${npric} -DNBITS=${nbits}        \
      -std=c++2b -Wall -Wextra -Wpedantic -Werror -fPIC         \
      -fintelfpga -O3 -qactypes                                 \
      -c eri-fpga.cpp -o eri-fpga.o
dpcpp -fPIC -shared -fintelfpga -O3 eri-fpga.o                  \
      -Xshardware -Xsboard=${FPGA_BOARD} -Xsparallel=16 -Xsv    \
      -Xsffp-reassociate -Xsffp-contract=fast                   \
      -o eri-fpga.so

where

  • am_a: the angular momentum for Gaussian-type orbital a
  • am_b: the angular momentum for Gaussian-type orbital b
  • am_c: the angular momentum for Gaussian-type orbital c
  • am_d: the angular momentum for Gaussian-type orbital d
  • nqtbt: the number of quartets per batch execution
  • npric: the number of private copies for data in FPGA local memory
  • nbits: the bitwidth for the compression of electron repulsion integrals
  • FPGA_BOARD: the FPGA board specification

eris-fpga's People

Contributors

xwuupb avatar

Stargazers

 avatar  avatar  avatar

Watchers

 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.