1#ifndef STAN_MATH_OPENCL_KERNELS_FILL_STRICT_TRI_HPP 
    2#define STAN_MATH_OPENCL_KERNELS_FILL_STRICT_TRI_HPP 
   12namespace opencl_kernels {
 
   14static constexpr const char* fill_strict_tri_kernel_code = 
STRINGIFY(
 
   33                                  unsigned int rows, 
unsigned int cols,
 
   34                                  unsigned int view_A) {
 
   35      const int i = get_global_id(0);
 
   36      const int j = get_global_id(1);
 
   38        if ((view_A == LOWER && j < i) || (view_A == UPPER && j > i)
 
   39            || view_A == ENTIRE) {
 
const kernel_cl< out_buffer, double, int, int, matrix_cl_view > fill_strict_tri("fill_strict_tri", {indexing_helpers, view_kernel_helpers, fill_strict_tri_kernel_code})
See the docs for fill_strict_tri_kernel_code() .
 
int64_t cols(const T_x &x)
Returns the number of columns in the specified kernel generator expression.
 
int64_t rows(const T_x &x)
Returns the number of rows in the specified kernel generator expression.
 
static const std::string indexing_helpers
Defines helper macros for common matrix indexing operations.
 
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
 
Creates functor for kernels.