-
Notifications
You must be signed in to change notification settings - Fork 50
Correctness Checking #608
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
base: develop
Are you sure you want to change the base?
Correctness Checking #608
Changes from all commits
610c16c
e1fad9a
cbdaf94
eaa7635
e45f8a9
9e13e4b
5acfc23
bfe597c
f837902
e38359e
d018d0d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -34,6 +34,7 @@ ATOMIC::ATOMIC(const RunParams& params) | |
| setFLOPsPerRep(getActualProblemSize()); | ||
|
|
||
| setChecksumConsistency(ChecksumConsistency::Inconsistent); // atomics | ||
| setChecksumTolerance(ChecksumTolerance::normal); | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are the
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nope, its only in the code. It is 1e-7. It might not be a bad idea to output the tolerance in the checksum output file.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sounds like a great idea to me! I would also encourage documentation on what we can expect from normal vs tight tolerance. I haven't dug into it myself, but I'm curious if the tolerances are relative and if so how they are calculated? It could be that each kernel could define its own relative tolerance definition -- what do folks think about that?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For reference tight is 1e-12, but that number is arbitrary and I don't really know if its a good number. All of the kernels using that tolerance have checksums that are identical on all of the platforms I've tested them on. |
||
|
|
||
| setComplexity(Complexity::N); | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are
Inconsistentkernels expected to agree within some tolerance? I suspect theInconsistencymay grow per number of reps?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It depends on the kernel, most kernels overwrite their outputs on each rep instead of continuing to accumulate.