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

simpleCudaGraphs fails with illegal memory access + weird invalid parameter setting #672

Open
eyalroz opened this issue Sep 5, 2024 · 0 comments
Assignees
Labels

Comments

@eyalroz
Copy link
Owner

eyalroz commented Sep 5, 2024

In the simpleCudaGraphs example, in function cudaGraphsManual, we have:

cuda::graph::node::parameters_t<node_kind_t::kernel_launch>* params_ptr = nullptr;
cuda::graph::instance::set_node_parameters<node_kind_t::kernel_launch>(instance, reduce_final_node, *params_ptr);

that should not have been there... :-(

Also, graph execution is currently failing in cudaGraphsManual() is failing on the first run with "an illegal memory access was encountered".

@eyalroz eyalroz self-assigned this Sep 5, 2024
@eyalroz eyalroz added the bug label Sep 5, 2024
eyalroz added a commit that referenced this issue Sep 5, 2024
eyalroz added a commit that referenced this issue Sep 5, 2024
…ode parameters in a graph instance, in `simpleCudaGraphs`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant