Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ matrix_multiply()

__kernel void stan::math::opencl_kernels::matrix_multiply ( const __global double *  A,
const __global double *  B,
__global double *  C,
const int  M,
const int  N,
const int  K,
unsigned int  view_A,
unsigned int  view_B 
)

Matrix multiplication on the OpenCL device.

Parameters
[in]Athe left matrix in matrix multiplication
[in]Bthe right matrix in matrix multiplication
[out]Cthe output matrix
[in]MNumber of rows for matrix A
[in]NNumber of cols for matrix B
[in]KNumber of cols for matrix A and number of rows for matrix B
[in]view_Athe triangularity of A (lower, upper or none)
[in]view_Bthe triangularity of B (lower, upper or none)

Definition at line 28 of file matrix_multiply.hpp.