• Stars
    star
    232
  • Rank 171,909 (Top 4 %)
  • Language
    Python
  • License
    GNU General Publi...
  • Created over 4 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

关于书籍CUDA Programming使用了pycuda模块的Python版本的示例代码

一.CUDA-Programming-for-Python

这些代码原是为樊哲勇老师的书籍<<CUDA-Programming编程>>编写的示例代码。为了让CUDA初学者在python中更好的使用CUDA,本代码库应用了pycuda模块,构建了与书中使用C++编写的功能上一致的例子。书籍<<CUDA-Programming编程>>中的源代码仓库为CUDA-Programming

二.pyCUDA speeds up your python code

由于一些原因<<CUDA-Programming编程>>书籍内容将不再包含pycuda的内容。相关pycuda的教程将发布在我的知乎专栏pyCUDA加速你的python代码

运行环境要求

  1. 适用CUDA的显卡
  2. cuda 10.1,并已经配置好环境变量
  3. python3.7 64位
  4. numpy模块 (安装方法:pip install numpy)
  5. pycuda模块 (安装方法:pip install pycuda)
  6. skcuda模块 (安装方法:pip install scikit-cuda)