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

New fill kernel and validation tolerances #251

Merged
merged 4 commits into from
Aug 1, 2024

Conversation

dlangbe
Copy link
Collaborator

@dlangbe dlangbe commented Jul 24, 2024

Implements the new fill kernel from PR 236 with supporting changes to the validation thresholds used throughout the testing infrastructure. The new validation thresholds should guarantee that validating CK kernels will also validate when used within hipTensor.

Copy link
Collaborator

@cgmillette cgmillette left a comment

Choose a reason for hiding this comment

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

Looks great so far. I had a discussion with @CongMa13 and I we should add back in a seed value because each thread's hash value is deterministic. We don't want fill values to be the same for same-sized tensors. We can differentiate them at least by seeding different values for different tensors.

test/01_contraction/contraction_test.cpp Outdated Show resolved Hide resolved
test/01_contraction/contraction_test.cpp Outdated Show resolved Hide resolved
Copy link
Collaborator

@CongMa13 CongMa13 left a comment

Choose a reason for hiding this comment

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

lgtm

@dlangbe dlangbe merged commit b9dda75 into ROCm:develop Aug 1, 2024
11 checks passed
Copy link
Collaborator

@cgmillette cgmillette left a comment

Choose a reason for hiding this comment

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

LGTM, all tests pass

@dlangbe dlangbe deleted the fill-changes branch August 1, 2024 15:23
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