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

◆ gp_exp_quad_cov()

__kernel void stan::math::opencl_kernels::gp_exp_quad_cov ( const __global double *  x,
__global double *  res,
const double  sigma_sq,
const double  neg_half_inv_l_sq,
const int  size,
const int  element_size 
)

GPU part of calculation of squared exponential kernel.

Parameters
[in]xinput vector or matrix
[out]ressquared distances between elements of x
sigma_sqsquared standard deviation
neg_half_inv_l_sq-0.5 / square(length scale)
sizenumber of elements in x
element_sizethe number of doubles that make one element of x

Definition at line 24 of file gp_exp_quad_cov.hpp.