Automatic Differentiation
 
Loading...
Searching...
No Matches
to_ref_for_opencl.hpp
Go to the documentation of this file.
1#ifndef STAN_MATH_OPENCL_TO_REF_FOR_OPENCL_HPP
2#define STAN_MATH_OPENCL_TO_REF_FOR_OPENCL_HPP
3#ifdef STAN_OPENCL
4
6
7namespace stan {
8namespace math {
9
18template <typename T>
20 return std::forward<T>(a);
21}
22
23} // namespace math
24} // namespace stan
25
26#endif
27#endif
typename ref_type_for_opencl< T >::type ref_type_for_opencl_t
ref_type_for_opencl_t< T && > to_ref_for_opencl(T &&a)
Converts given Eigen expression into one that can be directly copied to an OpenCL device to create ma...
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
Definition fvar.hpp:9