-
Notifications
You must be signed in to change notification settings - Fork 62
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
Wrap result of tracktime in a struct #142
base: master
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #142 +/- ##
=======================================
Coverage 59.93% 59.93%
=======================================
Files 18 18
Lines 1258 1258
=======================================
Hits 754 754
Misses 504 504
Continue to review full report at Codecov.
|
src/ml.jl
Outdated
delayedmap(x -> schema(x, $T), xs.chunks))) | ||
end | ||
end | ||
|
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.
What is this change for?
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.
Ah. I'd forgotten that I had that one floating around. It doesn't belong here but there is (maybe was) actually an ambiguity when I tried to using schema
in the distributed case.
and avoid unconditional printing of timing results
0eaaea1
to
b78440f
Compare
@@ -84,6 +84,12 @@ function stop_tracking_time() | |||
compute_context[] = nothing | |||
end | |||
|
|||
struct TrackTime | |||
obj |
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.
This is actually an NDSparse object -- this is quite useful to filter timings for specific steps (e.g. comm / compute) or specific processes. It would be nice to make a note of how to get to this in the printing? Once taken out, the NDSparse has to be wrapped again in this type to display as it does...
Possible fix of #140