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

Changes to API #52

Merged
merged 10 commits into from
Sep 28, 2023
Merged

Changes to API #52

merged 10 commits into from
Sep 28, 2023

Conversation

maltezfaria
Copy link
Owner

@maltezfaria maltezfaria commented Jul 19, 2023

The main usage is now through the DataFlowTasks.@spawn macro, which works very much like Threads.@spawn. In particular, it now returns a Task and not a DataFlowTask.

IMO this makes understanding and using the package easier.

Left to do:

  • Update TiledFactorization to this new API
  • Check for performance regressions
  • Go over the docs gain. I made some major changes that need to be checked.

@codecov
Copy link

codecov bot commented Jul 19, 2023

Codecov Report

Attention: 27 lines in your changes are missing coverage. Please review.

Comparison is base (52c8c5f) 72.25% compared to head (8fdece7) 82.77%.

Additional details and impacted files
@@             Coverage Diff             @@
##             main      #52       +/-   ##
===========================================
+ Coverage   72.25%   82.77%   +10.52%     
===========================================
  Files          10        9        -1     
  Lines         764      662      -102     
===========================================
- Hits          552      548        -4     
+ Misses        212      114       -98     
Files Coverage Δ
src/DataFlowTasks.jl 100.00% <100.00%> (ø)
src/dag.jl 86.11% <ø> (ø)
src/logger.jl 78.57% <ø> (ø)
src/arrayinterface.jl 80.76% <85.71%> (+0.76%) ⬆️
src/dataflowtask.jl 84.42% <66.66%> (-0.94%) ⬇️
src/utils.jl 87.09% <96.87%> (+9.67%) ⬆️
src/taskgraph.jl 66.66% <66.66%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@maltezfaria
Copy link
Owner Author

maltezfaria commented Jul 19, 2023

As per 5da6c9a, there are no significant performance changes in the cholesky factorization compared to previous results (it does require the fix 831aa5d, which has not yet been merged into main).

@maltezfaria maltezfaria linked an issue Jul 19, 2023 that may be closed by this pull request
@maltezfaria maltezfaria mentioned this pull request Jul 19, 2023
11 tasks
@maltezfaria maltezfaria marked this pull request as ready for review July 19, 2023 19:31
@maltezfaria
Copy link
Owner Author

@ffevotte I think this is ready to be looked at (no pressure). The changes are conceptually simple, but a lot of code was modified in the process.

Maybe we could also merge it first (all tests+docs are passing) and field-test it while implementing the other features? I am OK either way.

@JieRen98
Copy link

Please merge it, thx!

@maltezfaria maltezfaria merged commit f2f2425 into main Sep 28, 2023
@JieRen98
Copy link

Congrats!

@maltezfaria
Copy link
Owner Author

I think this was mostly ready, but still requires some field testing. Let me know if you run into any issues!

@maltezfaria maltezfaria deleted the maltezfaria/API branch November 17, 2023 18:45
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.

API change / simplify internals of DataFlowTasks?
2 participants