Stan Math Library  2.20.0
reverse mode automatic differentiation
Namespaces | Functions | Variables
sub_block.hpp File Reference
#include <stan/math/opencl/kernel_cl.hpp>
#include <stan/math/opencl/buffer_types.hpp>
#include <vector>

Go to the source code of this file.

Namespaces

 stan
 
 stan::math
 Matrices and templated mathematical functions.
 
 stan::math::opencl_kernels
 

Functions

__kernel void stan::math::opencl_kernels::sub_block (__global double *src, __global double *dst, unsigned int src_offset_i, unsigned int src_offset_j, unsigned int dst_offset_i, unsigned int dst_offset_j, unsigned int size_i, unsigned int size_j, unsigned int src_rows, unsigned int src_cols, unsigned int dst_rows, unsigned int dst_cols, unsigned int triangular_view)
 Copies a submatrix of the source matrix to the destination matrix. More...
 

Variables

const kernel_cl< in_buffer, out_buffer, int, int, int, int, int, int, int, int, int, int, TriangularViewCL > stan::math::opencl_kernels::sub_block ("sub_block", {indexing_helpers, sub_block_kernel_code})
 See the docs for sub_block() . More...
 

     [ Stan Home Page ] © 2011–2018, Stan Development Team.