AllentDan / CUDATutorial

This is a tutorial of cuda programming.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

This is a learning note of cuda programming for novices.

Python build

Prefer using setup tool to install python package.

cd CUDATutorial/python
python setup.py install

For windows users, we have to import torch before we import add2. Or, it will throw:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: DLL load failed:

References

About

This is a tutorial of cuda programming.


Languages

Language:Cuda 89.2%Language:Python 6.6%Language:CMake 2.4%Language:C++ 1.5%Language:C 0.2%