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

Explore #line directives for Python/SASS mappings #437

Open
shi-eric opened this issue Jan 16, 2025 · 0 comments
Open

Explore #line directives for Python/SASS mappings #437

shi-eric opened this issue Jan 16, 2025 · 0 comments
Assignees

Comments

@shi-eric
Copy link
Contributor

https://gcc.gnu.org/onlinedocs/cpp/Line-Control.html

Add line directives in the generated CUDA-C code, e.g.

#line 55 "warp_kernel.py"

instead of

// wp.atomic_add(loss, 0, delta)
<L 55>

This might allow us to correlate the Python code to the SASS.

@shi-eric shi-eric added the feature request Request for something to be added label Jan 16, 2025
@shi-eric shi-eric self-assigned this Jan 17, 2025
@shi-eric shi-eric removed the feature request Request for something to be added label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant