We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When an OKL kernel function is missing a return type, e.g.
@kernel f() { @outer for (int o=0; o < 1; ++o) { @inner for (int i=0; i < 1; ++i) { } } }
the error message returned by the translator is, Error: [2] Expected a [;].
Error: [2] Expected a [;]
The expected behaviour is to report a return type is missing (and further state that OKL kernel functions are required to have return type void).
void
@kernel
@kernel f() { ... } // Not here int g() { return 1; } // Here
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When an OKL kernel function is missing a return type, e.g.
the error message returned by the translator is,
Error: [2] Expected a [;]
.The expected behaviour is to report a return type is missing (and further state that OKL kernel functions are required to have return type
void
).Details
@kernel
attributeThe text was updated successfully, but these errors were encountered: