1#ifndef STAN_MATH_OPENCL_KERNEL_GENERATOR_GET_KERNEL_SOURCE_FOR_EVALUATING_INTO_HPP
2#define STAN_MATH_OPENCL_KERNEL_GENERATOR_GET_KERNEL_SOURCE_FOR_EVALUATING_INTO_HPP
8#include <CL/opencl.hpp>
18template <
typename Derived,
typename Scalar,
typename... Args>
19template <
typename T_lhs>
22 const T_lhs& lhs)
const {
25 "operation_cl::get_kernel_source_for_evaluating_into: left hand "
26 "side is not a valid expression!");
std::string get_kernel_source_for_evaluating(const expressions_cl< T_expressions... > &exprs)
Generates kernel source for evaluating given expressions into results held by this.
std::string get_kernel_source_for_evaluating_into(const T_lhs &lhs) const
Generates kernel source for evaluating this expression into given left-hand-side expression.
results_cl< T_results... > results(T_results &&... results)
Deduces types for constructing results_cl object.
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.