Template Function GridKit::Enzyme::Sparse::__enzyme_fwddiff

Function Documentation

template<typename T, typename ...model_type>
T GridKit::Enzyme::Sparse::__enzyme_fwddiff(void*, model_type...) noexcept

Enzyme fwddiff template for GridKit models.

This is a core templated intrinsic that the Enzyme pass will use to perform automatic differentiation. We define the template here so it can later be used in different places.

Template Parameters:
  • T – - return type

  • model_type – - model type