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

Benchmark Conversion of Ptrdist/ft #56

Merged
merged 2 commits into from
Jul 21, 2017

Conversation

lenary
Copy link
Collaborator

@lenary lenary commented Jun 6, 2017

This fully converts Ptrdist/ft.

The execution error alluded to in #32 is fine to ignore - it's to do with #defined constants and the large input size. Given we're back to using the regular input size for benchmarking, I'm not worried right now about it.

I should at some point add in a dynamic_check.

Copy link
Contributor

@dtarditi dtarditi left a comment

Choose a reason for hiding this comment

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

I think you left out a checked block in main. Otherwise looks good.

@@ -89,30 +91,30 @@ main(int argc, _Array_ptr<const char*> argv : count(argc) )
}

if(debug)
{
_Unchecked {
Copy link
Contributor

Choose a reason for hiding this comment

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

You might want to introduce a checked scope after the argument manipulation is done.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Even better, I added a checked scope for main, and an Unchecked scope just for the argument manipulation

@lenary
Copy link
Collaborator Author

lenary commented Jun 6, 2017

Oh I really didn't mean for these commits to be on top of the other branch. I'm going to make your requested changes, rebase, and force push.

@lenary lenary force-pushed the benchmark_conv_ptrdist_ft branch from 3a50924 to 1931e28 Compare June 6, 2017 21:47
@lenary
Copy link
Collaborator Author

lenary commented Jun 6, 2017

So this compiles, but something's evidently not correct as we're getting exceptions at run-time. Going to investigate them now.

@lenary
Copy link
Collaborator Author

lenary commented Jun 6, 2017

So even the unchecked version has the bug I found.

Hey, we found a bug!

@dtarditi
Copy link
Contributor

dtarditi commented Jun 6, 2017

Cool!

@lenary
Copy link
Collaborator Author

lenary commented Jun 6, 2017 via email

Copy link
Contributor

@dtarditi dtarditi left a comment

Choose a reason for hiding this comment

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

Looks good!

@lenary
Copy link
Collaborator Author

lenary commented Jun 12, 2017

I need to work out what to increase MAX_RANK to to get this to work with the new input sizes.

@lenary lenary merged commit 7dffb8c into microsoft:master Jul 21, 2017
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