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

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::copy_triangular (__global double *A, __global double *B, unsigned int rows, unsigned int cols, unsigned int lower_upper)
 Copies the lower or upper triangular of the source matrix to the destination matrix. More...
 

Variables

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

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