1#ifndef STAN_MATH_OPENCL_KERNEL_GENERATOR_TYPE_STR_HPP
2#define STAN_MATH_OPENCL_KERNEL_GENERATOR_TYPE_STR_HPP
15 static_assert(
sizeof(T) == -1,
"Unsupported type in type_str");
19#define ADD_TYPE_TO_TYPE_STR(t) \
21 inline std::string type_str<t>() { \
28#undef ADD_TYPE_TO_TYPE_STR
std::string type_str()
Determines a string name of a type.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
#define ADD_TYPE_TO_TYPE_STR(t)