-
Notifications
You must be signed in to change notification settings - Fork 44
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
Conversation
Not sure what the error is: @ararslan do we need to make changes here to get this working on 0.7? |
src/array/ArrayBenchmarks.jl
Outdated
g["cumsum!", "Int"] = @benchmarkable cumsum!($resaint, $aint) | ||
|
||
mfloat = samerand(10^3,10^3) | ||
g["cumsum", "Float64", "dim1"] = @benchmarkable cumsum($mfloat, dims=1) |
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.
I think this will need to be Compat.cumsum
(similarly with the others) for the dims
keyword argument.
I have absolutely no idea what that error is about. |
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) |
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.
There are overlapping benchmarks here, maybe they should be removed.
force strings early in definition, but allow some other JSON-types
For testing JuliaLang/julia#25766