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

Add functionality from the CUDA driver, not just the runtime API #9

Closed
eyalroz opened this issue Nov 20, 2016 · 3 comments
Closed

Add functionality from the CUDA driver, not just the runtime API #9

eyalroz opened this issue Nov 20, 2016 · 3 comments

Comments

@eyalroz
Copy link
Owner

eyalroz commented Nov 20, 2016

The CUDA driver has all sorts of functionality not accessible directly, or at all, through the runtime API. Some of it is even very useful for implementing some of the proxy classes' methods (e.g. getting a single pointer attribute rather than all of them). Perhaps we should start adding them.

... this could theoretically be within #ifndef RUNTIME_API_ONLY.

@eyalroz
Copy link
Owner Author

eyalroz commented Dec 8, 2017

An important piece of functionality to add - more stuff we can enqueue:

  • Write a single value to a device memory location:
    CUresult cuStreamWriteValue32 ( CUstream stream, CUdeviceptr addr, cuuint32_t value, unsigned int  flags )
    CUresult cuStreamWriteValue64 ( CUstream stream, CUdeviceptr addr, cuuint64_t value, unsigned int  flags )
    
  • Wait for a change in a device memory location (which could be mapped):
    CUresult cuStreamWaitValue32 ( CUstream stream, CUdeviceptr addr, cuuint32_t value, unsigned int  flags )
    CUresult cuStreamWaitValue64 ( CUstream stream, CUdeviceptr addr, cuuint64_t value, unsigned int  flags )
    

@eyalroz
Copy link
Owner Author

eyalroz commented Jun 5, 2020

This could be done as part of separating this repository into 3 wrapper libraries: Runtime API, NVTX, and driver API (issue #176). But then - a lot of the driver API is redundant with the runtime API... :-(

eyalroz pushed a commit that referenced this issue Oct 6, 2020
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Oct 7, 2020
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Oct 7, 2020
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Oct 7, 2020
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Oct 14, 2020
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Oct 14, 2020
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Oct 21, 2020
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Oct 28, 2020
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Oct 28, 2020
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Nov 11, 2020
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Nov 23, 2020
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Dec 3, 2020
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Jan 29, 2021
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Feb 10, 2021
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Feb 10, 2021
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Feb 10, 2021
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Feb 17, 2021
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Feb 26, 2021
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Feb 26, 2021
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Feb 27, 2021
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Apr 30, 2021
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Jul 4, 2021
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Jul 30, 2021
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Aug 28, 2021
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Aug 28, 2021
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Dec 23, 2021
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Dec 23, 2021
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Dec 24, 2021
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Dec 26, 2021
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Dec 28, 2021
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Dec 28, 2021
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Dec 28, 2021
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Dec 29, 2021
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Dec 30, 2021
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Dec 31, 2021
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Dec 31, 2021
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Jan 3, 2022
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Jan 14, 2022
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Jan 14, 2022
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Jan 14, 2022
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Jan 14, 2022
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Jan 18, 2022
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Feb 7, 2022
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Feb 8, 2022
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Feb 15, 2022
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Feb 17, 2022
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Feb 19, 2022
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Mar 9, 2022
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Mar 12, 2022
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Mar 14, 2022
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Mar 15, 2022
…PI into account and exposing most of its functionality.
eyalroz pushed a commit that referenced this issue Mar 17, 2022
…PI into account and exposing most of its functionality.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant