Skip to content

Minor speedups and bugfixes

Pre-release
Pre-release

Choose a tag to compare

@kaskr kaskr released this 05 May 12:50
  • sdreport optimizations. Avoid repeating the forward sweep
  • asVector: optimization
    • Take advantage of Eigen's compile time optimizations.
    • 'asVector' does not show up in profiler after this change.
  • Add option to skip the zero order forwardsweep
  • sdreport: New argument getReportCovariance #146
    • Reduces memory usage when many variables are ADREPORTed
  • Small optimization
    • 'match.arg' can cause substantial overhead
  • New preprocessor flag 'TMB_LIB_INIT'
    • Register some native symbols of the user template.
  • Register native routines
  • Update matrix and array examples
  • Rename parameter alpha to omega (to avoid confusion with Lindgren) and add derived quantity rho
  • bugfix: numeric(0) in random list of MakeADFun #111
    • Description: When a parameter vector is numeric(0) and its name is
      included in the random list, then MakeADFun gives wrong obj$par
      list.
    • Same would be the case for 'profile' argument to MakeADFun.
  • folder 'tmb_syntax' minor cleanups
  • Fix 'dontrun' part of example(sdreport)
  • Be tolerant to systems witout OpenMP support
  • New atomic: convol2d
  • atomic::matmul: speedup
  • CppAD::thread_alloc: Speedup
    • Profiler discovered much time spent in allocator when using atomic functions with high dimensional input/output.
    • Fix: Avoid calling constructor if Type=double. Does not affect the unittests