Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/psteinb/anyfold
https://github.com/psteinb/anyfold
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/psteinb/anyfold
- Owner: psteinb
- License: mit
- Created: 2014-12-17T13:37:36.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-17T14:15:22.000Z (about 9 years ago)
- Last Synced: 2023-03-22T18:55:06.274Z (almost 2 years ago)
- Language: C++
- Size: 60.5 KB
- Stars: 0
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Anyfold
C/C++ library to provide a unified API for high-performance convolutions.
## How to Build
### Dependencies
* boost (unit test framework, multi-array)
* cmake (to build it)
* c/c++ compiler (notably gcc)
* OpenCL (optional)### CLI
```bash
$ git clone https://github.com/psteinb/anyfold
$ cd anyfold
$ mkdir build
$ cd build
$ cmake ..
$ make
$ ctest
```The following cmake flags are supported:
* ```CMAKE_INSTALL_PREFIX``` to provide a custom installation directory
* ```BUILD_OPENCL_ANYFOLD``` to build anyfold with OpenCL support## target platforms
As this is an educational project (until stable), we target Linux primarily using regular x86 instructions. The ultimate goal is to provide all functionality based on OpenCL (and potentially CUDA).
## usage
* CPU functionality is provided in namespace ```anyfold::cpu```
* OpenCL functionality is provided in namespace ```anyfold::opencl```