Automatic Differentiation
 
Loading...
Searching...
No Matches
evaluate_into.hpp
Go to the documentation of this file.
1#ifndef STAN_MATH_OPENCL_KERNEL_GENERATOR_EVALUATE_INTO_HPP
2#define STAN_MATH_OPENCL_KERNEL_GENERATOR_EVALUATE_INTO_HPP
3#ifdef STAN_OPENCL
4
9#include <CL/opencl.hpp>
10#include <string>
11#include <set>
12
13namespace stan {
14namespace math {
15
19template <typename Derived, typename Scalar, typename... Args>
20template <typename T_lhs>
22 static_assert(
24 "operation_cl::evaluate_into: left hand side is not a valid expression!");
25 results(lhs) = expressions(derived());
26}
28} // namespace math
29} // namespace stan
30
31#endif
32#endif
results_cl< T_results... > results(T_results &&... results)
Deduces types for constructing results_cl object.
void evaluate_into(T_lhs &lhs) const
Evaluates this expression into given left-hand-side expression.
expressions_cl< T_expressions... > expressions(T_expressions &&... expressions)
Deduces types for constructing expressions_cl object.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
Determines whether a type is is a valid kernel generator expression.