Automatic Differentiation
 
Loading...
Searching...
No Matches
arena_type.hpp
Go to the documentation of this file.
1#ifndef STAN_MATH_OPENCL_REV_ARENA_TYPE_HPP
2#define STAN_MATH_OPENCL_REV_ARENA_TYPE_HPP
3#ifdef STAN_OPENCL
4
9
10namespace stan {
11namespace internal {
12
13template <typename T>
16};
17
18template <typename T>
21 bool_constant<!is_matrix_cl<T>::value>,
22 bool_constant<!is_arena_matrix_cl<T>::value>>> {
23 using type =
25};
26
27} // namespace internal
28} // namespace stan
29#endif
30#endif
A variant of matrix_cl that schedules its destructor to be called, so it can be used on the AD stack.
Represents an arithmetic matrix on the OpenCL device.
Definition matrix_cl.hpp:47
std::integral_constant< bool, B > bool_constant
Alias for structs used for wraps a static constant of bool.
std::enable_if_t< math::conjunction< Checks... >::value > require_all_t
If all conditions are true, template is enabled Returns a type void if all conditions are true and ot...
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
Determines whether a type is non-scalar type that is a valid kernel generator expression.
Checks if the decayed type of T is a matrix_cl.