-
Notifications
You must be signed in to change notification settings - Fork 18
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
Use views to avoid thread issues #287
Conversation
Benchmark resultJudge resultBenchmark Report for /home/runner/work/YAXArrays.jl/YAXArrays.jlJob Properties
ResultsA ratio greater than
Benchmark Group ListHere's a list of all the benchmark groups executed by this job:
Julia versioninfoTarget
Baseline
Target resultBenchmark Report for /home/runner/work/YAXArrays.jl/YAXArrays.jlJob Properties
ResultsBelow is a table of this job's results, obtained by running the benchmarks.
Benchmark Group ListHere's a list of all the benchmark groups executed by this job:
Julia versioninfo
Baseline resultBenchmark Report for /home/runner/work/YAXArrays.jl/YAXArrays.jlJob Properties
ResultsBelow is a table of this job's results, obtained by running the benchmarks.
Benchmark Group ListHere's a list of all the benchmark groups executed by this job:
Julia versioninfo
Runtime information
|
I forgot to mention that this will break the |
Pull Request Test Coverage Report for Build 5483907376
💛 - Coveralls |
Pull Request Test Coverage Report for Build 5483907376
💛 - Coveralls |
1 similar comment
Pull Request Test Coverage Report for Build 5483907376
💛 - Coveralls |
This speeds up my c-scale runs by roughly a factor of two but it is still much slower as the previous wrong use of threading. |
I think it is ok to not give the artype into the inner function, because this was mainly used for the axes values and they can be provided as extra cubes anyways. |
Just a question, did you actually remove the |
@felixcremer as discussed this branch would use views instead of pre-allocated buffer arrays and can therefore be used in the multithreaded loop without
:static
. Could you test if this would speed up your c-scale runs?