Stan Math Library
5.0.0
Automatic Differentiation
|
__kernel void stan::math::opencl_kernels::unpack | ( | __global double * | B, |
__global double * | A, | ||
unsigned int | rows, | ||
unsigned int | cols, | ||
unsigned int | view | ||
) |
Unpacks a packed triangular matrix to a flat matrix.
[out] | B | flat matrix |
[in] | A | packed buffer |
rows | number of columns for matrix B | |
cols | number of columns for matrix B | |
view | parameter that defines the triangularity of the input matrix LOWER - lower triangular UPPER - upper triangular if the view parameter is not specified |
const char*
held in unpack_kernel_code.
This kernel uses the helper macros available in helpers.cl. Definition at line 32 of file unpack.hpp.