Comments (8)
we should also try to mark this function as pure
and get it inlined
from microphysics.
the esum
algorithm comes from here: https://people.eecs.berkeley.edu/~jrs/papers/robustr.pdf
from microphysics.
it is also not clear if enum
makes sense with just 2 numbers. Is it really better than just a + b
from microphysics.
the esum
branch removes all the esum()
calls with 2 elements in aprox13
. This gives identical results to the original version when using test_react
(as compared with fcompare
). This suggests that for 2 elements, it does not matter.
The code is about 3% faster w/o the esum()
on 2 elements.
I'm going to try to do a custom sum for 3 elements next.
from microphysics.
PR #65 addresses some of this
from microphysics.
should this still be open?
from microphysics.
I think it should still be open. We still have improvements we can make.
from microphysics.
Closing, I've done all I plan to do on esum at the moment -- the optimizations we've already thought of have been done, and new ones can be in a new issue.
from microphysics.
Related Issues (20)
- speed up chabrier1998 screening by adding `` entries HOT 3
- avoid "using namespace" in headers included by application codes HOT 1
- replace std::pow(x, N) with amrex::Math::powi<N>(x) for integer N HOT 1
- remove reinterpret_cast in rhs.H HOT 1
- use std::expected to handle burn failures? HOT 4
- Initializing pivot to zero in VODE causes out of boundary access in linpack functions HOT 7
- CUDA compilation slow after retry merge HOT 1
- try to make a ROCm big kernel reproducer HOT 4
- NSE + SDC update is missing some energy from weak interactions HOT 2
- add ideal gas EOS with tabulated mean molecular weight HOT 2
- add `-mllvm -amdgpu-function-calls=true` to CMake HIP build
- indexing issue in `is_jacobian_used()`? HOT 1
- Self-consistent NSE floating-point overflow HOT 1
- discussion: explore alternative object-oriented API
- remove NSE support from Strang
- sync self-consistent NSE update with tabular NSE HOT 4
- add second set of NSE criteria HOT 1
- change default retry tolerances to be same as normal HOT 2
- Runtime parameter docs don't include the namespace HOT 1
- consolidate subch networks HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from microphysics.