Skip to content

Comments

[CUDA][HIP] Fix build info log reporting#1725

Merged
kbenzie merged 1 commit intooneapi-src:mainfrom
frasercrmck:fix-build-info-log
Jun 20, 2024
Merged

[CUDA][HIP] Fix build info log reporting#1725
kbenzie merged 1 commit intooneapi-src:mainfrom
frasercrmck:fix-build-info-log

Conversation

@frasercrmck
Copy link
Contributor

We were always returning the maximum log size (of 8192) even when the actual log was much shorter. Strictly speaking, we should be returning the log only up to the first null terminator. Doing otherwise could cause strange behaviour, and may account for the flaky fails we've seen in this test on both adapters.

@frasercrmck frasercrmck requested review from a team as code owners June 6, 2024 16:14
@frasercrmck frasercrmck requested a review from mmoadeli June 6, 2024 16:14
@frasercrmck frasercrmck force-pushed the fix-build-info-log branch from 288bfb9 to 88433f3 Compare June 6, 2024 16:19
@github-actions github-actions bot added conformance Conformance test suite issues. cuda CUDA adapter specific issues hip HIP adapter specific issues labels Jun 6, 2024
Copy link
Contributor

@mmoadeli mmoadeli left a comment

Choose a reason for hiding this comment

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

LGTM

@frasercrmck frasercrmck added the ready to merge Added to PR's which are ready to merge label Jun 12, 2024
@frasercrmck frasercrmck force-pushed the fix-build-info-log branch 4 times, most recently from e7814a1 to d6ac983 Compare June 18, 2024 08:45
We were always returning the maximum log size (of 8192) even when the
actual log was much shorter. Strictly speaking, we should be returning
the log only up to the first null terminator. Doing otherwise could
cause strange behaviour, and may account for the flaky fails we've seen
in this test on both adapters.
@kbenzie kbenzie merged commit 836056e into oneapi-src:main Jun 20, 2024
@frasercrmck frasercrmck deleted the fix-build-info-log branch June 20, 2024 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

conformance Conformance test suite issues. cuda CUDA adapter specific issues hip HIP adapter specific issues ready to merge Added to PR's which are ready to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants