Comments (1)
Thank you for the suggestion. I can see this working well for some APIs that require a few pre-requisite steps to return a meaningful value.
Right now there's some awkwardness in trying to adopt this since:
- Many APIs need multiple pre-requisite calls, may not be the best solution for most
- We now use Sphinx Autodocs. While there is a doctest extension, I'm not sure how hard it is to make them interact
- Docs for Sphinx is heavily influenced by the CUDA header docs. Ideally we both "Pythonify" the docs while keeping it based off those headers.
I'll keep this issue open and revisit this suggestion in the future.
from cuda-python.
Related Issues (20)
- RFC: Statically link to cudart
- gcc warns for invalid conversion
- Rename the root `cuda` directory to `cuda_bindings`
- Documentation stage
- Set up a public, GitHub-Action-based CI infrastructure HOT 2
- "pip install ." fails with compile error HOT 1
- Add cudaMemcpyToSymbol HOT 4
- python HOT 1
- Which Visual Studio 2022 BuildTools MSVC is the best version for Cuda 11.8 and Cuda 12.4 and so HOT 2
- `cuda.cudart.getLocalRuntimeVersion()` raises `RuntimeError: Failed to dlopen libcudart.so.12` HOT 6
- Update internal code generator to reflect the new layout HOT 1
- Update public codebase
- Enable versioned doc support HOT 1
- Code samples
- Figure out how to make docs of `cuda.py` and `cuda.bindings` coexist HOT 3
- Enable versioned doc support HOT 4
- Complete docstrings for public APIs
- [EPIC] Add extra library bindings
- Add nvjitlink bindings HOT 1
- Add libnvvm bindings
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cuda-python.