NVIDIA / NVIDIA/cuvs

[FEA] Better input validation for params structs

Open
#535 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
Dominant language
Cuda
Stars
854
Forks
236
Avg merge
3d 3h
Merged PRs (30d)
62

Description

Input validation is currently sparse and is causing pains for users downstream as they might not realize they are passing in a garbage value for a particular set of params. We should implement input validation for all of our params structs.

This will ideally be done at the C++ layer so it'll propagate to all the other languages automatically.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inventorying the C++ params structs and their current validation points; the issue names no files or tests. Determine the scope needed to cover all params structs and how validation propagates to other languages. Done means invalid values are detected consistently across the params structs and exposed through the generated language interfaces.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.