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: