mgcpp
A C++ Math Library Based on CUDA
Namespaces | Functions
eval_cache.hpp File Reference
#include <functional>
#include <mgcpp/global/type_erased.hpp>
Include dependency graph for eval_cache.hpp:

Go to the source code of this file.

Namespaces

 mgcpp
 

Functions

size_t mgcpp::get_last_run_cache_hits ()
 
void mgcpp::analyze_graph (size_t id, std::function< void()> traverse)
 
static_any mgcpp::evaluate_if_needed (size_t id, bool needs_caching, std::function< void()> traverse, std::function< static_any()> evaluate)