1#ifndef STAN_MATH_OPENCL_KERNEL_GENERATOR_NAME_GENERATOR_HPP
2#define STAN_MATH_OPENCL_KERNEL_GENERATOR_NAME_GENERATOR_HPP
22 inline std::string
generate() {
return "var" + std::to_string(++
i_); }
std::string generate()
Generates a unique variable name.
Unique name generator for variables used in generated kernels.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...