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 Function Decorators Give Warnings #5187
Comments
I assume this is with the C++ domain? (Perhaps we should improve the documentation to make this much clearer.) |
Thanks @jakobandersen! That seemed to work for that case. Do you know if there's a way to fix it within the function definition itself on C++ functions that use restrict? Here's an example: If declarator-id: It looks similar to this issue: But cpp_paren_attributes still gives the errors |
Namaste |
Kolkata |
The |
Subject: When compiling the markup files for CUDA code, I see the warnings.
Problem
The sphinx compiler shows:
Invalid definition: Expected identifier in nested name, got keyword: void [error at 15]
global void TL::est(float * a)
I'm guessing this is because the parser doesn't recognize the device and global decorators since it's cuda-specific. Is there a workaround for this? There should be two underscores on global and device, but github's markdown seems to make it bold.
The text was updated successfully, but these errors were encountered: