Automatic Differentiation
 
Loading...
Searching...
No Matches
diag_inv.hpp File Reference
#include <stan/math/opencl/kernel_cl.hpp>
#include <stan/math/opencl/buffer_types.hpp>
#include <string>

Go to the source code of this file.

Namespaces

namespace  stan
 The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation.
 
namespace  stan::math
 Matrices and templated mathematical functions.
 
namespace  stan::math::opencl_kernels
 

Functions

__kernel void stan::math::opencl_kernels::diag_inv (__global double *A, __global double *tmp_inv, int rows)
 Calculates inplace submatrix inversions along the matrix diagonal.
 

Variables

const kernel_cl< in_out_buffer, in_out_buffer, int > stan::math::opencl_kernels::diag_inv ("diag_inv", {indexing_helpers, diag_inv_kernel_code}, {{"THREAD_BLOCK_SIZE", 32}})
 See the docs for add() .