-
Notifications
You must be signed in to change notification settings - Fork 5
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
CUDA Graphs #14
Comments
Currently I see two ways of using CUDA Graphs in combination with redGrapes:
|
@michaelsippel do you prefer one way to the other, or what are your thoughts on this matter generally? |
From the CUDA docs it seems that it should be possible to call |
It is definitive useful if we enqueue for example always an event behind the task to track the state of the operation. |
You mean, because we have to do this anyways, we always have at least two cuda operations (the actual call, and eventRecord) which can be recorded into the graph.
Yes, thats what I meant with the second bullet. I will post an image that explains how I imagine this to work. But I don't yet believe that it will gain any performance. |
|
Yes in rhat case we have per task two cuda api calls.
Not sure if you mean with performance latency |
From latest information on CUDA Graphs, follow the following rules of thumb:
Official Docs: https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#cuda-graphs
The text was updated successfully, but these errors were encountered: