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

maybe namespace libkineto naming typo #801

Closed
zehan-mt opened this issue Aug 24, 2023 · 4 comments
Closed

maybe namespace libkineto naming typo #801

zehan-mt opened this issue Aug 24, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@zehan-mt
Copy link

namespace libkineto {

The namespace should be KINETO_NAMESPACE according to the comment after the right brace.

@aaronenyeshi
Copy link
Member

Good catch! Please feel free to submit a PR, or I can create a PR to fix it. Thanks!

@zehan-mt
Copy link
Author

Good catch! Please feel free to submit a PR, or I can create a PR to fix it. Thanks!

It's a little confusing about namespace KINETO_NAMESPACE and libkineto so it may not be easy to just replace 'libkineto' to 'KINETO_NAMESPACE'. It usually raises xxx marked ‘override’, but does not override error when I try to build which may have some relevance with the two namespaces.

@davidberard98
Copy link
Contributor

@zehan-mt I suspect the "right" fix is actually to change the comments (add one for } // KINETO_NAMESPACE at the end of the first namespace, and add one for } // libkineto at the end of the second namespace

@aaronenyeshi aaronenyeshi added the bug Something isn't working label Oct 6, 2023
@aaronenyeshi
Copy link
Member

output_base.h has moved to the include/ directory and will be part of public headers. So libkineto namespace is fixed and correct now. Closing this issue.

Ref: #874

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants