#1514: Kranc's Differencing.h fails to compile if KRANC_DIFF_FUNCTIONS is defined ---------------------+------------------------------------------------------ Reporter: rhaas | Owner: hinder Type: defect | Status: new Priority: minor | Milestone: Component: Kranc | Version: development version Resolution: | Keywords: ---------------------+------------------------------------------------------
Comment (by eschnett):
KRANC_DIFF_FUNCTIONS is used by thorn Vectors. For historic reasons, the decision whether to inline Kranc's derivative operators (speed) or not (reduce code size) is made by thorn Vectors. On systems with a small CPU cache (e.g. Intel CPUs, and the new AMD CPUs), not inlining can greatly improve performance.
In fact, the default for inlining is no, which should lead to KRANC_DIFF_FUNCTIONS being defined. This should happen e.g. on Bethe (Caltech).