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

add benchmarks for accumulate and cumsum #193

Merged
merged 3 commits into from
Mar 29, 2018
Merged

add benchmarks for accumulate and cumsum #193

merged 3 commits into from
Mar 29, 2018

Conversation

simonbyrne
Copy link
Member

For testing JuliaLang/julia#25766

@simonbyrne
Copy link
Member Author

Not sure what the error is: @ararslan do we need to make changes here to get this working on 0.7?

g["cumsum!", "Int"] = @benchmarkable cumsum!($resaint, $aint)

mfloat = samerand(10^3,10^3)
g["cumsum", "Float64", "dim1"] = @benchmarkable cumsum($mfloat, dims=1)
Copy link
Member

Choose a reason for hiding this comment

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

I think this will need to be Compat.cumsum (similarly with the others) for the dims keyword argument.

@ararslan
Copy link
Member

I have absolutely no idea what that error is about.

@ararslan
Copy link
Member

Just FYI I won't be able to retune benchmarks and rerun Nanosoldier on your PR until MIT is finished with their on-site stuff and the machines are turned back on.

g["accumulate!", "Int"] = @benchmarkable accumulate!(+, $resaint, $aint)

g["cumsum!", "Float64"] = @benchmarkable cumsum!($resafloat, $afloat)
g["cumsum!", "Int"] = @benchmarkable cumsum!($resaint, $aint)
Copy link
Contributor

Choose a reason for hiding this comment

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

There are overlapping benchmarks here, maybe they should be removed.

@ararslan ararslan merged commit 1ff137c into master Mar 29, 2018
@ararslan ararslan deleted the sb/cumsum branch March 29, 2018 22:25
Keno pushed a commit that referenced this pull request Feb 4, 2022
force strings early in definition, but allow some other JSON-types
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