Displaying 1 result from an estimated 1 matches for "value_by_llvm".
2006 Oct 29
1
[LLVMdev] LLVM for numerical computations
...for different values of the leaves (i.e. a
forward sweep to compute the values followed by a reverse sweep to
compute the derivatives, c.f. [*]).
Here is where I was thinking to use LLVM. Instead of actually
computing its value and derivatives, each node could feature two
member functions value_by_LLVM and derivatives_by_LLVM which would
produce the LLVM code necessary to respectively compute the value and
the derivatives, each packaged as a function I guess. A visitor
marching through the computational tree would then assemble the calls
to those LLVM functions to compute the head (forwar...