Skip to content

463f/pytorch-cppcuda-tutorial

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pytorch-cppcuda-tutorial

tutorial for writing custom pytorch cpp+cuda kernel, applied on volume rendering (NeRF)

tutorial playlist: https://www.youtube.com/watch?v=l_Rpk6CRJYI&list=PLDV2CyUo4q-LKuiNltBqCKdO9GH4SS_ec&ab_channel=AI%E8%91%B5

CUDA explanation in video 2: https://nyu-cds.github.io/python-gpu/02-cuda/

C++ API in video 3: https://pytorch.org/cppdocs/

kernel launching: https://pytorch.org/tutorials/advanced/cpp_extension.html

补充:如何在Colab上运行(2023年12月3日)

!git clone https://github.com/rypan1998/pytorch-cppcuda-tutorial
!cd pytorch-cppcuda-tutorial && pip install . && python test.py

About

tutorial for writing custom pytorch cpp+cuda kernel, applied on volume rendering (NeRF)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Cuda 51.8%
  • Python 36.5%
  • C++ 7.0%
  • C 4.7%