Skip to content

Conversation

@LU-JOHN
Copy link
Contributor

@LU-JOHN LU-JOHN commented Sep 18, 2024

Only have output on failure.

@LU-JOHN LU-JOHN requested a review from a team as a code owner September 18, 2024 15:31
@LU-JOHN LU-JOHN marked this pull request as draft September 18, 2024 15:31
Comment on lines 74 to 75
Copy link
Contributor

@aelovikov-intel aelovikov-intel Sep 18, 2024

Choose a reason for hiding this comment

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

I'd suggest changing it like

bool checkUSM(..., int line = __builtin_LINE()) {
    ...
    std::cout << "checkUSM failed, called from line " << line << std::endl;
    return false;
}

Maybe also use __PRETTY_FUNCTION__, although that doesn't work with MSVC as host compiler, but we probably don't care much.

@LU-JOHN LU-JOHN closed this by deleting the head repository Mar 25, 2025
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.

2 participants