Skip to content
项目

关于

Data Parallel Python

编程语言与运行时

这些数字如何统计

实测星标增长

24小时
0
7天
-1
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Copperhead: Data Parallel Python

Copperhead is a data parallel language embedded in Python, along with a compiler which creates highly efficient parallel code. Currently our compiler and runtime targets CUDA-enabled GPUs, as well as multi-core CPUs using either Threading Building Blocks (TBB) or OpenMP.

Copperhead is hosted at http://github.com/copperhead

Dependencies

Necessary for all backends

  • boost::python. Tested with version 1.48. Important note: it is imperative that your boost::python library was built with the same compiler as your Python interpreter. For Linux machines using package managers, this is usually the case if you install boost::python through your system package manager.

  • Codepy. We require version 2012.1.2 or greater. This will be installed automatically if you do not have it.

  • Thrust. We require version 1.6 or better. Thrust is a header only library, so it is easy to install.

Backend-specific

  1. CUDA. If you would like to use the CUDA backend, you must have CUDA installed, version 4.1 or better.

  2. OpenMP. Support for OpenMP is built-in to g++, so no installation is necessary.

  3. Threading Building Blocks (TBB). We have tested with TBB version 4.0.

Copperhead runs on OS X and Linux. It currently does not run on Windows, although we plan on supporting Windows in the future.

Tools

  • g++ version 4.5 or greater. If you want to build support for the CUDA backend, you must use a version of g++ supported by nvcc. As of version 4.1, nvcc does not support versions of g++ newer than 4.5.

  • Scons.

Installation

To install Copperhead, simply run the included setup.py: python setup.py install

The setup script will examine your system and try to build support for all possible backends. Depending on your configuration, you may need to include some additional configuration information. The setup script will alert you if configuration does not succeed, and will create a file named siteconf.py with comments explaining what configuration information you can provide.

You can verify your installation by running tests: python setup.py test

Contributors

The primary contributors to Copperhead are Bryan Catanzaro and Michael Garland.

探索相关项目

加载中…