Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properly Define What is the *top level* Declaration in Canopy #14

Open
isVoid opened this issue Mar 22, 2024 · 0 comments
Open

Properly Define What is the *top level* Declaration in Canopy #14

isVoid opened this issue Mar 22, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation P1 Next in priority queue

Comments

@isVoid
Copy link
Collaborator

isVoid commented Mar 22, 2024

Canopy is picky about declarations. Currently it only parses a subset of all declarations from the CUDA C++ declarations. It will ignore declarations that are:

  1. Private / Protected methods / attributes in a class
  2. Declarations that are not in the specified list of paths to keep passed from API.

For 1), this is because Canopy currently should only parse declarations that CUDA C++ developers intend to expose to users. Extending this idea a bit, we should probably also extract namespace information and allow filtering by namespace (e.g. namespace detail) and function names (e.g. _internal_func).

@isVoid isVoid added documentation Improvements or additions to documentation P1 Next in priority queue labels Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation P1 Next in priority queue
Projects
None yet
Development

No branches or pull requests

1 participant