Skip to content

Add input validation, CUDA error checking, and build improvements#13

Open
Functionhx wants to merge 1 commit into
camenduru:mainfrom
Functionhx:fix/input-validation-and-build
Open

Add input validation, CUDA error checking, and build improvements#13
Functionhx wants to merge 1 commit into
camenduru:mainfrom
Functionhx:fix/input-validation-and-build

Conversation

@Functionhx

Copy link
Copy Markdown
  • Add TORCH_CHECK guards for CUDA tensor, shape, dtype, and contiguity
  • Add CUDA_CHECK macro for cudaMalloc/Memcpy/Free error handling
  • Remove manual #define CUDACC (set automatically by nvcc)
  • Improve README with prerequisites and --no-build-isolation guidance
  • Add pyproject.toml for build metadata
  • Add pytest test suite and benchmark script
  • Improve .gitignore

- Add TORCH_CHECK guards for CUDA tensor, shape, dtype, and contiguity
- Add CUDA_CHECK macro for cudaMalloc/Memcpy/Free error handling
- Remove manual #define __CUDACC__ (set automatically by nvcc)
- Improve README with prerequisites and --no-build-isolation guidance
- Add pyproject.toml for build metadata
- Add pytest test suite and benchmark script
- Improve .gitignore

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant