Skip to content

Fr4nk1inCs/torch-extension-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Torch CUDA/C++ Extension Template

A template for building a PyTorch CUDA/C++ extension.

Inspired by gpzlx1/pytorch-extension-demo-v2.

Installation

$ pip install .

Or with --editable:

$ pip install -e .

Structure

  • csrc: C++ & CUDA source files.
    • include: Header files.
    • lib: Implementation files.
  • python: Python stub files.
  • scripts: Scripts used for cmake build system.
  • tests: Test python scripts.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published