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

◆ merge()

void stan::math::opencl_kernels::merge ( __global SCAL *  A,
__global SCAL *  B,
__global SCAL *  res,
int  A_size,
int  B_size 
)

Merges two sorted runs into a single sorted run of combined length.

Parameters
Afirst sorted run
Bsecond sorted run
[out]resresult
A_sizenumber of elements in A
B_sizenumber of elements in B

Definition at line 25 of file mergesort.hpp.