# extention_ops **Repository Path**: bleedingfight/extention_ops ## Basic Information - **Project Name**: extention_ops - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-06-23 - **Last Updated**: 2025-06-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # C++/CUDA Extensions in PyTorch An example of writing a C++/CUDA extension for PyTorch. See [here](https://pytorch.org/tutorials/advanced/cpp_custom_ops.html) for the accompanying tutorial. This repo demonstrates how to write an example `hpco.ops.mymuladd` custom op that has both custom CPU and CUDA kernels. The examples in this repo work with PyTorch 2.4+. To build: ``` pip install --no-build-isolation -e . ``` To test: ``` python test/test_extension.py ``` ## Authors [Peter Goldsborough](https://github.com/goldsborough), [Richard Zou](https://github.com/zou3519)