https://github.com/psteinb/anyfold
https://github.com/psteinb/anyfold
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/psteinb/anyfold
- Owner: psteinb
- License: mit
- Created: 2014-12-17T13:37:36.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-12-17T14:15:22.000Z (over 10 years ago)
- Last Synced: 2025-03-29T19:02:17.831Z (about 1 year ago)
- Language: C++
- Size: 60.5 KB
- Stars: 0
- Watchers: 3
- 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```