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

Fixed use of designated initializers Windows #976

Closed
wants to merge 2 commits into from

Conversation

mantaionut
Copy link
Contributor

Fix CUPTI code not compiling on MSVC due to designated initializers not working on Windows.
C:\Work\pytorch\third_party\kineto\libkineto\src\CuptiActivityProfiler.cpp(658): error C7555: use of designated initializers requires at least '/std:c++20'

Copy link
Member

@aaronenyeshi aaronenyeshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@facebook-github-bot
Copy link
Contributor

@sraikund16 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@mantaionut has updated the pull request. You must reimport the pull request before landing.

@facebook-github-bot
Copy link
Contributor

@sraikund16 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@sraikund16 merged this pull request in 58ed2c0.

staugust pushed a commit to staugust/kineto that referenced this pull request Aug 27, 2024
Summary:
Fix CUPTI code not compiling on MSVC due to designated initializers not working on Windows.
`C:\Work\pytorch\third_party\kineto\libkineto\src\CuptiActivityProfiler.cpp(658): error C7555: use of designated initializers requires at least '/std:c++20'`

Pull Request resolved: pytorch#976

Reviewed By: aaronenyeshi

Differential Revision: D61810245

Pulled By: sraikund16

fbshipit-source-id: 240a8163477e70b3a3cef0a78bc7cea260d5528e
staugust pushed a commit to staugust/kineto that referenced this pull request Aug 27, 2024
Summary:
Fix CUPTI code not compiling on MSVC due to designated initializers not working on Windows.
`C:\Work\pytorch\third_party\kineto\libkineto\src\CuptiActivityProfiler.cpp(658): error C7555: use of designated initializers requires at least '/std:c++20'`

Pull Request resolved: pytorch#976

Reviewed By: aaronenyeshi

Differential Revision: D61810245

Pulled By: sraikund16

fbshipit-source-id: 240a8163477e70b3a3cef0a78bc7cea260d5528e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants