Skip to content
/ adpy Public

CPU/GPU code generator for computation graphs arising in applied math problems

Notifications You must be signed in to change notification settings

chaitan3/adpy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

adpy is a library useful for defining operations of a numerical simulation tool in the form of a computational graph. The graph can be executed on CPUs and GPUs and the adjoint graph can be derived using automatic differentiation provided by the library.

Installation

adpy requires the following packages

gcc
ccache
python: numpy, pytest

For Ubuntu, the following commands should be sufficient to install the above packages.

sudo apt install ccache gcc
sudo apt install python-pip
pip install numpy

Build and install adpy using the following commands

python setup.py build
python setup.py install --prefix=/path/you/want

Testing

To run unit tests for adpy

cd tests
./run_tests.sh
cd ..

Status

Build Status

Examples

An example of how to use the adpy library can be found in the tmp.py file in the tests folder.

Contributors

Chaitanya Talnikar and Professor Qiqi Wang

About

CPU/GPU code generator for computation graphs arising in applied math problems

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published