diff --git a/stan/math/prim/meta/is_kernel_expression.hpp b/stan/math/prim/meta/is_kernel_expression.hpp index 940b4ae5a8f..574df21c2f2 100644 --- a/stan/math/prim/meta/is_kernel_expression.hpp +++ b/stan/math/prim/meta/is_kernel_expression.hpp @@ -112,6 +112,10 @@ using require_kernel_expression_lhs_t // STAN_ADD_REQUIRE_UNARY(rev_kernel_expression, is_rev_kernel_expression, // opencl_kernel_generator); +template +using require_rev_kernel_expression_t + = require_t>>; + // STAN_ADD_REQUIRE_UNARY(prim_or_rev_kernel_expression, // is_prim_or_rev_kernel_expression, opencl_kernel_generator); template