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

[UT] Include iomanip if not defined #1510

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

nileshnegi
Copy link
Collaborator

Details

Work item:
#1455

What were the changes?
If undefined, include the iomanip header file in RCCL UnitTests

Why were the changes made?
Newer versions of GTest (like 1.15) do not include iomanip as part of gtest/internal/gtest-internal.h.
This can cause build failures for RCCL UnitTests (due to lack of symbols std::setfill and std::setw) if one uses pre-installed GTest (and does not build release-1.11.0 as part of RCCL dependencies).

Approval Checklist

Do not approve until these items are satisfied.

  • Verify the CHANGELOG has been updated, if
    • there are any NCCL API version changes,
    • any changes impact library users, and/or
    • any changes impact any other ROCm library.

test/common/TestBed.hpp Outdated Show resolved Hide resolved
`iomanip.h` has pre-defined include guards. These are not needed.

Co-authored-by: corey-derochie-amd <[email protected]>
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

Successfully merging this pull request may close these issues.

3 participants