Skip to content

configithub/numpy-gpu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

numpy-gpu

Using numpy on a nvidia GPU (using Copperhead). dep: GCC 4.8 CUDA 6.5

to make it work I had to :

  • change all usage of move() function in copperhead source to std::move() to avoid the confusion with boost::move()
  • remove a restriction on the GCC version somewhere in cuda or thrust include files
  • add an include on thrust/retag somewhere in copperhead source
  • source env.sh

to install :

  • install CUDA 6.5 first, then :
  • (virtualenv nutshell; source nutshell/bin/activate)
  • pip install numpy codepy
  • cd copperhead
  • python setup.py build
  • python setup.py install

or if you trust it : source setup.sh

to test numpy with gpu :

  • cd copperhead/sample
  • (optirun) python axpy.py

About

Using numpy on a nvidia GPU (using Copperhead).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published