CUDATutorial
所属分类:GPU/显卡
开发工具:Cuda
文件大小:0KB
下载次数:0
上传日期:2022-03-14 08:49:12
上 传 者:
sh-1993
说明: 这是cuda编程教程。,
(This is a tutorial of cuda programming.,)
文件列表:
csrc/ (0, 2022-03-14)
csrc/01_VSDemo.cu (3694, 2022-03-14)
csrc/interpolate.cu (12731, 2022-03-14)
csrc/matmul/ (0, 2022-03-14)
csrc/matmul/01_base_matmul.cu (2536, 2022-03-14)
csrc/matmul/02_tmp_matmul.cu (2545, 2022-03-14)
csrc/matmul/03_restrict_matmul.cu (2573, 2022-03-14)
csrc/matmul/04_tile_matmul.cu (3133, 2022-03-14)
csrc/matmul/04_tile_matmul_official.cu (3783, 2022-03-14)
csrc/matmul/05_cublas_matmul.cu (2433, 2022-03-14)
lessons/ (0, 2022-03-14)
lessons/CUDA灏忕櫧鍏ラ棬绗旇.md (8299, 2022-03-14)
lessons/CUDA灏忕櫧鍏ラ棬绗旇.pptx (1820897, 2022-03-14)
python/ (0, 2022-03-14)
python/CMakeLists.txt (925, 2022-03-14)
python/add2.cpp (570, 2022-03-14)
python/add2.h (67, 2022-03-14)
python/add2_kernel.cu (332, 2022-03-14)
python/setup.py (286, 2022-03-14)
python/test.py (2225, 2022-03-14)
## Introduction
This is a learning note of cuda programming for novices.
### Python build
Prefer using setup tool to install python package.
```bash
cd CUDATutorial/python
python setup.py install
```
For windows users, we have to `import torch` before we `import add2`. Or, it will throw:
```bash
Traceback (most recent call last):
File "", line 1, in
ImportError: DLL load failed:
```
### References
- [cuda-c-programming-guide](https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html)
- [NN-CUDA-Example](https://github.com/godweiyang/NN-CUDA-Example)
- [cuda_programming](https://github.com/CoffeeBeforeArch/cuda_programming)
近期下载者:
相关文件:
收藏者: